/* ==========================================================================
   Palampur Mobile Care — design system
   Precision-workshop aesthetic: white paper, fine rules, confident type,
   one accent used sparingly. See docs/DESIGN-SYSTEM.md.
   ========================================================================== */

@font-face { font-family: 'Manrope'; font-weight: 600; font-display: swap; src: url('/fonts/manrope-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 700; font-display: swap; src: url('/fonts/manrope-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 800; font-display: swap; src: url('/fonts/manrope-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }

:root {
  /* Colour — "Graphite & Copper": workshop ink, solder copper, Dhauladhar night */
  --bg: #FFFFFF;
  --text: #14171C;          /* graphite ink */
  --muted: #5B616E;         /* 6.2:1 on white */
  --accent: #C24A16;        /* solder copper — 4.9:1 with white text */
  --accent-hover: #9C3A10;
  --accent-soft: #FDF0E8;
  --accent-line: #F3C9B1;
  --ink: #0F1A2A;           /* Dhauladhar night — footer, dark surfaces */
  --ink-2: #1A2A40;
  --ink-text: #C9D2DE;
  --soft: #F6F5F1;          /* warm stone */
  --border: #E8E6E1;
  --border-strong: #D3CFC6;
  --success: #157347;  --success-soft: #E9F6EF;
  --warning: #9A5B00;  --warning-soft: #FDF4E3;
  --error: #B42318;    --error-soft: #FDECEA;
  --focus: #C24A16;

  /* Type */
  --font-display: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1.0625rem; /* 17 */
  --fs-lg: 1.1875rem;   /* 19 */
  --fs-h4: 1.25rem;
  --fs-h3: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  --fs-h2: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.375rem, 1.6rem + 3.4vw, 4.25rem);

  /* Space (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1240px;
  --header-h: 76px;

  /* Shape */
  --r-sm: 8px; --r: 12px; --r-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 26, 42, 0.06);
  --shadow: 0 1px 2px rgba(15, 26, 42, 0.05), 0 12px 32px -14px rgba(15, 26, 42, 0.22);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--fs-base)/1.6 var(--font-body);
  font-feature-settings: 'cv11', 'ss01';
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); margin: 0 0 var(--s4); letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); font-weight: 700; }
h4 { font-size: var(--fs-h4); font-weight: 700; }
p { margin: 0 0 var(--s4); }
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--fs-h3); margin-top: var(--s7); }
.prose h3 { font-size: var(--fs-h4); margin-top: var(--s6); }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 var(--s4); }
.prose li { margin-bottom: var(--s2); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xs { font-size: var(--fs-xs); }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { flex: none; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: var(--s4); top: -100px; z-index: 100; background: var(--text); color: #fff; padding: var(--s3) var(--s4); border-radius: var(--r-sm); }
.skip-link:focus { top: var(--s3); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-soft { background: var(--soft); }
.section-rule { border-top: 1px solid var(--border); }
.stack > * + * { margin-top: var(--s4); }
.row { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
.row-between { justify-content: space-between; }

/* Eyebrow / section labels: small, spaced, with an index tick */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s2); font: 600 var(--fs-xs)/1 var(--font-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--s4); }
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.section-head { display: grid; gap: var(--s4); margin-bottom: var(--s7); }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } .section-head p { justify-self: end; max-width: 46ch; margin: 0; } }
.section-head h2 { margin: 0; max-width: 18ch; }
.lede { font-size: var(--fs-lg); color: var(--muted); max-width: 56ch; }

/* ─── Buttons ─── */
.btn {
  --btn-bg: var(--text); --btn-fg: #fff; --btn-bd: var(--text);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: var(--tap); padding: 0 var(--s5); border-radius: var(--r-sm);
  border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
  font: 600 var(--fs-base)/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--btn-fg); }
