/* Attorney Website Builder — design system
   Ink navy + antique gold, Fraunces display serif, editorial full-bleed bands. */

:root {
  --ink: #0B1120;
  --ink-2: #101A30;
  --navy: #16233F;
  --gold: #C9A158;
  --gold-2: #E3C27D;
  --gold-dim: rgba(201, 161, 88, .28);
  --ivory: #F6F2E9;
  --paper: #FBF8F1;
  --paper-2: #F3EEE2;
  --body: #2A3142;
  --muted: #5B6678;
  --muted-ivory: rgba(246, 242, 233, .72);
  --line-dark: rgba(201, 161, 88, .22);
  --line-light: rgba(22, 35, 63, .14);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, Segoe UI, sans-serif;
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--gold);
  color: var(--ink); padding: 10px 18px; z-index: 200; font-weight: 600;
}
.skip:focus { left: 0; }

h1, h2, h3, .serif {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn--ghost { border-color: var(--gold-dim); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--ink { background: var(--ink); color: var(--ivory); }
.btn--ink:hover { background: var(--navy); transform: translateY(-2px); }
.btn--ghost-dark { border-color: var(--line-light); color: var(--ink); }
.btn--ghost-dark:hover { border-color: var(--ink); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(11, 17, 32, .94);
  border-bottom: 1px solid var(--line-dark);
  transition: background .3s;
}
.hdr__in {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 28px; height: 72px;
}
.brand {
  display: flex; align-items: baseline; gap: 10px; text-decoration: none;
  color: var(--ivory); margin-right: auto;
}
.brand__mark {
  font-family: var(--serif); font-size: 26px; color: var(--gold);
  line-height: 1; transform: translateY(2px);
}
.brand__word { font-family: var(--serif); font-size: 19px; letter-spacing: .01em; }
.brand__word em { font-style: normal; color: var(--gold-2); }
.nav { display: flex; gap: 26px; }
.nav a {
  font-size: 14px; font-weight: 500; text-decoration: none;
  color: var(--muted-ivory); letter-spacing: .02em;
  padding: 6px 0; border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current] { color: var(--ivory); border-bottom-color: var(--gold); }
.hdr__cta {
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--ink);
  background: var(--gold); padding: 10px 20px; white-space: nowrap;
  transition: background .25s;
}
.hdr__cta:hover { background: var(--gold-2); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--ivory);
  padding: 200px 0 130px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto;
  height: 130%;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(201, 161, 88, .16), transparent 64%),
    radial-gradient(700px 480px at 12% 88%, rgba(22, 35, 63, .9), transparent 70%);
  pointer-events: none;
}
.hero__mark {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: clamp(340px, 44vw, 640px);
  line-height: 1; color: rgba(201, 161, 88, .07);
  user-select: none; pointer-events: none;
}
.hero .wrap { position: relative; }
.hero h1 {
  font-size: clamp(42px, 6vw, 78px);
  max-width: 13ch;
  margin-bottom: 28px;
}
.hero h1 .gold { color: var(--gold-2); font-style: italic; }
.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted-ivory);
  max-width: 56ch;
  margin-bottom: 44px;
}
.hero__row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: 14px 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line-dark);
  font-size: 13px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted-ivory);
}
.hero__proof span::before { content: "— "; color: var(--gold); }

