/* ============ Vantage Defense Law — "Emerald & Ivory" theme ============ */
:root {
  --ivory: #f5efe4;
  --ivory-2: #ebe3d3;
  --ivory-3: #fbf8f2;
  --emerald: #0f3d33;
  --emerald-2: #165a4a;
  --emerald-3: #0a2a23;
  --mint: #bfe3d3;
  --tang: #ff7a45;
  --tang-2: #ec6332;
  --tang-soft: #ffe4d8;
  --text: #142520;
  --muted: #5d6b66;
  --muted-d: #9fbdb2;
  --line: #d9d0be;
  --line-d: rgba(255, 255, 255, .14);
  --ok: #1d7a5c;
  --ok-soft: #dcefe6;
  --danger: #c2402a;
  --danger-soft: #fbe1da;
  --r: 10px;
  --display: "Syne", system-ui, sans-serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--text); font: 17.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--emerald-2); }
::selection { background: var(--tang); color: #fff; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: -.03em; margin: 0 0 .45em; color: var(--emerald); }
h1 { font-size: clamp(3rem, 8vw, 7rem); text-transform: uppercase; }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h3 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.05; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.2; }
p { margin: 0 0 1em; }
.dark { background: var(--emerald); color: #d6e7df; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--ivory); }
.dark .lead { color: var(--muted-d); }
.tang { color: var(--tang); }
.container { width: min(1220px, 100% - 32px); margin-inline: auto; }
.section { padding: 100px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .55rem; font: 700 .82rem var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--tang); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--tang); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 56ch; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 56px; flex-wrap: wrap; }
.head h2 { margin: 0; max-width: 16ch; }
.head .lead { margin: 0; max-width: 42ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1rem 1.6rem; border-radius: 999px; border: 2px solid transparent; font: 700 .98rem var(--display); letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: all .2s; }
.btn .arr { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px) rotate(-45deg); }
.btn-tang { background: var(--tang); color: #fff; }
.btn-tang:hover { background: var(--tang-2); }
.btn-em { background: var(--emerald); color: var(--ivory); }
.btn-em:hover { background: var(--emerald-2); }
.btn-em .arr { background: var(--tang); }
.btn-line { border-color: var(--emerald); color: var(--emerald); background: transparent; }
.btn-line:hover { background: var(--emerald); color: var(--ivory); }
.dark .btn-line { border-color: rgba(245, 239, 228, .5); color: var(--ivory); }
.dark .btn-line:hover { background: var(--ivory); color: var(--emerald); }
.btn-ivory { background: var(--ivory); color: var(--emerald); }
.btn-sm { padding: .55rem 1.05rem; font-size: .86rem; }
.btn-block { width: 100%; }
.text-btn { background: none; border: 0; padding: 0; font: 700 .9rem var(--display); color: var(--emerald-2); cursor: pointer; }
.text-btn:hover { color: var(--tang); }
.text-btn.danger { color: var(--danger); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--emerald); color: var(--ivory); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ivory); }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; background: var(--tang); display: grid; place-items: center; font: 800 1.1rem var(--display); color: var(--emerald-3); }
.brand-name { font: 800 1.35rem/1 var(--display); letter-spacing: -.03em; }
.brand-name small { display: block; font: 500 .72rem var(--sans); letter-spacing: .04em; color: var(--muted-d); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #d6e7df; text-decoration: none; font: 600 .95rem var(--display); }
.nav-links a:hover, .nav-links a.active { color: var(--tang); }
.nav-links .btn { color: #fff; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line-d); background: transparent; color: var(--ivory); cursor: pointer; }
@media (max-width: 1000px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--emerald-3); padding: 8px 16px 20px; }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line-d); }
  .nav-links li:last-child { border: 0; padding-top: 14px; }
  .nav-links a { display: block; padding: 14px 0; }
}

