/* ============================================================
   AUREVA Legal — stylesheet
   Contemporary-classical editorial system:
   international navy, champagne gold, warm ivory, graphite.
   ============================================================ */

:root {
  /* Brand palette */
  --navy:       #0B1733;
  --navy-deep:  #070F22;
  --navy-soft:  #122045;
  --gold:       #B99A5E;
  --gold-lite:  #D5BC8C;
  --ivory:      #F6F2E8;
  --ivory-warm: #EFE9DA;
  --graphite:   #20242B;

  /* Band tokens — dark band is the default (navy) */
  --bg:           var(--navy);
  --fg:           var(--ivory);
  --fg-muted:     #B3BDD1;
  --fg-dim:       #7C88A0;
  --accent:       var(--gold);
  --accent-text:  #CBAE79;
  --line:         rgba(246, 242, 232, .16);
  --line-soft:    rgba(246, 242, 232, .09);
  --surface:      rgba(246, 242, 232, .035);
  --surface-hover:rgba(246, 242, 232, .07);
  --field-bg:     rgba(246, 242, 232, .04);
  --field-bd:     rgba(246, 242, 232, .18);
  --scheme:       dark;

  --wrap: 1180px;
  --pad:  clamp(1.25rem, 5vw, 4rem);

  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Warm ivory band — same components, inverted tokens. */
.band--light {
  --bg:           var(--ivory);
  --fg:           var(--graphite);
  --fg-muted:     #55606F;
  --fg-dim:       #7A8494;
  --accent:       var(--gold);
  --accent-text:  #7C6030;
  --line:         rgba(11, 23, 51, .16);
  --line-soft:    rgba(11, 23, 51, .09);
  --surface:      rgba(255, 255, 255, .62);
  --surface-hover:#FFFFFF;
  --field-bg:     #FFFFFF;
  --field-bd:     rgba(11, 23, 51, .18);
  --scheme:       light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

html.has-js body {
  opacity: 0;
  transition: opacity .36s var(--ease);
}
html.has-js.page-is-ready body { opacity: 1; }
html.has-js.page-is-leaving body { opacity: 0; pointer-events: none; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.68;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* Bodoni Moda carries an optical-size axis. Left on "auto" the browser
     raises it with the font size, and the hairlines thin out to nothing on
     display headings. Pinning it to a text-grade optical size keeps the
     strokes solid at every size. Inter has no opsz axis and ignores this. */
  font-optical-sizing: none;
  font-variation-settings: "opsz" 12;
}
body.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.has-js body { transition: none; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--gold); color: #0B1733; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: #0B1733; padding: .75rem 1.25rem;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--gold-lite);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- Bands ---------- */

.band {
  position: relative;
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}
.band + .band { border-top: 1px solid var(--line-soft); }
.band--light + .band--light { border-top-color: rgba(11, 23, 51, .12); }

/* ---------- Typography primitives ---------- */

.eyebrow {
  margin: 0 0 1.35rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent-text);
}

.h-display {
  margin: 0 0 1.5rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.35rem, 1.5rem + 4.2vw, 4.75rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.h-section {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.65rem, 1.3rem + 1.3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -.01em;
}

/* Bodoni Moda is a Didone: below display scale its hairlines thin out and
   disappear against the dark ground. Everything set in the serif under roughly
   1.5rem gets pinned to a text optical size and a heavier grade so the thin
   strokes stay solid. Display headings keep the high-contrast cut. */
.practice__item h3,
.practice__num,
.card h3,
.card__num,
.tl-item h3,
.step h3,
.step::before,
.trust__aside strong,
.acc-num,
.acc-title,
.pillar dt,
.team-card__body h2,
.contact-block__name {
  font-weight: 600;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 11, "wght" 600;
}

.lede {
  max-width: 48ch;
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem);
  line-height: 1.62;
  color: var(--fg-muted);
  font-weight: 300;
}

.prose { max-width: 64ch; color: var(--fg-muted); font-weight: 300; }
.prose p { margin: 0 0 1.1rem; }
.prose p:last-child { margin-bottom: 0; }

.rule {
  width: 3.25rem; height: 1px;
  background: var(--accent);
  margin: 0 0 1.75rem;
  border: 0;
}

.hint {
  margin: 0;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hint--touch { display: none; }
@media (hover: none) {
  .hint--touch { display: inline; }
  .hint--pointer { display: none; }
}

.note {
  margin: 2.25rem 0 0;
  padding-left: 1.1rem;
  border-left: 1px solid var(--accent);
  font-size: .88rem;
  line-height: 1.6;
  color: var(--fg-dim);
  max-width: 62ch;
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  --btn-bd: var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3rem;
  padding: .95rem 1.85rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: #0B1733;
  --btn-bd: var(--gold);
}
.btn--gold:hover { --btn-bg: var(--gold-lite); --btn-bd: var(--gold-lite); }

.btn--ghost { --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bd: var(--accent); --btn-bg: var(--surface); }

.btn--lg { min-height: 3.4rem; padding: 1.1rem 2.3rem; }

.inline-link {
  display: inline-flex; align-items: center; gap: .55rem;
  margin-top: 1.35rem;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-text);
}
.inline-link i { transition: transform .3s var(--ease); font-style: normal; }
.inline-link:hover i { transform: translateX(5px); }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: transform .5s var(--ease), background .45s var(--ease),
              border-color .45s var(--ease);
}
.nav.is-stuck,
.secondary-page .nav {
  background: rgba(7, 15, 34, .9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(246, 242, 232, .1);
}
.nav.is-hidden { transform: translateY(-100%); }

.nav__progress {
  position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-lite));
  transition: width .1s linear;
}

