:root {
  --navy: #0c203a;
  --navy-2: #173351;
  --sky: #8fc7f0;
  --sky-soft: rgba(143, 199, 240, 0.12);
  --white: #ffffff;
  --ink: #f3f8fc;
  --muted: #a9bdd0;
  --line: rgba(143, 199, 240, 0.16);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --container: 1000px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: #081728;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: var(--sky);
  color: var(--navy);
  font-weight: 800;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: #071625;
  backdrop-filter: blur(16px);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--white);
  text-decoration: none;
  font-size: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark {
  width: 130px;
  height: 53px;
  flex: 0 0 130px;
  background: url("logo-eltyc-horizontal.svg") center / contain no-repeat;
}

.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.main-nav a {
  padding: 0.62rem 0.74rem;
  border-radius: 10px;
  color: rgba(255,255,255,0.76);
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  background: rgba(143, 199, 240, 0.14);
  color: #ffffff;
}

.main-nav .nav-cta {
  margin-left: 0.35rem;
  background: var(--sky);
  color: var(--navy);
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible { background: #b9ddf6; color: var(--navy); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span { opacity: 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8.5rem) 0 clamp(4.5rem, 8vw, 7.5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(143,199,240,0.38), transparent 25%),
    linear-gradient(135deg, var(--navy) 5%, var(--navy-2) 62%, #245477 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(143,199,240,0.2);
  border-radius: 50%;
}

.hero::before { width: 520px; height: 520px; right: -120px; top: -210px; }
.hero::after { width: 340px; height: 340px; right: 30px; top: -110px; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.hero-grid > div { max-width: 780px; }

.eyebrow {
  margin: 0 0 1rem;
  color: var(--sky);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; color: #f7fbff; line-height: 1.12; letter-spacing: -0.035em; }
h1 { margin-bottom: 1.4rem; font-size: clamp(2.8rem, 6vw, 5.45rem); }
h2 { margin-bottom: 1.15rem; font-size: clamp(2rem, 4vw, 3.35rem); }
h3 { margin-bottom: 0.7rem; font-size: 1.28rem; }
.hero h1, .hero h2 { color: var(--white); }
.hero h1 { max-width: 720px; font-size: clamp(2.2rem, 3.7vw, 3.25rem); }

.lead {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero .lead { color: rgba(255,255,255,0.78); }

.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--sky);
  color: var(--navy);
  text-decoration: none;
  font-weight: 850;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); background: #b9ddf6; }
.button.secondary { border-color: rgba(255,255,255,0.32); background: transparent; color: var(--white); }
.button.secondary:hover { background: rgba(255,255,255,0.1); }
.button.dark { border-color: rgba(143,199,240,0.32); background: var(--sky); color: var(--navy); }
.button.dark:hover { background: #b9ddf6; }

.signal-card {
  position: relative;
  padding: 1.5rem 1.7rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 28px 70px rgba(0,0,0,0.16);
  backdrop-filter: blur(12px);
}

.signal-card .label { color: var(--sky); font-size: 0.77rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.signal-card h2 { margin: 0.45rem 0 1rem; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -0.025em; }
.signal-card ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.signal-card li { position: relative; padding: 1rem 1rem 0.35rem 2.2rem; border-top: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.86); font-weight: 650; }
.signal-card li::before { content: ""; position: absolute; left: 0.2rem; top: 1.36rem; width: 10px; height: 10px; border: 2px solid var(--sky); border-radius: 50%; box-shadow: 0 0 0 5px rgba(143,199,240,0.1); }

.section { padding: clamp(2.25rem, 4vw, 3.5rem) 0; }
.section.compact { padding-block: clamp(1.75rem, 3vw, 2.5rem); }
.section { background: #0c203a; }
.section.alt { background: #091a2d; }
.section.dark { color: var(--white); background: var(--navy); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .lead, .section.dark p { color: rgba(255,255,255,0.72); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; align-items: start; margin-bottom: 2.8rem; }
.section-head > * { min-width: 0; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin: 0; }
.section-head .lead { max-width: 760px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

.card {
  padding: 1.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(23,51,81,0.96), rgba(12,32,58,0.96));
  box-shadow: 0 14px 38px rgba(0,0,0,0.2);
}

.card-number {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  border-radius: 12px;
  background: var(--sky-soft);
  color: var(--sky);
  font-weight: 900;
}

.card p { margin-bottom: 0; color: var(--muted); }
.text-link { display: inline-flex; margin-top: 1.2rem; color: var(--sky); font-weight: 850; text-underline-offset: 4px; }

.steps { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.step { display: grid; grid-template-columns: 64px minmax(230px, 0.8fr) minmax(0, 1.4fr); gap: 1.75rem; align-items: center; min-height: 126px; padding: 1.8rem 2rem; background: linear-gradient(110deg, #102a46, #0d243d); }
.step-index { color: var(--sky); font-size: 1.8rem; font-weight: 900; }
.step h3, .step p { min-width: 0; margin-bottom: 0; }
.step p { color: var(--muted); }

.quote-block {
  padding: clamp(2rem, 5vw, 4.25rem);
  border-radius: 30px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
}

.quote-block p { max-width: 880px; margin: 0; font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1.28; letter-spacing: -0.03em; }

.page-hero { position: relative; display: grid; overflow: hidden; padding: clamp(3.75rem, 6vw, 4.5rem) 0; color: var(--white); background: radial-gradient(circle at 85% 10%, rgba(143,199,240,0.24), transparent 27%), linear-gradient(135deg, #071625, var(--navy-2)); }
.page-hero > .container { display: flex; min-height: 330px; flex-direction: column; align-items: flex-start; justify-content: center; }
.page-hero h1 { width: 100%; max-width: 900px; font-size: clamp(2.2rem, 3.7vw, 3.25rem); }
.hero-title-line { display: block; }
.page-hero .lead { width: 100%; max-width: 780px; color: rgba(255,255,255,0.78); }
.home-hero .actions { margin-top: 2rem; }
.home-priorities { background: #091a2d; }
.home-priorities .section-head { margin-bottom: 2rem; }
.priorities-strip { padding-block: 1.2rem; }

.feature-list { margin: 1.2rem 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 0.7rem 0 0.7rem 1.6rem; color: var(--muted); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 1.23rem; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

.split { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.sticky-intro { position: sticky; top: 130px; }

.principles { display: grid; gap: 1rem; }
.principle { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.principle:first-child { border-top: 0; padding-top: 0; }
.principle p { margin-bottom: 0; color: var(--muted); }

.profile-card { padding: 2rem; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, #173351, #0c203a); box-shadow: var(--shadow); }
.profile-monogram { display: grid; width: 100px; height: 100px; place-items: center; margin-bottom: 1.5rem; border-radius: 25px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--white); font-size: 2rem; font-weight: 900; letter-spacing: -0.05em; }
.identity-panel { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 1.5rem; align-items: center; padding: 1.5rem 1.7rem; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(125deg, #173351, #102b48); box-shadow: var(--shadow); }
.identity-panel .profile-monogram { width: 72px; height: 72px; margin: 0; border: 1px solid rgba(143,199,240,0.28); border-radius: 18px; font-size: 1.35rem; }
.identity-panel .profile-photo { width: 72px; height: 72px; border: 2px solid rgba(143,199,240,0.38); border-radius: 18px; object-fit: cover; object-position: center 24%; box-shadow: 0 8px 24px rgba(0,0,0,0.24); }
.identity-copy .eyebrow { margin-bottom: 0.25rem; }
.identity-copy h3 { margin-bottom: 0.25rem; }
.identity-copy p:last-child { margin: 0; color: var(--muted); }
.identity-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.identity-actions .button { min-height: 42px; padding: 0.58rem 0.9rem; }

.profile-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr); gap: 1.25rem; margin-bottom: 1.25rem; }
.profile-story, .profile-focus { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(23,51,81,0.96), rgba(12,32,58,0.96)); }
.profile-story { display: grid; align-content: center; gap: 1rem; }
.profile-story p { margin: 0; color: var(--muted); }
.profile-story p:first-child { color: #e8f2fa; font-size: 1.08rem; }
.profile-focus .eyebrow { margin-bottom: 0.75rem; }
.profile-topics { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.profile-topics li { position: relative; padding: 0.72rem 0 0.72rem 1.35rem; border-top: 1px solid var(--line); color: #e8f2fa; }
.profile-topics li::before { content: ""; position: absolute; left: 0; top: 1.28rem; width: 6px; height: 6px; border-radius: 50%; background: var(--sky); }
.career-panel { margin-bottom: 1.25rem; padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(23,51,81,0.96), rgba(12,32,58,0.96)); }
.career-panel .eyebrow { margin-bottom: 0.75rem; }
.career-list { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.career-list > div { display: grid; gap: 0.15rem; padding: 1rem 1.15rem; background: #0d243d; }
.career-list strong { color: #f7fbff; line-height: 1.35; }
.career-list span { color: var(--sky); font-size: 0.9rem; font-weight: 750; }
.credentials-grid { display: grid; grid-template-columns: 0.65fr 1fr 0.55fr; gap: 1px; margin-bottom: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--line); }
.credentials-grid > div { display: grid; gap: 0.2rem; padding: 1.25rem 1.4rem; background: #0d243d; }
.credentials-grid span { color: var(--sky); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.credentials-grid strong { color: #f7fbff; line-height: 1.3; }
.credentials-grid small { color: var(--muted); font-size: 0.84rem; }
.credentials-grid .credential-secondary { margin-top: 0.65rem; padding-top: 0.65rem; border-top: 1px solid var(--line); }

.contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-option { position: relative; display: grid; min-width: 0; min-height: 150px; align-content: center; gap: 0.3rem; padding: 1.5rem 3.5rem 1.5rem 1.6rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(125deg, #102a46, #0d243d); color: inherit; text-decoration: none; transition: transform 180ms ease, border-color 180ms ease, background 180ms ease; }
.contact-option.primary { background: linear-gradient(125deg, #173b60, #102b48); }
.contact-option::after { content: "→"; position: absolute; top: 50%; right: 1.5rem; color: var(--sky); font-size: 1.35rem; transform: translateY(-50%); transition: transform 180ms ease; }
.contact-option:hover { border-color: rgba(143,199,240,0.48); background: linear-gradient(125deg, #1a4168, #12304f); transform: translateY(-2px); }
.contact-option:hover::after { transform: translate(4px, -50%); }
.contact-option span { color: var(--sky); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.contact-option strong { color: #ffffff; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.35; overflow-wrap: anywhere; }
.contact-option small { color: var(--muted); font-size: 0.86rem; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 3.2rem); border: 1px solid rgba(143,199,240,0.24); border-radius: 28px; background: linear-gradient(125deg, #173351, #102b48); box-shadow: var(--shadow); }
.cta-band h2 { max-width: 760px; margin-bottom: 0; }
.cta-section { padding-block: 1.125rem; }
.cta-band.slim { padding: 1.35rem 1.6rem; border-radius: 18px; }
.cta-band.slim h2 { max-width: 680px; font-size: clamp(1.2rem, 2.4vw, 1.65rem); letter-spacing: -0.02em; }
.cta-band.slim .button { min-height: 44px; padding: 0.62rem 1rem; white-space: nowrap; }
.closing-note { padding: 1.35rem 1.6rem; border: 1px solid rgba(143,199,240,0.24); border-radius: 18px; background: linear-gradient(125deg, #173351, #102b48); box-shadow: var(--shadow); }
.closing-note p { margin: 0; color: #eaf5fd; font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 700; }

.legal-hero > .container { min-height: 270px; }
.error-hero { min-height: calc(100vh - 76px); }
.error-hero > .container { min-height: 520px; }
.legal-content { display: grid; gap: 1rem; }
.legal-card { padding: clamp(1.5rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(23,51,81,0.96), rgba(12,32,58,0.96)); }
.legal-card .eyebrow { margin-bottom: 0.6rem; }
.legal-card h2 { margin-bottom: 1.25rem; font-size: clamp(1.45rem, 3vw, 2rem); }
.legal-card p { max-width: 850px; margin: 0.8rem 0 0; color: var(--muted); }
.legal-card p:first-of-type { margin-top: 0; }
.legal-card a { color: var(--sky); text-underline-offset: 3px; }
.legal-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 1.35rem 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--line); }
.legal-details div { padding: 1rem 1.1rem; background: #0d243d; }
.legal-details dt { color: var(--sky); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.legal-details dd { margin: 0.2rem 0 0; color: #f7fbff; overflow-wrap: anywhere; }
.legal-update { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.85rem; }

.site-footer { padding: 3.2rem 0 1.4rem; color: rgba(255,255,255,0.68); background: #071625; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.9rem 1.4rem; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.82rem; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms ease, transform 560ms ease; }
.js .reveal.visible { opacity: 1; transform: none; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    gap: 0.35rem;
    padding: 1rem 20px 1.4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: var(--navy);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms ease, opacity 220ms ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 0.8rem 1rem; }
  .main-nav .nav-cta { margin-left: 0; text-align: center; }
  .hero-grid, .section-head, .split, .profile-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 2rem; }
  .section-head { align-items: start; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .sticky-intro { position: static; }
  .step { grid-template-columns: 58px minmax(190px, 0.72fr) minmax(0, 1fr); gap: 1.25rem; padding-inline: 1.5rem; }
  .identity-panel { grid-template-columns: 72px minmax(0, 1fr); }
  .identity-actions { grid-column: 2; }
  .credentials-grid { grid-template-columns: 1fr 1fr; }
  .credentials-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .header-inner { min-height: 68px; }
  .main-nav { inset-block-start: 68px; }
  .hero { padding-top: 4.2rem; }
  .page-hero { padding-block: 3.5rem; }
  .page-hero > .container { min-height: 330px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.05rem, 10vw, 2.7rem); }
  .signal-card ul { grid-template-columns: 1fr; }
  .signal-card li { padding-right: 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-options { grid-template-columns: 1fr; }
  .legal-details { grid-template-columns: 1fr; }
  .step { grid-template-columns: 46px minmax(0, 1fr); align-items: start; min-height: 0; padding: 1.35rem; }
  .step p { grid-column: 2; }
  .identity-panel { grid-template-columns: 1fr; }
  .identity-actions { grid-column: auto; }
  .credentials-grid { grid-template-columns: 1fr; }
  .credentials-grid > div:last-child { grid-column: auto; }
  .cta-band, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
