/* ═══════════════════════════════════════════════════════
   JAFIULLAH ANSARI — ADVOCATE
   Ink & Gold — editorial legal portfolio
   ═══════════════════════════════════════════════════════ */

:root {
  --ink: #0b0f1a;
  --ink-2: #101626;
  --ink-3: #171f33;
  --gold: #c9a24b;
  --gold-bright: #e6c476;
  --ivory: #f3efe6;
  --muted: #8b93a7;
  --line: rgba(201, 162, 75, 0.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold); color: var(--ink); }

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--ink);
  display: grid; place-items: center;
}
.preloader__inner { text-align: center; }
.preloader__scales {
  width: 92px; margin: 0 auto 28px; color: var(--gold);
  stroke: currentColor; overflow: visible;
}
.preloader__scales .draw {
  stroke-dasharray: 300; stroke-dashoffset: 300;
  animation: drawIn 1.4s var(--ease-out) forwards;
}
.preloader__scales .draw:nth-child(2) { animation-delay: .15s; }
.preloader__scales .draw:nth-child(3) { animation-delay: .3s; }
.preloader__scales .draw:nth-child(4) { animation-delay: .45s; }
.preloader__scales .draw:nth-child(5) { animation-delay: .6s; }
.preloader__scales .draw:nth-child(6) { animation-delay: .75s; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }

.preloader__name {
  display: flex; gap: 14px; justify-content: center;
  font-family: var(--serif); font-size: clamp(26px, 4vw, 44px);
  letter-spacing: .35em; font-weight: 600;
}
.preloader__word { display: inline-block; overflow: hidden; }
.preloader__word--accent { color: var(--gold); }
.preloader__word span {
  display: inline-block; transform: translateY(110%);
}

.preloader__bar {
  width: min(280px, 60vw); height: 1px; margin: 30px auto 12px;
  background: rgba(255,255,255,.12); overflow: hidden;
}
.preloader__bar-fill {
  display: block; height: 100%; width: 0%;
  background: var(--gold); transition: width .25s linear;
}
.preloader__count {
  font-size: 11px; letter-spacing: .4em; color: var(--muted);
}
.preloader.is-done { pointer-events: none; }

/* ═══════════ CURSOR ═══════════ */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 999;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  pointer-events: none;
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease-out), height .3s var(--ease-out),
              background .3s, border-color .3s;
}
.cursor.is-hover { width: 52px; height: 52px; background: rgba(201,162,75,.12); }
.cursor.is-view  { width: 76px; height: 76px; background: var(--gold); border-color: var(--gold); }
.cursor__label {
  font-size: 10px; letter-spacing: .2em; font-weight: 700;
  color: var(--ink); opacity: 0; text-transform: uppercase;
}
.cursor.is-view .cursor__label { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ═══════════ SCROLL PROGRESS ═══════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 998;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  transition: transform .5s var(--ease-out), background .4s, padding .4s;
}
.nav.is-scrolled {
  background: rgba(11, 15, 26, .82);
  backdrop-filter: blur(14px);
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.nav.is-hidden { transform: translateY(-110%); }

.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand-mark {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold);
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  transition: background .3s, color .3s;
}
.nav__brand:hover .nav__brand-mark { background: var(--gold); color: var(--ink); }
.nav__brand-text { font-family: var(--serif); font-size: 19px; letter-spacing: .04em; }
.nav__brand-text em { color: var(--gold); font-style: normal; }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.nav__links a {
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); position: relative; transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav__links a:hover { color: var(--ivory); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__cta {
  border: 1px solid var(--gold); padding: 10px 20px;
  color: var(--gold) !important;
  transition: background .3s, color .3s !important;
}
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }
.nav__cta::after { display: none; }

.nav__burger { display: none; flex-direction: column; gap: 7px; padding: 6px; }
.nav__burger span {
  width: 28px; height: 2px; background: var(--ivory);
  transition: transform .4s var(--ease-out), opacity .3s;
}
.nav__burger.is-open span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger.is-open span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Mobile overlay */
.menu-overlay {
  position: fixed; inset: 0; z-index: 890;
  background: rgba(11,15,26,.97); backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 40px;
  clip-path: circle(0% at calc(100% - 44px) 40px);
  transition: clip-path .7s var(--ease-out);
  visibility: hidden;
}
.menu-overlay.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.menu-overlay__links { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.menu-overlay__links a {
  font-family: var(--serif); font-size: clamp(34px, 8vw, 52px);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
  transition-delay: calc(.1s + var(--i) * .06s);
}
.menu-overlay.is-open .menu-overlay__links a { opacity: 1; transform: none; }
.menu-overlay__links a:hover { color: var(--gold); }
.menu-overlay__foot { font-size: 12px; letter-spacing: .25em; color: var(--muted); text-transform: uppercase; }

/* ═══════════ GENERIC SECTION ═══════════ */
.section { padding: clamp(90px, 12vw, 160px) clamp(20px, 6vw, 90px); position: relative; }
.section__head {
  display: flex; align-items: baseline; gap: 22px;
  margin-bottom: clamp(48px, 7vw, 90px);
}
.section__index {
  font-size: 13px; letter-spacing: .3em; color: var(--gold);
  font-weight: 700;
}
.section__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(40px, 7vw, 84px); line-height: 1.05;
}

