/* =========================================================
   Watters Law Office — Design System
   ========================================================= */
:root {
  --ink: #111110;
  --ink-soft: #2a2a27;
  --muted: #6b6a64;
  --line: #e7e3da;
  --line-strong: #d8d3c6;
  --cream: #f6f3ec;
  --cream-2: #efeae0;
  --paper: #fbfaf6;
  --white: #ffffff;
  --gold: #b88a44;
  --gold-soft: #c8a35b;
  --shadow-sm: 0 1px 2px rgba(17, 17, 16, .05);
  --shadow-md: 0 18px 40px -22px rgba(17, 17, 16, .28);
  --shadow-lg: 0 40px 80px -40px rgba(17, 17, 16, .45);
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* Typography helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--muted);
  padding: 7px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  background: var(--white); box-shadow: var(--shadow-sm);
}
.eyebrow--light { color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); }

.section { padding: clamp(64px, 9vw, 130px) 0; }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; text-align: left; max-width: none; }
.section__head--row .section__intro { max-width: 320px; margin: 0; }

.section__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.35rem); line-height: 1.08; letter-spacing: -.015em;
  margin: 16px 0 0; color: var(--ink);
}
.section__title em { font-style: italic; color: var(--gold); }
.section__title--light { color: #fff; }
.section__intro { color: var(--muted); font-size: 1.05rem; margin: 18px auto 0; max-width: 560px; }
.section__intro--light { color: rgba(255,255,255,.7); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 15px 26px; border-radius: var(--radius-pill); border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--sm { padding: 11px 20px; font-size: .88rem; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.btn--dark:hover { transform: translateY(-2px); background: #000; box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost svg { transition: transform .25s var(--ease); }
.btn--ghost:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 18px 40px -22px rgba(184,138,68,.9); }
.btn--gold:hover { transform: translateY(-2px); background: #a87b37; }

/* Pill badge */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: var(--radius-pill);
  padding: 9px 18px; font-size: .82rem; font-weight: 500; color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(184,138,68,.18); }
.pill__sep { color: var(--line-strong); }

/* =========================================================
   Topbar
   ========================================================= */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 15px; height: 15px; fill: var(--gold-soft); }
.topbar__divider { width: 1px; height: 16px; background: rgba(255,255,255,.18); }
.topbar__spacer { flex: 1; }

/* =========================================================
   Header / Nav
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,250,246,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.header.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); background: rgba(251,250,246,.95); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-soft); box-shadow: var(--shadow-md);
}
.brand__mark svg { width: 24px; height: 24px; fill: var(--gold-soft); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.18rem; letter-spacing: -.01em; }
.brand__sub { font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.brand--light .brand__sub { color: rgba(255,255,255,.55); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 8px 14px; font-size: .92rem; font-weight: 500; color: var(--ink-soft);
  border-radius: var(--radius-pill); transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: var(--white);
  border-radius: 12px; padding: 0; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px);
  background:
    radial-gradient(120% 120% at 50% -10%, var(--cream) 0%, var(--paper) 55%);
}
.hero__top { text-align: center; max-width: 860px; margin: 0 auto; }
.hero__title {
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em;
  margin: 22px 0 0;
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lede { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 620px; margin: 22px auto 0; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.hero__media {
  position: relative; margin-top: clamp(36px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8.4; background: var(--cream-2);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__badge {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(17,17,16,.72); backdrop-filter: blur(8px); color: #fff;
  padding: 16px 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  display: flex; flex-direction: column; line-height: 1.2;
}
.hero__badge strong { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
.hero__badge span { font-size: .82rem; color: rgba(255,255,255,.72); margin-top: 4px; }

.trust { margin-top: clamp(40px, 5vw, 60px); text-align: center; }
.trust__label { display: block; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.trust__logos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px;
  color: var(--ink-soft); font-weight: 600; font-size: .98rem; opacity: .72;
}
.trust__logos span:nth-child(even) { color: var(--line-strong); }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--white); border-block: 1px solid var(--line); }
.about__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.about__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media-tag {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(251,250,246,.92); backdrop-filter: blur(6px); border-radius: 14px; padding: 14px 18px;
  display: flex; flex-direction: column; box-shadow: var(--shadow-md);
}
.about__media-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.1rem; }
.about__media-role { font-size: .82rem; color: var(--muted); }

.about__content .section__title { margin-top: 14px; }
.about__mission { margin-top: 26px; padding-left: 22px; border-left: 3px solid var(--gold); }
.about__mission h3 { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 10px; }
.about__mission p { color: var(--ink-soft); margin: 0 0 12px; }

.about__points { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 12px; }
.about__points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-soft); }
.about__points svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat__num { display: block; font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.01em; }
.stat__label { font-size: .86rem; color: var(--muted); margin-top: 8px; display: block; }

/* =========================================================
   Practice Areas
   ========================================================= */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.pcard::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pcard:hover::before { transform: scaleX(1); }
.pcard__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--cream); color: var(--ink); transition: background .35s var(--ease), color .35s var(--ease); }
.pcard__icon svg { width: 26px; height: 26px; }
.pcard:hover .pcard__icon { background: var(--ink); color: var(--gold-soft); }
.pcard h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.3rem; margin: 20px 0 10px; }
.pcard p { color: var(--muted); margin: 0 0 18px; font-size: .96rem; }
.pcard__link { font-weight: 600; font-size: .9rem; color: var(--ink); display: inline-flex; gap: 7px; align-items: center; }
.pcard__link span { transition: transform .25s var(--ease); }
.pcard:hover .pcard__link { color: var(--gold); }
.pcard:hover .pcard__link span { transform: translateX(4px); }

