/* Dallas Mobile Mechanic: glassmorphism on computers (frosted panels over red light), and a separate
   app layout on phones (top bar, bottom tabs, full-width cards). The phone layout is picked by screen
   size and touch, never by a switch. */

:root {
  --bg: #050506;
  --ink: #0b0b0d;
  --ink-2: #111114;
  --ink-3: #19191d;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-2: rgba(255, 255, 255, 0.1);
  --glass-3: rgba(255, 255, 255, 0.14);
  --edge: rgba(255, 255, 255, 0.13);
  --edge-2: rgba(255, 255, 255, 0.24);
  --red: #ff2d2d;
  --red-2: #e10600;
  --red-deep: #7a0010;
  --text: #f4f4f6;
  --dim: rgba(244, 244, 246, 0.7);
  --dim-2: rgba(244, 244, 246, 0.5);
  --volt: var(--red);
  --f-d: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-b: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-m: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
  --head-h: 76px;
  --radius: 24px;
  --blur: blur(22px) saturate(140%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

/* the two fonts live on this site (src/fonts, OFL licensed), so text settles without a trip to Google's servers;
   base.njk preloads Urbanist. One variable file covers every weight. */
@font-face { font-family: "Urbanist"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/urbanist-latin-wght.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/geist-mono-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 30px); }
body {
  min-height: 100vh;
  /* phones: the height with the address bar showing, so a screen that fits doesn't scroll */
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--f-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
/* the red light behind the glass */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), #000 url("/img/bg-desktop.webp") center / cover no-repeat;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.glass {
  background: var(--glass);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  box-shadow: var(--shadow);
}