/* split-text chars */
.char { display: inline-block; transform: translateY(115%); will-change: transform; }
.word-mask { display: inline-block; overflow: hidden; vertical-align: bottom; }

/* line reveal helper */
.reveal-line { overflow: hidden; }
.reveal-line > span { display: block; transform: translateY(110%); will-change: transform; }

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100svh; position: relative;
  display: flex; flex-direction: column; justify-content: center;
  padding: 140px clamp(20px, 6vw, 90px) 60px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,162,75,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,75,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero__orb {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
}
.hero__orb--1 {
  width: 44vw; height: 44vw; right: -12vw; top: -10vw;
  background: radial-gradient(circle, rgba(201,162,75,.24), transparent 65%);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__orb--2 {
  width: 36vw; height: 36vw; left: -14vw; bottom: -8vw;
  background: radial-gradient(circle, rgba(46,74,138,.3), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(4vw, 3vw) scale(1.12); }
}

.hero__eyebrow {
  font-size: 13px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 26px;
}
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(56px, 11vw, 148px);
  line-height: 0.98; letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__line--accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  transition: color .6s var(--ease-out);
}
.hero__line--accent:hover { color: var(--gold); }

.hero__sub {
  max-width: 560px; color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  margin-bottom: 44px;
}

.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.btn {
  position: relative; display: inline-block; overflow: hidden;
  padding: 16px 34px; font-size: 13px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  border: 1px solid var(--gold);
  transition: color .4s var(--ease-out);
  isolation: isolate;
}
.btn span { position: relative; z-index: 1; display: inline-block; }
.btn::before {
  content: ""; position: absolute; inset: 0;
  background: var(--gold); z-index: 0;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold::before { background: var(--gold-bright); }
.btn--ghost { color: var(--gold); }
.btn--ghost:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }

.hero__stats {
  display: grid; grid-template-columns: repeat(4, auto);
  gap: clamp(28px, 6vw, 84px);
  margin-top: clamp(56px, 8vh, 100px);
  padding-top: 34px; border-top: 1px solid var(--line);
  width: fit-content;
}
.hero__stat { display: block; }
.hero__stat .stat-num, .hero__stat b {
  font-family: var(--serif); font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 600; color: var(--ivory); line-height: 1;
  display: inline-block; vertical-align: baseline;
}
.hero__stat b { color: var(--gold); font-weight: 600; }
.hero__stat small {
  display: block; margin-top: 10px; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}

.hero__scroll-hint {
  position: absolute; right: clamp(20px, 5vw, 60px); bottom: 34px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted);
  writing-mode: vertical-rl;
}
.hero__scroll-hint span {
  width: 1px; height: 56px; background: var(--line); position: relative; overflow: hidden;
}
.hero__scroll-hint span::after {
  content: ""; position: absolute; inset: 0; background: var(--gold);
  animation: scrollPulse 2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(-100%); } 60% { transform: translateY(100%); } 100% { transform: translateY(100%); }
}

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  border-block: 1px solid var(--line);
  padding: 22px 0; overflow: hidden;
  background: var(--ink-2);
}
.marquee__track {
  display: flex; gap: 40px; width: max-content; align-items: center;
  will-change: transform;
}
.marquee__track span {
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px);
  white-space: nowrap; color: var(--ivory); font-weight: 500;
}
.marquee__track i { color: var(--gold); font-style: normal; font-size: 14px; }

