/* Kush Law — demo build by Exhibit A Media */
:root {
  --navy: #0e1a2f;
  --navy-2: #16243f;
  --navy-3: #1f3156;
  --gold: #c7954a;
  --gold-soft: #e4c48f;
  --gold-deep: #a97a33;
  --cream: #f8f4ec;
  --paper: #ffffff;
  --ink: #1b2233;
  --ink-soft: #5b6475;
  --line: #e7e0d2;
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(14, 26, 47, .35);
  --serif: "Marcellus", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: .005em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: var(--gold-soft); }
.lead { font-size: 1.15rem; color: var(--ink-soft); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--white { background: var(--paper); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 64px); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background-color .2s, color .2s, border-color .2s, box-shadow .2s; font-family: var(--sans); }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 30px -12px rgba(199, 149, 74, .7); }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn svg { width: 18px; height: 18px; }

/* Top bar + header */
.topbar { background: #08111f; color: rgba(255, 255, 255, .72); font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; flex-wrap: wrap; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); }
.topbar span { display: inline-flex; gap: .4rem; align-items: center; }
.topbar .tb-group { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(14, 26, 47, .97); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav > a, .nav .dd > button { color: #fff; text-decoration: none; font-size: .95rem; font-weight: 500; background: none; border: 0; font-family: var(--sans); cursor: pointer; padding: .5rem 0; position: relative; }
.nav > a::after, .nav .dd > button::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .25s; }
.nav > a:hover::after, .nav > a.active::after, .nav .dd:hover > button::after { width: 100%; }
.nav > a.active { color: var(--gold-soft); }
.dd { position: relative; }
.dd-menu { position: absolute; top: 100%; left: -1.2rem; min-width: 250px; padding: .7rem; background: var(--paper); border-radius: 12px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .93rem; }
.dd-menu a:hover { background: var(--cream); color: var(--gold-deep); }
.nav > a.btn { padding: .7rem 1.25rem; background: var(--gold); color: var(--navy); font-weight: 700; }
.nav > a.btn:hover { background: var(--gold-soft); }
.nav > a.btn::after { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: .5rem; cursor: pointer; }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 600px at 85% 20%, rgba(199, 149, 74, .16), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: clamp(56px, 7vw, 96px) 0 clamp(110px, 12vw, 170px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 30%, transparent 90%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lead { color: rgba(255, 255, 255, .78); max-width: 560px; }
.hero-ticks { list-style: none; padding: 0; margin: 1.6rem 0 2.2rem; display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; }
.hero-ticks li { display: inline-flex; align-items: center; gap: .5rem; font-size: .95rem; color: rgba(255,255,255,.88); }
.hero-ticks svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-portrait { position: relative; justify-self: end; width: min(420px, 100%); }
.hero-portrait .frame { position: relative; border-radius: 220px 220px 18px 18px; overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(199, 149, 74, .55); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.hero-portrait .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-portrait::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid rgba(199, 149, 74, .35); border-radius: 230px 230px 22px 22px; }
.hero-badge { position: absolute; left: -36px; bottom: 34px; background: var(--paper); color: var(--ink); border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem; max-width: 250px; }
.hero-badge .seal { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.hero-badge .seal svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.05rem; color: var(--navy); line-height: 1.2; }
.hero-badge small { color: var(--ink-soft); font-size: .78rem; }
.wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(48px, 8vw, 110px); display: block; }
.wave--top { top: -1px; bottom: auto; }

/* Page hero (inner pages) */
.page-hero { position: relative; background: radial-gradient(900px 500px at 90% 0%, rgba(199, 149, 74, .18), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: clamp(56px, 7vw, 90px) 0 clamp(100px, 11vw, 150px); text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero p { color: rgba(255,255,255,.78); max-width: 680px; margin: 0 auto; font-size: 1.1rem; }
.crumbs { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; color: var(--gold-soft); }

/* Stats strip */
.stats { position: relative; z-index: 2; margin-top: -40px; }
.stats-card { background: var(--paper); border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 3.5vw, 3rem); color: var(--navy); line-height: 1; margin-bottom: .45rem; }
.stat b span { color: var(--gold); }
.stat small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.places .stat b { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .55rem; }
.places .stat small { display: block; letter-spacing: .04em; text-transform: none; font-size: .86rem; line-height: 1.45; font-weight: 500; }
.place-ico { width: 42px; height: 42px; border-radius: 50%; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; margin: 0 auto .8rem; }
.place-ico svg { width: 20px; height: 20px; }
.licensed { text-align: center; margin-top: 1.4rem; font-size: .9rem; color: var(--ink-soft); }
.licensed strong { color: var(--navy); }

/* Practice area cards */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.area:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.area .ico { width: 56px; height: 56px; border-radius: 14px; background: var(--cream); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: 1.3rem; transition: .25s; }
.area:hover .ico { background: var(--navy); color: var(--gold); }
.area .ico svg { width: 28px; height: 28px; }
.area h3 { margin-bottom: .4rem; }
.area p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; color: var(--gold-deep); }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.area:hover .more svg { transform: translateX(4px); }
.area--feature { grid-column: span 2; background: linear-gradient(145deg, var(--navy) 0%, var(--navy-3) 100%); border-color: transparent; color: #fff; overflow: hidden; }
.area--feature h3 { color: #fff; font-size: 1.9rem; }
.area--feature p { color: rgba(255,255,255,.78); max-width: 520px; }
.area--feature .ico { background: rgba(199,149,74,.14); color: var(--gold); }
.area--feature .more { color: var(--gold-soft); }
.area--feature .tag { position: absolute; top: 1.6rem; right: 1.6rem; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); border: 1px solid rgba(199,149,74,.45); padding: .3rem .7rem; border-radius: 999px; }
.area--feature::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(199,149,74,.25); box-shadow: 0 0 0 30px rgba(199,149,74,.05), 0 0 0 60px rgba(199,149,74,.03); }

.area--ask { background: transparent; border: 1px dashed var(--gold); }
.area--ask .ico { background: var(--gold); color: var(--navy); }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split-media { position: relative; }
.split-media img.main { border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.split-media .accent { position: absolute; right: -22px; bottom: -22px; width: 55%; aspect-ratio: 1; border-radius: 18px; border: 1px solid var(--gold); z-index: -1; }
.quote-card { position: absolute; left: -26px; bottom: 36px; background: var(--navy); color: #fff; border-radius: 14px; padding: 1.2rem 1.4rem; max-width: 280px; box-shadow: var(--shadow); font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; }
.quote-card span { color: var(--gold); }
.checks { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.checks li { display: flex; gap: .8rem; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; color: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.signature { width: 230px; mix-blend-mode: multiply; margin: .5rem 0 0 -8px; }
.sig-name { font-size: .85rem; color: var(--ink-soft); letter-spacing: .04em; }

/* Why */
.why { background: var(--navy); color: #fff; position: relative; }
.why h2, .why h3 { color: #fff; }
.why .lead { color: rgba(255,255,255,.72); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item { padding: 2.2rem; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.025); transition: border-color .25s, background-color .25s; }
.why-item:hover { border-color: rgba(199,149,74,.5); background: rgba(255,255,255,.045); }
.why-item .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: 1.2rem; display: block; }
.why-item p { color: rgba(255,255,255,.7); margin: 0; }

/* Testimonials */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; position: relative; }
.review::before { content: "\201C"; position: absolute; top: .6rem; right: 1.4rem; font-family: var(--serif); font-size: 5rem; color: var(--gold); opacity: .25; line-height: 1; }
.stars { color: var(--gold); letter-spacing: .15em; font-size: 1rem; margin-bottom: .9rem; }
.review p { color: var(--ink); font-size: .98rem; flex: 1; }
.review cite { font-style: normal; font-weight: 700; color: var(--navy); font-size: .92rem; }
.review cite small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .8rem; }

/* Cities */
.cities { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; max-width: 980px; margin: 0 auto; }
.cities span { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .9rem; color: var(--ink-soft); }

/* CTA band */
.cta-band { position: relative; background: linear-gradient(150deg, var(--navy-2) 0%, var(--navy) 100%); color: #fff; padding: clamp(110px, 12vw, 160px) 0 clamp(64px, 8vw, 100px); text-align: center; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: 50%; top: 60%; width: 700px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(199,149,74,.18), transparent 65%); pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-band .hero-ctas { justify-content: center; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; gap: 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.contact-list .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list small { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.contact-list a, .contact-list span.v { text-decoration: none; font-weight: 600; color: var(--navy); word-break: break-word; }
.form { background: var(--paper); border-radius: 18px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.form h3 { font-size: 1.7rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem; }
.form input, .form textarea, .form select { width: 100%; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .97rem; background: #fdfbf7; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199,149,74,.15); }
.form .field { margin-bottom: 1rem; }
.form textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; margin-top: .5rem; }
.form .fine { font-size: .8rem; color: var(--ink-soft); margin: 1rem 0 0; text-align: center; }
.form-done { display: none; text-align: center; padding: 2rem 0; }
.form.sent .form-body { display: none; }
.form.sent .form-done { display: block; }

/* Service detail */
.svc-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.svc-side { position: sticky; top: 110px; display: grid; gap: 20px; }
.svc-nav { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: .7rem; }
.svc-nav h4 { font-size: 1.1rem; padding: .7rem .8rem .3rem; margin: 0; }
.svc-nav a { display: flex; justify-content: space-between; align-items: center; padding: .7rem .8rem; border-radius: 9px; text-decoration: none; font-size: .95rem; color: var(--ink); }
.svc-nav a:hover { background: var(--cream); color: var(--gold-deep); }
.svc-nav a.active { background: var(--navy); color: #fff; }
.svc-nav a svg { width: 14px; height: 14px; opacity: .6; }
.side-cta { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-3) 100%); color: #fff; border-radius: var(--radius); padding: 1.8rem; }
.side-cta h4 { color: #fff; font-size: 1.35rem; }
.side-cta p { color: rgba(255,255,255,.72); font-size: .94rem; }
.side-cta a.phone { display: block; font-family: var(--serif); font-size: 1.45rem; color: var(--gold-soft); text-decoration: none; margin: .4rem 0 1.2rem; }
.side-cta .btn { width: 100%; }
.svc-main > img { border-radius: 18px; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; margin-bottom: 2.4rem; box-shadow: var(--shadow); }
.svc-main h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.6rem; }
.svc-main h2:first-of-type { margin-top: 0; }
.svc-main p { color: #3d4557; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 1.4rem 0; }
.duo div { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 12px; padding: 1.4rem 1.5rem; }
.duo h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.duo p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1.4rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.5rem; transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: var(--gold-soft); box-shadow: 0 10px 30px -18px rgba(14,26,47,.3); }
.card h3 { font-size: 1.12rem; margin-bottom: .35rem; display: flex; gap: .6rem; align-items: center; }
.card h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.card p { margin: 0; font-size: .94rem; color: var(--ink-soft); }
.group-title { display: flex; align-items: center; gap: 1rem; margin: 3rem 0 .4rem; }
.group-title h2 { margin: 0 !important; }
.note { background: var(--paper); border: 1px dashed var(--gold); border-radius: 12px; padding: 1.2rem 1.4rem; font-size: .95rem; color: var(--ink-soft); margin-top: 1.6rem; }

/* Services index list */
.svc-list { display: grid; gap: 18px; }
.svc-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 1.6rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 2rem; text-decoration: none; transition: .25s; }
.svc-row:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); transform: translateY(-3px); }
.svc-row .n { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; }
.svc-row h3 { margin: 0 0 .2rem; }
.svc-row p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.svc-row .arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--navy); transition: .25s; }
.svc-row:hover .arrow { background: var(--gold); border-color: var(--gold); }
.svc-row .arrow svg { width: 20px; height: 20px; }

/* Footer */
.footer { background: #08111f; color: rgba(255,255,255,.7); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr 1.1fr 1.3fr 1.4fr; gap: 36px; }.footer img.flogo { height: 58px; width: auto; margin-bottom: 1.2rem; }
.footer h4 { color: #fff; font-size: 1.15rem; margin-bottom: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }
.socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); display: grid; place-items: center; transition: .2s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: 1.4rem; justify-items: center; text-align: center; font-size: .85rem; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.5); }
.footer .eam-badge { --eam-fg: #ffffff; --eam-accent: #c7954a; --eam-muted: rgba(255,255,255,.55); --eam-line: rgba(199,149,74,.28); --eam-bg: rgba(255,255,255,.03); --eam-hover-bg: rgba(199,149,74,.08); }
.footer .eam-badge__name { font-family: var(--serif); font-weight: 400; letter-spacing: .02em; }

/* Criminal module */
.crim-hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center; padding: clamp(64px, 8vw, 110px) 0 clamp(120px, 13vw, 180px); }
.crim-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.crim-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,17,31,.94) 0%, rgba(8,17,31,.78) 38%, rgba(8,17,31,.25) 68%, rgba(8,17,31,.1) 100%), linear-gradient(0deg, rgba(14,26,47,.85) 0%, transparent 35%); }
.crim-hero .wrap { position: relative; z-index: 2; }
.crim-hero .wrap > * { max-width: 620px; }
.crim-hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.05; }
.crim-hero h1 em { font-style: normal; color: var(--gold); white-space: nowrap; }
.crim-hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 560px; margin-bottom: 0; }
.crim-hero .hero-ticks { flex-direction: column; gap: .55rem; margin: 1.5rem 0 2.1rem; }
.crim-hero .wave { z-index: 2; }
.crim-hero .hero-ctas { align-items: center; gap: 1.4rem; }
.btn--lg { padding: 1.15rem 2rem; font-size: 1.05rem; }
.crim-hero__num { text-decoration: none; font-family: var(--serif); font-size: 1.5rem; color: #fff; line-height: 1.2; }
.crim-hero__num small { display: block; font-family: var(--sans); font-size: .78rem; color: var(--gold-soft); letter-spacing: .04em; }
.crim-hero__num:hover { color: var(--gold-soft); }
.area--feature .chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1.4rem; position: relative; z-index: 1; }
.area--feature .chips span { font-size: .78rem; padding: .3rem .75rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.crim-areas { grid-template-columns: repeat(2, 1fr); }
.crim-areas .area { display: grid; grid-template-columns: 56px 1fr; column-gap: 1.3rem; align-items: start; }
.crim-areas .area .ico { grid-row: span 3; margin: 0; }
.crim-areas .area p { margin-bottom: .6rem; }
.rights { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.6rem 2rem; box-shadow: var(--shadow); }
.rights-ico { width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.rights-ico svg { width: 28px; height: 28px; }
.rights h3 { margin-bottom: .3rem; }
.rights p { margin: 0; color: var(--ink-soft); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 2rem; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.025); }
.steps .step-n { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 1rem; }
.steps h3 { color: #fff; font-size: 1.3rem; }
.steps p { color: rgba(255,255,255,.7); margin: 0; font-size: .96rem; }
.side-cta.urgent { border-top: 4px solid var(--gold); }
.side-cta.urgent .eyebrow { margin-bottom: .6rem; font-size: .7rem; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 2.6rem; }
.facts div { background: var(--paper); padding: 1.2rem 1.4rem; }
.facts div:last-child:nth-child(odd) { grid-column: span 2; }
.facts small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 700; margin-bottom: .25rem; }
.facts strong { font-weight: 600; color: var(--navy); font-size: 1rem; line-height: 1.4; display: block; }
.faq { display: grid; gap: 12px; margin-top: 1.2rem; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 1.4rem; transition: border-color .2s; }
.faq-item[open] { border-color: var(--gold-soft); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; font-weight: 600; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); transition: transform .2s; line-height: 1; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { margin: 0 0 1.2rem; color: var(--ink-soft); }
.svc-main .facts + h2 { margin-top: 0; }

.crim-areas .area:last-child:nth-child(odd) { grid-column: span 2; }
.muted { color: var(--ink-soft); font-size: .95rem; }
.key-issues { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 1.2rem 0 .6rem; }
.key { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 12px; padding: 1.4rem 1.5rem; }
.key h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.key p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.side-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
.side-box h4 { font-size: 1.1rem; margin-bottom: .6rem; }
.side-box .prov { font-size: .85rem; color: var(--ink-soft); margin-bottom: .7rem; }
.side-box ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .5rem; }
.side-box .links a { color: var(--gold-deep); font-size: .9rem; font-weight: 600; text-decoration: none; }
.side-box .links a:hover { text-decoration: underline; }
.side-box--gold { background: #fbf6ec; border-color: var(--gold-soft); }
.side-box .rem li { position: relative; padding-left: 1.1rem; font-size: .9rem; color: var(--ink); }
.side-box .rem li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.side-cta .fine-print { font-size: .78rem; color: rgba(255,255,255,.55); margin: 1rem 0 0; }
.statement { border-left: 3px solid var(--gold); padding-left: 1.2rem; font-family: var(--serif); font-size: 1.4rem; line-height: 1.4; color: var(--navy); margin: 1.4rem 0; }
.expect { background: var(--cream); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 4vw, 44px); }
.expect h3 { font-size: 1.6rem; }
.exp-step { display: flex; gap: 1.2rem; border-top: 1px solid var(--line); padding: 1.2rem 0 .6rem; }
.exp-step em { font-style: normal; font-family: var(--serif); color: var(--gold-deep); font-size: 1.3rem; }
.exp-step strong { color: var(--navy); }
.exp-step p { margin: .2rem 0 0; font-size: .94rem; color: var(--ink-soft); }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.post--feature { grid-row: span 2; }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { padding: 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; }
.post .tag { align-self: flex-start; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-deep); background: var(--cream); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.post h3 { font-size: 1.45rem; }
.post p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.post .meta { font-size: .82rem; color: var(--ink-soft); margin-bottom: .8rem; }
.article-lead { font-size: 1.2rem; line-height: 1.7; color: var(--navy) !important; border-left: 3px solid var(--gold); padding-left: 1.2rem; }
.article h2 { scroll-margin-top: 110px; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: .55rem; }
.toc a { text-decoration: none; font-size: .92rem; color: var(--ink); }
.toc a:hover { color: var(--gold-deep); }
.res-list { padding-left: 1.1rem; }
.res-list a { color: var(--gold-deep); font-weight: 600; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related a { background: var(--navy); color: var(--gold-soft); text-decoration: none; padding: 1.1rem 1.2rem; border-radius: 12px; font-weight: 600; font-size: .93rem; display: flex; justify-content: space-between; gap: .6rem; align-items: center; transition: .2s; }
.related a:hover { background: var(--navy-3); }
.related svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Pop-out call dock (Kush's request) */
.dock { position: fixed; right: 24px; bottom: 22px; z-index: 80; transform: translateY(140%); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; filter: drop-shadow(0 14px 28px rgba(8,17,31,.35)); }
.dock.show { transform: none; opacity: 1; }
.dock-top { display: flex; align-items: center; gap: .35rem; width: max-content; margin: 0 0 8px auto; padding: .5rem .9rem; border-radius: 999px; background: var(--navy); color: var(--gold-soft); border: 1px solid rgba(199,149,74,.4); font-size: .78rem; font-weight: 600; text-decoration: none; }
.dock-top svg { width: 14px; height: 14px; }
.dock-top:hover { border-color: var(--gold); }
.dock-bar { display: flex; align-items: stretch; border-radius: 16px; overflow: hidden; border: 1px solid var(--gold); background: var(--navy); }
.dock-call { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.3rem; background: var(--gold); color: var(--navy); text-decoration: none; transition: background-color .2s; }
.dock.show .dock-call { animation: dock-nudge 4s ease-in-out .8s 3; }
.dock-call:hover { background: var(--gold-soft); }
.dock-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.dock-ico svg { width: 19px; height: 19px; }
.dock-call small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dock-call strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.15; white-space: nowrap; }
.dock-alt { display: flex; align-items: center; gap: .3rem; padding: .7rem 1.1rem; color: var(--gold-soft); font-size: .8rem; font-weight: 600; line-height: 1.35; text-decoration: none; }
.dock-alt svg { width: 13px; height: 13px; }
.dock-alt:hover { background: var(--navy-3); color: #fff; }
@keyframes dock-nudge { 0%, 82%, 100% { transform: none; } 86% { transform: scale(1.04) rotate(-1deg); } 90% { transform: scale(1.04) rotate(1deg); } 94% { transform: scale(1.02); } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .dock.show .dock-call { animation: none; } }

/* Responsive */
@media (max-width: 1080px) {
  .areas, .reviews, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .svc-layout { grid-template-columns: 1fr; }
  .svc-side { position: static; order: 2; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 84px 0 auto 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 16px 1.6rem; max-height: calc(100vh - 84px); overflow-y: auto; transform: translateY(-120%); transition: transform .3s; border-top: 1px solid rgba(255,255,255,.08); }
  .nav.open { transform: none; }
  .nav > a, .nav .dd > button { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); text-align: left; width: 100%; }
  .nav > a::after, .nav .dd > button::after { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; padding: 0 0 .4rem .8rem; min-width: 0; }
  .dd-menu a { color: rgba(255,255,255,.75); }
  .dd-menu a:hover { background: transparent; color: var(--gold-soft); }
  .nav .btn { margin-top: 1rem; }
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: center; width: min(360px, 88%); }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split-media { max-width: 520px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .hide-sm { display: none; }
  .topbar .wrap { flex-wrap: nowrap; font-size: .76rem; }
  .topbar .tb-group { gap: .8rem; flex-wrap: nowrap; white-space: nowrap; }
  .header .wrap { height: 72px; }
  .nav { inset: 72px 0 auto 0; max-height: calc(100vh - 72px); }
  .logo img { height: 42px; }
  .wave { height: 40px; }
  .hero { padding-bottom: 90px; }
  .hero-badge { left: 50%; transform: translateX(-50%); bottom: -24px; width: max-content; max-width: 92%; }
  .hero-portrait { margin-bottom: 30px; }
  .areas, .reviews, .why-grid, .cards, .duo, .form .row, .footer-grid, .steps, .crim-areas, .facts { grid-template-columns: 1fr; }
  .rights { grid-template-columns: 1fr; text-align: left; padding: 1.4rem; }
  .key-issues, .posts, .related { grid-template-columns: 1fr; }
  .post--feature { grid-row: auto; }
  .crim-areas .area:last-child:nth-child(odd) { grid-column: auto; }
  body { padding-bottom: 96px; }
  .dock { left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); }
  .dock-bar { width: 100%; }
  .dock-call { flex: 1; padding: .7rem .9rem; gap: .7rem; }
  .dock-call strong { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .dock-ico { width: 36px; height: 36px; }
  .dock-alt { padding: .6rem .8rem; }  .crim-hero { min-height: 0; align-items: flex-end; padding-top: 330px; }
  .crim-hero__bg img { height: 420px; object-position: 66% 50%; }
  .crim-hero::before { background: linear-gradient(180deg, rgba(8,17,31,.15) 0px, rgba(8,17,31,.35) 250px, rgba(8,17,31,.96) 390px, #08111f 420px); }
  .crim-hero .crumbs { display: none; }
  .crim-hero .hero-ctas { flex-direction: column; align-items: stretch; text-align: center; }
  .crim-areas .area { grid-template-columns: 1fr; }
  .crim-areas .area .ico { grid-row: auto; margin-bottom: 1rem; }
  .area--feature { grid-column: auto; }
  .area--feature .tag { position: static; align-self: flex-start; margin-bottom: 1rem; }
  .stat { padding: 1.5rem .8rem; }
  .quote-card { left: 12px; right: 12px; bottom: 12px; max-width: none; font-size: 1rem; }
  .split-media .accent { right: -10px; bottom: -10px; }
  .svc-row { grid-template-columns: 1fr; gap: .6rem; padding: 1.4rem; }
  .svc-row .arrow { display: none; }
  .cta-band { padding-top: 80px; }
  .btn { width: 100%; }
  .hero-ctas { width: 100%; }
}

/* Contact form posting (Nov 2026): honeypot, error line */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin: .8rem 0 0; padding: .7rem .9rem; border-radius: 10px; background: #f9e9e6; color: #9b3524; font-size: .9rem; }
.form-err[hidden] { display: none; }

/* Newsletter signup band (blog pages) */
.nl-band { padding-top: 0; }
.nl-form { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--navy); color: #fff; border-radius: 18px; padding: clamp(26px, 4vw, 48px); border-top: 4px solid var(--gold); }
.nl-form .eyebrow { color: var(--gold-soft); }
.nl-form h2 { color: #fff; margin: 0 0 .6rem; }
.nl-form p { color: rgba(255,255,255,.75); margin: 0; }
.nl-fields .row { display: grid; grid-template-columns: 1fr 1.4fr; gap: .8rem; }
.nl-fields input:not([type=checkbox]) { width: 100%; padding: .85rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; font: inherit; background: rgba(255,255,255,.08); color: #fff; }
.nl-fields input::placeholder { color: rgba(255,255,255,.55); }
.nl-fields input:focus { outline: none; border-color: var(--gold); }
.nl-consent { display: flex; gap: .6rem; align-items: flex-start; margin: .9rem 0; font-size: .85rem; color: rgba(255,255,255,.8); cursor: pointer; }
.nl-consent input { margin-top: .2rem; accent-color: var(--gold); }
.nl-fields .btn { width: 100%; }
.nl-form .nl-id { font-size: .72rem; color: rgba(255,255,255,.5); margin-top: .9rem; }
.nl-done { grid-column: 1 / -1; }
.nl-done h3 { color: #fff; }
.nl-form.sent .nl-copy, .nl-form.sent .form-body { display: none; }
.nl-form.sent .form-done { display: block; }
@media (max-width: 900px) { .nl-form { grid-template-columns: 1fr; } .nl-fields .row { grid-template-columns: 1fr; } }

/* Staff login: discreet footer link to the dashboard (Nov 2026) */
.footer .staff-login { font-size: .75rem; letter-spacing: .04em; color: rgba(255,255,255,.35); }
.footer .staff-login:hover { color: var(--gold-soft); }

/* Resources (Nov 2026): hub, court directory, courthouse pages + Zoom cards, parole calculator */
.res-tools .area--feature { grid-column: span 2; }
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.guide-card { display: flex; flex-direction: column; gap: .5rem; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.guide-card .tag, .court-card .tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .65rem; }
.guide-card h3 { font-size: 1.15rem; flex: 1; }
.link-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.link-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.link-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.link-card p { color: var(--ink-soft); font-size: .95rem; }
.link-card .links { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .35rem; }
.link-card .links a { font-weight: 600; text-decoration: none; color: var(--gold-deep); }
.court-search { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 1.2rem; }
.court-search label { display: block; font-weight: 700; color: var(--navy); font-size: .85rem; margin-bottom: .5rem; }
.court-search__row { display: flex; gap: .8rem; }
.court-search__row input { flex: 1; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fdfbf7; }
.court-search__row input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199,149,74,.15); }
.court-search__meta { margin: .7rem 0 0; font-size: .9rem; color: var(--ink-soft); }
.court-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 1.6rem; }
.court-card { display: flex; flex-direction: column; gap: .4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.court-card:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.court-card h2 { font-size: 1.12rem; margin: 0; }
.court-card p { color: var(--ink-soft); font-size: .9rem; margin: 0; flex: 1; }
.callout { background: #fbf3e4; border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 1rem 1.2rem; margin: 1rem 0 1.4rem; font-size: .95rem; }
.zoom-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.zoom-card { background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 12px; padding: 1.2rem 1.3rem; }
.zoom-card h3 { font-size: 1.1rem; margin: 0 0 .2rem; }
.zoom-card__matter { color: var(--ink-soft); font-size: .88rem; margin: 0 0 .7rem; }
.zoom-card dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0 0 .9rem; font-size: .93rem; }
.zoom-card dt { color: var(--ink-soft); font-weight: 600; }
.zoom-card dd { margin: 0; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--navy); }
.zoom-card__join { width: 100%; justify-content: center; }
.zoom-card__warn { font-size: .85rem; background: #f9e9e6; color: #9b3524; border-radius: 8px; padding: .6rem .8rem; margin: 0; }
.zoom-card__schedule { margin-top: .8rem; font-size: .88rem; }
.zoom-card__schedule summary { cursor: pointer; font-weight: 600; color: var(--gold-deep); }
.zoom-card__schedule table { border-collapse: collapse; margin-top: .5rem; }
.zoom-card__schedule td { border: 1px solid var(--line); padding: .25rem .5rem; }
.court-contacts { font-size: .95rem; overflow-wrap: anywhere; }
.court-contacts table { border-collapse: collapse; width: 100%; }
.court-contacts td, .court-contacts th { border: 1px solid var(--line); padding: .4rem .6rem; text-align: left; vertical-align: top; }
.calc-result { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 1.6rem; margin-bottom: 2rem; }
.calc-table { width: 100%; border-collapse: collapse; }
.calc-table th, .calc-table td { text-align: left; padding: .65rem .4rem; border-bottom: 1px solid var(--line); }
.calc-form { margin-bottom: 2.5rem; }
.calc-form h3 { margin-top: 1.4rem; }
.counts { width: 100%; border-collapse: collapse; }
.counts th { text-align: left; font-size: .8rem; color: var(--ink-soft); padding: .3rem; }
.counts td { padding: .3rem; vertical-align: top; }
.counts input, .counts select { width: 100%; }
@media (max-width: 1080px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } .court-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .res-tools .area--feature { grid-column: auto; }
  .guide-grid, .court-list, .zoom-cards { grid-template-columns: 1fr; }
  .court-search__row { flex-direction: column; }
  .counts thead { display: none; }
  .counts, .counts tbody { display: block; }
  .counts tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .counts td { padding: 0; }
  .counts td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 700; margin-bottom: 4px; }
  .counts td:first-child, .counts td:last-child { grid-column: 1 / -1; }
}