.nav__inner {
  max-width: 1360px;
  margin-inline: auto;
  padding: .95rem clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 2vw, 1.4rem);
}

.brand { display: flex; align-items: center; margin-right: auto; flex: none; }
.brand__logo {
  display: block;
  width: clamp(8.5rem, 14vw, 11.5rem);
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(.85rem, 1.5vw, 1.3rem);
}
.nav__links > a {
  position: relative;
  padding: .35rem 0;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #B3BDD1;
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.nav__links > a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav__links > a:hover,
.nav__links > a.is-active { color: var(--ivory); }
.nav__links > a:hover::after,
.nav__links > a.is-active::after { width: 100%; }

.lang-switch {
  display: flex;
  gap: .15rem;
  padding: .15rem;
  border: 1px solid rgba(246, 242, 232, .14);
  border-radius: 2px;
  flex: none;
}
.lang-switch__btn {
  padding: .4rem .6rem;
  background: none;
  border: 0;
  border-radius: 2px;
  color: #8E99AF;
  font-family: inherit;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.lang-switch__btn:hover { color: var(--ivory); }
.lang-switch__btn.is-active {
  background: rgba(185, 154, 94, .18);
  color: var(--gold-lite);
}

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(246, 242, 232, .16);
  border-radius: 2px;
  padding: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span {
  display: block; width: 18px; height: 1.5px; background: var(--ivory);
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: rgba(7, 15, 34, .98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(246, 242, 232, .09);
  max-height: calc(100svh - 4.9rem);
  overflow-y: auto;
  overflow-x: hidden;
}
.mobile-menu__panel { padding: .5rem var(--pad) 2rem; }
.mobile-menu__panel > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(246, 242, 232, .09);
  color: #B3BDD1;
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mobile-menu__panel > a:hover { color: var(--ivory); }

.mobile-menu__panel > a.mobile-menu__cta {
  margin-top: 1.6rem;
  width: 100%;
  justify-content: center;
  border-bottom: 1px solid var(--gold);
  color: #0B1733;
  font-size: .78rem;
  letter-spacing: .14em;
}
.mobile-menu__panel > a.mobile-menu__cta:hover { color: #0B1733; }

@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .mobile-menu:not([hidden]) { display: block; }
}
@media (max-width: 420px) {
  .lang-switch__btn { padding: .38rem .42rem; font-size: .62rem; letter-spacing: .06em; }
  .brand__logo { width: 7.6rem; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(94svh, 900px);
  display: grid;
  align-items: center;
  padding: clamp(8rem, 16vh, 11rem) 0 clamp(6rem, 12vh, 8rem);
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: -10% 0;
  z-index: -2;
  will-change: transform;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(246, 242, 232, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246, 242, 232, .05) 1px, transparent 1px);
  background-size: clamp(72px, 9vw, 132px) clamp(72px, 9vw, 132px);
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 25%, transparent 78%);
}
.hero__glow {
  position: absolute;
  inset: -25% -10% auto auto;
  width: min(60rem, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(185, 154, 94, .2), transparent 62%);
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 15, 34, .55) 0%, rgba(11, 23, 51, 0) 32%, rgba(7, 15, 34, .78) 100%);
}