/* ---- type ---- */
h1, h2, h3, .t1, .t2, .t3 { font-family: var(--f-d); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; color: #fff; }
.t1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.t2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.t3 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -0.01em; line-height: 1.2; }
.grad { background: linear-gradient(90deg, #ff7a7a, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker, .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.kicker { color: #ff6b6b; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--dim); max-width: 36rem; }
.muted { color: var(--dim); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; line-height: 1;
  transition: transform 0.15s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-red, .btn-volt { background: linear-gradient(180deg, #ff4a4a, #d90000); color: #fff; box-shadow: 0 6px 18px rgba(255, 45, 45, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-red:hover, .btn-volt:hover { box-shadow: 0 8px 24px rgba(255, 45, 45, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn-glass, .btn-ghost { background: var(--glass-2); border: 1px solid var(--edge-2); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover, .btn-ghost:hover { background: var(--glass-3); }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 1.06rem; }
.btn img { width: 20px; height: 20px; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* =====================================================================
   COMPUTER LAYOUT
   ===================================================================== */
/* The computer header: a floating glass pill while you scroll; back at the very top of a page the glass spreads out
   into a full-width bar flush with the top of the screen (owner, 2026-11-01; site.js sets .is-top, base.njk starts
   with it). Only the glass shape behind (::before) changes; the logo, links and buttons never move sideways, and the
   header is 90px tall either way (14px gap + 76px pill, or one 90px bar), so the page never moves. .head-ready turns
   the glide on after the first paint (no animation on load). The see-through strip around the pill lets clicks through. */
.site-head { position: sticky; top: 0; z-index: 40; height: calc(var(--head-h) + 14px); padding-top: 14px; pointer-events: none; }
.site-head::before { content: ""; position: absolute; top: 14px; bottom: 0; left: 24px; right: 24px; border-radius: calc(var(--head-h) / 2); background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: var(--shadow); }
@media (min-width: 1200px) { .site-head::before { left: calc(50% - 576px); right: calc(50% - 576px); } }
.site-head .bar { position: relative; display: flex; align-items: center; gap: 18px; max-width: 1200px; height: var(--head-h); margin: 0 auto; padding: 0 36px; pointer-events: auto; }
.site-head.head-ready::before { transition: top 0.42s var(--ease), left 0.42s var(--ease), right 0.42s var(--ease), border-radius 0.42s var(--ease), border-color 0.42s, box-shadow 0.42s; }
.site-head.head-ready .bar { transition: transform 0.42s var(--ease); }
.site-head.is-top::before { top: 0; left: 0; right: 0; border-radius: 0; border-color: transparent transparent var(--edge); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.site-head.is-top .bar { transform: translateY(-7px); } /* centred in the taller bar */
/* the logo and the name keep their size at every width (they used to get squeezed under the links) */
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { flex: none; width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 4px 14px rgba(255, 45, 45, 0.14); }
.brand b { font-weight: 800; font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.1; white-space: nowrap; }
.brand b span { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.site-nav { display: flex; gap: 2px; margin-left: auto; }
.site-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; color: var(--dim); white-space: nowrap; transition: color 0.15s, background 0.15s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; background: var(--glass-2); }
.head-acts { display: flex; flex: none; gap: 8px; align-items: center; }
.head-acts .btn { min-height: 46px; }
/* Call, Chat and My bookings: round icon buttons; only Call shows its words, and only at full width (owner, 2026-11-01) */
.head-ic { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 46px; height: 46px; padding: 0; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--edge-2); color: #fff; font-weight: 700; white-space: nowrap; cursor: pointer; transition: background 0.15s, border-color 0.15s; }
.head-ic:hover { background: var(--glass-3); }
.head-ic[aria-current="page"] { border-color: rgba(255, 70, 70, 0.6); }
.head-ic .ti { flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.head-ic span { display: none; }
@media (min-width: 1200px) {
  .head-call { width: auto; padding: 0 16px 0 14px; }
  .head-call span { display: inline; }
}
.tab-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff3b3b; color: #fff; font: 800 11px/18px var(--f-b); text-align: center; border: 2px solid #0a0a0c; box-sizing: content-box; }
.head-ic .tab-badge { position: absolute; top: -6px; right: -6px; }
/* medium windows: the four page links fold into this Menu button */
.head-menu { position: relative; display: none; }
.head-menu summary { list-style: none; }
.head-menu summary::-webkit-details-marker { display: none; }
.head-menu[open] summary { background: var(--glass-3); border-color: rgba(255, 70, 70, 0.6); }
.head-menu-list { position: absolute; top: calc(100% + 10px); right: 0; z-index: 2; display: grid; gap: 2px; min-width: 210px; padding: 8px; border-radius: 18px; background: rgba(14, 14, 17, 0.97); }
.head-menu-list a { padding: 11px 14px; border-radius: 12px; font-weight: 600; color: var(--dim); }
.head-menu-list a:hover, .head-menu-list a[aria-current="page"] { color: #fff; background: var(--glass-2); }
@media (max-width: 959px) {
  .site-nav { display: none; }
  .head-menu { display: block; }
  .head-acts { margin-left: auto; }
}

main { display: block; }
section { position: relative; }
.sec { padding: clamp(4rem, 8vw, 6.5rem) 0 0; }
.sec-head { max-width: 46rem; margin-bottom: 2.4rem; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .t2 { margin: 0.6rem 0 0.9rem; }

/* hero */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.85fr; gap: 34px; align-items: center; }
.hero h1 { margin: 1rem 0 1.2rem; }
.hero .lead { margin-bottom: 1.8rem; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.6rem; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--edge); font-size: 0.92rem; font-weight: 600; color: var(--dim); }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 5px rgba(255, 45, 45, 0.55); }
.showcase { position: relative; padding: 46px 30px 34px; }
.showcase img.car { width: 100%; max-height: 280px; object-fit: contain; filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.55)); }
.float { position: absolute; padding: 12px 16px; border-radius: 16px; font-weight: 800; font-size: 1.02rem; line-height: 1.2; }
.float small { display: block; font-weight: 500; font-size: 0.8rem; color: var(--dim); }
.float.a { top: -18px; left: -14px; }
.float.b { bottom: -20px; right: -12px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.stat { padding: 22px; }
.stat b { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 4px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { position: relative; padding: 28px; transition: background 0.2s, transform 0.2s var(--ease), border-color 0.2s; }
a.card:hover { background: var(--glass-2); border-color: var(--edge-2); transform: translateY(-3px); }
.card .ico { width: 64px; height: 64px; margin-bottom: 16px; }
.card h3, .card h2 { font-size: 1.32rem; margin-bottom: 6px; }
.card p { color: var(--dim); }
.card .more { display: inline-flex; gap: 6px; margin-top: 14px; font-weight: 700; color: #ff6b6b; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { padding: 30px; }
.step b { display: block; font-size: 3rem; font-weight: 800; line-height: 1; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, 0.25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3, .step h2 { font-size: 1.3rem; margin: 12px 0 6px; }
.step p { color: var(--dim); }

/* split blocks: text + picture */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; }
.split .pic { overflow: hidden; padding: 0; }
.split .pic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
/* About: the right column stacks quick-fact tiles (2x2) over the photo */
.split-side { display: flex; flex-direction: column; gap: 14px; }
.split-side .stats { grid-template-columns: 1fr 1fr; margin-top: 0; }
.split-side .stat b { font-size: 1.5rem; }
.prose { color: var(--dim); }
.prose p, .prose ul, .prose ol { margin-bottom: 1.05rem; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: 0.4rem; }
.prose strong { color: #fff; }
.prose a { color: #ff7a7a; font-weight: 600; border-bottom: 1px solid rgba(255, 122, 122, 0.35); }
.prose a:hover { border-color: #ff7a7a; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 2.2rem 0 0.8rem; }
.prose h3 { font-size: 1.3rem; margin: 1.6rem 0 0.5rem; }
.prose > :first-child { margin-top: 0; }

/* places */
.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.place { padding: 24px; }
.place h3 { font-size: 1.15rem; margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 11px; border-radius: 999px; background: var(--glass); border: 1px solid var(--edge); font-size: 0.86rem; color: var(--dim); }

/* owner */
.owner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 16px; }
.owner .photo { min-height: 380px; display: grid; place-items: center; text-align: center; padding: 30px; }
.owner .photo span { font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim-2); }
.owner .photo.has-img { padding: 0; overflow: hidden; }
.owner .photo.has-img img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; object-position: 58% 18%; }
.owner .info { padding: clamp(28px, 4vw, 46px); }
.owner h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin: 0.7rem 0 0.3rem; }
.owner .co { font-weight: 800; color: #ff6b6b; font-size: 1.15rem; }
.owner .info p { color: var(--dim); margin: 1rem 0 1.4rem; max-width: 34rem; }
.owner .coney { width: min(320px, 80%); height: auto; margin: 6px 0 22px; }
/* Drayland's Facebook + Instagram (partials/owner-social.njk): round glass buttons with the white marks; on hover
   they frost over (lighter grey glass, brighter rim, a slight lift), no brand colours (owner, 2026-11-01). On his
   profile card they sit in the top right corner */
.soc { display: flex; gap: 8px; flex: none; }
.soc a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(0, 0, 0, 0.28); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.15s var(--ease); }
.soc svg { width: 19px; height: 19px; }
.soc a:hover, .soc a:focus-visible { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.42); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25); transform: translateY(-1px); }
.soc a:active { background: rgba(0, 0, 0, 0.45); transform: scale(0.94); }
.owner .info { position: relative; }
.owner-soc { position: absolute; top: clamp(20px, 3vw, 34px); right: clamp(20px, 3vw, 34px); }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq details { padding: 0; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1.08rem; color: #fff; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: #ff6b6b; transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 24px 22px; color: var(--dim); }

/* call-to-action band */
.cta-band { margin-top: clamp(4rem, 8vw, 6.5rem); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center; overflow: hidden; position: relative; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 45, 45, 0.26), transparent); pointer-events: none; }
.cta-band .ctas { justify-content: flex-end; position: relative; }

/* page hero (inner pages) */
.page-hero { padding: clamp(3rem, 6vw, 4.5rem) 0 0; }
.page-hero .t1 { font-size: clamp(2.3rem, 5vw, 4rem); margin: 0.8rem 0 1rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.9rem; color: var(--dim-2); }
.crumbs a { color: var(--dim); }
.crumbs a:hover { color: #fff; }
.page-pic { margin-top: 30px; padding: 0; overflow: hidden; }
.page-pic img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 26px; align-items: start; margin-top: 30px; }
.article .body { padding: clamp(24px, 4vw, 44px); }
.aside { position: sticky; top: calc(var(--head-h) + 34px); display: grid; gap: 14px; }
.aside .box { padding: 24px; }
.aside .box h3 { font-size: 1.15rem; margin-bottom: 8px; }
.aside .box p { color: var(--dim); font-size: 0.97rem; margin-bottom: 14px; }
.aside .box .btn { width: 100%; }
.aside ul { list-style: none; display: grid; gap: 2px; }
.aside li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--dim); font-weight: 600; font-size: 0.97rem; }
.aside li a:hover, .aside li a[aria-current="page"] { background: var(--glass-2); color: #fff; }
.aside li img { width: 28px; height: 28px; }

/* blog list */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card .in { padding: 22px 24px 26px; }
.post-card time { font-size: 0.85rem; color: var(--dim-2); }
.post-card h3, .post-card h2 { font-size: 1.25rem; margin: 6px 0 8px; line-height: 1.25; }
.post-card p { color: var(--dim); font-size: 0.97rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; align-items: stretch; }
/* left column: the map grows so its bottom lines up with the message box */
.contact-side { display: flex; flex-direction: column; }
.contact-list { padding: 28px; display: grid; gap: 18px; }
.contact-list a, .contact-list div.row { display: flex; gap: 14px; align-items: flex-start; }
.contact-list img { width: 26px; height: 26px; margin-top: 2px; opacity: 0.9; }
.contact-list b { display: block; color: #fff; }
.contact-list span { color: var(--dim); }
.map { margin-top: 16px; overflow: hidden; padding: 0; flex: 1; display: flex; min-height: 280px; }
.map iframe { display: block; width: 100%; height: auto; min-height: 280px; flex: 1; border: 0; filter: grayscale(0.2) invert(0.9) hue-rotate(180deg); }

/* forms (contact + sign-in) */
.form { padding: clamp(24px, 4vw, 36px); }
.form h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form > p { color: var(--dim); margin-bottom: 18px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ff { display: grid; gap: 6px; }
.ff.span-2 { grid-column: span 2; }
.ff label { font-size: 0.86rem; font-weight: 700; color: var(--dim); letter-spacing: 0.02em; }
.ff input, .ff textarea, .ff select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--edge-2); background: rgba(0, 0, 0, 0.35); color: #fff; font-size: 1rem; }
.ff textarea { min-height: 140px; resize: vertical; }
.ff input:focus, .ff textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255, 45, 45, 0.25); }
.ff .err { min-height: 1em; font-size: 0.85rem; color: #ff8a8a; }
.ff.is-error input, .ff.is-error textarea { border-color: #ff6b6b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .ts { margin: 16px 0 6px; min-height: 65px; }
.form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 10px; }
.form-status { font-weight: 600; }
.form-status.is-error { color: #ff8a8a; }
.form-status.is-ok { color: #8affb1; }
.form-done { text-align: center; padding: clamp(28px, 5vw, 46px); }
/* the art keeps its own shape (they're taller than wide; they used to be squashed into a wide box) */
.form-done img { width: min(190px, 60%); height: auto; margin: 0 auto 12px; }

/* portal */
.portal { max-width: 900px; margin: 30px auto 0; }
.signin { max-width: 520px; margin: 0 auto; }
.bookings { display: grid; gap: 14px; }
.bk { padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; align-items: start; }
.bk h3 { font-size: 1.2rem; }
.bk .when { color: #fff; font-weight: 700; }
.bk .meta { color: var(--dim); font-size: 0.95rem; }
.bk .acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.bk .acts .btn { min-height: 42px; padding: 0 18px; font-size: 0.94rem; }
.pill { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; background: var(--glass-2); border: 1px solid var(--edge); color: var(--dim); white-space: nowrap; }
.pill.new { color: #ffd166; border-color: rgba(255, 209, 102, 0.4); }
.pill.confirmed { color: #7cd4ff; border-color: rgba(124, 212, 255, 0.4); }
.pill.done { color: #8affb1; border-color: rgba(138, 255, 177, 0.4); }
.pill.declined, .pill.cancelled { color: #ff8a8a; border-color: rgba(255, 138, 138, 0.4); }
.portal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.empty { text-align: center; padding: 40px 24px; }
.empty img { width: min(190px, 60%); height: auto; margin: 0 auto 10px; }

/* footer */
/* footer (owner, 2026-11-01): three contact cards on top, then one roomy glass panel; no socials here */
.site-foot { margin-top: clamp(4rem, 8vw, 6.5rem); margin-bottom: 24px; }
.site-foot a { color: var(--dim); font-weight: 500; transition: color 0.15s, border-color 0.15s, transform 0.18s var(--ease); }
.site-foot a:hover { color: #fff; }
.site-foot .btn { color: #fff; }
.foot-cards { display: grid; grid-template-columns: 0.85fr 1.2fr 1.2fr; gap: 16px; margin-bottom: 16px; }
.site-foot .foot-card { display: flex; align-items: center; gap: 16px; padding: 26px 24px; color: var(--text); }
.site-foot .foot-card:hover { border-color: rgba(255, 70, 70, 0.5); transform: translateY(-2px); }
.site-foot .foot-card.is-red { background: linear-gradient(135deg, rgba(255, 45, 45, 0.34), rgba(140, 0, 18, 0.22)); border-color: rgba(255, 80, 80, 0.35); }
.foot-badge { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 45, 45, 0.14); border: 1px solid rgba(255, 80, 80, 0.32); color: #ff7a7a; }
.foot-ic { display: block; flex: none; width: 24px; height: 24px; }
i.foot-ic { background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.foot-card span:not(.foot-badge) { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim-2); }
.foot-card b { display: block; margin-top: 4px; font-size: 1.06rem; font-weight: 800; line-height: 1.3; color: #fff; white-space: nowrap; }
.foot-main { padding: 46px 44px 30px; }
.foot-cols { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 48px; }
.foot-brand img { width: 110px; height: auto; margin-bottom: 20px; }
.foot-brand p { color: var(--dim); font-size: 1.02rem; line-height: 1.65; margin-bottom: 24px; }
.site-foot .foot-h { font-family: var(--f-b); font-weight: 700; line-height: 1.65; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim-2); margin-bottom: 16px; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }
.foot-links.one { grid-template-columns: 1fr; }
.site-foot .foot-links a { display: block; padding: 8px 0; font-size: 1.02rem; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--edge); margin-top: 34px; padding-top: 22px; font-size: 0.9rem; color: var(--dim-2); }
/* medium windows: Email gets its own row and the brand lies sideways, so the footer doesn't grow very tall */
@media (max-width: 1100px) {
  .foot-cards { grid-template-columns: 1fr 1fr; }
  .site-foot .foot-card:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .foot-cols { grid-template-columns: 1.4fr 1fr; gap: 32px 40px; }
  .foot-brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; }
  .foot-brand img { width: 90px; margin: 0; }
  .foot-brand p { flex: 1 1 300px; margin: 0; }
}

/* the app pieces stay hidden on computers */
.app-top, .app-tabs, .more-sheet { display: none; }

/* computers: Ask a Mechanic as a chat bubble in the bottom right; it opens the chat in a small window (owner, 2026-11-01) */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 45; }
.chat-fab-btn { position: relative; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 0; background: linear-gradient(180deg, #ff4a4a, #d90000); color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 4px 14px rgba(255, 45, 45, 0.3); cursor: pointer; transition: transform 0.15s; }
.chat-fab-btn:hover { transform: translateY(-2px); }
.chat-fab-btn .ti { width: 28px; height: 28px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.chat-fab-btn .tab-badge { position: absolute; top: -2px; right: -2px; }
.chat-fab-btn[aria-expanded="true"] { transform: scale(0.92); }
.chat-fab-panel { position: absolute; right: 0; bottom: 76px; display: flex; flex-direction: column; width: 390px; height: min(640px, calc(100vh - 130px)); border-radius: 22px; overflow: hidden; background: rgba(12, 12, 14, 0.96); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6); transform-origin: bottom right; animation: fab-in 0.18s var(--ease); }
.chat-fab-panel[hidden] { display: none; }
@keyframes fab-in { from { opacity: 0; transform: translateY(10px) scale(0.97); } to { opacity: 1; transform: none; } }
.chat-fab-top { flex: none; display: flex; align-items: center; gap: 6px; padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--edge); }
.chat-fab-top b { margin-right: auto; font-size: 1rem; color: #fff; }
.chat-fab-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--glass-2); color: var(--dim); cursor: pointer; }
.chat-fab-ic:hover { color: #fff; background: var(--glass-3); }
.chat-fab-panel iframe { flex: 1; width: 100%; border: 0; background: #0b0b0d; }

@media (max-width: 1080px) {
  .site-nav a { padding: 10px 11px; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .owner, .contact-grid, .article, .cta-band { grid-template-columns: 1fr; }
  .cards, .posts, .places { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .cta-band .ctas { justify-content: flex-start; }
}
/* the home page's car on computers: beside the words down to 861px wide, then under them at a sensible size
   (owner, 2026-11-01: it used to stretch across the whole page and get huge). Phones keep their own layout below. */
@media (min-width: 861px) and (max-width: 980px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 26px; }
}
@media (min-width: 761px) and (max-width: 860px) {
  .hero .showcase { justify-self: center; width: 100%; max-width: 540px; margin-top: 10px; }
  .hero .showcase img.car { max-height: 190px; }
}

/* =====================================================================
   PHONE APP LAYOUT
   (small screens, and touch phones even when the browser asks for the desktop site)
   ===================================================================== */
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-device-width: 820px) {
  :root { --head-h: 58px; --tabs-h: 66px; --radius: 22px; }
  html { scroll-padding-top: calc(var(--head-h) + 16px); }
  body { font-size: 16px; padding: calc(var(--head-h) + env(safe-area-inset-top)) 0 calc(var(--tabs-h) + env(safe-area-inset-bottom) + 12px); -webkit-tap-highlight-color: transparent; overscroll-behavior-y: none; }
  body::before { background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url("/img/bg-mobile.webp"); }
  .wrap { padding: 0 16px; }

  /* computer pieces off (phones have the Chat tab instead of the chat bubble) */
  .site-head, .site-foot, .crumbs, .aside .nav-box, .chat-fab { display: none !important; }

  /* top bar */
  .app-top {
    display: flex; align-items: center; gap: 10px;
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    height: calc(var(--head-h) + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 12px 0 12px;
    background: rgba(8, 8, 10, 0.72);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--edge);
  }
  .app-top .brand img { width: 38px; height: 38px; border-radius: 10px; }
  .app-top .brand b { font-size: 1rem; }
  .app-top .brand b span { font-size: 0.62rem; }
  .app-top .icon-btn { margin-left: auto; }
  .icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--glass-2); border: 1px solid var(--edge); }
  .icon-btn img { width: 22px; height: 22px; }
  .icon-btn.red { background: linear-gradient(180deg, #ff4a4a, #d90000); border-color: transparent; box-shadow: 0 4px 12px rgba(255, 45, 45, 0.26); }

  /* bottom tabs: a plain, native-style bar. Slim, icons only (the names stay for screen readers), grey
     icons with the open tab in red, the middle action as a red tile inside the bar, and only the phone's
     own safe area added underneath. */
  .app-tabs {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    height: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px));
    padding: 0 8px env(safe-area-inset-bottom, 0px);
    background: rgba(10, 10, 12, 0.94);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .app-tabs a { position: relative; display: grid; place-items: center; height: var(--tabs-h); color: rgba(244, 244, 246, 0.48); -webkit-tap-highlight-color: transparent; }
  .app-tabs a > span:not(.disc) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .app-tabs .ti { display: block; width: 25px; height: 25px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; transition: transform 0.12s; }
  .app-tabs a:active .ti { transform: scale(0.9); }
  .app-tabs a.on { color: #ff3b3b; }
  .app-tabs .tab-center .disc { display: grid; place-items: center; width: 50px; height: 36px; border-radius: 12px; background: linear-gradient(180deg, #ff4a4a, #d90000); color: #fff; box-shadow: 0 3px 10px rgba(255, 45, 45, 0.25); }
  .app-tabs .tab-center .ti { width: 21px; height: 21px; }
  .app-tabs .tab-badge { position: absolute; top: calc(50% - 21px); left: calc(50% + 5px); }
  /* the keyboard now pushes the page up, so the bar steps aside while typing instead of riding on the keyboard */
  body:has(:is(input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), textarea):focus) .app-tabs { display: none; }

  /* "More" sheet */
  .more-sheet[open] { display: block; }
  .more-sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 86vh; margin: 0; padding: 10px 16px calc(24px + env(safe-area-inset-bottom)); border: 0; border-radius: 26px 26px 0 0; background: rgba(16, 16, 19, 0.96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); color: var(--text); border-top: 1px solid var(--edge-2); animation: sheet-up 0.32s var(--ease); }
  .more-sheet::backdrop { background: rgba(0, 0, 0, 0.55); }
  .more-sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: var(--edge-2); margin: 4px auto 14px; }
  .more-sheet h2 { font-size: 1.1rem; margin: 0 4px 10px; }
  .more-sheet nav { display: grid; gap: 8px; }
  .more-sheet nav a { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--edge); font-weight: 700; font-size: 1.02rem; }
  .more-sheet nav a img { width: 24px; height: 24px; }
  .more-sheet nav a::after { content: "›"; margin-left: auto; font-size: 1.5rem; color: var(--dim-2); }
  .more-sheet .small { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 18px; font-size: 0.86rem; color: var(--dim-2); }

  /* content as app screens */
  .sec { padding-top: 34px; }
  .sec-head { margin-bottom: 18px; }
  .sec-head .t2 { margin: 0.4rem 0 0.5rem; }
  .t1 { font-size: clamp(2.2rem, 10vw, 2.8rem); }
  .t2 { font-size: clamp(1.65rem, 7.4vw, 2.1rem); }
  .lead { font-size: 1.02rem; }
  .hero { padding-top: 22px; }
  .hero-grid { gap: 10px; }
  .hero h1 { margin: 0.6rem 0 0.8rem; }
  .hero .lead { margin-bottom: 1.2rem; }
  .hero .showcase { order: -1; padding: 26px 14px 18px; }
  .hero .showcase img.car { max-height: 130px; }
  .float { font-size: 0.88rem; padding: 9px 12px; border-radius: 13px; }
  .float.a { top: -10px; left: 6px; }
  .float.b { bottom: -12px; right: 6px; }
  .ctas { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .ctas .btn { width: 100%; min-height: 54px; }
  .chips { margin-top: 1rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .stat { padding: 16px; }
  .stat b { font-size: 1.3rem; }

  /* services become an app list */
  .cards, .posts, .places, .steps { grid-template-columns: 1fr; gap: 10px; }
  .cards .card { display: grid; grid-template-columns: 56px 1fr; gap: 0 14px; align-items: center; padding: 14px 16px; }
  .cards .card .ico { width: 56px; height: 56px; margin: 0; grid-row: span 2; }
  .cards .card h3, .cards .card h2 { font-size: 1.08rem; margin: 0; }
  .cards .card p { font-size: 0.92rem; line-height: 1.45; }
  .cards .card .more { display: none; }
  .steps .step { display: grid; grid-template-columns: 52px 1fr; gap: 0 12px; padding: 16px 18px; }
  .steps .step b { font-size: 2.2rem; grid-row: span 2; }
  .steps .step h3, .steps .step h2 { margin: 0 0 2px; font-size: 1.1rem; }
  .step p, .place p { font-size: 0.94rem; }
  .split { gap: 12px; }
  .split-side { gap: 10px; }
  .split-side .stats { margin-top: 0; }
  .split-side .stat b { font-size: 1.3rem; }
  .owner .photo { min-height: 240px; }
  .owner .photo.has-img img { min-height: 0; aspect-ratio: 4 / 3; }
  .owner .info { padding: 24px; }
  .owner-soc { top: 16px; right: 16px; }
  .owner-soc a { width: 38px; height: 38px; }
  .faq summary { padding: 17px 50px 17px 18px; font-size: 1rem; }
  .faq .ans { padding: 0 18px 18px; font-size: 0.96rem; }
  .cta-band { margin-top: 34px; padding: 26px 22px; }
  .page-hero { padding-top: 20px; }
  .page-hero .t1 { font-size: clamp(2rem, 9vw, 2.6rem); margin: 0.5rem 0 0.7rem; }
  .page-pic { margin-top: 18px; }
  .page-pic img { aspect-ratio: 16 / 10; }
  .article { margin-top: 14px; gap: 12px; }
  .article .body { padding: 22px 20px; }
  .prose { font-size: 1rem; }
  .post-card { display: grid; grid-template-columns: 110px 1fr; }
  .post-card img { height: 100%; aspect-ratio: auto; }
  .post-card .in { padding: 14px 16px; }
  .post-card h3, .post-card h2 { font-size: 1.02rem; }
  .post-card p { display: none; }
  .fgrid { grid-template-columns: 1fr; }
  .ff.span-2 { grid-column: auto; }
  .form .actions .btn { width: 100%; }
  .bk { grid-template-columns: 1fr; padding: 18px; }
  .bk .acts .btn { flex: 1; }
  .map, .map iframe { min-height: 220px; }
  .map iframe { height: 220px; }
  /* contact: the message form first, then the map, then phone / email / address (owner, 2026-11-01) */
  .contact-grid { display: flex; flex-direction: column; gap: 16px; }
  .contact-side { display: contents; }
  #contact-form { order: 1; }
  .contact-side .map { order: 2; margin-top: 0; flex: none; }
  .contact-side .contact-list { order: 3; }

  /* app screens slide in */
  @keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
}

/* app-style page changes on browsers that support them */
@view-transition { navigation: auto; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-device-width: 820px) {
  ::view-transition-old(root) { animation: 0.22s var(--ease) both vt-out; }
  ::view-transition-new(root) { animation: 0.28s var(--ease) both vt-in; }
  @keyframes vt-out { to { opacity: 0; transform: translateX(-6%); } }
  @keyframes vt-in { from { opacity: 0; transform: translateX(8%); } }
  ::view-transition-group(app-top), ::view-transition-group(app-tabs) { animation: none; }
  .app-top { view-transition-name: app-top; }
  .app-tabs { view-transition-name: app-tabs; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  @view-transition { navigation: none; }
}

/* =====================================================================
   PHONE APP: STATES, SCREENS AND SHEETS
   Guests and customers share one bottom bar (Home, Services, Call, Bookings, Account); the admin gets
   Dashboard, Bookings, New booking, Site, Settings. html[data-who] (set from localStorage before paint,
   checked by site.js) picks which one shows. .app-only / .desk-only split a page between the two layouts.
   ===================================================================== */
.app-only { display: none; }
.app-sheet { display: none; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-device-width: 820px) {
  :root { --tabs-h: 54px; }
  body { padding-bottom: calc(var(--tabs-h) + env(safe-area-inset-bottom, 0px) + 16px); }
  .desk-only { display: none !important; }
  .app-only { display: block; }

  /* who's here: one bar or the other, and the matching top-right button */
  .app-tabs.for-admin, .top-pill.for-admin { display: none; }
  html[data-who="admin"] .app-tabs.for-public, html[data-who="admin"] .top-pill.for-public { display: none; }
  html[data-who="admin"] .app-tabs.for-admin { display: grid; }
  html[data-who="admin"] .top-pill.for-admin { display: inline-flex; }

  /* top bar: brand left, one pill right */
  .top-pill { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; font-weight: 800; font-size: 0.95rem; color: #fff; background: linear-gradient(180deg, #ff4a4a, #d90000); box-shadow: 0 4px 12px rgba(255, 45, 45, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  .top-pill img { width: 18px; height: 18px; }
  /* Book: the same red tile as Call in the bottom bar, calendar icon only */
  .top-pill.top-tile { width: 50px; height: 36px; padding: 0; gap: 0; justify-content: center; border-radius: 12px; box-shadow: 0 3px 10px rgba(255, 45, 45, 0.25); }
  .top-tile .ti { display: block; width: 21px; height: 21px; background: #fff; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
  .top-tile:active { transform: scale(0.95); }
  .top-pill.top-admin { background: var(--glass-2); border: 1px solid var(--edge-2); box-shadow: none; }
  .top-pill.top-admin img { width: 22px; height: 22px; border-radius: 6px; }

  /* back to the Account screen (Contact, About, Blog, Privacy, Terms), like the admin's "‹ Settings" */
  .app-back-wrap { padding-top: 14px; }
  .app-back-wrap + .page-hero { padding-top: 8px; }
  .app-back { display: inline-block; padding: 4px 0; color: #ff7a7a; font-weight: 700; font-size: 1rem; }
  .app-back:active { opacity: 0.7; }
  /* a page whose big heading is computer-only keeps a little room between its label and the text under it */
  .page-hero .t1.desk-only + .lead { margin-top: 10px; }

  /* a signed-in customer: a small dot on Account */
  html[data-who="customer"] .tab-account::before { content: ""; position: absolute; top: calc(50% - 15px); left: calc(50% + 7px); width: 8px; height: 8px; border-radius: 50%; background: #ff3b3b; border: 2px solid #0a0a0c; }

  /* ---- app screens ---- */
  .app-screen { padding: 18px 16px 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .app-screen > * { min-width: 0; }
  .app-title h1 { font-size: 2rem; letter-spacing: -0.02em; }
  .app-title p { color: var(--dim); margin-top: 4px; }
  .ah-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
  .ah-head h2 { font-size: 1.22rem; letter-spacing: -0.01em; }
  .ah-head a { color: #ff7a7a; font-weight: 700; font-size: 0.92rem; }
  .ah-next { padding: 16px 18px; border-radius: 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; }
  .ah-next[hidden] { display: none; }
  .ah-next .label { grid-column: 1 / -1; }
  .ah-next b { font-size: 1.08rem; }
  .ah-next .muted { font-size: 0.92rem; }

  /* services: a bookable list */
  .svc-list { display: grid; gap: 10px; }
  /* the Services screen: two cards to a row, tap one for its sheet (Book lives there) */
  .svc-row { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; width: 100%; height: 100%; padding: 14px; border-radius: 20px; text-align: left; color: var(--text); }
  .svc-row img { width: 46px; height: 46px; }
  .svc-row .svc-txt { display: block; min-width: 0; }
  .svc-row b { display: block; font-size: 0.98rem; line-height: 1.25; color: #fff; }
  .svc-row small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; color: var(--dim); font-size: 0.82rem; line-height: 1.35; }
  .svc-row:active { transform: scale(0.98); }

  /* bookings + account lists */
  .menu-list { display: grid; border-radius: 22px; overflow: hidden; }
  .menu-list a, .menu-list button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 16px; border-bottom: 1px solid var(--edge); font-weight: 700; font-size: 1rem; color: var(--text); text-align: left; }
  .menu-list > :last-child { border-bottom: 0; }
  .menu-list img { width: 24px; height: 24px; opacity: 0.9; }
  .menu-list a::after, .menu-list button.go::after { content: "\203A"; margin-left: auto; font-size: 1.5rem; color: var(--dim-2); font-weight: 400; }
  .menu-list .danger { color: #ff8a8a; }
}

/* bottom sheets (phone app), centred cards on computers */
.app-sheet[open] { display: block; }
.app-sheet { width: min(560px, calc(100vw - 2rem)); max-height: 86vh; margin: auto; padding: 0; border: 1px solid var(--edge-2); border-radius: 26px; background: rgba(14, 14, 17, 0.97); color: var(--text); overflow: hidden; -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.app-sheet::backdrop { background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet-in { display: flex; flex-direction: column; max-height: 86vh; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.sheet-top h2 { font-size: 1.35rem; line-height: 1.15; }
.sheet-x { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--edge); font-size: 1.4rem; line-height: 1; color: #fff; }
.sheet-body { overflow-y: auto; overscroll-behavior: contain; padding: 0 20px 18px; color: var(--dim); }
.sheet-body p { margin-bottom: 0.8rem; }
.sheet-body h3 { font-size: 1rem; color: #fff; margin: 1rem 0 0.3rem; }
.sheet-acts { display: grid; gap: 10px; padding: 14px 20px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--edge); }
.sheet-acts .btn { width: 100%; min-height: 52px; }
.sheet-grab { display: none; }
.sheet-hero { display: flex; align-items: center; gap: 14px; }
.sheet-hero img { width: 60px; height: 60px; flex: none; }
.kv { display: grid; gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--edge); margin: 6px 0 4px; }
.kv div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--edge); }
.kv div:last-child { border-bottom: 0; }
.kv span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim-2); padding-top: 2px; }
.kv b { color: #fff; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-device-width: 820px) {
  .app-sheet { width: 100%; max-width: none; max-height: 90vh; margin: auto 0 0; border-radius: 26px 26px 0 0; border-width: 1px 0 0; animation: sheet-up 0.32s var(--ease); }
  .sheet-in { max-height: 90vh; }
  .sheet-grab { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--edge-2); margin: 10px auto 0; }
}

/* compact booking rows (My bookings, phone and computer) */
.bk-list { display: grid; gap: 10px; }
.bk-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; width: 100%; padding: 14px 16px; border-radius: 20px; text-align: left; color: var(--text); transition: background 0.15s; }
.bk-item:hover { background: var(--glass-2); }
.bk-item b { font-size: 1.04rem; }
.bk-item .when { color: var(--dim); font-size: 0.92rem; }
.bk-item .pill { grid-row: span 2; }
.acct-card { display: grid; grid-template-columns: 58px 1fr; gap: 14px; align-items: center; padding: 18px; border-radius: 22px; }
.acct-card .av { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(180deg, #ff4a4a, #b00000); color: #fff; font-weight: 800; font-size: 1.5rem; }
.acct-card b { display: block; font-size: 1.1rem; overflow-wrap: anywhere; }
.acct-card span { color: var(--dim); font-size: 0.9rem; }
.screen-narrow { max-width: 620px; margin: 0 auto; display: grid; gap: 18px; padding-top: 28px; }
.menu-list { display: grid; border-radius: 22px; overflow: hidden; }
.menu-list a, .menu-list button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; padding: 0 18px; border-bottom: 1px solid var(--edge); font-weight: 700; color: var(--text); text-align: left; }
.menu-list > :last-child { border-bottom: 0; }
.menu-list img { width: 24px; height: 24px; opacity: 0.9; }
.menu-list a::after, .menu-list button.go::after { content: "\203A"; margin-left: auto; font-size: 1.5rem; color: var(--dim-2); font-weight: 400; }
.menu-list a:hover, .menu-list button:hover { background: var(--glass-2); }
.menu-list .danger { color: #ff8a8a; }
.group-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim-2); margin: 4px 6px -8px; }

/* bookable services (admin -> Services): category groups, loading placeholders */
.svc-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.svc-group + .svc-group { margin-top: 14px; }
.svc-group .group-label { grid-column: 1 / -1; margin: 4px 6px 0; }
.svc-row.is-skel { pointer-events: none; animation: skel 1.2s ease-in-out infinite alternate; }
.svc-row.is-skel { height: 150px; }
@keyframes skel { from { opacity: 0.35; } to { opacity: 0.7; } }
.svc-none { padding: 18px 6px; }
.sheet-lead { font-weight: 700; color: var(--text); }
.sheet-acts [hidden] { display: none; }

/* anything marked hidden stays hidden, whatever display a class gives it */
[hidden] { display: none !important; }

/* =====================================================================
   PHONE APP: HOME (the red card layout the owner picked)
   ===================================================================== */
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-device-width: 820px) {
  /* shared pieces */
  .ti { display: block; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
  .chev { flex: none; margin-left: auto; font-style: normal; font-size: 1.5rem; line-height: 1; color: rgba(244, 244, 246, 0.35); }
  .h-owner { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); color: var(--text); }
  .h-owner img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 58% 18%; }
  .h-owner b { display: block; color: #fff; }
  .h-owner small { display: block; color: var(--dim); font-size: 0.84rem; line-height: 1.35; }
  /* Home: the owner row with his Facebook + Instagram at the right end (name and photo still open About) */
  .h-owner.has-soc { padding: 10px 10px 10px 14px; }
  .h-owner-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; }
  .h-owner .soc a { width: 38px; height: 38px; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
  .h-owner .soc svg { width: 18px; height: 18px; }

  /* one bold red card, category tiles, a step line */
  .h2-card { position: relative; overflow: hidden; padding: 22px 20px 20px; border-radius: 24px; background: linear-gradient(150deg, #ff3b30 0%, #c4000c 55%, #6e0010 100%); box-shadow: 0 10px 28px rgba(110, 0, 10, 0.35); }
  .h2-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); }
  .h2-kick { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); }
  .h2-card h1 { max-width: 12ch; margin: 8px 0 6px; font-size: 1.95rem; line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
  .h2-sub { max-width: 28ch; color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; line-height: 1.45; }
  .h2-acts { position: relative; z-index: 1; display: flex; gap: 10px; margin-top: 18px; }
  .h2-book { flex: 1; display: grid; place-items: center; height: 46px; border-radius: 14px; background: #fff; color: #c4000c; font-weight: 800; }
  .h2-call { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, 0.6); color: #fff; font-weight: 800; }
  .h2-call .ti { width: 18px; height: 18px; }
  .h2-book:active, .h2-call:active { transform: scale(0.97); }
  .h2-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .h2-cat { display: flex; flex-direction: column; gap: 3px; min-height: 116px; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.09); color: var(--text); }
  .h2-cat img { width: 40px; height: 40px; margin-bottom: 8px; }
  .h2-cat b { color: #fff; font-size: 0.96rem; line-height: 1.2; }
  .h2-cat small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--dim); font-size: 0.8rem; line-height: 1.35; }
  .h2-cat.is-skel { animation: skel 1.2s ease-in-out infinite alternate; }
  .h2-steps { list-style: none; counter-reset: st; display: grid; }
  .h2-steps li { position: relative; counter-increment: st; padding: 0 0 18px 44px; }
  .h2-steps li::before { content: counter(st); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 45, 45, 0.14); border: 1px solid rgba(255, 45, 45, 0.45); color: #ff8080; font-weight: 800; font-size: 0.88rem; }
  .h2-steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: rgba(255, 255, 255, 0.14); }
  .h2-steps b { display: block; color: #fff; font-size: 0.98rem; line-height: 30px; }
  .h2-steps span { color: var(--dim); font-size: 0.88rem; }


}

/* =====================================================================
   PHONE APP: BOOKINGS SIGN-IN (plain and left-aligned; the owner picked it from three, 2026-11-01)
   ===================================================================== */
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-device-width: 820px) {
  #my-signin { display: grid; gap: 16px; }
  #my-signin .ff input { min-height: 52px; border-radius: 14px; }
  #my-signin .ts { margin: 10px 0 0; min-height: 65px; }
  #my-signin .actions { display: grid; gap: 8px; margin-top: 6px; }
  #my-signin .form-status:empty, #my-signin .err:empty { display: none; }
  .si-btn { display: grid; place-items: center; width: 100%; height: 50px; border-radius: 14px; background: linear-gradient(180deg, #ff4a4a, #d90000); color: #fff; font-weight: 800; font-size: 1rem; box-shadow: 0 4px 14px rgba(255, 45, 45, 0.2); }
  .si-btn:disabled { opacity: 0.6; }
  .si-btn:active { transform: scale(0.98); }
  .si-link { justify-self: start; padding: 8px 0; color: #ff7a7a; font-weight: 700; }
  .si-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 45, 45, 0.12); border: 1px solid rgba(255, 45, 45, 0.4); color: #ff6b6b; }
  .si-ic .ti { width: 24px; height: 24px; }
  .si-ic.is-ok { background: rgba(48, 209, 88, 0.12); border-color: rgba(48, 209, 88, 0.45); color: #5ee38a; }
  .si-new-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 45, 45, 0.12); color: #ff6b6b; }
  .si-new-ic .ti { width: 22px; height: 22px; }

  /* the form and the "check your email" screen */
  .si1 { display: grid; gap: 8px; }
  .si1 h2 { margin-top: 8px; font-size: 1.4rem; }
  .si1 > p { color: var(--dim); font-size: 0.95rem; line-height: 1.5; }
  .si1 b { color: #fff; overflow-wrap: anywhere; }
  .si1 .si-btn { margin-top: 6px; }
}

/* =====================================================================
   PHONE APP: ACCOUNT, SIGNED OUT (a "Sign in" row and a sheet; the owner picked it from three, 2026-11-01)
   The email step stays out of sight until "Sign in" is tapped.
   ===================================================================== */
@media (max-width: 760px), (hover: none) and (pointer: coarse) and (max-device-width: 820px) {
  #acct-guest { display: grid; gap: 14px; }
  #acct-guest .ff input { min-height: 52px; border-radius: 14px; }
  #acct-guest .ts { margin: 10px 0 0; min-height: 65px; }
  #acct-guest .actions { display: grid; gap: 8px; margin-top: 6px; }
  #acct-guest .form-status:empty, #acct-guest .err:empty { display: none; }

  /* the "Sign in" row, then the sheet */
  .acct-row { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; border-radius: 22px; text-align: left; color: var(--text); }
  .acct-row:active { transform: scale(0.99); }
  .acct-av { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--edge-2); color: rgba(244, 244, 246, 0.75); }
  .acct-av .ti { width: 28px; height: 28px; }
  .acct-row-txt { min-width: 0; }
  .acct-row-txt b { display: block; color: #fff; font-size: 1.12rem; }
  .acct-row-txt small { display: block; color: var(--dim); font-size: 0.88rem; line-height: 1.35; }
  .acct-sheet-body { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
}