/* =========================================================
   Why Choose Us
   ========================================================= */
.why { background: var(--cream); border-block: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.why__content .section__title { margin-top: 14px; }
.why__content .section__intro { margin: 18px 0 0; }

.accordion { margin-top: 32px; display: grid; gap: 0; }
.acc__item { border-top: 1px solid var(--line-strong); }
.acc__item:last-child { border-bottom: 1px solid var(--line-strong); }
.acc__head {
  width: 100%; background: none; border: 0; text-align: left;
  display: flex; align-items: center; gap: 18px; padding: 22px 4px;
  font-family: inherit; color: var(--ink);
}
.acc__index { font-family: var(--font-serif); font-weight: 600; color: var(--gold); font-size: 1.05rem; min-width: 28px; }
.acc__title { flex: 1; font-weight: 600; font-size: 1.08rem; }
.acc__icon { position: relative; width: 20px; height: 20px; flex: none; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.acc__icon::before { left: 0; right: 0; top: 9px; height: 2px; }
.acc__icon::after { top: 0; bottom: 0; left: 9px; width: 2px; }
.acc__item.is-open .acc__icon::after { transform: scaleY(0); opacity: 0; }
.acc__panel { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.acc__panel p { margin: 0 0 22px; padding-left: 46px; color: var(--muted); }
.accordion--plain .acc__panel p { padding-left: 4px; }
.accordion--plain .acc__head { gap: 12px; }

.why__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 4.4; }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__quote {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  background: rgba(17,17,16,.78); backdrop-filter: blur(8px); color: #fff;
  padding: 20px 22px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
}
.why__quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; margin: 0 0 8px; }
.why__quote span { font-size: .84rem; color: rgba(255,255,255,.7); }

/* =========================================================
   Attorneys
   ========================================================= */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { border-radius: var(--radius); overflow: hidden; }
.member__photo { position: relative; aspect-ratio: 3 / 3.4; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member__body { padding: 18px 4px 0; }
.member__body h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; margin: 0; }
.member__role { color: var(--gold); font-size: .88rem; font-weight: 500; }
.member__social { display: flex; gap: 7px; margin-top: 12px; }
.member__social .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }

/* =========================================================
   Process
   ========================================================= */
.process { background: var(--white); border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step__num { font-family: var(--font-serif); font-weight: 600; font-size: 1.6rem; color: var(--gold); }
.step h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.18rem; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* =========================================================
   Case Results (dark)
   ========================================================= */
.results { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.results::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(60% 60% at 80% 0%, rgba(184,138,68,.22), transparent 60%);
}
.results .container { position: relative; }
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.rcase { padding: 30px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.03); text-align: center; }
.rcase__num { display: block; font-family: var(--font-serif); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--gold-soft); letter-spacing: -.01em; }
.rcase__label { display: block; margin-top: 8px; color: rgba(255,255,255,.66); font-size: .92rem; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.quote__stars { color: var(--gold-soft); letter-spacing: 2px; font-size: .95rem; }
.quote p { font-family: var(--font-serif); font-style: italic; font-size: 1.08rem; line-height: 1.55; margin: 14px 0 22px; color: rgba(255,255,255,.92); }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__by img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote__by span { display: flex; flex-direction: column; line-height: 1.3; }
.quote__by strong { font-size: .95rem; }
.quote__by small { color: rgba(255,255,255,.55); font-size: .8rem; }

/* =========================================================
   Articles
   ========================================================= */
.articles { background: var(--cream); border-block: 1px solid var(--line); }
.articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__media { position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden; background: var(--cream-2); }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__tag { position: absolute; top: 14px; left: 14px; background: rgba(251,250,246,.92); backdrop-filter: blur(6px); color: var(--ink); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: var(--radius-pill); }
.post__body { padding: 22px 24px 26px; }
.post__date { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.post__body h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.22rem; line-height: 1.25; margin: 8px 0 10px; }
.post__body h3 a { transition: color .2s var(--ease); }
.post:hover .post__body h3 a { color: var(--gold); }
.post__body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--white); border-block: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.faq__intro .section__title { margin-top: 14px; }
.faq__intro .section__intro { margin: 18px 0 28px; }