/* ═══════════ ABOUT ═══════════ */
.about__grid {
  display: grid; grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(40px, 6vw, 100px); align-items: start;
}
.about__portrait-frame {
  aspect-ratio: 5 / 6; border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(201,162,75,.08), transparent 60%),
    var(--ink-2);
  display: grid; place-items: center;
  position: relative; overflow: hidden;
}
.about__portrait-frame::after {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid var(--line); pointer-events: none;
}
.about__photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 0; filter: saturate(.92) contrast(1.03) blur(8px);
  transition: opacity 1.1s var(--ease-out), filter 1.1s var(--ease-out), transform .8s var(--ease-out);
}
.about__portrait-frame.show-photo .about__photo {
  opacity: 1; filter: saturate(.92) contrast(1.03) blur(0);
}
.about__portrait-frame.show-photo:hover .about__photo { transform: scale(1.045); }
.about__portrait-frame::after { z-index: 2; }
.about__portrait-frame.no-photo .about__photo { display: none; }
.about__monogram {
  width: 70%; color: var(--gold);
  opacity: 1; transform: scale(1);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
}
.about__portrait-frame.show-photo .about__monogram { opacity: 0; transform: scale(.92); }
.mono-big { font-family: var(--serif); font-size: 74px; fill: var(--gold); font-weight: 600; letter-spacing: 6px; }
.mono-small { font-family: var(--sans); font-size: 11px; fill: var(--muted); letter-spacing: 8px; }
.mono-tiny { font-family: var(--sans); font-size: 7.5px; fill: var(--muted); letter-spacing: 3px; }
.about__portrait figcaption {
  margin-top: 16px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}

.about__lead {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(24px, 3vw, 36px); line-height: 1.35;
  color: var(--gold-bright); margin-bottom: 36px;
}
.about__text p { color: var(--muted); max-width: 60ch; margin-bottom: 18px; font-size: 16px; }
.about__creds { list-style: none; margin-top: 30px; }
.about__creds li { color: var(--ivory); font-size: 14px; letter-spacing: .04em; padding-block: 6px; }

/* ═══════════ PRACTICE ═══════════ */
.practice { background: var(--ink-2); }
.practice__list { border-top: 1px solid var(--line); }
.practice__item {
  display: grid; grid-template-columns: 80px 300px 1fr 60px;
  gap: clamp(16px, 3vw, 40px); align-items: center;
  padding: clamp(26px, 3.4vw, 44px) clamp(8px, 2vw, 24px);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden; cursor: pointer;
}
.practice__item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(201,162,75,.1), rgba(201,162,75,.02));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease-out);
  z-index: 0;
}
.practice__item:hover::before { transform: scaleY(1); }
.practice__item > * { position: relative; z-index: 1; }

.practice__num {
  font-size: 13px; letter-spacing: .25em; color: var(--gold); font-weight: 700;
}
.practice__item h3 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(24px, 3vw, 38px); line-height: 1.1;
  transition: transform .45s var(--ease-out), color .3s;
}
.practice__item:hover h3 { transform: translateX(10px); color: var(--gold-bright); }
.practice__item p { color: var(--muted); font-size: 15px; max-width: 52ch; }
.practice__arrow {
  font-size: 26px; color: var(--gold); justify-self: end;
  transform: translateX(-14px); opacity: 0;
  transition: transform .45s var(--ease-out), opacity .3s;
}
.practice__item:hover .practice__arrow { transform: translateX(0); opacity: 1; }

/* ═══════════ JOURNEY ═══════════ */
.journey__timeline { position: relative; max-width: 880px; margin-inline: auto; padding-left: clamp(28px, 5vw, 60px); }
.journey__spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 1px;
  background: rgba(255,255,255,.08);
}
.journey__spine span {
  display: block; width: 100%; height: 0%;
  background: linear-gradient(var(--gold), var(--gold-bright));
}
.journey__item {
  display: grid; grid-template-columns: 90px 1fr;
  gap: clamp(20px, 4vw, 50px);
  padding-block: clamp(26px, 4vw, 44px);
  position: relative;
}
.journey__item::before {
  content: ""; position: absolute;
  left: calc(-1 * clamp(28px, 5vw, 60px) - 4.5px); top: calc(clamp(26px, 4vw, 44px) + 12px);
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--gold);
  transition: background .3s, box-shadow .3s;
}
.journey__item.is-lit::before { background: var(--gold); box-shadow: 0 0 18px rgba(201,162,75,.7); }
.journey__year {
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px);
  color: var(--gold); font-weight: 600;
}
.journey__card h3 { font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; margin-bottom: 8px; }
.journey__card p { color: var(--muted); font-size: 15px; max-width: 58ch; }