/* Hero split */
.hero { display: grid; grid-template-columns: 1.35fr 1fr; min-height: calc(100vh - 78px); max-height: 860px; }
.hero-left { background: var(--emerald); color: #d6e7df; padding: 72px 56px 56px max(16px, calc((100vw - 1220px) / 2)); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.hero-left::after { content: ""; position: absolute; right: -180px; bottom: -180px; width: 460px; height: 460px; border-radius: 50%; border: 70px solid rgba(255, 122, 69, .14); }
.hero-left h1 { color: var(--ivory); margin-bottom: .3em; }
.hero-left h1 span { color: var(--tang); }
.hero-left .lead { color: var(--muted-d); margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-d); position: relative; z-index: 1; }
.hero-stats b { display: block; font: 800 2.4rem/1 var(--display); color: var(--ivory); letter-spacing: -.04em; }
.hero-stats span { font-size: .88rem; color: var(--muted-d); }
.hero-right { background: var(--ivory-2); padding: 72px max(16px, calc((100vw - 1220px) / 2)) 56px 48px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.urgent { background: var(--tang); color: #fff; border-radius: 22px; padding: 28px; }
.urgent h3 { color: #fff; font-size: 1.8rem; margin-bottom: .3rem; }
.urgent a.phone { display: block; font: 800 2.2rem/1.1 var(--display); color: #fff; text-decoration: none; letter-spacing: -.03em; margin: .6rem 0 .4rem; }
.urgent small { opacity: .9; }
.quick { display: grid; gap: 10px; }
.quick a { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 16px; background: var(--ivory-3); text-decoration: none; color: var(--emerald); font: 700 1.05rem var(--display); transition: background .2s, transform .2s; }
.quick a:hover { background: #fff; transform: translateX(4px); }
.quick a span { color: var(--tang); }
@media (max-width: 960px) { .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; } .hero-left { padding: 56px 16px 40px; } .hero-right { padding: 36px 16px 48px; } }

/* Do / Don't split */
.split { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; overflow: hidden; }
.split > div { padding: 48px; }
.split .do { background: var(--emerald); color: #d6e7df; }
.split .do h3 { color: var(--ivory); }
.split .dont { background: var(--ivory-3); }
.split ol { list-style: none; margin: 1.4rem 0 0; padding: 0; counter-reset: x; display: grid; gap: 14px; }
.split li { counter-increment: x; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; font-size: 1.02rem; }
.split li::before { content: counter(x, decimal-leading-zero); font: 800 1.2rem var(--display); color: var(--tang); }
.split .dont li::before { content: "✕"; color: var(--danger); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > div { padding: 32px 22px; } }

/* Practice list */
.plist { border-top: 2px solid var(--emerald); }
.plist a { display: grid; grid-template-columns: 80px 1fr 1fr 56px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); transition: padding .25s, background .25s; }
.plist a:hover { background: var(--emerald); color: #d6e7df; padding-inline: 24px; border-radius: 16px; }
.plist a:hover h3 { color: var(--ivory); }
.plist a:hover .go { background: var(--tang); color: #fff; transform: rotate(-45deg); }
.plist .no { font: 700 .9rem var(--display); color: var(--tang); }
.plist h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.4rem); }
.plist p { margin: 0; color: inherit; opacity: .8; }
.plist .go { width: 52px; height: 52px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 1.3rem; transition: all .25s; }
@media (max-width: 760px) { .plist a { grid-template-columns: 1fr 48px; gap: 8px 16px; } .plist .no { grid-column: 1 / -1; } .plist p { grid-column: 1 / 2; } .plist .go { grid-row: 2 / 4; grid-column: 2; width: 44px; height: 44px; } }

/* Case carousel */
.cases { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--tang) transparent; }
.case { scroll-snap-align: start; border-radius: 24px; padding: 30px; background: var(--emerald-2); color: #d6e7df; display: flex; flex-direction: column; min-height: 300px; }
.case:nth-child(2n) { background: var(--emerald-3); }
.case .tag { align-self: flex-start; font: 700 .76rem var(--display); text-transform: uppercase; letter-spacing: .06em; padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.case .out { font: 800 2.6rem/1 var(--display); color: var(--tang); margin: auto 0 .5rem; letter-spacing: -.04em; padding-top: 2rem; }
.case h4 { color: var(--ivory); }
.case p { margin: 0; font-size: .94rem; color: var(--muted-d); }
.fine { font-size: .8rem; color: var(--muted-d); margin-top: .8rem; }

/* Approach */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ap { background: var(--ivory-3); border-radius: 24px; padding: 32px; }
.ap .ico { width: 60px; height: 60px; border-radius: 18px; background: var(--emerald); color: var(--tang); display: grid; place-items: center; margin-bottom: 1.4rem; }
.ap p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .approach { grid-template-columns: 1fr; } }

/* Team rows */
.trow { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: 28px; overflow: hidden; margin-bottom: 20px; background: var(--ivory-3); }
.trow:nth-child(even) { grid-template-columns: 1.4fr 1fr; }
.trow:nth-child(even) .tpic { order: 2; }
.tpic { min-height: 300px; background: var(--emerald); display: grid; place-items: center; font: 800 6rem var(--display); color: var(--tang); letter-spacing: -.06em; position: relative; overflow: hidden; }
.tpic::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: var(--emerald-2); }
.tpic span { position: relative; }
.trow:nth-child(2) .tpic { background: var(--tang); color: var(--emerald-3); }
.trow:nth-child(2) .tpic::before { background: #ff9467; }
.tbody { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.tbody .role { font: 700 .82rem var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--tang); margin-bottom: .6rem; }
.tbody h3 { font-size: 2.2rem; }
.tbody p { color: var(--muted); margin: 0; }
.tbody .creds { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1.2rem; }
.tbody .creds span { font: 600 .82rem var(--sans); padding: .35rem .8rem; border-radius: 999px; background: var(--ivory-2); color: var(--emerald); }
@media (max-width: 860px) { .trow, .trow:nth-child(even) { grid-template-columns: 1fr; } .trow:nth-child(even) .tpic { order: 0; } .tpic { min-height: 200px; font-size: 4rem; } .tbody { padding: 28px 22px; } }

/* Big quote */
.bigquote { background: var(--tang); border-radius: 32px; padding: 64px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.bigquote blockquote { margin: 0; font: 800 clamp(1.8rem, 3.6vw, 3.1rem)/1.08 var(--display); letter-spacing: -.03em; }
.bigquote cite { display: block; margin-top: 1.4rem; font: 600 1rem var(--sans); font-style: normal; opacity: .9; }
.bigquote .others { display: grid; gap: 14px; }
.bigquote .others figure { margin: 0; background: rgba(255, 255, 255, .14); border-radius: 18px; padding: 20px; }
.bigquote .others p { margin: 0 0 .5rem; }
.bigquote .others figcaption { font-size: .86rem; opacity: .85; font-weight: 700; }
@media (max-width: 860px) { .bigquote { grid-template-columns: 1fr; padding: 36px 24px; } }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 2px solid var(--emerald); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 56px 22px 0; position: relative; font: 700 1.25rem/1.2 var(--display); color: var(--emerald); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald); color: var(--ivory); font: 700 1.3rem var(--display); transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--tang); }
.faq p { color: var(--muted); padding-right: 56px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; gap: 20px; } }

/* CTA split */
.cta-split { display: grid; grid-template-columns: 1fr 1fr; }
.cta-split > div { padding: 80px 56px; }
.cta-split .l { background: var(--emerald-3); color: #d6e7df; padding-left: max(16px, calc((100vw - 1220px) / 2)); }
.cta-split .l h2 { color: var(--ivory); }
.cta-split .r { background: var(--tang); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding-right: max(16px, calc((100vw - 1220px) / 2)); }
.cta-split .r .btn { justify-content: space-between; }
@media (max-width: 860px) { .cta-split { grid-template-columns: 1fr; } .cta-split > div { padding: 48px 16px; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-list { display: grid; gap: 0; margin-top: 1.8rem; border-top: 2px solid var(--emerald); }
.contact-list div { display: grid; grid-template-columns: 110px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { font: 700 .8rem var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--tang); }
.contact-list dd { margin: 0; font-weight: 600; color: var(--emerald); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Card & forms */
.card { background: var(--ivory-3); border-radius: 24px; padding: 32px; }
.card.raised { background: #fff; box-shadow: 0 30px 60px -30px rgba(15, 61, 51, .35); }
.form { display: grid; gap: 1.05rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .card { padding: 22px; } }
.field label, .field .lbl { display: block; font: 700 .86rem var(--display); color: var(--emerald); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--ivory); border: 2px solid transparent; border-radius: 14px; padding: .85rem 1rem; transition: border-color .15s, background .15s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald-2); background: #fff; }
.hint { font-size: .82rem; color: var(--muted); margin-top: .35rem; }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.checkbox input { margin-top: .3rem; accent-color: var(--emerald); width: 17px; height: 17px; }
.form-msg { display: none; padding: .9rem 1rem; border-radius: 14px; font-weight: 600; }
.form-msg.success { display: block; background: var(--ok-soft); color: var(--ok); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills label { margin: 0; padding: .65rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; cursor: pointer; font: 700 .9rem var(--display); color: var(--emerald); transition: all .15s; }
.pills label:hover { border-color: var(--emerald-2); }
.pills input:checked + label { background: var(--emerald); border-color: var(--emerald); color: var(--ivory); }
.pills input:focus-visible + label { box-shadow: 0 0 0 4px var(--tang-soft); }

/* Page hero */
.page-hero { background: var(--emerald); color: #d6e7df; padding: 64px 0 56px; margin-bottom: 40px; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.page-hero h1 span { color: var(--tang); }
.page-hero .lead { color: var(--muted-d); margin: 0; }
.crumbs { font: 600 .86rem var(--display); color: var(--muted-d); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted-d); }

/* Booking */
.booking { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; padding-bottom: 100px; }
@media (max-width: 980px) { .booking { grid-template-columns: 1fr; } }
.cal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.cal-title { margin: 0; font-size: 2.3rem; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--emerald); color: var(--ivory); cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.cal-nav button:hover:not([disabled]) { background: var(--tang); }
.cal-nav button[disabled] { opacity: .25; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { text-align: center; font: 700 .76rem var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-bottom: 6px; }
.cal-day { aspect-ratio: 1; border: 0; border-radius: 50%; background: transparent; color: #c1b8a6; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: 800 1.05rem var(--display); padding: 0; transition: background .15s, color .15s; }
.cal-day .count { font: 700 .58rem var(--sans); color: var(--ok); }
.cal-day.avail { background: var(--ivory); color: var(--emerald); }
.cal-day.few .count { color: var(--tang-2); }
.cal-day.avail:hover { background: var(--mint); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--tang); }
.cal-day.selected { background: var(--emerald) !important; color: var(--ivory); }
.cal-day.selected .count { color: var(--tang); }
.cal-day[disabled] { cursor: default; }
.cal-day.empty { visibility: hidden; }
.legend { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.4rem; font-size: .86rem; color: var(--muted); font-weight: 600; }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: .4rem; vertical-align: -1px; }
@media (max-width: 480px) { .cal-grid { gap: 3px; } .cal-day { font-size: .9rem; } .cal-day .count { display: none; } }
.side { display: grid; gap: 20px; }
.slots-title { font-size: 1.7rem; margin: 0 0 .15rem; }
.slots-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.2rem; }
.slot-group { margin-bottom: 1.1rem; }
.slot-label { font: 700 .78rem var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--tang); margin-bottom: .55rem; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 8px; }
.slot { padding: .65rem .3rem; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: 700 .9rem var(--display); color: var(--emerald); cursor: pointer; transition: all .15s; }
.slot:hover:not([disabled]) { border-color: var(--emerald); }
.slot.selected { background: var(--tang); border-color: var(--tang); color: #fff; }
.slot[disabled] { border-color: transparent; background: var(--ivory-2); color: #b5ad9c; text-decoration: line-through; cursor: not-allowed; }
.empty { text-align: center; padding: 24px 8px; color: var(--muted); }
.empty .ring { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 18px; border: 14px solid var(--emerald); border-right-color: var(--tang); }
.picked { display: flex; gap: 14px; align-items: center; background: var(--emerald); color: #d6e7df; border-radius: 18px; padding: 14px 16px; margin-bottom: 1.3rem; }
.picked .stub { width: 58px; flex: none; text-align: center; background: var(--tang); color: #fff; border-radius: 14px; padding: 6px 0; }
.picked .stub span { display: block; font: 700 .64rem var(--display); text-transform: uppercase; }
.picked .stub b { display: block; font: 800 1.7rem/1 var(--display); }
.picked strong { display: block; color: var(--ivory); font-family: var(--display); }
.picked small { color: var(--muted-d); }
.picked .text-btn { margin-left: auto; color: var(--tang); }
.done { text-align: center; }
.done .check { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--tang); color: #fff; box-shadow: 0 0 0 12px var(--tang-soft); animation: pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { from { transform: scale(.3); } }
.notice { background: var(--ivory); border-radius: 14px; padding: .9rem 1rem; font-size: .93rem; text-align: left; margin: 1rem 0; border-left: 4px solid var(--tang); }

/* Account */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; padding-bottom: 100px; }
@media (max-width: 880px) { .auth { grid-template-columns: 1fr; } }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--ivory); padding: 6px; border-radius: 999px; margin-bottom: 1.6rem; }
.tabs button { border: 0; background: transparent; padding: .8rem; border-radius: 999px; font: 700 .95rem var(--display); color: var(--muted); cursor: pointer; }
.tabs button.active { background: var(--emerald); color: var(--ivory); }
.why { background: var(--emerald); color: #d6e7df; border-radius: 24px; padding: 44px; position: relative; overflow: hidden; }
.why::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 122, 69, .2); }
.why h3 { color: var(--ivory); font-size: 2.4rem; position: relative; }
.why ul { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 14px; position: relative; }
.why li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.why li span { width: 44px; height: 44px; border-radius: 50%; background: var(--tang); display: grid; place-items: center; font: 800 1rem var(--display); color: var(--emerald-3); }
.why li b { display: block; color: var(--ivory); font-family: var(--display); }

/* Dashboard */
.dash { display: grid; grid-template-columns: 310px 1fr; gap: 24px; align-items: start; padding-bottom: 100px; }
@media (max-width: 900px) { .dash { grid-template-columns: 1fr; } }
.profile { text-align: center; }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; font: 800 1.8rem var(--display); background: var(--tang); color: var(--emerald-3); box-shadow: 0 0 0 6px var(--ivory), 0 0 0 8px var(--emerald); }
.profile dl { text-align: left; margin: 1.4rem 0; display: grid; gap: .8rem; }
.profile dt { font: 700 .74rem var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--tang); }
.profile dd { margin: 0; font-weight: 600; color: var(--emerald); }
.court-card { background: var(--tang); color: #fff; border-radius: 24px; padding: 28px; }
.court-card h3 { color: #fff; }
.court-card .when { font: 800 2.2rem/1 var(--display); letter-spacing: -.04em; margin: .4rem 0; }
.dash-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.dash-head h3 { margin: 0; }
.appt-list { display: grid; gap: 12px; }
.appt { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--ivory); }
.appt .picked { margin: 0; padding: 0; background: none; }
.appt.cancelled, .appt.past { opacity: .55; }
.appt p { margin: 0; font-size: .9rem; color: var(--muted); }
.appt-actions { display: flex; flex-direction: column; gap: .4rem; align-items: flex-end; }
.pill { display: inline-block; font: 700 .68rem var(--display); text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; margin-left: .4rem; vertical-align: 2px; }
.pill.booked { background: var(--ok-soft); color: var(--ok); }
.pill.cancelled { background: var(--danger-soft); color: var(--danger); }
.pill.past { background: var(--ivory-2); color: var(--muted); }
@media (max-width: 560px) { .appt { grid-template-columns: auto 1fr; } .appt-actions { grid-column: 1 / -1; flex-direction: row; gap: 1rem; } }
.meter { height: 12px; border-radius: 999px; background: var(--ivory); overflow: hidden; margin-bottom: 1rem; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, var(--emerald-2), var(--tang)); border-radius: 999px; transition: width .4s; }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.todo label { display: flex; gap: .75rem; align-items: flex-start; padding: 13px 15px; border-radius: 14px; background: var(--ivory); cursor: pointer; font-size: .97rem; }
.todo input { width: 19px; height: 19px; accent-color: var(--emerald); margin-top: 2px; flex: none; }
.todo input:checked + span { color: var(--muted); text-decoration: line-through; }
.demo-note { font-size: .84rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--emerald-3); color: var(--muted-d); padding: 80px 0 28px; font-size: .94rem; }
.footer-big { font: 800 clamp(2.6rem, 9vw, 8rem)/.9 var(--display); color: var(--ivory); letter-spacing: -.05em; margin-bottom: 48px; text-transform: uppercase; }
.footer-big span { color: var(--tang); }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 44px; }
.site-footer h5 { font: 700 .82rem var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--tang); margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d6e7df; text-decoration: none; }
.site-footer a:hover { color: var(--tang); }
.legal { border-top: 1px solid var(--line-d); padding-top: 22px; font-size: .8rem; color: #7f9d93; display: grid; gap: .35rem; }
.legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .done .check { animation: none; } html { scroll-behavior: auto; } }