/* =========================================================
   Contact (dark card)
   ========================================================= */
.contact { background: var(--paper); }
.contact__card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px);
  background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 60px);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.contact__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 0% 100%, rgba(184,138,68,.2), transparent 60%); }
.contact__card--solo { grid-template-columns: 1fr; gap: clamp(28px, 3vw, 44px); text-align: center; }
.contact__info, .contact__form { position: relative; z-index: 1; }
.contact__info .section__title { margin-top: 14px; }
.contact__card--solo .contact__lede { margin-inline: auto; max-width: 560px; }
.contact__lede { color: rgba(255,255,255,.72); margin: 18px 0 28px; }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn--light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); }
.btn--light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; position: relative; z-index: 1; }
.contact__card--solo .contact__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 720px; margin-inline: auto; text-align: left; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); }
.contact__hours { font-size: 1rem; font-weight: 500; color: #fff; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.contact__ic svg { width: 20px; height: 20px; fill: var(--gold-soft); }
.contact__list small { display: block; font-size: .78rem; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.contact__list a, .contact__list address { font-style: normal; font-size: 1.02rem; font-weight: 500; color: #fff; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--gold-soft); }

.contact__form { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .96rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 11px; background: var(--paper);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(184,138,68,.14);
}
.field input.invalid, .field textarea.invalid { border-color: #c0392b; box-shadow: 0 0 0 4px rgba(192,57,43,.12); }
.form__note { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form__note.success { color: #1e7e44; font-weight: 600; }
.form__note.error { color: #c0392b; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .65; cursor: progress; transform: none !important; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.66); padding-top: clamp(56px, 7vw, 90px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin: 18px 0 0; max-width: 320px; font-size: .95rem; }
.footer .brand__name { color: #fff; }
.footer .brand__mark { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.footer__col h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.footer__col a, .footer__contact address { display: block; font-style: normal; color: rgba(255,255,255,.66); margin-bottom: 11px; font-size: .95rem; overflow-wrap: anywhere; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 24px 0 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.footer__bottom p { margin: 0; }
.footer__legal { color: rgba(255,255,255,.42); }

/* =========================================================
   Back to top
   ========================================================= */
.totop {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--ink); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease); box-shadow: var(--shadow-md);
}
.totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.totop:hover { background: var(--gold); }
.totop svg { width: 20px; height: 20px; }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity .8s var(--ease), transform .85s var(--ease), filter .8s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }
.reveal--left { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--scale { transform: scale(.92); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal--left, .reveal--right, .reveal--scale { opacity: 1; transform: none; filter: none; transition: none; } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .cards, .articles__grid, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .team, .steps, .results__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
    transform: translateY(-120%); transition: transform .4s var(--ease); box-shadow: var(--shadow-md);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open { display: flex; transform: translateY(0); }
  .nav__link { padding: 15px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__link::after { display: none; }
  .about__grid, .why__grid, .faq__grid, .contact__card, .section__head--row { grid-template-columns: 1fr; }
  .section__head--row { display: grid; gap: 14px; }
  .about__media, .why__media { max-width: 480px; margin-inline: auto; }
  .topbar__item--hide-sm { display: none; }
}

@media (max-width: 620px) {
  .container { padding-inline: 18px; }
  .cards, .articles__grid, .testimonials, .team, .steps, .results__grid, .stats, .field-row, .contact__card--solo .contact__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .contact__actions .btn { width: 100%; white-space: normal; }
  .hero__cta .btn { width: 100%; white-space: normal; }
  .hero__title { font-size: clamp(1.85rem, 8.4vw, 2.7rem); }
  .section__title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
  .pill { flex-wrap: wrap; justify-content: center; text-align: center; max-width: 100%; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__media { aspect-ratio: 4 / 4; }
  .hero__media img { object-position: center 25%; }
  .stats { gap: 22px; }
  .hero__badge { left: 16px; bottom: 16px; padding: 12px 16px; }
  .topbar { font-size: .74rem; }
  .topbar__inner { gap: 10px; }
}

/* =========================================================
   Motion & Animation Layer
   ========================================================= */
@keyframes heroIn { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes auroraA { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8%, 6%) scale(1.15); } 100% { transform: translate(0, 0) scale(1); } }
@keyframes auroraB { 0% { transform: translate(0, 0) scale(1.1); } 50% { transform: translate(-7%, -5%) scale(1); } 100% { transform: translate(0, 0) scale(1.1); } }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes shimmerText { to { background-position: 200% center; } }
@keyframes shinePulse { 0% { transform: translateX(-130%) skewX(-18deg); } 60%, 100% { transform: translateX(260%) skewX(-18deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dotPulse { 0%, 100% { box-shadow: 0 0 0 4px rgba(184,138,68,.18); } 50% { box-shadow: 0 0 0 7px rgba(184,138,68,.05); } }
@keyframes bobArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* JS-enabled progressive enhancement: hide split headings before scripting to avoid flicker */
html.js .hero__title, html.js .section__title { opacity: 0; }
html.js .hero__title.is-split, html.js .section__title.is-split { opacity: 1; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 300;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), #e6c98a);
  box-shadow: 0 0 12px rgba(184,138,68,.6);
}

/* Hero entrance stagger */
.hero__top .pill { animation: heroIn .8s .05s both var(--ease); }
.hero__lede { animation: heroIn .85s .35s both var(--ease); }
.hero__cta { animation: heroIn .85s .5s both var(--ease); }

/* Hero aurora glow */
.hero { position: relative; isolation: isolate; }
.hero::before, .hero::after {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  filter: blur(70px); opacity: .55;
}
.hero::before { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; top: -12%; left: -8%;
  background: radial-gradient(circle, rgba(184,138,68,.42), transparent 65%); animation: auroraA 16s ease-in-out infinite; }
.hero::after { width: 40vw; height: 40vw; max-width: 540px; max-height: 540px; top: 8%; right: -10%;
  background: radial-gradient(circle, rgba(124,140,170,.32), transparent 65%); animation: auroraB 20s ease-in-out infinite; }

/* Ken Burns + parallax on hero image */
.hero__media img { animation: kenburns 14s ease-in-out infinite alternate; }
.hero__badge { animation: floatY 5.5s ease-in-out infinite; }
.pill__dot { animation: dotPulse 2.6s ease-in-out infinite; }

/* Shimmering gold accent */
.hero__title em, .section__title em {
  background: linear-gradient(100deg, var(--gold) 10%, #f0d49a 35%, var(--gold-soft) 50%, #f0d49a 65%, var(--gold) 90%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: shimmerText 6s linear infinite;
}

/* Word-by-word heading reveal */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.word__inner { display: inline-block; transform: translateY(115%); transition: transform .9s var(--ease); will-change: transform; }
.is-inview .word__inner { transform: none; }

/* Parallax helper */
[data-parallax] { will-change: transform; }

/* 3D tilt cards (transform applied inline by JS so it never fights .reveal) */
[data-tilt] { transition: transform .4s var(--ease), box-shadow .4s var(--ease); will-change: transform; }
[data-tilt].is-tilting { transition: transform .1s linear, box-shadow .4s var(--ease); }

/* Magnetic buttons */
[data-magnetic] { will-change: transform; }

/* Button shine sweep */
.btn--dark, .btn--gold { position: relative; overflow: hidden; }
.btn--dark::after, .btn--gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-130%) skewX(-18deg); pointer-events: none;
}
.btn--dark:hover::after, .btn--gold:hover::after { animation: shinePulse .9s var(--ease); }

/* Practice card icon float on hover already; add lift to article/member */
.totop:hover svg { animation: bobArrow 1s ease-in-out infinite; }

/* Marquee trust strip */
.trust__logos.is-marquee { display: block; overflow: hidden; opacity: 1; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.trust__track { display: inline-flex; align-items: center; white-space: nowrap; animation: marquee 30s linear infinite; }
.trust__group { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; }
.trust__logos.is-marquee:hover .trust__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero__media img, .hero__badge, .pill__dot,
  .hero__title em, .section__title em, .trust__track, .totop:hover svg { animation: none !important; }
  .hero__top .pill, .hero__lede, .hero__cta { animation: none !important; }
  .word__inner { transform: none !important; transition: none !important; }
  html.js .hero__title, html.js .section__title { opacity: 1 !important; }
  [data-tilt] { transform: none !important; }
  .scroll-progress { display: none; }
}