/* interior page hero */
.hero--page { padding: 168px 0 88px; }
.hero--page h1 { font-size: clamp(36px, 4.6vw, 60px); max-width: 18ch; }
.crumbs { font-size: 13px; color: var(--muted-ivory); margin-bottom: 26px; }
.crumbs a { color: var(--gold-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* ---------- bands ---------- */
.band { padding: 110px 0; }
.band--ink { background: var(--ink); color: var(--ivory); }
.band--ink2 { background: var(--ink-2); color: var(--ivory); }
.band--paper2 { background: var(--paper-2); }
.band__head { max-width: 760px; margin-bottom: 64px; }
.band__head h2 { font-size: clamp(30px, 3.6vw, 48px); margin-bottom: 20px; color: var(--ink); }
.band--ink .band__head h2, .band--ink2 .band__head h2 { color: var(--ivory); }
.band__head p { font-size: 18px; color: var(--muted); }
.band--ink .band__head p, .band--ink2 .band__head p { color: var(--muted-ivory); }

/* ---------- stat band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.stat__n { font-family: var(--serif); font-size: clamp(44px, 4.6vw, 64px); color: var(--gold-2); line-height: 1; }
.stat__l { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-ivory); margin-top: 12px; }

/* ---------- editorial two-col ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split h2 { font-size: clamp(30px, 3.4vw, 46px); color: var(--ink); position: sticky; top: 110px; }
.band--ink .split h2, .band--ink2 .split h2 { color: var(--ivory); }
.ruled li {
  border-top: 1px solid var(--line-light);
  padding: 26px 0;
  display: grid; grid-template-columns: 56px 1fr; gap: 18px;
}
.band--ink .ruled li, .band--ink2 .ruled li { border-top-color: var(--line-dark); }
.ruled li:last-child { border-bottom: 1px solid var(--line-light); }
.band--ink .ruled li:last-child, .band--ink2 .ruled li:last-child { border-bottom-color: var(--line-dark); }
.ruled__n { font-family: var(--serif); font-size: 22px; color: var(--gold); }
.ruled h3 { font-size: 20px; margin-bottom: 8px; color: var(--ink); }
.band--ink .ruled h3, .band--ink2 .ruled h3 { color: var(--ivory); }
.ruled p { font-size: 16px; color: var(--muted); }
.band--ink .ruled p, .band--ink2 .ruled p { color: var(--muted-ivory); }

/* ---------- practice index list ---------- */
.plist { columns: 2; column-gap: 64px; }
.plist a {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: baseline; gap: 14px;
  padding: 20px 4px;
  border-top: 1px solid var(--line-dark);
  text-decoration: none;
  break-inside: avoid;
  transition: background .2s;
}
.plist a:hover { background: rgba(201, 161, 88, .07); }
.plist__n { font-family: var(--serif); font-size: 15px; color: var(--gold); }
.plist__name { font-family: var(--serif); font-size: 21px; color: var(--ivory); }
.plist__arr { color: var(--gold); opacity: 0; transition: opacity .2s; }
.plist a:hover .plist__arr { opacity: 1; }
.plist--light .plist__name { color: var(--ink); }
.plist--light a { border-top-color: var(--line-light); }

/* ---------- US tile map ---------- */
.usmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  max-width: 980px;
}
.usmap a {
  grid-column: var(--c); grid-row: var(--r);
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark);
  background: rgba(22, 35, 63, .42);
  color: var(--muted-ivory);
  font-size: clamp(10px, 1.2vw, 14px);
  font-weight: 600; letter-spacing: .06em;
  text-decoration: none;
  position: relative;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.usmap a:hover, .usmap a:focus-visible {
  background: var(--gold); color: var(--ink);
  border-color: var(--gold); transform: scale(1.12); z-index: 2;
}
.usmap a::after {
  content: attr(data-name);
  position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  padding: 5px 11px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.usmap a:hover::after { opacity: 1; }
.usmap__legend { margin-top: 34px; font-size: 14px; color: var(--muted-ivory); }
.usmap__legend a { color: var(--gold-2); }

/* state link columns (hub + home) */
.statecols { columns: 4; column-gap: 40px; margin-top: 56px; }
.statecols li { break-inside: avoid; }
.statecols a {
  display: block; padding: 9px 0; font-size: 15px;
  color: var(--muted-ivory); text-decoration: none;
  border-bottom: 1px solid transparent; transition: color .2s;
}
.statecols a:hover { color: var(--gold-2); }
.statecols--light a { color: var(--muted); }
.statecols--light a:hover { color: var(--ink); }
.statecols h3 {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin: 18px 0 8px; font-family: var(--sans); font-weight: 600;
}
.statecols h3:first-child { margin-top: 0; }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step { border-left: 1px solid var(--line-light); padding: 8px 26px 8px 22px; }
.step__n { font-family: var(--serif); font-size: 42px; color: var(--gold); line-height: 1; margin-bottom: 16px; }
.step h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.tier {
  background: rgba(22, 35, 63, .42);
  border: 1px solid var(--line-dark);
  padding: 44px 38px;
  display: flex; flex-direction: column;
}
.tier--hot { background: var(--ivory); color: var(--ink); border-color: var(--ivory); position: relative; }
.tier__flag {
  position: absolute; top: -13px; left: 38px;
  background: var(--gold); color: var(--ink);
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 14px;
}
.tier h3 { font-size: 22px; color: var(--ivory); }
.tier--hot h3 { color: var(--ink); }
.tier__price { font-family: var(--serif); font-size: 46px; color: var(--gold-2); margin: 14px 0 4px; }
.tier--hot .tier__price { color: var(--ink); }
.tier__per { font-size: 13px; color: var(--muted-ivory); margin-bottom: 26px; }
.tier--hot .tier__per { color: var(--muted); }
.tier ul { flex: 1; margin-bottom: 32px; }
.tier li {
  font-size: 15px; padding: 10px 0 10px 26px; position: relative;
  color: var(--muted-ivory); border-top: 1px solid var(--line-dark);
}
.tier--hot li { color: var(--body); border-top-color: var(--line-light); }
.tier li::before { content: "§"; position: absolute; left: 2px; color: var(--gold); font-family: var(--serif); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line-light); }
.faq details:last-child { border-bottom: 1px solid var(--line-light); }
.band--ink .faq details, .band--ink2 .faq details { border-color: var(--line-dark); }
.faq summary {
  font-family: var(--serif); font-size: 20px; color: var(--ink);
  padding: 24px 44px 24px 0; cursor: pointer; list-style: none; position: relative;
}
.band--ink .faq summary, .band--ink2 .faq summary { color: var(--ivory); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--serif); font-size: 26px; color: var(--gold); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__a { padding: 0 0 26px; font-size: 16px; color: var(--muted); max-width: 64ch; }
.band--ink .faq .faq__a, .band--ink2 .faq .faq__a { color: var(--muted-ivory); }

/* ---------- prose / longform ---------- */
.prose { max-width: 70ch; font-size: 17.5px; }
.prose p + p { margin-top: 1.2em; }
.prose strong { color: var(--ink); }
.band--ink .prose strong, .band--ink2 .prose strong { color: var(--ivory); }
.lede { font-size: clamp(19px, 2vw, 23px); line-height: 1.6; font-family: var(--serif); }

/* aside fact card */
.factrow { display: flex; flex-wrap: wrap; gap: 16px 56px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-dark); }
.fact__n { font-family: var(--serif); font-size: 30px; color: var(--gold-2); }
.fact__l { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-ivory); margin-top: 6px; }

