/* =========================================================
   SUNETH FERNANDO · PRIVATE TOUR DRIVER — style.css
   Direction: a professional chauffeur service. Photography first,
   ivory and charcoal with a deep emerald accent (eco-friendly SUVs),
   an elegant serif for headings and a clean sans for everything else.
   ========================================================= */

:root {
  color-scheme: light;
  --bg: #faf8f4;
  --paper: #ffffff;
  --tint: #f2eee7;
  --ink: #15181c;
  --ink-2: #3d4148;
  --muted: #72757d;
  --line: #e3ded4;
  --accent: #1d5b4c;
  --accent-2: #26735f;
  --accent-soft: #e3eee9;
  --brass: #a7854f;
  --shadow: 0 28px 60px -36px rgba(21, 24, 28, .45);
  --shadow-sm: 0 10px 24px -18px rgba(21, 24, 28, .45);

  --f-head: "Cormorant Garamond", Georgia, serif;
  --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;

  --step-0: clamp(1rem, .97rem + .15vw, 1.06rem);
  --step-1: clamp(1.08rem, 1.02rem + .3vw, 1.25rem);
  --step-3: clamp(2.2rem, 1.6rem + 2.4vw, 3.6rem);

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 14px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); } .small { font-size: .86rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(76px, 9vw, 124px); }
.tint { background: var(--tint); }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: #e8dcc5; }
.sec-head { display: grid; gap: 16px; max-width: 640px; }
.sec-head h2 { font-size: var(--step-3); }
.sec-head > p:not(.eyebrow) { color: var(--muted); }
.head-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.head-side { display: grid; gap: 14px; justify-items: start; color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) { .head-row { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 8px; padding: 15px 26px; font-weight: 700; font-size: .92rem; letter-spacing: .01em; text-decoration: none; text-align: center; transition: background .25s, color .25s, box-shadow .25s, transform .25s; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2f36; }
.btn-outline-light { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); background: rgba(255,255,255,.04); }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #1b964c; }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.btn-ghost-light:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn-sm { padding: 11px 18px; font-size: .86rem; }
.btn-block { width: 100%; }
.link-btn { border: 0; background: none; padding: 0; font-weight: 700; font-size: .84rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--ink); }
.mini { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 7px 13px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--ink-2); transition: .2s; }
.mini:hover { border-color: var(--ink); color: var(--ink); }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250,248,244,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 76px; }
.brand { text-decoration: none; display: grid; line-height: 1.1; min-width: 0; }
.brand b { font-family: var(--f-head); font-weight: 600; font-size: 1.55rem; letter-spacing: .005em; white-space: nowrap; }
.brand small { font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink-2); padding-block: 6px; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn span { width: 18px; height: 1.5px; background: var(--ink); }
@media (max-width: 960px) {
  .nav { position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); padding: 6px var(--gutter) 14px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: .25s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: flex; }
}
@media (max-width: 520px) { .header-cta .btn { display: none; } .brand b { font-size: 1.35rem; } .brand small { font-size: .6rem; letter-spacing: .14em; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(620px, 88vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; overflow: hidden; background: #1d2a26; }
.hero-media { position: absolute !important; inset: 0; z-index: -2; }
.hero-media > img { animation: settle 2.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes settle { from { transform: scale(1.06); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,16,15,.78) 0%, rgba(12,16,15,.5) 45%, rgba(12,16,15,.1) 75%), linear-gradient(0deg, rgba(12,16,15,.7) 0%, transparent 40%); }
.hero-inner { display: grid; gap: 22px; justify-items: start; padding-top: 80px; }
.hero h1 { font-size: clamp(2.7rem, 1.5rem + 4.6vw, 5.6rem); line-height: 1; font-weight: 500; max-width: 16ch; }
.hero .lede { font-size: var(--step-1); color: #e9e6df; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-facts { list-style: none; margin: clamp(40px, 6vw, 72px) 0 0; padding: 22px 0 30px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.28); }
.hero-facts li { display: grid; gap: 2px; padding-right: 18px; }
.hero-facts li + li { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.18); }
.hero-facts b { font-family: var(--f-head); font-weight: 600; font-size: 1.3rem; }
.hero-facts span { font-size: .84rem; color: #cfcac0; }
@media (max-width: 860px) {
  .hero-facts { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .hero-facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) { .hero::before { background: linear-gradient(0deg, rgba(12,16,15,.88) 0%, rgba(12,16,15,.55) 55%, rgba(12,16,15,.3) 100%); } .hero-facts li { padding-right: 10px; } .hero-facts li + li { padding-left: 14px; } .hero-facts b { font-size: 1.12rem; } }

/* ---------- image slots ---------- */
.slot { position: relative; overflow: hidden; background: linear-gradient(135deg, #e9e4da, #d9d2c4); }
.slot > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
/* ---------- services ---------- */
.picked { font-size: .86rem; font-weight: 700; color: var(--accent); padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc { display: grid; grid-template-rows: auto 1fr; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .3s, box-shadow .3s; min-width: 0; }
.svc:hover { box-shadow: var(--shadow); }
.svc:hover .svc-img > img { transform: scale(1.04); }
.svc[data-on="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.svc-img { aspect-ratio: 4 / 3; }
.svc-body { display: grid; gap: 8px; align-content: start; padding: 22px 24px 24px; position: relative; }
.svc-n { font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--brass); }
.svc h3 { font-size: 1.75rem; }
.svc p { color: var(--muted); font-size: .92rem; }
.svc-add { justify-self: start; margin-top: 8px; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 8px 14px; font-size: .82rem; font-weight: 700; color: var(--ink-2); transition: .2s; }
.svc-add:hover { border-color: var(--ink); }
.svc-add[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.svc:last-child { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
.svc:last-child .svc-img { aspect-ratio: auto; min-height: 260px; }
.svc:last-child .svc-body { padding: 32px 40px; }
.svc:last-child .svc-body { align-content: center; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc:last-child { grid-column: auto; grid-template-columns: none; grid-template-rows: auto 1fr; } .svc:last-child .svc-img { aspect-ratio: 4 / 3; min-height: 0; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* ---------- route planner ---------- */
.route-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.map-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 2vw, 26px); }
.island { width: 100%; height: auto; max-height: 640px; display: block; overflow: visible; }
.land { fill: #ece6da; stroke: #a59d8e; stroke-width: 1; stroke-linejoin: round; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.route-back { fill: none; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 5; opacity: .55; }
.home circle { fill: var(--ink); }
.home text { fill: var(--ink); font: 800 10px var(--f-body); letter-spacing: .04em; }
.place { cursor: pointer; outline: none; }
.place .hit { fill: transparent; }
.place .pin { fill: #fff; stroke: var(--ink); stroke-width: 1.5; transition: r .2s, fill .2s; }
.place .num { font: 800 7.5px var(--f-body); fill: #fff; text-anchor: middle; pointer-events: none; }
.place .lbl { font: 600 9.5px var(--f-body); fill: var(--ink-2); paint-order: stroke; stroke: #ece6da; stroke-width: 3px; pointer-events: none; }
.place:hover .pin, .place:focus-visible .pin { r: 7; fill: var(--accent-soft); }
.place.on .pin { fill: var(--accent); stroke: var(--accent); r: 7.5; }
.place.on .lbl { fill: var(--accent); font-weight: 800; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .78rem; color: var(--muted); margin-top: 10px; }
.map-legend span { display: flex; align-items: center; gap: 8px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lg-home { background: var(--ink); }
.lg-stop { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }

.route-panel { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.rp-photo { aspect-ratio: 16 / 7; }
.rp-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 22px 14px; color: #fff; font-size: .82rem; background: linear-gradient(transparent, rgba(12,16,15,.75)); display: grid; }
.rp-cap b { font-family: var(--f-head); font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.rp-body { display: grid; gap: 18px; padding: 22px 24px 24px; }
.rp-head { display: flex; justify-content: space-between; align-items: baseline; }
.rp-head h3 { font-size: 1.8rem; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; max-height: 330px; overflow-y: auto; border-top: 1px solid var(--line); }
.stops li { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.stops li > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 800; font-size: .72rem; }
.stops .st-home > span { background: var(--ink); }
.stops b { font-weight: 700; }
.stops small { color: var(--muted); font-size: .78rem; text-align: right; }
.st-x { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background: #fff; line-height: 1; font-size: .9rem; color: var(--muted); }
.st-x:hover { border-color: #b3261e; color: #b3261e; }
.presets-wrap { display: grid; gap: 10px; }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preset { display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); transition: .2s; }
.preset:hover { border-color: var(--ink); }
.preset b { font-size: .86rem; line-height: 1.3; }
.preset small { font-size: .74rem; color: var(--muted); }
.lbl { font-weight: 700; font-size: .9rem; }
.days { display: grid; gap: 10px; }
.days-pick { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; align-items: end; }
.days-pick button { position: relative; display: grid; gap: 2px; text-align: left; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; min-width: 0; transition: .2s; }
.days-pick b { font-family: var(--f-head); font-size: 1.4rem; font-weight: 600; line-height: 1.05; }
.days-pick small { font-size: .74rem; color: var(--muted); line-height: 1.3; }
.days-pick .rec { padding-top: 22px; border-color: var(--accent); }
.days-pick .rec em { position: absolute; top: -10px; left: 12px; font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
.days-pick button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.days-pick button[aria-pressed="true"] small { color: #c9c6bf; }
.fine { font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 960px) { .route-grid { grid-template-columns: 1fr; } .route-panel { position: static; } .map-card { max-width: 520px; width: 100%; justify-self: center; } }
@media (max-width: 480px) { .presets { grid-template-columns: 1fr; } .days-pick { gap: 6px; } .days-pick button { padding: 10px 8px; } .days-pick .rec { padding-top: 18px; } .days-pick b { font-size: 1.15rem; } .days-pick .rec em { left: 50%; transform: translateX(-50%); font-size: .54rem; } .stops small { display: none; } .stops li { grid-template-columns: 28px 1fr auto; } }

/* ---------- vehicles ---------- */
.veh-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.veh-pick > .veh { cursor: pointer; position: relative; display: grid; grid-template-rows: auto 1fr; padding: 0; text-align: left; border-radius: var(--r); border: 1px solid var(--line); background: var(--paper); overflow: hidden; transition: border-color .25s, box-shadow .25s, transform .25s; min-width: 0; }
.veh-pick > .veh:hover { border-color: var(--ink); transform: translateY(-2px); }
.veh-media { position: relative; aspect-ratio: 16 / 10; width: 100%; }
.veh-studio { display: grid; place-items: end center; padding: 18px 22px 14px; background: radial-gradient(80% 60% at 50% 100%, #ffffff 0%, transparent 70%), linear-gradient(180deg, #e9e5dd 0%, #f6f3ee 100%); }
.veh-studio img { width: 100%; height: auto; max-width: 340px; max-height: 100%; object-fit: contain; filter: drop-shadow(0 14px 10px rgba(21,24,28,.28)); }
.veh-ask { display: grid; align-content: center; gap: 12px; padding: 24px 28px; background: var(--ink); color: #fff; }
.veh-ask span { font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #e8dcc5; }
.veh-ask ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.veh-ask li { font-family: var(--f-head); font-size: 1.35rem; line-height: 1.15; padding-left: 22px; position: relative; }
.veh-ask li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 1px; background: #e8dcc5; }
.veh-body { display: grid; gap: 8px; align-content: start; padding: 22px 24px 24px; }
.veh-tag { font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); }
.veh-pick b { font-family: var(--f-head); font-weight: 600; font-size: 1.85rem; line-height: 1.05; }
.veh-pick small { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.veh-sel { justify-self: start; margin-top: 6px; font-size: .8rem; font-weight: 700; padding: 7px 14px; border-radius: 6px; border: 1px solid var(--line); }
.veh-pick .rec em { position: absolute; z-index: 2; top: 14px; left: 14px; font-style: normal; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.veh-pick > .veh[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.veh-pick > .veh[aria-pressed="true"] .veh-sel { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 900px) { .veh-pick { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .veh-pick .rec { order: -1; } }

/* ---------- about ---------- */
.dark { background: var(--ink); color: #fff; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: var(--r); }
.about-copy { display: grid; gap: 22px; min-width: 0; }
.about-copy h2 { font-size: var(--step-3); }
.about-lede { color: #cfcbc3; font-size: var(--step-1); }
.about-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.about-list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.16); }
.about-list b { font-family: var(--f-head); font-weight: 600; font-size: 1.35rem; }
.about-list span { color: #a9a59d; font-size: .9rem; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-photo { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .about-list { grid-template-columns: 1fr; } }

/* ---------- booking ---------- */
.book-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.book { display: grid; gap: 22px; padding: clamp(24px, 3.5vw, 44px); border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); min-width: 0; }
.book h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); margin-top: -8px; }
.bk-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.bk-steps span { height: 3px; border-radius: 3px; background: var(--line); transition: background .4s; }
.bk-steps span.on { background: var(--accent); }
.bstep { border: 0; margin: 0; padding: 0; display: grid; gap: 20px; min-width: 0; }
.field { display: grid; gap: 10px; min-width: 0; }
.field > label, .field > .lbl { font-weight: 700; font-size: .9rem; }
.opt { font-weight: 500; color: var(--muted); font-size: .82rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.book input[type="text"], .book input[type="date"] { width: 100%; min-width: 0; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px; }
.book input:focus { outline: none; border-color: var(--accent); background: #fff; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 10px 15px; font-weight: 600; font-size: .88rem; color: var(--ink-2); transition: .2s; }
.choice button:hover { border-color: var(--ink); }
.choice button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-size: 1.2rem; }
.stepper button:hover { border-color: var(--ink); }
.stepper output { min-width: 34px; text-align: center; font-family: var(--f-head); font-weight: 600; font-size: 1.7rem; }
.bnav { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; }
.bstatus { font-size: .84rem; color: var(--muted); margin-right: auto; }

.summary { position: sticky; top: 96px; display: grid; gap: 14px; padding: 26px; border-radius: var(--r); background: var(--ink); color: #fff; min-width: 0; }
.sum-k { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: #e8dcc5; }
.summary dl { margin: 0 0 6px; display: grid; }
.summary dl div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.summary dt { color: #9e9a92; }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.sum-note { font-size: .78rem; color: #9e9a92; text-align: center; }
@media (max-width: 960px) { .book-grid { grid-template-columns: 1fr; } .summary { position: relative; top: 0; } }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-list { display: grid; border-top: 1px solid var(--ink); }
.c-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.c-row small { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.c-row b { font-family: var(--f-head); font-weight: 600; font-size: 1.55rem; overflow-wrap: anywhere; line-height: 1.15; }
.c-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .c-row { grid-template-columns: 1fr; gap: 6px; } .c-act { justify-content: flex-start; margin-top: 4px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #a9a59d; padding: 56px 0 100px; }
.foot-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.foot-brand { display: grid; line-height: 1.2; }
.foot-brand b { font-family: var(--f-head); font-weight: 600; font-size: 1.8rem; color: #fff; }
.foot-brand small { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-links a { text-decoration: none; font-weight: 600; font-size: .9rem; color: #d9d5cd; }
.foot-links a:hover { color: #fff; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; }

/* refined credit with the braintisa yellow t */
.credit { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; color: #a9a59d; font-size: .8rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.18); transition: border-color .3s, color .3s; }
.credit:hover { color: #fff; border-color: #fdc00b; }
.bt { font-weight: 800; font-size: .98rem; color: #fff; letter-spacing: .01em; }
.bt i { font-style: normal; color: #fdc00b; display: inline-block; transition: transform .4s; }
.credit:hover .bt i { transform: translateY(-3px) rotate(-8deg); }
.credit svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; transition: transform .3s; }
.credit:hover svg { transform: translate(2px, -2px); }

/* ---------- floating ---------- */
.fab-wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(31,168,85,.7); transition: transform .25s; }
.fab-wa:hover { transform: scale(1.05); }
.fab-wa svg { width: 27px; height: 27px; }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 8px; font-size: .88rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 90; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { translate: 0 18px; opacity: .001; transition: translate .9s cubic-bezier(.2,.8,.2,1), opacity .7s, border-color .3s, box-shadow .3s; }
.reveal.in { translate: 0 0; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { translate: none; opacity: 1; }
}