.hero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.hero__title {
  margin: 0 0 1.6rem;
  max-width: 15ch;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.7rem, 1.6rem + 5.4vw, 5.6rem);
  line-height: 1.03;
  letter-spacing: -.02em;
  color: var(--ivory);
  text-wrap: balance;
}

.hero__lede {
  max-width: 54ch;
  margin: 0 0 2.6rem;
  font-size: clamp(1.05rem, 1rem + .45vw, 1.32rem);
  line-height: 1.62;
  font-weight: 300;
  color: #C3CBDB;
}
.hero__lede em { color: var(--gold-lite); font-style: normal; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  /* The meta list wraps to three or four lines here and would otherwise
     run into the absolutely positioned scroll cue. */
  .hero { padding-bottom: clamp(9rem, 20vh, 12rem); }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 2.25rem;
  margin: 3.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #8E99AF;
}
.hero__meta li { display: flex; align-items: center; gap: .6rem; }
.hero__meta li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 2rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: .64rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: #7C88A0;
  transition: color .3s var(--ease);
}
.scroll-cue:hover { color: var(--ivory); }
.scroll-cue i {
  display: block;
  width: 1px; height: 2.4rem;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.4); opacity: .5; transform-origin: top; }
  50%      { transform: scaleY(1); opacity: 1; transform-origin: top; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue i { animation: none; }
}

/* ============================================================
   SECTION HEADS
   ============================================================ */

.sec-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}
.sec-head--split .h-display,
.sec-head--split .lede { margin-bottom: 0; }
.sec-head--split .h-display { font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.4rem); }
@media (max-width: 860px) {
  .sec-head--split { grid-template-columns: 1fr; align-items: start; }
}

/* ============================================================
   PRACTICE — what AUREVA Legal does
   ============================================================ */

.practice__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 900px) { .practice__grid { grid-template-columns: 1fr; } }

.practice__item h3 {
  margin: 0 0 .75rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.25;
}
.practice__item p {
  margin: 0;
  color: var(--fg-muted);
  font-weight: 300;
  font-size: .97rem;
}
.practice__num {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--serif);
  font-size: .95rem;
  letter-spacing: .18em;
  color: var(--accent-text);
}

/* ============================================================
   SCAMDEMIC — context and figures
   ============================================================ */

.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: clamp(1.75rem, 5vw, 4.5rem);
  margin-top: clamp(2rem, 4vw, 3.25rem);
}
.stat { min-width: 12rem; }
.stat__rule { width: 1px; background: var(--line); align-self: stretch; }
.stat__value {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem);
  line-height: 1;
  color: var(--gold-lite);
  letter-spacing: -.02em;
}
.band--light .stat__value { color: var(--accent-text); }
.stat__label {
  margin-top: .85rem;
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 30ch;
}
@media (max-width: 620px) { .stat__rule { display: none; } }

/* ============================================================
   CARD GRIDS
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 1080px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .65rem;
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: background .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease);
  scroll-margin-top: 6rem;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.card:hover {
  background: var(--surface-hover);
  border-color: var(--line);
  transform: translateY(-3px);
}
.card:hover::before { transform: scaleX(1); }

.card__num {
  font-family: var(--serif);
  font-size: .9rem;
  letter-spacing: .2em;
  color: var(--accent-text);
}
.card__icon { width: 28px; height: 28px; color: var(--accent); }
.card__icon svg { width: 100%; height: 100%; }

.card h3 {
  margin: .35rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.1rem + .3vw, 1.42rem);
  line-height: 1.22;
  color: var(--fg);
}
.card p {
  margin: 0;
  font-size: .93rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--fg-muted);
}
.card__more {
  margin-top: auto;
  padding-top: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color .3s var(--ease);
}
.card__more i { font-style: normal; transition: transform .3s var(--ease); }
.card:hover .card__more { color: var(--accent-text); }
.card:hover .card__more i { transform: translateX(5px); }

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline {
  --edge: max(var(--pad), calc((100vw - var(--wrap)) / 2 + var(--pad)));
  --tl-gap: clamp(1rem, 2vw, 1.5rem);
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
}

/* Soft fades at both ends so the rail reads as continuing past the viewport. */
.timeline::before,
.timeline::after {
  content: "";
  position: absolute;
  top: 0; bottom: 1.5rem;
  width: clamp(1.5rem, 4vw, 4rem);
  z-index: 3;
  pointer-events: none;
}
.timeline::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.timeline::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.tl-track {
  display: flex;
  gap: var(--tl-gap);
  padding: .5rem var(--edge) 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}