.btn:active { transform: translateY(1px); }
.btn-primary { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.btn-primary:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }
.btn-dark:hover { --btn-bg: #2a3633; }
.btn-secondary { --btn-bg: #fff; --btn-fg: var(--text); --btn-bd: var(--border-strong); }
.btn-secondary:hover { --btn-bd: var(--text); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: transparent; padding: 0 var(--s3); }
.btn-ghost:hover { --btn-bg: var(--soft); }
.btn-danger { --btn-bg: #fff; --btn-fg: var(--error); --btn-bd: #E9B7B2; }
.btn-danger:hover { --btn-bg: var(--error-soft); }
.btn-sm { min-height: 40px; padding: 0 var(--s4); font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: 0.5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform 160ms var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ─── Forms ─── */
.field { display: grid; gap: var(--s2); margin-bottom: var(--s5); }
.field > label, .label { font-weight: 600; font-size: var(--fs-base); }
.field .hint { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.optional { font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }
.input, .select, .textarea {
  width: 100%; min-height: var(--tap); padding: 10px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: #fff; color: var(--text); font: 400 var(--fs-base)/1.4 var(--font-body);
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364716D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--muted); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(194, 74, 22, 0.18); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--error); }
.field-error { display: flex; gap: var(--s2); align-items: flex-start; color: var(--error); font-size: var(--fs-sm); font-weight: 500; margin: 0; }
.check { display: flex; gap: var(--s3); align-items: flex-start; min-height: 32px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; }

/* Choice tiles (radio cards) */
.choices { display: grid; gap: var(--s3); grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; gap: var(--s3); min-height: 56px; padding: var(--s3) var(--s4); border: 1px solid var(--border-strong); border-radius: var(--r-sm); background: #fff; font-weight: 500; transition: border-color 140ms, background-color 140ms; }
.choice input:hover + span { border-color: var(--muted); }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.choice input:disabled + span { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }
.choices-time { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
.choices-time .choice span { justify-content: center; min-height: 48px; font-variant-numeric: tabular-nums; }

/* ─── Alerts & badges ─── */
.alert { display: flex; gap: var(--s3); align-items: flex-start; padding: var(--s4); border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--soft); margin-bottom: var(--s5); }
.alert .icon { margin-top: 2px; }
.alert p:last-child { margin-bottom: 0; }
.alert-success { background: var(--success-soft); border-color: #BFE3CF; color: #0F5132; }
.alert-warning { background: var(--warning-soft); border-color: #F1D4A8; color: #6B3D04; }
.alert-error { background: var(--error-soft); border-color: #F3C2BD; color: #7A1A12; }
.alert-info { background: var(--accent-soft); border-color: #BFDDD8; color: #064A42; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font: 600 var(--fs-xs)/1.5 var(--font-body); border: 1px solid var(--border); background: #fff; color: var(--text); white-space: nowrap; }
.badge .icon { width: 14px; height: 14px; }
.badge-success { color: var(--success); background: var(--success-soft); border-color: #BFE3CF; }
.badge-warning { color: var(--warning); background: var(--warning-soft); border-color: #F1D4A8; }
.badge-error { color: var(--error); background: var(--error-soft); border-color: #F3C2BD; }
.badge-accent { color: var(--accent-hover); background: var(--accent-soft); border-color: #BFDDD8; }
.badge-neutral { color: var(--muted); background: var(--soft); }
.tag-demo { display: inline-flex; align-items: center; gap: 4px; font: 600 11px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: var(--warning); border: 1px dashed currentColor; border-radius: 4px; padding: 3px 6px; vertical-align: middle; }

/* ─── Announcement, top bar & header ─── */
.announce { background: var(--accent); color: #fff; font-size: var(--fs-sm); }
.announce .container { display: flex; gap: var(--s3); align-items: center; justify-content: center; min-height: 40px; text-align: center; padding-block: 6px; }
.announce a { color: #fff; font-weight: 600; }
.announce-holiday { background: var(--ink); }

.topbar { background: var(--ink); color: var(--ink-text); font-size: var(--fs-xs); letter-spacing: 0.01em; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 38px; }
.topbar ul { display: flex; align-items: center; gap: var(--s5); list-style: none; margin: 0; padding: 0; }
.topbar li { display: inline-flex; align-items: center; gap: 6px; }
.topbar .icon { width: 14px; height: 14px; color: #F08A5D; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #F7B48F; }
.topbar .dot-open { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 3px rgba(61, 220, 151, 0.18); }
.topbar .dot-closed { width: 7px; height: 7px; border-radius: 50%; background: #8A94A6; }
@media (max-width: 760px) { .topbar .tb-secondary { display: none; } .topbar .container { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--border); transition: box-shadow 200ms var(--ease); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(14px); } }
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(15, 26, 42, 0.35); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s5); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--text); justify-self: start; }
.brand:hover { color: var(--text); }
.brand-mark { width: 40px; height: 40px; flex: none; display: block; }
.brand-mark img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand-text { display: grid; line-height: 1.1; }
.brand-text strong { font: 800 1.125rem/1.1 var(--font-display); letter-spacing: -0.02em; white-space: nowrap; }
.brand-text small { font: 500 11px/1.4 var(--font-body); color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 2px; }

/* Desktop nav: plain, evenly spaced links; active page gets a copper bar on the header's bottom edge */
.main-nav { display: flex; justify-content: center; align-self: stretch; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; gap: var(--s1); }
.main-nav > ul li { display: flex; }
.main-nav > ul a { position: relative; display: inline-flex; align-items: center; padding: 0 14px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); white-space: nowrap; transition: color 160ms var(--ease); }
.main-nav > ul a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 200ms var(--ease); }
.main-nav > ul a:hover { color: var(--text); }
.main-nav > ul a:hover::after { transform: scaleX(1); background: var(--border-strong); }
.main-nav > ul a[aria-current='page'] { color: var(--text); font-weight: 600; }
.main-nav > ul a[aria-current='page']::after { transform: scaleX(1); background: var(--accent); }
.main-nav .nav-num, .main-nav .menu-search, .main-nav .menu-foot, .main-nav .menu-head { display: none; }
@media (max-width: 1280px) and (min-width: 1081px) { .main-nav > ul li:first-child { display: none; } .main-nav > ul a { padding: 0 11px; } .main-nav > ul a::after { left: 11px; right: 11px; } }

.header-actions { display: flex; align-items: center; gap: var(--s2); justify-self: end; }
.search-pill { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--text); cursor: pointer; transition: border-color 160ms var(--ease), background-color 160ms var(--ease); }
.search-pill:hover { border-color: var(--text); }
.search-pill .pill-label, .search-pill kbd { display: none; }
.btn-book { border-radius: 999px; min-height: 44px; padding: 0 18px 0 20px; font-size: var(--fs-sm); }
.btn-book .icon { transition: transform 160ms var(--ease); }
.btn-book:hover .icon { transform: translateX(3px); }
.icon-btn { display: none; place-items: center; width: 46px; height: 46px; border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--text); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }

.header-search { border-top: 1px solid var(--border); background: #fff; }
.header-search[hidden] { display: none; }
.header-search form { display: flex; gap: var(--s2); padding: var(--s4) 0; }
.header-search .input { flex: 1; border-radius: 999px; padding-left: 20px; }
.header-search .btn { border-radius: 999px; }

/* Tablet & mobile: full-screen sheet menu */
@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .header-inner { display: flex; gap: var(--s3); }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .icon-btn { display: inline-grid; }
  .search-pill, .header-actions .btn-book { display: none; }
  .main-nav { display: none; align-self: auto; position: fixed; inset: calc(var(--header-top, 0px) + var(--header-h)) 0 0 0; z-index: 39; background: #fff; overflow-y: auto; flex-direction: column; justify-content: flex-start; padding: var(--s4) var(--gutter) calc(var(--s6) + env(safe-area-inset-bottom)); }
  .main-nav.is-open { display: flex; animation: sheet-in 220ms var(--ease); }
  .no-js .main-nav { display: flex; position: static; padding: 0 0 var(--s4); }
  .main-nav .menu-search { display: flex; gap: var(--s2); margin-bottom: var(--s4); }
  .main-nav .menu-search .input { border-radius: 999px; padding-left: 18px; }
  .main-nav > ul { flex-direction: column; background: none; border: 0; padding: 0; border-radius: 0; gap: 0; }
  .main-nav > ul li { display: block; border-bottom: 1px solid var(--border); }
  .main-nav > ul li:first-child { display: block; }
  .main-nav > ul a { width: 100%; min-height: 64px; padding: 0 4px; border-radius: 0; color: var(--text); font: 700 1.375rem/1.2 var(--font-display); letter-spacing: -0.02em; gap: var(--s4); }
  .main-nav > ul a::before { display: none; }
  .main-nav > ul a:hover { background: none; color: var(--accent); }
  .main-nav > ul a[aria-current='page'] { background: none; box-shadow: none; color: var(--accent); }
  .main-nav .nav-num { display: inline-block; font: 600 var(--fs-xs)/1 var(--font-body); color: var(--muted); width: 22px; font-variant-numeric: tabular-nums; }
  .main-nav > ul a[aria-current='page'] .nav-num { color: var(--accent); }
  .main-nav > ul a::after, .main-nav > ul a:hover::after, .main-nav > ul a[aria-current='page']::after { content: ''; position: static; margin-left: auto; width: 9px; height: 9px; background: none; border-radius: 0; border-top: 2px solid var(--border-strong); border-right: 2px solid var(--border-strong); transform: rotate(45deg); }
  .main-nav .menu-foot { display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; margin-top: var(--s6); }
  .main-nav .menu-foot .btn { border-radius: 999px; }
  .main-nav .menu-foot .menu-contact { grid-column: 1 / -1; color: var(--muted); font-size: var(--fs-sm); text-align: center; margin: var(--s2) 0 0; }
  body.menu-open { overflow: hidden; }
}
@keyframes sheet-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* Mobile action bar (big, thumb-reachable actions for every visitor) */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--border); box-shadow: 0 -10px 30px -20px rgba(15, 26, 42, 0.4); }
  .action-bar .btn { border-radius: 999px; min-height: 50px; }
  body.has-action-bar { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.menu-open .action-bar { display: none; }
}

/* ─── Hero ─── */
.hero { padding: clamp(36px, 6vw, 96px) 0 clamp(48px, 7vw, 104px); position: relative; overflow: hidden; isolation: isolate; }
.hero::before { /* precision grid fading in from the right */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px; background-position: -1px -1px; opacity: 0.7;
  mask-image: radial-gradient(ellipse 60% 80% at 85% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 40%, #000 0%, transparent 70%);
}
.hero::after { /* copper glow behind the finder */
  content: ''; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: 10%; border-radius: 50%;
  background: radial-gradient(circle, rgba(194, 74, 22, 0.10), transparent 65%); pointer-events: none;
}
.hero-grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.12fr 0.88fr; gap: var(--s8); } }
.hero-kicker { display: inline-flex; align-items: center; gap: var(--s2); padding: 6px 14px 6px 8px; border: 1px solid var(--border); border-radius: 999px; background: #fff; font: 600 var(--fs-xs)/1.3 var(--font-body); color: var(--text); margin-bottom: var(--s5); box-shadow: var(--shadow-sm); }
.hero-kicker .k-tag { background: var(--accent); color: #fff; border-radius: 999px; padding: 3px 9px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.hero h1 { max-width: 14ch; margin-bottom: var(--s5); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-bottom: var(--s6); max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero-actions .btn { border-radius: 999px; min-height: 52px; padding: 0 26px; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); margin: var(--s6) 0 0; padding: 0; font-size: var(--fs-sm); color: var(--muted); }
.hero-meta li { display: inline-flex; gap: var(--s2); align-items: center; }
.hero-meta .icon { color: var(--accent); }
@media (max-width: 560px) {
  .hero h1 { font-size: clamp(2.125rem, 9vw, 2.625rem); max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-meta { flex-direction: column; gap: var(--s2); }
}

/* Spec-sheet panel: the compatibility finder in the hero */
.spec-panel { background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.spec-panel-head { display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); background: var(--ink); color: #fff; }
.spec-panel-head strong { font: 700 var(--fs-sm)/1.2 var(--font-display); letter-spacing: 0.01em; display: inline-flex; gap: var(--s2); align-items: center; }
.spec-panel-head strong .icon { color: #F08A5D; }
.spec-panel-head .xs { color: var(--ink-text); font-variant-numeric: tabular-nums; }
.spec-panel-body { padding: var(--s5); }
.spec-panel-body .field { margin-bottom: var(--s4); }
.spec-panel-body .btn { border-radius: 999px; }
.spec-rows { margin: var(--s5) 0 0; border-top: 1px dashed var(--border-strong); }
.spec-rows div { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: var(--fs-sm); }
.spec-rows dt { color: var(--muted); }
.spec-rows dd { margin: 0; font-weight: 500; }
.brand-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s4); }
.brand-chips a { font-size: var(--fs-xs); font-weight: 600; text-decoration: none; color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; background: var(--soft); }
.brand-chips a:hover { border-color: var(--accent); color: var(--accent); background: #fff; }

/* ─── Cards & grids ─── */
.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--r); padding: var(--s5); }
.card-soft { background: var(--soft); border-color: transparent; }
.card h3 { font-size: var(--fs-h4); }

/* Service index: rows instead of bubbly cards */
.service-index { border-top: 1px solid var(--text); }
.service-row { display: grid; grid-template-columns: 48px 1fr auto; gap: var(--s4); align-items: center; padding: var(--s5) 0; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); transition: background-color 160ms var(--ease); }
.service-row:hover { color: var(--text); background: linear-gradient(90deg, var(--soft), transparent 80%); }
.service-row .svc-icon { width: 48px; height: 48px; border-radius: 10px; border: 1px solid var(--border); display: grid; place-items: center; color: var(--accent); background: #fff; }
.service-row h3 { margin: 0 0 4px; font-size: var(--fs-h4); }
.service-row p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.service-row .svc-price { text-align: right; font-weight: 600; white-space: nowrap; }
.service-row .svc-price small { display: block; font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
@media (max-width: 640px) {
  .service-row { grid-template-columns: 40px 1fr; }
  .service-row .svc-icon { width: 40px; height: 40px; }
  .service-row .svc-price { grid-column: 2; text-align: left; }
}

/* Product cards */
.product-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: #fff; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.product-card:hover { color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow); }
.product-media { aspect-ratio: 1 / 1; background: var(--soft); display: grid; place-items: center; border-bottom: 1px solid var(--border); overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.placeholder-media { display: grid; place-items: center; gap: var(--s2); color: #9AA6A2; text-align: center; font-size: var(--fs-xs); letter-spacing: 0.04em; text-transform: uppercase; }
.placeholder-media .icon { width: 36px; height: 36px; margin: 0 auto; stroke-width: 1.25; }
.product-body { padding: var(--s4); display: grid; gap: 6px; flex: 1; align-content: start; }
.product-body .brand-line { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.product-body h3 { font: 600 var(--fs-base)/1.35 var(--font-body); letter-spacing: 0; margin: 0; }
.price { font: 700 var(--fs-lg)/1.2 var(--font-display); font-variant-numeric: tabular-nums; }
.price-was { font-size: var(--fs-sm); color: var(--muted); text-decoration: line-through; margin-left: var(--s2); font-weight: 400; font-family: var(--font-body); }
.stock { display: inline-flex; gap: 6px; align-items: center; font-size: var(--fs-sm); }
.stock .icon { width: 16px; height: 16px; }
.stock-in { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--muted); }

/* Process steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--border-strong); }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding: var(--s5) var(--s5) var(--s5) 0; border-bottom: 1px solid var(--border); position: relative; }
@media (min-width: 860px) { .steps li { border-bottom: 0; border-right: 1px solid var(--border); padding: var(--s6) var(--s5); } .steps li:first-child { padding-left: 0; } .steps li:last-child { border-right: 0; } }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font: 800 var(--fs-h3)/1 var(--font-display); color: var(--accent); margin-bottom: var(--s4); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: var(--fs-h4); margin-bottom: var(--s2); }
.steps p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }

/* Spec list (definition grid) */
.spec-list { margin: 0; display: grid; border-top: 1px solid var(--border); }
.spec-list > div { display: grid; grid-template-columns: minmax(120px, 34%) 1fr; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--border); }
.spec-list dt { color: var(--muted); font-size: var(--fs-sm); }
.spec-list dd { margin: 0; font-weight: 500; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table th { font-weight: 600; color: var(--muted); background: var(--soft); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.table tbody tr:last-child td { border-bottom: 0; }
.table .r { text-align: right; }
.table-stack td::before { display: none; }
@media (max-width: 700px) {
  .table-stack thead { display: none; }
  .table-stack tr { display: block; padding: var(--s3) var(--s4); border-bottom: 1px solid var(--border); }
  .table-stack td { display: grid; grid-template-columns: 40% 1fr; gap: var(--s3); padding: 6px 0; border: 0; }
  .table-stack td::before { display: block; content: attr(data-label); color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; }
  .table-stack .r { text-align: left; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: var(--fs-sm); color: var(--muted); padding-top: var(--s5); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: var(--s2); }
.breadcrumbs li + li::before { content: '/'; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }

.page-head { padding: var(--s6) 0 var(--s7); border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); margin-bottom: var(--s4); max-width: 22ch; }
.page-head .lede { margin: 0; }

/* Layout with sidebar filters */
.with-sidebar { display: grid; gap: var(--s6); }
@media (min-width: 960px) { .with-sidebar { grid-template-columns: 260px 1fr; gap: var(--s7); } }
.filter-group { border-top: 1px solid var(--border); padding: var(--s4) 0; }
.filter-group h2 { font: 600 var(--fs-xs)/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 var(--s3); }
.filter-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.filter-links a { display: flex; justify-content: space-between; align-items: center; min-height: 40px; padding: 0 var(--s3); border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-size: var(--fs-sm); }
.filter-links a:hover { background: var(--soft); }
.filter-links a[aria-current='true'] { background: var(--accent-soft); color: var(--accent-hover); font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; justify-content: space-between; margin-bottom: var(--s5); }

/* Pagination */
.pagination { display: flex; gap: var(--s2); justify-content: center; align-items: center; margin-top: var(--s7); flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 var(--s3); border: 1px solid var(--border); border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-variant-numeric: tabular-nums; }
.pagination [aria-current='page'] { background: var(--text); color: #fff; border-color: var(--text); }

/* Product detail */
.pdp { display: grid; gap: var(--s7); padding: var(--s6) 0 var(--s8); }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: var(--s8); } }
.gallery-main { aspect-ratio: 1 / 1; background: var(--soft); border-radius: var(--r-lg); border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; gap: var(--s3); margin-top: var(--s3); flex-wrap: wrap; }
.gallery-thumbs button { width: 76px; height: 76px; padding: 0; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--soft); cursor: pointer; overflow: hidden; }
.gallery-thumbs button[aria-pressed='true'] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; padding: 6px; mix-blend-mode: multiply; }
.pdp h1 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); }
.pdp .price { font-size: var(--fs-h3); }
.buy-box { border: 1px solid var(--border); border-radius: var(--r); padding: var(--s5); display: grid; gap: var(--s4); margin: var(--s5) 0; }

/* Compatibility status */
.compat-legend { display: flex; flex-wrap: wrap; gap: var(--s3); font-size: var(--fs-sm); }
.part-group { margin-bottom: var(--s7); }
.part-group h3 { font-size: var(--fs-h4); display: flex; justify-content: space-between; align-items: baseline; padding-bottom: var(--s3); border-bottom: 1px solid var(--text); margin-bottom: 0; }
.part-row { display: grid; gap: var(--s3); padding: var(--s4) 0; border-bottom: 1px solid var(--border); }
@media (min-width: 760px) { .part-row { grid-template-columns: 1.4fr 1fr auto; align-items: center; } }
.part-row h4 { font: 600 var(--fs-base)/1.35 var(--font-body); letter-spacing: 0; margin: 0 0 4px; }
.part-meta { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); font-size: var(--fs-sm); color: var(--muted); }
.part-meta code, code.pn { font: 500 var(--fs-xs)/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--soft); border: 1px solid var(--border); padding: 1px 6px; border-radius: 4px; color: var(--text); }
.part-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }

/* Booking */
.booking-layout { display: grid; gap: var(--s7); padding: var(--s6) 0 var(--s8); }
@media (min-width: 1000px) { .booking-layout { grid-template-columns: 1fr 340px; gap: var(--s8); align-items: start; } }
.form-step { border-top: 1px solid var(--border); padding: var(--s6) 0; }
.form-step:first-of-type { border-top: 0; padding-top: 0; }
.form-step-head { display: flex; gap: var(--s4); align-items: baseline; margin-bottom: var(--s5); }
.step-num { font: 800 var(--fs-sm)/1 var(--font-display); color: #fff; background: var(--accent); width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; font-variant-numeric: tabular-nums; }
.form-step-head h2 { font-size: var(--fs-h4); margin: 0; letter-spacing: -0.01em; }
.form-step-head p { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-sm); }
.summary-card { position: sticky; top: 96px; border: 1px solid var(--border-strong); border-radius: var(--r); overflow: hidden; }
.summary-card h2 { font-size: var(--fs-base); padding: var(--s4) var(--s5); background: var(--soft); border-bottom: 1px solid var(--border); margin: 0; }
.summary-card .spec-list { padding: 0 var(--s5); border: 0; }
.summary-card .spec-list > div:last-child { border-bottom: 0; }
.summary-note { padding: var(--s4) var(--s5); border-top: 1px solid var(--border); font-size: var(--fs-sm); color: var(--muted); }
.reference-box { border: 2px dashed var(--accent); border-radius: var(--r); padding: var(--s5); text-align: center; background: var(--accent-soft); margin: var(--s5) 0; }
.reference-box .ref { font: 800 clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem)/1.1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; color: var(--accent-hover); word-break: break-all; }

/* Timeline (tracking) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 var(--s5) var(--s6); }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent); background: #fff; }
.timeline li.is-current .dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.timeline strong { display: block; }
.timeline time { font-size: var(--fs-sm); color: var(--muted); }
.progress-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: var(--s4) 0 var(--s2); }
.progress-track span { height: 6px; border-radius: 3px; background: var(--border); }
.progress-track span.on { background: var(--accent); }

/* Area / contact */
.area-block { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .area-block { grid-template-columns: 1fr 1fr; align-items: start; } }
.area-list { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.area-list li { border: 1px solid var(--border-strong); border-radius: 999px; padding: 6px 14px; font-size: var(--fs-sm); background: #fff; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); }
.contact-lines li { display: grid; grid-template-columns: 24px 1fr; gap: var(--s3); align-items: start; }
.contact-lines .icon { color: var(--accent); margin-top: 3px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.hours-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.cta-band { background: var(--text); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; gap: var(--s5); }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.cta-band h2 { color: #fff; margin: 0 0 var(--s3); }
.cta-band p { color: #C5CFCC; margin: 0; }
.cta-band .row { justify-content: flex-start; }
@media (min-width: 900px) { .cta-band .row { justify-content: flex-end; } }
.cta-band .btn-secondary { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: #5B6965; }
.cta-band .btn-secondary:hover { --btn-bd: #fff; }

.empty { text-align: center; padding: var(--s8) var(--s5); border: 1px dashed var(--border-strong); border-radius: var(--r); color: var(--muted); }
.empty .icon { margin: 0 auto var(--s4); width: 32px; height: 32px; color: var(--border-strong); }
.empty h2, .empty h3 { color: var(--text); font-size: var(--fs-h4); }

.promo { border: 1px solid var(--border-strong); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s4); align-items: center; justify-content: space-between; }
.promo h2 { font-size: var(--fs-h4); margin: 0 0 4px; }
.promo p { margin: 0; color: var(--muted); }

/* ─── Footer ─── */
.site-footer { margin-top: var(--s9); background: var(--ink); color: var(--ink-text); font-size: var(--fs-sm); position: relative; overflow: hidden; isolation: isolate; }
.site-footer a { color: #fff; }
.footer-cta { display: grid; gap: var(--s5); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1.4fr auto; align-items: end; } }
.footer-cta h2 { color: #fff; font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.25rem); margin: 0; max-width: 18ch; }
.footer-cta h2 span { color: #F08A5D; }
.footer-cta p { margin: var(--s3) 0 0; max-width: 48ch; }
.footer-cta .row .btn { border-radius: 999px; min-height: 52px; padding: 0 24px; }
.footer-cta .btn-outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, 0.3); }
.footer-cta .btn-outline-light:hover { --btn-bd: #fff; }
.footer-top { display: grid; gap: var(--s7) var(--s6); padding: var(--s8) 0 var(--s7); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.footer-about { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-about { grid-column: auto; } }
.footer-about .brand { color: #fff; margin-bottom: var(--s4); }
.footer-about .brand-text small { color: var(--ink-text); }
.footer-about p { max-width: 40ch; }
.footer-top h2 { font: 600 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.16em; color: #F08A5D; margin-bottom: var(--s4); }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-top ul a { color: var(--ink-text); text-decoration: none; display: inline-flex; min-height: 34px; align-items: center; transition: color 140ms var(--ease); }
.footer-top ul a:hover { color: #fff; }
.site-footer .contact-lines { gap: var(--s3); margin-top: var(--s5); }
.site-footer .contact-lines .icon { color: #F08A5D; }
.site-footer .contact-lines a { color: #fff; }
.site-footer .tag-demo { color: #F7C873; }
.site-footer .hours-table td { border-color: rgba(255, 255, 255, 0.1); }
.site-footer .area-list li { background: transparent; border-color: rgba(255, 255, 255, 0.2); color: #fff; padding: 4px 12px; font-size: var(--fs-xs); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: var(--s5) 0; display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; align-items: center; color: #8E9AAD; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); list-style: none; padding: 0; margin: 0; }
.footer-bottom a { color: #8E9AAD; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
.footer-wordmark { font: 800 clamp(4rem, 15vw, 13rem)/0.8 var(--font-display); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09); white-space: nowrap; user-select: none; margin: 0 0 -0.12em; text-align: center; overflow: hidden; }
@media (max-width: 760px) { .footer-top { padding-top: var(--s7); } }

/* Search results */
.result-group { margin-bottom: var(--s7); }
.result-group h2 { font-size: var(--fs-h4); padding-bottom: var(--s3); border-bottom: 1px solid var(--text); }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-list li { border-bottom: 1px solid var(--border); }
.result-list a { display: flex; justify-content: space-between; gap: var(--s4); align-items: center; padding: var(--s4) 0; text-decoration: none; color: var(--text); }
.result-list a:hover strong { color: var(--accent); }

/* Autocomplete */
.ac { position: relative; }
.ac-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-sm); box-shadow: var(--shadow); list-style: none; margin: 0; padding: 4px; max-height: 320px; overflow-y: auto; }
.ac-list[hidden] { display: none; }
.ac-list li { padding: 10px 12px; border-radius: 4px; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s3); }
.ac-list li[aria-selected='true'], .ac-list li:hover { background: var(--accent-soft); }
.ac-list li small { color: var(--muted); }

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

@media print {
  .site-header, .site-footer, .announce, .no-print { display: none !important; }
  body { font-size: 12pt; }
}
.mt { margin-top: var(--s5); }
.h4 { font-size: var(--fs-h4); }

/* Nav label variants: short on desktop pill, long in the mobile sheet */
.main-nav .nav-long { display: none; }
@media (max-width: 1080px) { .main-nav .nav-short { display: none; } .main-nav .nav-long { display: inline; } }
.footer-credit a { color: #fff !important; font-weight: 600; text-decoration: underline; text-decoration-color: #F08A5D; text-underline-offset: 3px; }
.footer-credit { width: 100%; padding-top: var(--s3); border-top: 1px dashed rgba(255, 255, 255, 0.08); text-align: center; }
@media (min-width: 900px) { .footer-credit { width: auto; padding-top: 0; border-top: 0; text-align: right; } }
.site-footer .brand-mark { border-radius: 11px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }
.site-footer .muted { color: #9AA6B8; }
.site-footer .footer-top ul.area-list { display: flex; flex-wrap: wrap; gap: 6px; }
/* backdrop-filter would make the header the containing block of the fixed menu sheet */
body.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
.action-bar .btn { white-space: nowrap; padding: 0 14px; }
.main-nav .menu-search .btn { border-radius: 999px; width: 48px; padding: 0; }
.main-nav .menu-foot .btn { white-space: nowrap; }
@media (max-width: 480px) { .main-nav .menu-foot { grid-template-columns: 1fr; } }

/* ─── Photography ─── */
.photo-credit { position: absolute; right: 10px; bottom: 10px; font: 500 11px/1 var(--font-body); color: #fff; background: rgba(15, 26, 42, 0.55); padding: 5px 8px; border-radius: 999px; backdrop-filter: blur(4px); }
.hero-visual { position: relative; display: grid; gap: var(--s4); }
.hero-photo { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-badge { position: absolute; left: 12px; top: 12px; display: inline-flex; gap: var(--s2); align-items: center; background: #fff; color: var(--text); border-radius: 999px; padding: 8px 14px 8px 10px; font-size: var(--fs-xs); box-shadow: var(--shadow); }
.hero-badge .icon { color: var(--accent); }
@media (min-width: 1000px) {
  .hero-visual { display: block; padding: 0 0 0 0; }
  .hero-photo { aspect-ratio: 4 / 5; width: 82%; margin-left: auto; }
  .hero-visual .spec-panel { position: relative; margin: -46% 0 0 0; width: 78%; z-index: 2; }
}

.svc-thumb { position: relative; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: var(--soft); flex: none; }
.svc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease); }
.service-row:hover .svc-thumb img { transform: scale(1.06); }
.svc-thumb-icon { position: absolute; right: 4px; bottom: 4px; width: 26px; height: 26px; border-radius: 8px; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.service-row { grid-template-columns: 72px 1fr auto; gap: var(--s5); }
@media (max-width: 640px) { .service-row { grid-template-columns: 64px 1fr; } .svc-thumb { width: 64px; height: 64px; } }

.cat-tiles { display: grid; gap: var(--s3); grid-template-columns: repeat(2, 1fr); margin-bottom: var(--s6); }
@media (min-width: 900px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); gap: var(--s4); } }
.cat-tile { position: relative; display: flex; align-items: flex-end; min-height: 120px; border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--text); background: #fff; border: 1px solid var(--border); isolation: isolate; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.cat-tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow); color: var(--text); }
.cat-tile.has-photo { min-height: 220px; color: #fff; border: 0; }
.cat-tile.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 400ms var(--ease); }
.cat-tile.has-photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(15, 26, 42, 0.85)); }
.cat-tile.has-photo:hover { color: #fff; }
.cat-tile.has-photo:hover img { transform: scale(1.05); }
.cat-tile-body { display: grid; gap: 4px; padding: var(--s4); width: 100%; }
.cat-tile-body strong { font: 700 var(--fs-base)/1.25 var(--font-display); letter-spacing: -0.01em; }
.cat-tile-body > span { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); opacity: 0.8; }
@media (max-width: 560px) { .cat-tile.has-photo { min-height: 170px; } }

.detail-photo { position: relative; margin: var(--s5) 0 var(--s6); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.detail-photo img { width: 100%; height: 100%; object-fit: cover; }

.page-head-photo .container { display: grid; gap: var(--s5); }
.page-head-figure { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.page-head-figure img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .page-head-photo .container { grid-template-columns: 1.2fr 0.8fr; align-items: center; column-gap: var(--s8); }
  .page-head-photo .page-head-figure { grid-column: 2; grid-row: 1 / span 3; aspect-ratio: 4 / 3; }
  .page-head-photo .container > :not(.page-head-figure) { grid-column: 1; }
}
.credits-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.credits-list li { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.credits-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.credits-list p { margin: 0; padding: var(--s3) var(--s4); font-size: var(--fs-sm); }
.cat-tile { min-height: 220px; background: var(--soft); border-color: transparent; }
.cat-tile-icon { position: absolute; top: var(--s4); left: var(--s4); width: 56px; height: 56px; border-radius: 14px; background: #fff; color: var(--accent); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.cat-tile:not(.has-photo):hover .cat-tile-icon { background: var(--accent); color: #fff; }
@media (max-width: 560px) { .cat-tile { min-height: 170px; } }

/* ==========================================================================
   Alignment system — one control height, predictable inline groups
   ========================================================================== */
:root { --control-h: 48px; --control-h-sm: 40px; }
.btn { min-height: var(--control-h); }
.btn-sm { min-height: var(--control-h-sm); }
.input, .select { height: var(--control-h); min-height: var(--control-h); }
input[type='file'].input { height: auto; min-height: var(--control-h); padding: 9px 12px; }
input[type='date'].input, input[type='time'].input { min-width: 0; }
.textarea { height: auto; }

/* Fields never stretch to the tallest neighbour; labels stay on the same line */
.field { align-content: start; }
.form-grid, .grid-2, .grid-3 { align-items: start; }
.field > label, .field > .label { min-height: 1.5em; }

/* Inline groups: inputs grow, buttons keep their size, everything shares one baseline */
.row { align-items: center; }
.row > .input, .row > .select { flex: 1 1 200px; width: auto; min-width: 0; }
.row .field { margin-bottom: 0; }
.check { align-items: center; }
.check input { margin: 0; }
.check.check-top { align-items: flex-start; }
.check.check-top input { margin-top: 2px; }

/* Search bar component (input + button on one line) */
.searchbar { display: flex; gap: var(--s2); align-items: stretch; width: 100%; }
.searchbar .input { flex: 1 1 auto; min-width: 0; }
.searchbar .btn { flex: none; }
@media (max-width: 480px) { .searchbar { flex-wrap: wrap; } .searchbar .btn { flex: 1 1 100%; } }

/* Filter bars: tidy grid where every control bottom-aligns */
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: var(--s3) var(--s4); align-items: end; }
.filters .field { margin: 0; min-width: 0; }
.filters .field.grow { grid-column: span 2; }
.filters > .btn, .filters > .check, .filters > a.btn { justify-self: start; }
.filters > .check { min-height: var(--control-h); }
.filters > p { margin: 0; align-self: center; grid-column: 1 / -1; }
@media (max-width: 560px) { .filters { grid-template-columns: 1fr 1fr; } .filters .field.grow { grid-column: 1 / -1; } }

/* Toolbar (results count + sort) */
.toolbar { align-items: center; }
.toolbar > p { margin: 0; }
.toolbar .field { margin: 0; }
.sort-form { flex-wrap: nowrap; gap: var(--s2); }
.sort-form label { white-space: nowrap; }
.sort-form .select { flex: 0 0 auto; width: auto; min-width: 190px; }
@media (max-width: 560px) { .toolbar { flex-direction: column; align-items: stretch; } .sort-form .select { flex: 1 1 auto; min-width: 0; } }

/* Sidebar filter form spacing */
.filter-group form.filter-group, form.filter-group { display: grid; gap: var(--s3); }
form.filter-group h2 { margin: 0; }
form.filter-group .check { min-height: 32px; }

/* Buttons in groups line up and wrap evenly */
.form-actions, .row { row-gap: var(--s2); }
.form-actions .btn, .row .btn { flex: none; }
.part-actions .btn { flex: 1 1 auto; }
.mb { margin-bottom: var(--s5); }
.row:has(> .input, > .select) .btn-sm { min-height: var(--control-h); }
.searchbar .select { flex: 1 1 auto; min-width: 0; width: auto; }
.cols > *, .with-sidebar > *, .grid > * { min-width: 0; }
.table-wrap { position: relative; }