/* ═══════════ COURTS ═══════════ */
.courts { background: var(--ink-2); }
.courts__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.court-card {
  border: 1px solid var(--line); padding: clamp(26px, 3vw, 40px);
  background: var(--ink);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease-out), border-color .3s;
  transform-style: preserve-3d; will-change: transform;
}
.court-card::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(230,196,118,.09), transparent);
  transition: left .7s var(--ease-out);
}
.court-card:hover { border-color: var(--gold); }
.court-card:hover::after { left: 120%; }
.court-card__badge {
  display: inline-block; margin-bottom: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); border: 1px solid var(--line);
  padding: 6px 12px;
}
.court-card h3 { font-family: var(--serif); font-size: clamp(21px, 2.3vw, 27px); font-weight: 600; margin-bottom: 6px; }
.court-card p { color: var(--muted); font-size: 14px; }

/* ═══════════ QUOTES ═══════════ */
.quotes { text-align: center; }
.quotes__viewport { position: relative; max-width: 820px; margin-inline: auto; min-height: 220px; }
.quote {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote p {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 3.4vw, 38px); line-height: 1.4;
  margin-bottom: 22px;
}
.quote cite { font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.quotes__dots { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.quotes__dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid var(--gold); background: transparent;
  transition: background .3s, transform .3s;
}
.quotes__dots button.is-active { background: var(--gold); transform: scale(1.25); }

/* ═══════════ CONTACT ═══════════ */
.contact__grid {
  display: grid; grid-template-columns: 1fr 1.15fr;
  gap: clamp(44px, 7vw, 110px);
}
.contact__info > p {
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 500; line-height: 1.4; margin-bottom: 40px;
}
.contact__info ul { list-style: none; }
.contact__info li { padding-block: 16px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ivory); }
.contact__info b {
  display: block; font-size: 11px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px; font-weight: 700;
}

.socials { margin-top: 34px; }
.socials > span { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--gold);
  transition: background .35s var(--ease-out), color .35s, border-color .35s, box-shadow .35s;
}
.social-btn svg { width: 22px; height: 22px; flex: none; }
.social-btn:hover {
  background: var(--gold); color: var(--ink); border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(201,162,75,.35);
}
.social-btn--wide {
  width: auto; border-radius: 28px; padding: 0 22px;
}
.social-btn--wide em {
  font-style: normal; font-size: 11px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase; white-space: nowrap;
}

.contact__form { display: flex; flex-direction: column; gap: 22px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--ink-2);
  border: 1px solid var(--line);
  color: var(--ivory); font: inherit; font-size: 15px;
  padding: 18px 16px;
  transition: border-color .3s, box-shadow .3s;
  resize: vertical;
}
.field select { appearance: none; color: var(--muted); cursor: pointer; }
.field select:valid { color: var(--ivory); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,.12);
}
.field label {
  position: absolute; left: 16px; top: 18px;
  color: var(--muted); font-size: 15px; pointer-events: none;
  transition: transform .3s var(--ease-out), font-size .3s, color .3s;
  background: transparent;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-30px); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.contact__form .btn { align-self: flex-start; margin-top: 8px; }
.contact__note { font-size: 13px; color: var(--gold-bright); min-height: 1.2em; }

/* ═══════════ FOOTER ═══════════ */
.footer { border-top: 1px solid var(--line); overflow: hidden; }
.footer__giant { padding-block: clamp(30px, 5vw, 60px); overflow: hidden; }
.footer__giant-track { display: flex; width: max-content; will-change: transform; }
.footer__giant-track span {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(60px, 11vw, 150px);
  white-space: nowrap; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(201,162,75,.35);
}
.footer__meta {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px clamp(20px, 6vw, 90px) 40px;
  font-size: 12px; color: var(--muted);
}
.footer__disclaimer { max-width: 60ch; }
.footer__social { display: flex; gap: 22px; align-items: center; }
.footer__social a {
  letter-spacing: .12em; text-transform: uppercase; font-size: 11px;
  color: var(--muted); position: relative; transition: color .3s;
}
.footer__social a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.footer__social a:hover { color: var(--gold-bright); }
.footer__social a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 380px; }
  .practice__item { grid-template-columns: 48px 1fr 40px; grid-template-areas: "num title arrow" ". desc ."; }
  .practice__num { grid-area: num; }
  .practice__item h3 { grid-area: title; }
  .practice__item p { grid-area: desc; }
  .practice__arrow { grid-area: arrow; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, auto); gap: 28px 56px; }
}
@media (max-width: 560px) {
  .journey__item { grid-template-columns: 1fr; gap: 8px; }
  .hero__scroll-hint { display: none; }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .char, .reveal-line > span, .preloader__word span { transform: none !important; }
}