.tl-track::-webkit-scrollbar { display: none; }
.tl-track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.tl-track.is-dragging * { pointer-events: none; }

.tl-item {
  position: relative;
  flex: 0 0 min(22rem, 80vw);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 3.6rem clamp(1.4rem, 2.4vw, 1.9rem) clamp(1.6rem, 2.4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  transition: border-color .35s var(--ease), background .35s var(--ease),
              box-shadow .35s var(--ease);
}
.tl-item:hover { background: var(--surface-hover); }

/* The rail threads through every card and bridges the gaps between them,
   so the row reads as one timeline rather than ten separate boxes. */
.tl-item::before {
  content: "";
  position: absolute;
  top: 2.05rem;
  left: 0;
  right: calc(-1 * var(--tl-gap) - 2px);
  height: 1px;
  background: var(--line);
}
.tl-item:last-child::before { right: 0; }

.tl-item::after {
  content: "";
  position: absolute;
  top: calc(2.05rem - 5px);
  left: clamp(1.4rem, 2.4vw, 1.9rem);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--gold);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}

.tl-item.is-active {
  border-color: rgba(185, 154, 94, .55);
  background: var(--surface-hover);
}
.tl-item.is-active::after {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(185, 154, 94, .16);
}

.tl-year {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem);
  line-height: 1;
  color: var(--gold-lite);
  letter-spacing: -.01em;
  font-weight: 500;
}
.tl-year--label {
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 600;
  color: var(--accent-text);
  padding-block: .6rem;
}
.tl-item h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--fg);
}
.tl-role {
  margin: -.5rem 0 0;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.tl-item p {
  margin: 0;
  font-size: .9rem;
  font-weight: 300;
  line-height: 1.62;
  color: var(--fg-muted);
}

.tl-arrow {
  position: absolute;
  top: 42%;
  z-index: 4;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(7, 15, 34, .8);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--fg);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tl-arrow svg { width: 20px; height: 20px; }
.tl-arrow:hover { background: var(--gold); border-color: var(--gold); color: #0B1733; }
.tl-arrow[disabled] { opacity: .25; pointer-events: none; }
.tl-arrow--prev { left: max(.75rem, calc(var(--edge) - 3.25rem)); }
.tl-arrow--next { right: max(.75rem, calc(var(--edge) - 3.25rem)); }
@media (max-width: 960px) { .tl-arrow { display: none; } }

.tl-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: .5rem;
}
.tl-bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.tl-bar span {
  position: absolute; inset: 0 auto 0 0;
  background: var(--gold);
  transition: transform .3s var(--ease);
}
.tl-counter {
  font-size: .74rem;
  letter-spacing: .16em;
  color: var(--fg-dim);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   PROCESS — how a case review works
   ============================================================ */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .12em;
  color: var(--accent-text);
}
.step::after {
  content: "";
  position: absolute; top: 1.9rem; left: 0; right: 0;
  height: 1px;
  background: var(--line-soft);
}
.step h3 {
  margin: 0 0 .6rem;
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.25;
}
.step p {
  margin: 0;
  font-size: .93rem;
  font-weight: 300;
  color: var(--fg-muted);
}

/* ============================================================
   TRUST
   ============================================================ */

.trust__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .trust__grid { grid-template-columns: 1fr; } }

.trust__aside {
  position: sticky;
  top: 7rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}
@media (max-width: 900px) { .trust__aside { position: static; } }
.trust__mark {
  width: clamp(4.5rem, 8vw, 6rem);
  height: auto;
  margin-bottom: 1.5rem;
}
.trust__aside p {
  margin: 0;
  font-size: .95rem;
  font-weight: 300;
  color: var(--fg-muted);
}
.trust__aside strong {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--fg);
}

/* ---------- Accordion ---------- */

.accordion { border-top: 1px solid var(--line); margin-top: 2.25rem; }
.acc-item { border-bottom: 1px solid var(--line-soft); }

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: color .3s var(--ease);
}
.acc-head:hover { color: var(--accent-text); }

