/* ============ Sunline Injury Lawyers — "Retro Highway" theme ============ */
:root {
  --cream: #fbf1dc; --cream-2: #f4e3c1; --tan: #f0d9b0; --choc: #3d2417; --choc-2: #5a3725;
  --orange: #d9622b; --mustard: #e8a838; --tomato: #c8432b; --teal: #2a7f7a; --teal-l: #d5ebe8;
  --ink: #2c1a10; --muted: #7a5d4a; --line: #e5cfa6; --ok: #2a7f7a; --danger: #c8432b;
  --stripes: linear-gradient(180deg, var(--mustard) 0 25%, var(--orange) 25% 50%, var(--tomato) 50% 75%, var(--choc-2) 75% 100%);
  --hstripes: linear-gradient(90deg, var(--mustard) 0 25%, var(--orange) 25% 50%, var(--tomato) 50% 75%, var(--choc-2) 75% 100%);
  --r: 24px; --r-sm: 14px;
  --display: "Righteous", system-ui, sans-serif; --sans: "Lato", 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(--cream); color: var(--ink); font: 400 17.5px/1.65 var(--sans); }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--choc); line-height: 1.04; margin: 0 0 .45em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.45rem; line-height: 1.12; }
h4 { font: 700 1.05rem var(--sans); margin: 0 0 .3rem; }
p { margin: 0 0 1em; }
.orange { color: var(--orange); }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section { padding: 96px 0; }
.choc-bg { background: var(--choc); color: var(--tan); }
.choc-bg h2, .choc-bg h3 { color: var(--cream); }
.badge { display: inline-flex; align-items: center; gap: .5rem; font: 400 .92rem var(--display); color: var(--cream); background: var(--teal); padding: .35rem 1rem; border-radius: 999px; margin-bottom: 1.1rem; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.choc-bg .lead { color: #d9bf98; }
.center { text-align: center; } .center .lead { margin-inline: auto; }
.stripe-bar { height: 20px; background: var(--stripes); }
.head { max-width: 720px; margin-bottom: 52px; }
.head.center { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.6rem; border-radius: 999px; border: 3px solid var(--choc); font: 400 1.05rem var(--display); letter-spacing: .02em; text-decoration: none; cursor: pointer; background: var(--cream); color: var(--choc); transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-2px); background: var(--tan); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--tomato); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: #226a66; }
.btn-sm { padding: .5rem 1.05rem; font-size: .92rem; border-width: 2px; }
.btn-block { width: 100%; }
.text-btn { background: none; border: 0; padding: 0; font: 700 .9rem var(--sans); color: var(--teal); cursor: pointer; text-decoration: underline; }
.text-btn.danger { color: var(--danger); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); }
.site-header::after { content: ""; display: block; height: 10px; background: var(--hstripes); }
.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(--choc); }
.sunmark { width: 50px; height: 26px; border-radius: 50px 50px 0 0; background: var(--stripes); position: relative; overflow: hidden; }
.brand b { font: 400 1.5rem/1 var(--display); display: block; }
.brand small { font: 700 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.nav-links { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { color: var(--choc); text-decoration: none; font-weight: 700; }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links .btn { color: #fff; }
.nav-toggle { display: none; background: var(--orange); color: #fff; border: 3px solid var(--choc); border-radius: 999px; padding: 6px 16px; font: 400 .95rem var(--display); cursor: pointer; }
@media (max-width: 1000px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--cream); padding: 6px 16px 18px; border-bottom: 4px solid var(--choc); }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px dashed var(--line); }
  .nav-links li:last-child { border: 0; padding-top: 12px; }
  .nav-links a { display: block; padding: 13px 0; }
}

/* Hero */
.hero { padding: 56px 0 0; overflow: hidden; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.hero .lead { font-size: 1.22rem; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.sunset { position: relative; aspect-ratio: 1 / .62; max-width: 520px; justify-self: center; width: 100%; }
.sunset .sun { position: absolute; left: 6%; right: 6%; bottom: 0; aspect-ratio: 2 / 1; border-radius: 999px 999px 0 0; overflow: hidden; background: linear-gradient(180deg, var(--mustard) 0 18%, var(--cream) 18% 22%, var(--orange) 22% 40%, var(--cream) 40% 44%, var(--tomato) 44% 62%, var(--cream) 62% 66%, var(--choc-2) 66% 100%); }
.sunset .road { position: absolute; left: 50%; bottom: 0; width: 46%; height: 70%; transform: translateX(-50%); background: var(--choc); clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }
.sunset .lines { position: absolute; left: 50%; bottom: 0; width: 6px; height: 68%; margin-left: -3px; background: repeating-linear-gradient(180deg, var(--mustard) 0 18px, transparent 18px 34px); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.roadsign { position: absolute; right: 0; top: 4%; background: var(--teal); color: #fff; border: 4px solid #fff; outline: 3px solid var(--teal); border-radius: 12px; padding: 12px 16px; font: 400 1rem/1.2 var(--display); box-shadow: 0 16px 24px -14px rgba(0, 0, 0, .5); transform: rotate(3deg); }
.roadsign small { display: block; font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.roadsign b { font-weight: 400; font-size: 1.3rem; }
.hero .stripe-bar { margin-top: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .roadsign { right: 4%; } }

/* Odometer stats */
.odo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.od { background: var(--choc-2); border-radius: var(--r-sm); padding: 20px; text-align: center; }
.digits { display: inline-flex; gap: 3px; margin-bottom: .5rem; }
.digits span { background: #1e120a; color: var(--mustard); font: 400 1.8rem/1 var(--display); padding: 8px 6px; border-radius: 6px; min-width: 1.1em; box-shadow: inset 0 -10px 0 rgba(255, 255, 255, .04); }
.od small { display: block; color: #d9bf98; font-weight: 700; }
@media (max-width: 860px) { .odo { grid-template-columns: 1fr 1fr; } }

/* Postcards (accident types) */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.postcard { background: #fffaf0; border-radius: 10px; padding: 0; overflow: hidden; box-shadow: 0 16px 28px -18px rgba(61, 36, 23, .55); text-decoration: none; color: var(--ink); display: block; transition: transform .2s; border: 1px solid var(--line); }
.postcard:hover { transform: translateY(-4px) rotate(-.5deg); }
.postcard .art { height: 140px; position: relative; display: grid; place-items: center; font-size: 3.4rem; overflow: hidden; }
.postcard .art::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: var(--hstripes); opacity: .9; }
.postcard .art span { position: relative; z-index: 1; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .15)); }
.postcard:nth-child(3n+1) .art { background: var(--teal-l); } .postcard:nth-child(3n+2) .art { background: #fde7c4; } .postcard:nth-child(3n+3) .art { background: #f8d6c8; }
.postcard .body { padding: 20px 22px 24px; position: relative; }
.postcard .body::after { content: ""; position: absolute; right: 18px; top: -22px; width: 44px; height: 52px; border: 2px dashed var(--orange); background: #fffaf0; border-radius: 4px; }
.postcard p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* Mile markers */
.miles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.mile { text-align: center; }
.marker { width: 92px; height: 130px; margin: 0 auto 1rem; background: var(--teal); border: 4px solid #fff; outline: 3px solid var(--teal); border-radius: 10px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font: 400 .8rem var(--display); }
.marker b { font: 400 2.4rem/1 var(--display); }
.mile:last-child .marker { background: var(--orange); outline-color: var(--orange); }
.mile p { color: #d9bf98; font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .miles { grid-template-columns: 1fr 1fr; } }

/* Results */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.result { background: #fffaf0; border-radius: var(--r); padding: 30px; border: 3px solid var(--choc); position: relative; overflow: hidden; }
.result::before { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--stripes); opacity: .9; }
.result .was { font-weight: 700; color: var(--muted); font-size: .9rem; }
.result .was s { color: var(--tomato); }
.result .amt { font: 400 3rem/1 var(--display); color: var(--orange); margin: .3rem 0 .6rem; position: relative; }
.result p { color: var(--muted); margin: 0; }
.fine { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.atty { text-align: center; }
.atty .ph { width: 180px; aspect-ratio: 1; margin: 0 auto 1rem; border-radius: 50%; background: var(--stripes); padding: 10px; }
.atty .ph div { width: 100%; height: 100%; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: 400 2.8rem var(--display); color: var(--choc); }
.atty .role { font: 700 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .4rem; }
.atty p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .team { grid-template-columns: 1fr; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: #fffaf0; border-radius: var(--r); padding: 26px; border-top: 10px solid; border-image: var(--hstripes) 1; box-shadow: 0 16px 28px -20px rgba(61, 36, 23, .6); }
.review .stars { color: var(--mustard); letter-spacing: 2px; font-size: 1.15rem; }
.review blockquote { margin: .6rem 0 1rem; font-size: 1.05rem; }
.review figcaption { font: 400 1rem var(--display); color: var(--choc); }
.review figcaption span { font: 400 .86rem var(--sans); color: var(--muted); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fffaf0; border: 3px solid var(--choc); border-radius: var(--r-sm); padding: 2px 22px; }
.faq details[open] { background: var(--tan); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 42px 16px 0; position: relative; font: 400 1.2rem var(--display); color: var(--choc); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font: 400 1.3rem var(--display); }
.faq details[open] summary::after { content: "–"; background: var(--teal); }
.faq p { color: var(--ink); }

/* Motel CTA */
.motel { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; background: var(--teal); color: #e6f4f2; border-radius: 28px; padding: 44px; border: 6px solid var(--choc); }
.motel .sign { background: var(--tomato); color: #fff; font: 400 1.6rem/1 var(--display); padding: 18px 22px; border-radius: 14px; border: 4px solid #fff; text-align: center; box-shadow: 0 0 0 4px var(--tomato); }
.motel .sign small { display: block; font-size: .8rem; color: var(--mustard); margin-top: 6px; animation: flick 3s infinite; }
@keyframes flick { 0%, 92%, 100% { opacity: 1; } 94% { opacity: .2; } 96% { opacity: 1; } 97% { opacity: .3; } }
.motel h2 { color: #fff; margin-bottom: .2em; }
.motel p { margin: 0; }
@media (max-width: 860px) { .motel { grid-template-columns: 1fr; text-align: center; padding: 32px 22px; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; }
.contact-list { display: grid; gap: 12px; margin-top: 1.6rem; }
.contact-list div { display: flex; gap: 14px; align-items: center; background: #fffaf0; border: 2px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; }
.contact-list .i { width: 44px; height: 44px; border-radius: 50%; background: var(--mustard); display: grid; place-items: center; font-size: 1.2rem; flex: none; }
.contact-list b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.1rem; }
.contact-list span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* Cards & forms */
.card { background: #fffaf0; border: 3px solid var(--choc); border-radius: var(--r); padding: 30px; }
.form { display: grid; gap: 1rem; }
.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 .92rem var(--sans); color: var(--choc); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: var(--r-sm); padding: .8rem 1rem; transition: border-color .15s; }
.field textarea { min-height: 106px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); 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: .35rem; accent-color: var(--orange); }
.form-msg { display: none; padding: .85rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.form-msg.success { display: block; background: var(--teal-l); color: var(--teal); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 8px; }
.opts.two { grid-template-columns: 1fr 1fr; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts label { margin: 0; display: flex; gap: .5rem; align-items: center; padding: .65rem .85rem; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); cursor: pointer; font: 700 .92rem var(--sans); transition: all .15s; }
.opts input:checked + label { background: var(--orange); border-color: var(--choc); color: #fff; }
.opts input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 2px; }

/* Page hero */
.page-hero { padding: 52px 0 40px; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.crumbs { font-weight: 700; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* Booking */
.booking { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: start; padding-bottom: 96px; }
@media (max-width: 980px) { .booking { grid-template-columns: 1fr; } }
.cal-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3rem; }
.cal-title { margin: 0; font-size: 2rem; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--choc); background: var(--mustard); cursor: pointer; display: grid; place-items: center; color: var(--choc); }
.cal-nav button[disabled] { opacity: .35; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.cal-dow { text-align: center; font: 400 .82rem var(--display); color: var(--muted); padding-bottom: 4px; }
.cal-day { aspect-ratio: 1; border-radius: 16px; border: 2px dashed var(--line); background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: 400 1.15rem var(--display); color: #cbb48f; padding: 0; transition: transform .15s, background .15s; }
.cal-day .count { font: 700 .58rem var(--sans); color: var(--teal); }
.cal-day.avail { border: 2px solid var(--choc); background: var(--cream); color: var(--choc); }
.cal-day.few { background: #fde7c4; }
.cal-day.few .count { color: var(--tomato); }
.cal-day.avail:hover { transform: translateY(-2px); background: var(--tan); }
.cal-day.today { box-shadow: inset 0 -5px 0 var(--mustard); }
.cal-day.selected { background: var(--orange) !important; color: #fff; }
.cal-day.selected .count { color: #fff; }
.cal-day[disabled] { cursor: default; }
.cal-day.empty { visibility: hidden; }
.legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-top: 1.3rem; font-size: .86rem; color: var(--muted); font-weight: 700; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: .4rem; border: 2px solid var(--choc); vertical-align: -1px; }
@media (max-width: 480px) { .cal-grid { gap: 3px; } .cal-day { border-radius: 10px; font-size: .92rem; } .cal-day .count { display: none; } }
.side { display: grid; gap: 20px; }
.slots-title { font-size: 1.6rem; margin: 0 0 .1rem; }
.slots-sub { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.slot-group { margin-bottom: 1.1rem; }
.slot-label { font: 400 .9rem var(--display); color: var(--orange); margin-bottom: .55rem; }
.slot-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.slot { padding: .6rem .3rem; border-radius: 999px; border: 2px solid var(--choc); background: var(--cream); font: 700 .9rem var(--sans); color: var(--choc); cursor: pointer; transition: all .15s; }
.slot:hover:not([disabled]) { background: var(--tan); }
.slot.selected { background: var(--teal); color: #fff; }
.slot[disabled] { border: 2px dashed var(--line); color: #cbb48f; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.empty { text-align: center; padding: 22px 8px; color: var(--muted); }
.empty .mini { width: 120px; height: 60px; margin: 0 auto 18px; border-radius: 120px 120px 0 0; background: var(--stripes); }
.picked { display: flex; gap: 14px; align-items: center; background: var(--tan); border-radius: var(--r-sm); padding: 12px 14px; margin-bottom: 1.2rem; }
.picked .stub { width: 60px; flex: none; text-align: center; border-radius: 12px; overflow: hidden; background: #fffaf0; border: 2px solid var(--choc); }
.picked .stub span { display: block; background: var(--orange); color: #fff; font: 400 .7rem var(--display); padding: 2px 0; }
.picked .stub b { display: block; font: 400 1.5rem/1.5 var(--display); }
.picked strong { display: block; } .picked small { color: var(--muted); }
.picked .text-btn { margin-left: auto; }
.done { text-align: center; }
.done .postal { display: inline-block; border: 4px solid var(--teal); color: var(--teal); border-radius: 50%; width: 130px; height: 130px; display: inline-grid; place-items: center; font: 400 1.1rem/1.1 var(--display); transform: rotate(-12deg); margin: 6px 0 18px; box-shadow: inset 0 0 0 6px #fffaf0, inset 0 0 0 8px var(--teal); }
.notice { background: var(--cream-2); border-left: 6px solid var(--orange); border-radius: 8px; padding: .9rem 1rem; font-size: .92rem; text-align: left; margin: 1rem 0; }

/* Account */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; padding-bottom: 96px; }
@media (max-width: 880px) { .auth { grid-template-columns: 1fr; } }
.tabs { display: grid; grid-template-columns: 1fr 1fr; border: 3px solid var(--choc); border-radius: 999px; overflow: hidden; margin-bottom: 1.6rem; }
.tabs button { border: 0; background: var(--cream); padding: .75rem; font: 400 1rem var(--display); cursor: pointer; color: var(--choc); }
.tabs button + button { border-left: 3px solid var(--choc); }
.tabs button.active { background: var(--orange); color: #fff; }
.roadtrip { background: var(--choc); color: var(--tan); border-radius: var(--r); padding: 40px; position: relative; overflow: hidden; }
.roadtrip::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 110px; border-radius: 220px 220px 0 0; background: var(--stripes); transform: rotate(-20deg); opacity: .85; }
.roadtrip h3 { color: var(--cream); font-size: 2rem; }
.roadtrip ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.roadtrip li { display: flex; gap: 12px; align-items: center; }
.roadtrip li span { width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); color: var(--choc); display: grid; place-items: center; font: 400 1rem var(--display); flex: none; }
.roadtrip b { color: var(--cream); display: block; }

/* Dashboard */
.dash { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; padding-bottom: 96px; }
@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; background: var(--stripes); padding: 6px; }
.avatar div { width: 100%; height: 100%; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font: 400 1.6rem var(--display); }
.profile dl { text-align: left; margin: 1.3rem 0; display: grid; gap: .8rem; }
.profile dt { font: 700 .76rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.profile dd { margin: 0; font-weight: 700; }
.trip { background: var(--teal); color: #e6f4f2; border-radius: var(--r); padding: 26px; border: 3px solid var(--choc); }
.trip h3 { color: #fff; }
.trip .road { position: relative; height: 16px; border-radius: 8px; background: var(--choc); margin: 1rem 0 .5rem; overflow: hidden; }
.trip .road::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: repeating-linear-gradient(90deg, var(--mustard) 0 10px, transparent 10px 18px); }
.trip .road i { position: absolute; left: 0; top: 0; bottom: 0; width: 50%; background: var(--orange); z-index: 1; }
.trip .stops { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 700; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: #fffaf0; border: 3px solid var(--choc); border-radius: var(--r-sm); padding: 16px; }
.stat b { display: block; font: 400 1.6rem var(--display); color: var(--orange); }
.stat span { font-size: .84rem; color: var(--muted); font-weight: 700; }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; } }
.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: 12px 14px; border-radius: var(--r-sm); background: var(--cream); border: 2px solid var(--line); }
.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: 400 .74rem var(--display); padding: .15rem .6rem; border-radius: 999px; margin-left: .4rem; vertical-align: 2px; border: 2px solid currentColor; }
.pill.booked { color: var(--teal); } .pill.cancelled { color: var(--danger); } .pill.past { 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: 16px; border-radius: 999px; background: var(--cream-2); border: 2px solid var(--choc); overflow: hidden; margin-bottom: 1rem; }
.meter i { display: block; height: 100%; background: var(--hstripes); transition: width .4s; }
.todo { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.todo label { display: flex; gap: .7rem; align-items: flex-start; padding: 11px 14px; border-radius: var(--r-sm); background: var(--cream); border: 2px solid var(--line); cursor: pointer; font-weight: 700; font-size: .95rem; }
.todo input { width: 19px; height: 19px; accent-color: var(--orange); 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(--choc); color: #d9bf98; padding: 0 0 28px; font-size: .94rem; }
.site-footer .stripe-bar { margin-bottom: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.site-footer .brand { color: var(--cream); margin-bottom: 1rem; }
.site-footer h5 { font: 400 1.05rem var(--display); color: var(--mustard); margin: 0 0 .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--mustard); }
.legal { border-top: 2px dashed var(--choc-2); padding-top: 20px; font-size: .8rem; color: #b39673; display: grid; gap: .3rem; }
.legal p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, 1.2, .4, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .motel .sign small { animation: none; } html { scroll-behavior: auto; } }
