/* =====================================================
   Ardentia — homepage v1
   Brand tokens from ARDENTIA-BRAND-GUIDELINES.md
   ===================================================== */

:root {
  --ink:        #14161A;
  --ink-hero:   #0A0B0D;
  --ink-deep:   #08090B;
  --paper:      #F4F2EE;
  --surface:    #FBFAF7;
  --blue:       #0682B6;
  --blue-hover: #056A96;
  --blue-bright:#2AA4DA;
  --blue-wash:  #EAF4F9;
  --border:     #E4E1DA;
  --border-soft:#EDEAE4;
  --text-muted: #6B6A63;
  --text-faint: #8A8880;
  --success:    #2E9E5B; /* status feedback only — not used on this page */
  --warm-white: #F3F2EE;

  --font-sans: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --wrap: 1160px;
  --pad: clamp(20px, 4.5vw, 48px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.12; letter-spacing: -0.015em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 9vw, 120px); }
[id] { scroll-margin-top: 84px; }
.section--tight { padding-block: 0 clamp(64px, 9vw, 120px); }

/* ---------- mono eyebrows ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .28em;
  margin-bottom: 16px;
}
.eyebrow--hero {
  color: rgba(243,242,238,.32); letter-spacing: .4em;
  font-size: 10px; font-weight: 400; margin-bottom: 34px;
}
.eyebrow--blue { color: var(--blue); }
.eyebrow--bright { color: var(--blue-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-sans); font-weight: 500; font-size: 15px;
  min-height: 44px; padding: 10px 22px;
  border-radius: 11px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-hover); }
.btn--ghost { border-color: rgba(243,242,238,.35); color: var(--warm-white); background: transparent; }
.btn--ghost:hover { border-color: rgba(243,242,238,.8); background: rgba(243,242,238,.06); }

/* =====================================================
   Nav
   ===================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--ink-deep); border-bottom-color: rgba(243,242,238,.08); }
.nav__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo img { height: 24px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav__links > a:not(.btn) {
  color: rgba(243,242,238,.72); font-size: 15px; font-weight: 400;
  padding: 10px 2px; transition: color .2s;
}
.nav__links > a:not(.btn):hover { color: var(--warm-white); }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; padding: 12px; }
.nav__burger span { display: block; width: 22px; height: 1.6px; background: var(--warm-white); margin: 6px 0; }

@media (max-width: 860px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 61px 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-deep); border-bottom: 1px solid rgba(243,242,238,.08);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
    padding: 8px var(--pad) 20px;
  }
  .nav__links.open { opacity: 1; visibility: visible; transform: none; }
  .nav__links > a:not(.btn) { padding: 14px 2px; border-bottom: 1px solid rgba(243,242,238,.06); }
  .nav__links .btn { margin-top: 14px; justify-content: center; }
}

/* =====================================================
   A. Hero
   ===================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: var(--ink-hero); color: var(--warm-white);
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; background: #101216; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(58% 42% at 50% 104%, rgba(6,130,182,.16), transparent 70%),
    radial-gradient(34% 26% at 86% -4%, rgba(243,242,238,.05), transparent 70%),
    linear-gradient(180deg, rgba(8,9,11,.9) 0%, rgba(8,9,11,.62) 22%, rgba(8,9,11,.5) 44%, rgba(8,9,11,.74) 74%, rgba(8,9,11,.96) 100%);
}
.hero__center {
  position: relative; z-index: 2; text-align: center;
  padding: 120px var(--pad) 40px;
  display: flex; flex-direction: column; align-items: center;
}
.hero__logo { position: relative; margin-block: 0 44px; }
.hero__logo img { width: min(430px, 74vw); height: auto; position: relative; z-index: 1; }
.hero__glow {
  position: absolute; inset: -46% -30%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(42,164,218,.32), transparent 70%);
  filter: blur(28px);
  animation: glowPulse 5.5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.06); opacity: .85; }
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 400; letter-spacing: -.02em; line-height: 1.08;
  max-width: 16ch;
}
.hero h1 strong { font-weight: 600; }
.hero__sub {
  margin-top: 44px; max-width: 44ch;
  color: rgba(243,242,238,.5); font-weight: 300;
  font-size: clamp(14px, 1.4vw, 16px);
  letter-spacing: .01em;
}

/* entrance */
.rise { opacity: 0; transform: translateY(20px); animation: rise .9s ease forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* coverage strip */
.coverage {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(243,242,238,.1);
  padding: 18px var(--pad);
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 26px;
}
.coverage__label {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(243,242,238,.4);
}
.coverage__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.coverage__list li { font-size: 13.5px; color: rgba(243,242,238,.66); white-space: nowrap; }
.coverage__more { color: var(--blue-bright) !important; font-weight: 500; }

/* =====================================================
   B. Light working body
   ===================================================== */
.sechead {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.sechead h2, .how__title, .finder h2, .concierge h2 { font-size: clamp(24px, 3.4vw, 40px); }
.sechead__sub { color: var(--text-muted); font-size: 16px; max-width: 44ch; justify-self: end; }
@media (max-width: 860px) { .sechead { grid-template-columns: 1fr; align-items: start; } .sechead__sub { justify-self: start; } }

/* department cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 30px 28px 24px;
  transition: border-color .25s;
}
.card:hover { border-color: var(--blue); }
.card__index {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em;
  color: var(--text-faint); display: block; margin-bottom: 26px;
}
.card h3 { font-size: 20px; font-weight: 500; }
.card__sub { color: var(--text-muted); font-size: 14px; margin: 8px 0 24px; }
.card__list { border-top: 1px solid var(--border-soft); margin-bottom: 20px; }
.card__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 2px; border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
}
.card__list li::before { content: "✓"; color: var(--blue); font-weight: 600; font-size: 13px; }
.card__cta {
  margin-top: auto; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint);
  transition: color .2s; padding-top: 4px;
}
.card:hover .card__cta { color: var(--blue); }

/* =====================================================
   Service Finder
   ===================================================== */
.finder {
  background: var(--ink); color: var(--warm-white);
  border-radius: 20px; padding: clamp(36px, 6vw, 64px);
  text-align: center;
}
.finder__sub { color: rgba(243,242,238,.6); font-weight: 300; margin: 14px auto 30px; max-width: 52ch; }
.finder__pill {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px;
  background: rgba(243,242,238,.06); border: 1px solid rgba(243,242,238,.12);
  border-radius: 16px; padding: 10px;
  backdrop-filter: blur(6px);
}
@media (max-width: 860px) { .finder__pill { grid-template-columns: 1fr; } }
.finder__field { display: grid; gap: 2px; text-align: left; padding: 6px 12px; }
.finder__field span {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(243,242,238,.45);
}
.finder__field select {
  background: transparent; border: 0; color: var(--warm-white);
  font-family: var(--font-sans); font-size: 15px; min-height: 30px; cursor: pointer;
}
.finder__field select option { color: var(--ink); }
.finder__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; }
.finder__trust li {
  font-size: 13px; color: rgba(243,242,238,.55);
  display: flex; align-items: center; gap: 7px;
}
.finder__trust li::before { content: "✓"; color: var(--blue-bright); font-size: 12px; }

/* =====================================================
   How it works
   ===================================================== */
.how__title { margin-bottom: clamp(36px, 5vw, 56px); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } }
.timeline__step { border-top: 2px solid var(--border); padding-top: 20px; }
.timeline__step--first { border-top-color: var(--ink); }
.timeline__label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 12px;
}
.timeline__step h4 { font-size: 17.5px; font-weight: 600; margin-bottom: 8px; }
.timeline__step p { color: var(--text-muted); font-size: 14.5px; }