.acc-num {
  font-family: var(--serif);
  font-size: .85rem;
  letter-spacing: .16em;
  color: var(--fg-dim);
  flex: none;
}
.acc-titles { display: flex; flex-direction: column; gap: .3rem; flex: 1; min-width: 0; }
.acc-kicker {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.acc-title {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1rem + .35vw, 1.32rem);
  line-height: 1.3;
}
.acc-icon {
  position: relative;
  width: 14px; height: 14px;
  flex: none;
  color: var(--accent);
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute; inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: rotate(0); opacity: 0; }
.acc-item.is-open .acc-num,
.acc-item.is-open .acc-title { color: var(--accent-text); }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel__inner { overflow: hidden; }
.acc-item.is-open .acc-panel__inner { padding-bottom: 1.85rem; }
.acc-panel__inner > p {
  margin: 0;
  max-width: 68ch;
  font-size: .97rem;
  font-weight: 300;
  color: var(--fg-muted);
}

.pillars { margin: 0; display: grid; gap: 1.5rem; }
.pillar dt {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: .3rem;
}
.pillar dd {
  margin: 0;
  font-size: .93rem;
  font-weight: 300;
  color: var(--fg-muted);
  max-width: 60ch;
}

.accordion--faq { max-width: 62rem; }
.accordion--faq .acc-title { font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem); }

/* ============================================================
   FINAL CTA
   ============================================================ */

.cta__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(2.25rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}
@media (max-width: 860px) { .cta__panel { grid-template-columns: 1fr; } }
.cta__panel .h-display { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.35rem); margin-bottom: 1rem; }
.cta__panel .lede { margin-bottom: 0; }
.cta__actions { display: flex; flex-direction: column; gap: .8rem; }
.cta__actions .btn { width: 100%; }
.cta__actions small {
  font-size: .78rem;
  line-height: 1.55;
  color: var(--fg-dim);
}

/* ============================================================
   TEAM
   ============================================================ */

.team__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.team__head .h-display, .team__head .lede { margin-bottom: 0; }
@media (max-width: 860px) { .team__head { grid-template-columns: 1fr; align-items: start; } }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
@media (max-width: 1080px) { .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .team__grid { grid-template-columns: 1fr; } }

.team-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-soft);
  border-radius: 2px;
  background: var(--surface);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.team-card:hover { border-color: var(--line); transform: translateY(-3px); }

.team-card__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--navy-soft);
}
.team-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  transition: transform .7s var(--ease);
}
.team-card:hover .team-card__media img { transform: scale(1.035); }

/* One card per row on phones: a square crop keeps the page from turning
   into four full-height portraits. */
@media (max-width: 520px) {
  .team-card__media { aspect-ratio: 1 / 1; }
  .team-card__media img { object-position: 50% 15%; }
}

.team-card__body { padding: 1.35rem 1.35rem 1.6rem; }
.team-card__body h2 {
  margin: 0 0 .3rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--fg);
}
.team-card__role {
  margin: 0 0 .85rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.team-card__bio {
  margin: 0;
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--fg-muted);
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__assurance {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
  margin-bottom: 2rem;
}
.contact__assurance-mark {
  flex: none;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}
.contact__assurance-mark svg { width: 1.2rem; }
.contact__assurance strong {
  display: block;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: .2rem;
}
.contact__assurance p { margin: 0; font-size: .87rem; font-weight: 300; color: var(--fg-muted); }

/* ---------- Contact block (shared: /contact/ + footer) ---------- */

.contact-block {
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.contact-block__label {
  margin: 0 0 .35rem;
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.contact-block__name {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
}
.contact-block dl { margin: 0; display: grid; gap: 1.1rem; }
.contact-block dt {
  font-size: .66rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: .3rem;
}
.contact-block dd {
  margin: 0;
  font-size: .95rem;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.55;
}
.contact-block dd a { color: var(--fg); border-bottom: 1px solid var(--line); }
.contact-block dd a:hover { color: var(--accent-text); border-bottom-color: var(--accent); }
.contact-block address { font-style: normal; }

.contact-block__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13.5rem), 1fr));
  gap: .7rem;
  margin-top: 1.75rem;
}

/* ---------- Form ---------- */

.case-form {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--surface);
}
.case-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 1.1rem;
}
@media (max-width: 620px) { .case-form__grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field > span:first-child {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.field b { color: var(--accent-text); font-weight: inherit; }
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--field-bg);
  border: 1px solid var(--field-bd);
  border-radius: 2px;
  color: var(--fg);
  font-family: inherit;
  font-size: .97rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  color-scheme: var(--scheme);
}
.field input,
.field select { min-height: 3.15rem; padding: .8rem .95rem; }
.field textarea { min-height: 9.5rem; padding: .9rem .95rem; line-height: 1.55; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--fg-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--accent); outline-offset: 1px; }
.field small { font-size: .78rem; color: var(--fg-dim); line-height: 1.5; }