/* niche demand cards (state pages) */
.demand { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.demand a {
  border-left: 1px solid var(--line-light);
  padding: 10px 30px 10px 24px;
  text-decoration: none;
  transition: background .2s;
}
.demand a:hover { background: rgba(201, 161, 88, .08); }
.demand h3 { font-size: 20px; color: var(--ink); margin-bottom: 10px; }
.demand h3 span { color: var(--gold); margin-left: 8px; }
.demand p { font-size: 15px; color: var(--muted); }

/* metro strip */
.metros { display: flex; flex-wrap: wrap; gap: 12px; }
.metros li {
  border: 1px solid var(--line-dark); color: var(--muted-ivory);
  font-size: 14px; letter-spacing: .04em; padding: 9px 18px;
}

/* tag links */
.taglinks { display: flex; flex-wrap: wrap; gap: 12px; }
.taglinks a {
  border: 1px solid var(--line-light); color: var(--body);
  font-size: 14px; text-decoration: none; padding: 9px 18px;
  transition: border-color .2s, color .2s, background .2s;
}
.taglinks a:hover { border-color: var(--ink); background: var(--ink); color: var(--ivory); }
.band--ink .taglinks a, .band--ink2 .taglinks a { border-color: var(--line-dark); color: var(--muted-ivory); }
.band--ink .taglinks a:hover, .band--ink2 .taglinks a:hover { border-color: var(--gold); background: var(--gold); color: var(--ink); }

/* feature list (practice pages) */
.features { max-width: 860px; }
.features li {
  display: grid; grid-template-columns: 64px 1fr; gap: 22px;
  border-top: 1px solid var(--line-light); padding: 30px 0;
}
.features li:last-child { border-bottom: 1px solid var(--line-light); }
.features__n { font-family: var(--serif); font-size: 26px; color: var(--gold); }
.features h3 { font-size: 21px; color: var(--ink); margin-bottom: 8px; }
.features p { font-size: 16px; color: var(--muted); max-width: 62ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: var(--ivory);
  padding: 120px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(720px 420px at 50% 0%, rgba(201, 161, 88, .14), transparent 70%);
}
.cta-band .wrap { position: relative; }
.cta-band__h { font-size: clamp(32px, 4.4vw, 56px); max-width: 22ch; margin: 0 auto 22px; }
.cta-band__sub { color: var(--muted-ivory); max-width: 52ch; margin: 0 auto 40px; font-size: 17px; }
.cta-band__row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.ftr { background: #080D18; color: var(--muted-ivory); padding: 80px 0 36px; font-size: 14.5px; }
.ftr__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.brand--ftr { margin-bottom: 18px; }
.ftr__col p { max-width: 34ch; }
.ftr__nap { margin-top: 18px; line-height: 1.9; }
.ftr__nap a { color: var(--gold-2); text-decoration: none; }
.ftr h3 {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.ftr li a { display: block; padding: 5px 0; color: var(--muted-ivory); text-decoration: none; transition: color .2s; }
.ftr li a:hover { color: var(--ivory); }
.ftr__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line-dark); padding-top: 28px; font-size: 13.5px;
}
.ftr__wbd { color: var(--gold-2); text-decoration: none; font-weight: 600; }
.ftr__wbd:hover { text-decoration: underline; }

/* ---------- reveal animations ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split h2 { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .step { border-left: none; border-top: 1px solid var(--line-light); padding: 22px 0 0; }
  .tiers { grid-template-columns: 1fr; }
  .demand { grid-template-columns: 1fr; gap: 26px; }
  .demand a { border-left-color: var(--line-light); }
  .statecols { columns: 2; }
  .plist { columns: 1; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 72px 0 0 0; background: var(--ink);
    flex-direction: column; gap: 0; padding: 24px;
    transform: translateX(100%); transition: transform .3s ease;
  }
  .nav.open { transform: none; }
  .nav a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); color: var(--ivory); }
  .hdr__cta { display: none; }
  .burger {
    display: flex; flex-direction: column; gap: 6px; background: none;
    border: none; cursor: pointer; padding: 8px;
  }
  .burger span { width: 26px; height: 2px; background: var(--gold); transition: transform .3s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { padding: 140px 0 90px; }
  .hero--page { padding: 130px 0 70px; }
  .band { padding: 76px 0; }
  .statecols { columns: 1; }
  .usmap { gap: 4px; }
  .usmap a::after { display: none; }
}