/* =====================================================
   C. Concierge wing
   ===================================================== */
.concierge {
  background: var(--ink-hero); color: var(--warm-white);
  padding-block: clamp(72px, 10vw, 130px);
  position: relative; overflow: hidden;
}
.concierge::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 46% at 88% 0%, rgba(6,130,182,.14), transparent 70%);
}
.concierge__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
@media (max-width: 860px) { .concierge__grid { grid-template-columns: 1fr; } }
.concierge__sub { color: rgba(243,242,238,.66); font-weight: 300; margin: 18px 0 14px; max-width: 46ch; }
.concierge__words { font-size: 14px; color: rgba(243,242,238,.5); margin-bottom: 28px; }
.concierge__media {
  height: 340px; border-radius: 18px; background: #101216;
  border: 1px solid rgba(243,242,238,.08);
  display: flex; align-items: flex-end; justify-content: flex-end;
}

/* =====================================================
   D. Footer
   ===================================================== */
.footer { background: var(--ink-deep); color: rgba(243,242,238,.6); padding-top: clamp(56px, 8vw, 88px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { height: 22px; width: auto; margin-bottom: 16px; }
.footer__brand p { font-size: 14px; font-weight: 300; max-width: 34ch; }
.footer h4 {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(243,242,238,.4); margin-bottom: 14px; font-weight: 500;
}
.footer nav a { display: block; padding: 5px 0; font-size: 14.5px; transition: color .2s; }
.footer nav a:hover { color: var(--warm-white); }
.footer__bottom {
  border-top: 1px solid rgba(243,242,238,.08);
  padding-block: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(243,242,238,.38);
}

/* =====================================================
   Reduced motion
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; opacity: 1; transform: none; }
  .hero__glow { animation: none; }
  .card, .card:hover { transform: none; }
  * { transition-duration: .01ms !important; }
}