.money-field { position: relative; display: block; }
.money-field i {
  position: absolute;
  left: .95rem; top: 50%;
  transform: translateY(-50%);
  font-style: normal;
  color: var(--fg-dim);
}
.money-field input { padding-left: 2rem; }

.consent {
  display: flex;
  gap: .75rem;
  margin: 1.4rem 0;
  font-size: .87rem;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.55;
}
.consent input {
  flex: none;
  width: 1.15rem; height: 1.15rem;
  margin-top: .2rem;
  accent-color: var(--gold);
}
.case-form .btn { width: 100%; }
.case-form__status {
  margin: 1.1rem 0 0;
  min-height: 1.2rem;
  font-size: .87rem;
  line-height: 1.55;
  color: var(--accent-text);
}
.case-form__status:empty { min-height: 0; }

/* ============================================================
   SECONDARY PAGES
   ============================================================ */

.secondary-main { padding-top: 4.9rem; }
.secondary-band { padding-top: clamp(2.75rem, 6vw, 4.5rem); }

.page-back {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.page-back i { color: var(--accent); font-style: normal; }
.page-back:hover { color: var(--fg); transform: translateX(-4px); }

/* ---------- Legal documents ---------- */

.legal-doc { max-width: 68ch; }
.legal-doc h2 {
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.2;
  scroll-margin-top: 6rem;
}
.legal-doc h3 {
  margin: 2rem 0 .6rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.legal-doc p, .legal-doc li {
  color: var(--fg-muted);
  font-weight: 300;
}
.legal-doc a {
  color: var(--fg);
  border-bottom: 1px solid var(--line);
}
.legal-doc a:hover { color: var(--accent-text); border-bottom-color: var(--accent); }
.legal-doc p { margin: 0 0 1.05rem; }
.legal-doc ul { margin: 0 0 1.05rem; padding-left: 1.1rem; }
.legal-doc li { margin-bottom: .5rem; }

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.legal-toc a {
  display: inline-block;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.legal-toc a:hover { border-color: var(--accent); color: var(--fg); }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--navy-deep);
  color: var(--ivory);
  border-top: 1px solid rgba(246, 242, 232, .1);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand .brand { margin-right: 0; }
.footer__brand .brand__logo { width: min(100%, 13rem); }
.footer__brand p {
  margin: 1.25rem 0 0;
  max-width: 34ch;
  font-size: .9rem;
  font-weight: 300;
  color: #9BA6BC;
}

.footer__col { display: flex; flex-direction: column; gap: .7rem; }
.footer__col h3 {
  margin: 0 0 .35rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__col a {
  font-size: .88rem;
  font-weight: 300;
  color: #9BA6BC;
  transition: color .3s var(--ease);
}
.footer__col a:hover { color: var(--gold-lite); }

/* Footer contact block */
.footer__contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-block: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid rgba(246, 242, 232, .1);
}
.footer__contact h3 {
  margin: 0 0 .6rem;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__contact p,
.footer__contact address {
  margin: 0;
  font-style: normal;
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.6;
  color: #9BA6BC;
}
.footer__contact a { color: #D3DAE6; border-bottom: 1px solid rgba(246, 242, 232, .18); }
.footer__contact a:hover { color: var(--gold-lite); border-bottom-color: var(--gold); }
.footer__contact .contact-block__label { color: var(--gold); margin-bottom: .5rem; }

.footer__legal {
  border-top: 1px solid rgba(246, 242, 232, .1);
  padding-top: 1.75rem;
  display: grid;
  gap: .9rem;
}
.footer__legal p { margin: 0; font-size: .78rem; color: #77839A; font-weight: 300; }
.footer__links { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; }
.footer__links a { color: #9BA6BC; }
.footer__links a:hover { color: var(--gold-lite); }

/* ============================================================
   REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .team-card:hover { transform: none; }
  .parallax { transform: none !important; }
}

/* ---------- Utilities ---------- */

/* Honeypot: kept in the accessibility tree only for bots, never shown. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.cta__panel--inline { margin-top: clamp(2.5rem, 5vw, 4rem); }
.cta__panel--inline .h-section { margin-bottom: .75rem; }

.footer__contact p + h3 { margin-top: 1rem; }
