/* Batra Sign Studio — site styles (v3, mixed look)
   Dark hero, header, page heads, lighting demo, calls to action and footer; white and light-grey
   content sections with rounded cards, as on the reference sites the owner chose (GoDaddy,
   Hostinger, Riot Color). Archivo for all text, with wide bold headings (approved home design, Nov 2026). Colours and type from the UI/UX Pro Max design system; see DESIGN-SYSTEM.md. */

@font-face { font-family: 'Archivo'; src: url(../fonts/archivo-var.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }

/* ---------- Tokens: light by default ---------- */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f2f0;
  --surface-3: #fafaf9;
  --fg: #171717;
  --fg-muted: #4f4f4f;
  --line: #e3e1dc;
  --line-strong: #d6d3d1;
  --accent: #8a5a00;        /* gold for text and icons on light backgrounds (5.9:1 on white) */
  --accent-strong: #6b4500;
  --tint: #fef6e4;          /* soft gold tint for icon circles and pills */
  --tint-line: #f3dca6;
  --gold: #e2a72e;          /* button gold from the approved design (black text on it: 10:1) */
  --gold-hi: #efb84a;
  --glow: #fff1d6;
  --ink: #0c0a09;
  --ink-2: #1c1917;
  --ink-muted: #57534e;
  --gold-ink: #854d0e;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --shadow-sm: 0 1px 2px rgba(12, 10, 9, 0.05), 0 2px 8px rgba(12, 10, 9, 0.04);
  --shadow-md: 0 2px 4px rgba(12, 10, 9, 0.04), 0 14px 34px rgba(12, 10, 9, 0.10);
  --sans: 'Archivo', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;
  --radius: 10px;
  --radius-lg: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms;
  --t-base: 240ms;
  --t-enter: 420ms;
  --z-header: 40;
  --z-float: 45;
  --z-overlay: 60;
  color-scheme: light;
}

/* ---------- Dark areas ---------- */
.site-header, .home-hero, .sign-sec, .page-head, .cta-band, .site-footer, .lightbox, .action-bar {
  --bg: #000;
  --surface: #171717;
  --surface-2: #292524;
  --surface-3: #1c1917;
  --fg: #fafaf9;
  --fg-muted: #a8a29e;
  --line: rgba(250, 250, 249, 0.12);
  --line-strong: rgba(250, 250, 249, 0.26);
  --accent: #e2a72e;
  --accent-strong: #efb84a;
  --tint: rgba(226, 167, 46, 0.14);
  --tint-line: rgba(226, 167, 46, 0.4);
  --danger: #f87171;
  --danger-bg: rgba(248, 113, 113, 0.1);
  color-scheme: dark;
  color: var(--fg);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a, button, summary, select { cursor: pointer; touch-action: manipulation; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: inherit; text-wrap: balance; overflow-wrap: break-word; }
h1, h2 { font-family: var(--sans); font-weight: 800; font-stretch: 125%; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; }
h3, .h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; line-height: 1.35; letter-spacing: -0.01em; }
em { font-style: italic; }
h1 em, h2 em, .page-title em { font-style: normal; }
:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.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; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.lead { font-size: clamp(1.06rem, 1.3vw, 1.2rem); line-height: 1.65; max-width: 60ch; }
.hint { font-size: 0.9rem; color: var(--fg-muted); }
.small, small { font-size: 0.875rem; }

/* Pill label above headings */
.pill, .label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px 6px 12px;
  border: 1px solid var(--tint-line); border-radius: 999px; background: var(--tint);
  font: 600 0.82rem/1.2 var(--sans); letter-spacing: 0.01em; color: var(--accent-strong);
}
.pill::before, .label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font: 700 0.95rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none;
  transition: background-color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out), color var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--gold); color: #000; }
.btn-primary:hover { background: var(--gold-hi); }
.btn-ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-dark { background: #000; color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-line-dark { border: 2px solid #000; color: #000; background: transparent; }
.btn-line-dark:hover { background: rgba(0, 0, 0, 0.08); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 1rem; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn svg { flex: none; }
.btn { max-width: 100%; text-align: center; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link-gold { color: var(--accent); font-weight: 700; font-size: 0.95rem; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); transition: color var(--t-fast); }
.link-gold:hover { text-decoration-color: currentColor; }
.linklike { background: none; border: 0; padding: 0; color: inherit; font: inherit; text-decoration: underline; }
.chip-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--fg); font: 600 0.8rem/1 var(--sans); letter-spacing: 0.04em; transition: border-color var(--t-base), color var(--t-base); }
.chip-btn:hover { border-color: var(--accent); color: var(--accent); }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--fg-muted); font: 600 0.74rem/1.3 var(--sans); }

/* ---------- Header ---------- */
.preview-bar { margin: 0; padding: 8px var(--gutter); background: var(--gold); color: var(--ink); font: 600 0.85rem/1.3 var(--sans); text-align: center; }
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(0, 0, 0, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: saturate(140%) blur(10px); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; color: var(--fg); text-decoration: none; flex: none; min-height: 44px; }
.logo-img { width: auto; height: 52px; }
.logo-img-lg { height: 96px; }
.wordmark { display: inline-flex; flex-direction: column; line-height: 1; }
.wm-main { font: 700 1.5rem/0.9 var(--sans); letter-spacing: 0.12em; color: var(--gold); }
.wm-sub { font: 500 0.7rem/1 var(--sans); letter-spacing: 0.32em; margin-top: 6px; text-transform: uppercase; color: var(--fg); }
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.site-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; font: 600 0.9rem/1 var(--sans); color: #d6d3d1; transition: color var(--t-fast), background-color var(--t-fast); }
.site-nav li a:hover { color: var(--fg); background: rgba(250, 250, 249, 0.06); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.nav-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; color: #fff; text-decoration: none; font: 600 0.9rem/1 var(--sans); white-space: nowrap; transition: border-color var(--t-fast); }
.nav-pill svg { width: 17px; height: 17px; color: var(--gold-hi); flex: none; }
.nav-pill-wa svg { color: #25d366; }
.nav-pill:hover { border-color: #fff; }
.nav-cta { white-space: nowrap; }
/* Smaller desktops: call and WhatsApp show as round icons (their names stay for screen readers) */
@media (min-width: 1100px) and (max-width: 1399px) {
  .nav-pill { width: 44px; padding: 0; }
  .np-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.nav-toggle { display: none; margin-left: auto; align-items: center; justify-content: center; width: 48px; height: 48px; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--fg); }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
@media (max-width: 1099px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: var(--z-overlay); overflow-y: auto; background: var(--bg); padding: 16px var(--gutter) 40px; flex-direction: column; align-items: stretch; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav li a { min-height: 60px; padding: 0; border-radius: 0; font: 700 1.5rem/1 var(--sans); letter-spacing: -0.01em; color: var(--fg); border-bottom: 1px solid var(--line); }
  .site-nav li a:hover { background: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 10px; margin: 24px 0 0; }
  .nav-pill { min-height: 52px; font-size: 1rem; }
  .nav-cta { min-height: 52px; }
  .no-js .header-inner { flex-wrap: wrap; padding-bottom: 12px; }
  .no-js .site-nav { width: 100%; flex-wrap: wrap; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .site-nav li a { font: 600 1rem/1 var(--sans); min-height: 44px; border: 0; padding: 0 10px; }
}

/* ---------- Home: full-screen slideshow of real work (approved design, Nov 2026) ---------- */
/* The header lies over the photos at the top of the home page and turns solid once the page scrolls. */
.page-home .site-header { margin-bottom: calc(-1 * var(--header-h)); background: transparent; border-bottom-color: transparent; backdrop-filter: none; transition: background-color var(--t-base) var(--ease-out), border-color var(--t-base) var(--ease-out); }
.page-home .site-header.is-scrolled, .no-js .page-home .site-header { background: rgba(0, 0, 0, 0.94); border-bottom-color: var(--line); backdrop-filter: saturate(140%) blur(10px); }
/* With the menu open the header must not have a backdrop filter: it would trap the full-screen menu inside the header */
.nav-open .site-header, .nav-open .page-home .site-header { background: #000; border-bottom-color: var(--line); backdrop-filter: none; }
.home-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: clamp(640px, 100svh, 940px); background: #000; overflow: hidden; }
.hh-media { position: absolute; inset: 0; z-index: -2; }
.hh-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1100ms var(--ease-out); }
.hh-slide.is-on { opacity: 1; }
.hh-slide img { width: 100%; height: 100%; object-fit: cover; }
.hh-scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0) 170px),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0, rgba(0, 0, 0, 0) 50%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0, rgba(0, 0, 0, 0.6) 36%, rgba(0, 0, 0, 0.06) 68%); }
.hh-inner { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--header-h) + 56px); padding-bottom: 30px; }
.hh-kicker { margin: 0 0 18px; font-weight: 600; color: var(--gold-hi); }
.hh-title { margin: 0; max-width: 11.5em; font-size: clamp(2.6rem, 6.2vw, 5.75rem); line-height: 0.98; letter-spacing: -0.015em; color: #fff; text-shadow: 0 0 1px rgba(255, 236, 190, 0.9), 0 0 26px rgba(255, 190, 90, 0.38); }
.hh-lead { margin: 22px 0 0; max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.19rem); line-height: 1.55; color: rgba(255, 255, 255, 0.88); }
.hh-copy .actions { margin-top: 30px; }
.home-hero .btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.8); color: #fff; }
.home-hero .btn-ghost:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.hh-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-top: clamp(36px, 5vw, 52px); padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.hh-now { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; min-width: 0; }
.hh-dots { display: flex; gap: 2px; }
.hh-dot { display: flex; align-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.hh-dot span { position: relative; display: block; width: 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.32); overflow: hidden; }
.hh-dot i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.hh-dot[aria-current="true"] i { transform: scaleX(1); }
.hh-dot:hover span { background: rgba(255, 255, 255, 0.55); }
.home-hero.is-playing .hh-dot[aria-current="true"] i { animation: slide-fill var(--slide-dur, 6s) linear both; }
.home-hero.is-held .hh-dot[aria-current="true"] i { animation-play-state: paused; }
@keyframes slide-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hh-cap { margin: 0; font-size: 0.94rem; color: rgba(255, 255, 255, 0.9); }
.hh-cap strong { font-weight: 700; color: #fff; }
.hh-cap [hidden] { display: none; }
.hh-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.hh-facts li { display: flex; flex-direction: column; }
.hh-facts strong { font-size: 1.625rem; line-height: 1.2; font-weight: 800; font-stretch: 125%; color: #fff; }
.hh-facts span { font-size: 0.875rem; color: rgba(255, 255, 255, 0.78); }
@media (max-width: 700px) {
  .home-hero { min-height: max(600px, 92svh); }
  .hh-scrim { background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0, rgba(0, 0, 0, 0) 150px), linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.1) 100%); }
  .hh-copy .actions .btn { flex: 1 1 auto; }
  .hh-facts { gap: 10px 26px; }
  .hh-facts strong { font-size: 1.3rem; }
}
@media (min-width: 1100px) and (max-height: 760px) {
  .hh-inner { padding-top: calc(var(--header-h) + 32px); }
  .hh-title { font-size: clamp(2.6rem, 5vw, 4.2rem); }
  .hh-bar { margin-top: 28px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hh-copy > * { animation: fade-up 900ms var(--ease-out) both; }
  .hh-copy > :nth-child(2) { animation-delay: 80ms; }
  .hh-copy > :nth-child(3) { animation-delay: 160ms; }
  .hh-copy > :nth-child(4) { animation-delay: 240ms; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Home: client logos (they move slowly sideways; JS adds the copy that makes the loop) ---------- */
.logo-band { padding: 22px 0; background: #fff; border-bottom: 1px solid var(--line); }
.lb-inner { display: flex; align-items: center; gap: 14px 36px; }
.lb-title { flex: none; max-width: 9em; margin: 0; font-size: 1rem; line-height: 1.3; font-weight: 700; font-stretch: 100%; letter-spacing: 0; }
.lb-view { flex: 1 1 auto; min-width: 0; }
.lb-track { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 44px; }
.lb-track li { flex: none; display: flex; align-items: center; height: 64px; }
.lb-track img { width: auto; height: var(--h, 40px); max-width: 190px; object-fit: contain; }
.lb-name { font-weight: 700; color: var(--fg-muted); white-space: nowrap; }
.lb-all { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.lb-view.is-moving { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.lb-rail { display: flex; width: max-content; }
.is-moving .lb-rail { animation: marquee var(--marquee-dur, 70s) linear infinite; }
.is-moving .lb-track { flex-wrap: nowrap; padding-right: 44px; }
.lb-view.is-moving:hover .lb-rail { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 900px) {
  .lb-inner { flex-wrap: wrap; justify-content: space-between; }
  .lb-view { order: 3; flex: 1 1 100%; }
  .lb-track li { height: 56px; }
}

/* ---------- Home: sections ---------- */
.home-sec { padding: clamp(56px, 7vw, 96px) 0; }
.hs-grey { background: var(--surface-2); }
.home-sec h2, .gold-band h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.375rem); line-height: 1.02; letter-spacing: -0.01em; }
.hs-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; margin-bottom: 28px; }
.hs-head > div { max-width: 640px; }
.hs-head p, .hs-text { margin: 14px 0 0; font-size: 1.125rem; line-height: 1.55; color: var(--fg-muted); }
.hs-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--accent); }
.hs-more:hover { color: var(--accent-strong); }
.home-sec .chip-nav { margin-bottom: 24px; }
.hs-grey .chip-link { background: #fff; }

/* Recent work: a bento grid. Spans apply on wide screens only; phones get two columns. */
.work-grid.bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 12px; }
.bento li { min-height: 0; }
.bento .work-tile { position: relative; height: 100%; border-radius: 14px; background: #222; color: #fff; }
.bento .work-tile img { height: 100%; aspect-ratio: auto; }
.bento li:first-child { grid-column: 1 / -1; grid-row: span 2; }
.bento-2 li:last-child, .bento-4 li:last-child, .bento-6 li:last-child { grid-column: 1 / -1; }
.tile-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 48px 18px 14px; background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)); }
.tile-cap strong { font-size: 1.06rem; font-weight: 700; line-height: 1.25; }
.tile-cap span { font-size: 0.875rem; line-height: 1.35; color: rgba(255, 255, 255, 0.86); }
@media (min-width: 901px) {
  .work-grid.bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 19vw, 270px); gap: 14px; }
  .bento li:first-child { grid-column: span 2; grid-row: span 2; }
  .bento-2 li:last-child, .bento-4 li:last-child, .bento-6 li:last-child { grid-column: auto; }
  .bento-1 li:first-child { grid-column: 1 / -1; }
  .bento-2 li { grid-column: span 2; grid-row: span 2; }
  .bento-3 li:nth-child(n + 2), .bento-4 li:nth-child(2) { grid-column: span 2; }
  .bento-5 li:nth-child(2), .bento-5 li:nth-child(5) { grid-column: span 2; }
  .bento-5 li:nth-child(5) { grid-column: 1 / -1; }
  .bento-6 li:nth-child(2), .bento-6 li:nth-child(5), .bento-6 li:nth-child(6) { grid-column: span 2; }
  .bento li:first-child .tile-cap { padding: 60px 22px 20px; }
  .bento li:first-child .tile-cap strong { font-size: 1.25rem; }
}
@media (max-width: 480px) { .work-grid.bento { grid-auto-rows: 170px; gap: 8px; } }

/* What we make */
.make-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
.make-card { display: flex; flex-direction: column; }
.mc-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 14px; background: var(--surface-2); }
.mc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.make-card:hover .mc-media img { transform: scale(1.03); }
.mc-tag { position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 0.78rem; font-weight: 700; }
.make-card h3 { margin: 18px 0 6px; font-size: 1.375rem; line-height: 1.2; font-weight: 800; font-stretch: 112%; }
.make-card p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--fg-muted); }
.mc-link { align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; font-weight: 700; color: var(--accent); }
@media (max-width: 1000px) { .make-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .make-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* See your name as a lit sign (the 3D sign lives here) */
.sign-sec { background: #000; }
.sign-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head box" "form box"; gap: 0 clamp(40px, 5vw, 72px); align-items: center; }
.sign-head { grid-area: head; align-self: end; }
.sign-form { grid-area: form; align-self: start; }
.sign-box { grid-area: box; }
.sign-lead { margin: 16px 0 28px; font-size: 1.125rem; line-height: 1.55; color: rgba(255, 255, 255, 0.8); }
.sign-lead-3d, .has-3d .sign-lead-static { display: none; }
.has-3d .sign-lead-3d { display: block; }
.sign-box .hero-stage { position: relative; height: clamp(300px, 36vw, 500px); border-radius: 18px; overflow: hidden; background: #15130f; }
.sign-note { margin: 12px 0 0; font-size: 0.85rem; color: var(--fg-muted); }
.ts-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.ts-field label { font-weight: 600; font-size: 0.94rem; }
.try-sign input[type="text"], .ts-select select { width: 100%; min-height: 54px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 12px; background: #141414; color: #fff; font: 600 1.06rem/1.2 var(--sans); }
.try-sign input[type="text"]::placeholder { color: #8c8c8c; font-weight: 500; }
.try-sign[data-case="upper"] input[type="text"]:not(:placeholder-shown) { text-transform: uppercase; letter-spacing: 0.06em; }
.ts-select { position: relative; }
.ts-select select { appearance: none; -webkit-appearance: none; padding-right: 46px; font-size: 1rem; cursor: pointer; }
.ts-select select option, .ts-select select optgroup { color: #171717; background: #fff; }
.ts-select svg { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #b5b5b5; pointer-events: none; }
.try-sign[aria-busy="true"] .ts-select svg { animation: pulse 900ms ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 1; } to { opacity: 0.3; } }
.try-sign[hidden] { display: none; }
.try-sign-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 0; font-size: 0.85rem; color: var(--fg-muted); }
.try-sign-hint { margin: 10px 0 0; min-height: 1.3em; font-size: 0.85rem; color: var(--fg-muted); }
.sign-form .actions { margin-top: 22px; }
@media (max-width: 899px) {
  .sign-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "box" "form"; }
  .sign-lead { margin-bottom: 22px; }
  .sign-form { margin-top: 24px; }
  .sign-box .hero-stage { height: clamp(340px, 96vw, 480px); }
  /* Phones: the sign gets the top of the box and the buttons a strip of their own below it */
  .sign-box .hero-canvas, .sign-box .hero-fallback { bottom: auto; height: calc(100% - 72px); }
  .sign-box .hero-fb { height: 100%; }
  .sign-box .hero-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: #0d0c0a; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .sign-box .hero-controls { bottom: 14px; }
}

/* 3D sign stage (inside the box above) */
.hero-fallback, .hero-fb { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fb { object-fit: cover; transition: opacity 600ms var(--ease-out); }
.hero-stage[data-mode="day"] { background: #d9d2c5; }
.hero-stage[data-mode="night"] .hero-fb-day, .hero-stage[data-mode="day"] .hero-fb-night { opacity: 0; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 800ms var(--ease-out); cursor: grab; }
.hero-stage.is-3d .hero-canvas { opacity: 1; }
.hero-stage.is-3d .hero-fallback { opacity: 0; transition: opacity 800ms var(--ease-out) 200ms; }
.hero-stage.is-dragging .hero-canvas { cursor: grabbing; }
.hero-canvas:focus-visible { outline: 3px solid var(--gold-hi); outline-offset: -6px; }
.hero-controls { position: absolute; z-index: 3; left: 50%; bottom: 16px; transform: translateX(-50%); width: max-content; display: flex; align-items: center; gap: 8px; }
.hero-controls svg { flex: none; }
.hero-switch { display: inline-flex; padding: 3px; gap: 3px; background: rgba(0, 0, 0, 0.72); border: 1px solid var(--line-strong); border-radius: 999px; backdrop-filter: blur(8px); }
.switch-btn, .spin-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--fg); font: 600 0.85rem/1 var(--sans); white-space: nowrap; transition: background-color var(--t-base), color var(--t-base); }
.switch-btn[aria-pressed="true"] { background: var(--gold); color: #000; }
.switch-btn:not([aria-pressed="true"]):hover, .spin-btn:hover { color: var(--gold-hi); }
.spin-btn { min-height: 50px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(8px); }
.spin-btn .ico-play, .spin-btn.is-paused .ico-pause { display: none; }
.spin-btn.is-paused .ico-play { display: block; }
.spin-btn[hidden] { display: none; }
@media (max-width: 420px) { .switch-btn, .spin-btn { padding: 0 12px; } }

/* Four steps */
.how-title { max-width: 14em; margin-bottom: 40px !important; }
.steps-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.steps-row li { display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--fg); }
.st-num { font-size: 0.94rem; font-weight: 700; color: var(--accent); }
.steps-row h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; font-weight: 800; font-stretch: 112%; }
.steps-row p { margin: 0; font-size: 1rem; line-height: 1.55; color: var(--fg-muted); }
.how-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin: 32px 0 0; }
.how-more .assure { margin: 0; }
@media (max-width: 1000px) { .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps-row { grid-template-columns: minmax(0, 1fr); } }

/* About the business */
.about-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.ar-photo { flex: 0 1 420px; }
.ar-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 18px; }
.ar-copy { flex: 1 1 420px; min-width: 0; max-width: 620px; }
.ar-copy p { margin: 18px 0 0; font-size: 1.125rem; line-height: 1.6; color: #333; }
.ar-copy .actions { margin-top: 28px; }
.ar-copy .ar-reviews { margin: 22px 0 0; }
.ar-reviews .g-reviews { background: #fff; }

/* Gold call to action */
.gold-band { padding: clamp(56px, 6vw, 84px) 0; background: var(--gold); color: #000; }
.gb-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.gb-inner > div:first-child { max-width: 640px; }
.gold-band p { margin: 14px 0 0; font-size: 1.125rem; line-height: 1.55; }
.gb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gb-phone { display: inline-flex; align-items: center; min-height: 56px; padding: 0 8px; color: #000; font-size: 1.06rem; font-weight: 700; }
.gold-band :focus-visible { outline-color: #000; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-tight { padding-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.section-top-0 { padding-top: clamp(40px, 5vw, 64px); }
.alt, .section-stone, .ivory { background: var(--surface-2); }
.sec-head { margin-bottom: clamp(36px, 4.5vw, 56px); max-width: 720px; }
.sec-head h2 { margin: 0 0 14px; }
.sec-text { margin: 0; color: var(--fg-muted); font-size: 1.08rem; max-width: 60ch; }
.sec-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-center .sec-text { margin-left: auto; margin-right: auto; }

/* Older section heading layout, still used on inner pages */
.section-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; color: var(--fg-muted); }
@media (max-width: 860px) { .section-head { grid-template-columns: minmax(0, 1fr); } }

/* Scroll entrance (applied by JS only below the fold; nothing is hidden without JS) */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(16px); }
  .reveal-in { opacity: 1; transform: none; transition: opacity var(--t-enter) var(--ease-out), transform var(--t-enter) var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
}

/* ---------- Cards (shared look) ---------- */
.svc-card, .project-card, .form-card, .aside-cta, .res-brochure, .ls-tool, .faq, .toc, .answer {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.svc-card, .project-card { box-shadow: var(--shadow-sm); transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), border-color var(--t-base); }
.svc-card:hover, .project-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--line-strong); }
.img-contain { background: var(--ink-2) !important; }
.img-contain img { object-fit: contain !important; }

/* Service cards */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.svc-card { display: flex; flex-direction: column; overflow: hidden; }
.svc-link { display: flex; flex-direction: column; gap: 8px; flex: 1; text-decoration: none; color: inherit; }
.svc-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); margin-bottom: 10px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.svc-link:hover .svc-media img { transform: scale(1.04); }
.svc-type { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font: 700 1.5rem/1.15 var(--sans); color: var(--glow); background: radial-gradient(ellipse at 50% 60%, rgba(226, 167, 46, 0.3), transparent 70%), var(--ink-2); text-shadow: 0 0 18px rgba(255, 214, 150, 0.5); }
.svc-tag { position: absolute; left: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; font: 700 0.68rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; background: rgba(12, 10, 9, 0.82); color: #f0c45a; }
.svc-title { margin: 0 22px; font: 700 1.15rem/1.3 var(--sans); letter-spacing: -0.01em; color: var(--fg); transition: color var(--t-base); }
.svc-link:hover .svc-title { color: var(--accent); }
.svc-summary { margin: 0 22px; font-size: 0.93rem; line-height: 1.6; color: var(--fg-muted); }
.svc-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 10px 22px 0; padding: 6px 0 12px; border-top: 1px solid var(--line); }
.svc-more { font: 600 0.88rem/1 var(--sans); color: var(--fg-muted); text-decoration: none; }
.svc-quote { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font: 700 0.9rem/1 var(--sans); color: var(--accent); text-decoration: none; }
.svc-quote:hover { color: var(--fg); }
.svc-quote svg { transition: transform var(--t-base) var(--ease-out); }
.svc-quote:hover svg { transform: translateX(3px); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: minmax(0, 1fr); } }

/* Catalogue list (industries page) */
.catalogue { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.catalogue li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-base), transform var(--t-base); }
.catalogue li:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.catalogue a { display: grid; gap: 8px; height: 100%; padding: 24px 26px; text-decoration: none; color: inherit; }
.cat-title { font: 800 1.25rem/1.25 var(--sans); letter-spacing: -0.015em; color: var(--fg); transition: color var(--t-base); }
.catalogue a::after { content: 'Learn more'; justify-self: start; margin-top: 6px; font: 700 0.88rem/1 var(--sans); color: var(--accent); }
.catalogue a:hover .cat-title { color: var(--accent); }
.cat-summary { color: var(--fg-muted); font-size: 0.95rem; }
@media (max-width: 760px) { .catalogue { grid-template-columns: minmax(0, 1fr); } }

/* Project cards */
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.project-card { overflow: hidden; }
.project-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.project-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.project-card-link:hover .project-card-media img { transform: scale(1.04); }
.project-card-body { display: grid; gap: 8px; padding: 16px 20px 20px; justify-items: start; }
.project-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-card-tags:empty { display: none; }
.project-card-title { font: 700 1.05rem/1.35 var(--sans); color: var(--fg); transition: color var(--t-fast); }
.project-card-link:hover .project-card-title { color: var(--accent); }
.project-card-sub { font-size: 0.85rem; color: var(--fg-muted); }
@media (max-width: 1000px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .project-grid { grid-template-columns: minmax(0, 1fr); } }

/* Reassurance, quick starts, site visit links */
.assure { display: flex; align-items: flex-start; gap: 8px; margin: 16px 0 0; font-size: 0.88rem; line-height: 1.5; color: var(--fg-muted); }
.assure svg { flex: none; margin-top: 2px; color: var(--accent); }

.cta-inner .assure { max-width: 54ch; }
.cta-visit, .aside-visit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 0.92rem/1 var(--sans); color: var(--accent); }
.aside-visit { margin-top: 10px; text-underline-offset: 4px; }
.aside-visit:hover { color: var(--fg); }

/* Google reviews link */
.g-reviews { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--fg); font: 600 0.92rem/1.2 var(--sans); transition: border-color var(--t-base), color var(--t-base); }
.g-reviews:hover { border-color: var(--accent); color: var(--accent); }
.g-reviews strong { font-weight: 800; }
.g-stars { display: inline-flex; color: var(--gold); }

/* ---------- Tick lists ---------- */

.ticks { list-style: none; margin: 0 0 22px; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 32px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 0.95em; width: 18px; height: 18px; border-radius: 50%; background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a5a00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; }
caption { text-align: left; font: 800 1.2rem/1.3 var(--sans); letter-spacing: -0.01em; padding-bottom: 12px; }
th, td { text-align: left; vertical-align: top; padding: 13px 16px 13px 0; border-bottom: 1px solid var(--line); }
thead th { font: 700 0.8rem/1.2 var(--sans); color: var(--fg-muted); border-bottom: 2px solid var(--line-strong); }
tbody th { font-weight: 700; color: var(--fg); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* ---------- Process page ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step-num { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--tint); color: var(--accent-strong); font: 800 1.5rem/1 var(--sans); }
.step-title { font: 800 clamp(1.3rem, 2.2vw, 1.6rem)/1.2 var(--sans); letter-spacing: -0.02em; margin-bottom: 10px; }
.step-body p { color: var(--fg-muted); }
.step-you { font-size: 0.95rem; color: var(--fg-muted); margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); }
.step-you span { font-weight: 700; color: var(--fg); }
@media (max-width: 600px) { .step { grid-template-columns: minmax(0, 1fr); padding: 22px; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 80px); align-items: start; }
.faq-grid > div:first-child p { color: var(--fg-muted); }
.faq-list { display: grid; gap: 10px; }
.faq { padding: 0 22px; box-shadow: var(--shadow-sm); transition: border-color var(--t-base); }
.faq[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 64px; padding: 16px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(var(--accent), var(--accent)) center/12px 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center/2px 12px no-repeat, var(--tint); transition: transform var(--t-base) var(--ease-out); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-q { margin: 0; font: 700 1.02rem/1.4 var(--sans); color: var(--fg); }
.faq summary:hover .faq-q { color: var(--accent); }
.faq-a { padding: 0 48px 20px 0; color: var(--fg-muted); }
.faq-a p { margin: 0; }
.prose .faq-list { margin-top: 12px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Calls to action (dark) ---------- */
.cta-band { background: radial-gradient(50% 140% at 88% 50%, rgba(255, 214, 150, 0.14), transparent 70%), var(--bg); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.cta-inner h2 { margin-bottom: 12px; font-size: clamp(2rem, 3.6vw, 3rem); }
.cta-inner p { margin: 0; color: var(--fg-muted); max-width: 54ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- Inner page header (dark band) ---------- */
.page-head { background: radial-gradient(60% 120% at 100% 0%, rgba(226, 167, 46, 0.16), transparent 60%), var(--bg); padding: clamp(36px, 4.5vw, 64px) 0 clamp(40px, 5vw, 72px); }
.page-title { font: 800 clamp(2.3rem, 4.8vw, 3.9rem)/1.08 var(--sans); letter-spacing: -0.03em; margin: 0 0 18px; max-width: 20ch; }
.page-head .lead { color: #d6d3d1; }
.page-head + .wrap, .page-head + .detail-grid { margin-top: clamp(40px, 5vw, 64px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; font: 600 0.82rem/1.4 var(--sans); color: var(--fg-muted); }
.crumbs li + li::before { content: '/'; margin-right: 6px; opacity: 0.5; }
.crumbs a { color: var(--fg-muted); padding-block: 12px; }
.crumbs a:hover { color: var(--accent); }
.byline { color: var(--fg-muted); font-size: 0.92rem; margin-top: 8px; }
.notice { border: 1px solid var(--tint-line); border-left: 4px solid var(--gold); background: var(--tint); border-radius: 10px; padding: 14px 18px; font-size: 0.95rem; max-width: 72ch; }
.notice-warn { border-left-color: #d97706; }
.notice-concept { display: flex; gap: 12px; align-items: baseline; margin-top: 20px; }

/* ---------- Badges, placeholders ---------- */
.badge-concept { display: inline-block; padding: 4px 10px; border-radius: 999px; font: 700 0.7rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-strong); background: var(--tint); border: 1px solid var(--tint-line); }
.placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center; aspect-ratio: 4 / 3; padding: 24px; border: 2px dashed var(--tint-line); border-radius: var(--radius-lg); background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(161, 98, 7, 0.05) 14px 28px); color: var(--fg-muted); }
.placeholder-label { font: 700 0.72rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-strong); }
.placeholder-text { font: 700 1.15rem/1.3 var(--sans); color: var(--fg); }
.placeholder-where { font-size: 0.85rem; }
.missing { font-size: 0.92em; color: var(--accent); border-bottom: 1px dashed currentColor; }

/* ---------- Day / night comparison ---------- */
.compare { margin: 0; }
.compare-frame { position: relative; overflow: hidden; background: var(--ink-2); border-radius: var(--radius-lg); touch-action: pan-y; }
.compare-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-night { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--glow); box-shadow: 0 0 14px rgba(255, 241, 214, 0.6); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: var(--ink); border: 2px solid var(--glow); }
.compare-handle span::before, .compare-handle span::after { content: ''; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.compare-handle span::before { left: 6px; border-right-color: var(--glow); }
.compare-handle span::after { right: 6px; border-left-color: var(--glow); }
.compare-tag { position: absolute; top: 14px; padding: 6px 10px; border-radius: 999px; font: 700 0.72rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; background: rgba(12, 10, 9, 0.78); color: var(--glow); pointer-events: none; }
.compare-tag-day { left: 14px; }
.compare-tag-night { right: 14px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare-frame:has(.compare-range:focus-visible) { outline: 3px solid var(--gold-hi); outline-offset: 3px; }
.no-js .compare-frame { aspect-ratio: auto !important; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.no-js .compare-frame img { position: static; clip-path: none; }
.no-js .compare-handle, .no-js .compare-range { display: none; }

/* ---------- Detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 104px); align-items: start; }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.toc { padding: 18px 20px 8px; box-shadow: var(--shadow-sm); }
.toc-title { font: 800 0.95rem/1.3 var(--sans); color: var(--fg); margin-bottom: 6px; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-size: 0.95rem; color: var(--fg-muted); }
.toc a:hover { color: var(--accent); }
.aside-cta { padding: 24px; box-shadow: var(--shadow-md); background: radial-gradient(80% 120% at 100% 0%, var(--tint), transparent 70%), var(--surface); }
.aside-cta p { font: 800 1.25rem/1.3 var(--sans); letter-spacing: -0.01em; }
.facts { margin: 0; padding: 6px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.facts div { padding: 14px 0; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { font: 700 0.8rem/1.2 var(--sans); color: var(--fg-muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 600; }
.updated { margin-top: 40px; font-size: 0.88rem; color: var(--fg-muted); }
.project-hero { margin-bottom: clamp(32px, 4vw, 56px); }
.project-hero .hint { margin-top: 10px; }
.project-photo { margin: 0 0 32px; }
.project-photo > span { display: block; background: var(--surface-2); border-radius: var(--radius-lg); overflow: hidden; }
.project-photo img { width: 100%; height: auto; }
.detail-figure { margin: 0 0 28px; }
.detail-figure img { border-radius: var(--radius-lg); }
figcaption, .gallery-cap { font-size: 0.85rem; color: var(--fg-muted); margin-top: 8px; }
@media (max-width: 960px) { .detail-grid { grid-template-columns: minmax(0, 1fr); } .detail-aside { position: static; } }

/* Prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose li::marker { color: var(--gold); }
.prose strong { font-weight: 700; color: var(--fg); }
.prose a { color: var(--accent); font-weight: 600; }
.answer { padding: 22px 26px; margin-bottom: 36px; border-left: 4px solid var(--gold); background: var(--tint); border-color: var(--tint-line); border-left-color: var(--gold); }
.answer-q, .prose .answer-q { font: 800 0.85rem/1.3 var(--sans); color: var(--accent-strong); margin: 0 0 8px; }
.answer-a { margin: 0; font: 600 1.18rem/1.55 var(--sans); color: var(--fg); }
.note { border-left: 4px solid var(--gold); padding: 10px 18px; margin: 1.4em 0; background: var(--surface-2); border-radius: 10px; }

/* Gallery + lightbox */
.gallery, .prose .gallery { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gallery-link { display: block; overflow: hidden; background: var(--surface-2); border-radius: 14px; }
.gallery-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 600ms var(--ease-out); }
.gallery-link:hover img { transform: scale(1.03); }
.lightbox { padding: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: rgba(12, 10, 9, 0.97); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.7); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 72px 80px 28px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.lightbox-cap { margin: 12px 0 0; color: var(--fg-muted); font-size: 0.92rem; text-align: center; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(12, 10, 9, 0.8); color: var(--fg); }
.lb-btn:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.lb-next { right: 16px; top: 50%; margin-top: -24px; }
.lb-close { right: 16px; top: 16px; }
@media (prefers-reduced-motion: no-preference) { .lightbox[open] img { animation: fade 320ms var(--ease-out); } }

/* Project filters */
.filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 20px; padding: 20px; margin-bottom: 24px; background: var(--surface-2); border-radius: var(--radius-lg); }
.filters label { display: grid; gap: 8px; font: 700 0.85rem/1 var(--sans); color: var(--fg); }
.filters select { min-width: 260px; }
.js .filters [data-filters-submit] { display: none; }
.results-count { color: var(--fg-muted); font-size: 0.9rem; margin-bottom: 24px; }
/* ---------- Gallery (/gallery and service pages) ---------- */
.chip-nav { margin-bottom: 28px; }
.chip-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--fg); font: 600 0.88rem/1 var(--sans); text-decoration: none; transition: border-color var(--t-base), color var(--t-base), background-color var(--t-base); }
.chip-link:hover { border-color: var(--accent); color: var(--accent); }
.chip-link[aria-current="page"] { background: var(--ink, #1c1917); border-color: var(--ink, #1c1917); color: #fafaf9; }
.chip-count { font-weight: 500; font-size: 0.78rem; color: var(--fg-muted); }
.chip-link[aria-current="page"] .chip-count { color: #d6d3d1; }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.work-tile { display: block; overflow: hidden; border-radius: 10px; background: var(--surface-2); }
.work-tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 600ms var(--ease-out); }
.work-tile:hover img { transform: scale(1.03); }
.work-tile:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* Client logo wall (About and Gallery pages) */
.clients-sec h2 { margin: 0 0 24px; }
.client-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.client-logos li { display: grid; place-items: center; height: 96px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 10px; }
.client-logos img { width: auto; height: auto; max-width: 100%; max-height: 64px; object-fit: contain; }
.client-name { font-weight: 700; text-align: center; color: var(--ink); }
.gallery-group + .gallery-group { margin-top: clamp(40px, 5vw, 64px); }
.gallery-group .sec-row, .section .sec-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.gallery-group h2, .section .sec-row h2 { margin: 0; }
.sec-row .link-gold { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.concept-block { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.concept-block .notice { margin-bottom: 32px; }
.empty { padding: 56px 0; color: var(--fg-muted); }

/* Article lists */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.article-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-base), transform var(--t-base); }
.article-list li:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.article-list a { display: grid; gap: 8px; padding: 22px 24px; text-decoration: none; color: inherit; }
.al-title { font: 800 1.2rem/1.3 var(--sans); letter-spacing: -0.01em; color: var(--fg); transition: color var(--t-fast); }
.article-list a:hover .al-title { color: var(--accent); }
.al-text { color: var(--fg-muted); font-size: 0.95rem; }
.al-meta { font-size: 0.82rem; color: var(--fg-muted); }
.article-list-lg .al-title { font-size: 1.4rem; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); }
.about-aside { padding: 24px; background: var(--surface-2); border-radius: var(--radius-lg); }
.about-aside h2 { margin-top: 0; font-size: 1.3rem; }
.about-aside h2 + .ticks, .about-aside p { margin-bottom: 24px; }
.principles { margin: 0; display: grid; gap: 12px; }
.principles div { padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.principles dt { font: 800 1.08rem/1.3 var(--sans); color: var(--fg); }
.principles dd { margin: 6px 0 0; color: var(--fg-muted); }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photo-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-grid figure { margin: 0; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
@media (max-width: 860px) { .about-grid, .photo-grid, .photo-grid-2 { grid-template-columns: minmax(0, 1fr); } }

/* About: owner feature and team grid */
.owner-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.owner-photo { position: relative; margin: 0; }
.owner-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow-md); }
.owner-badge { position: absolute; right: -14px; bottom: 28px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 16px; background: var(--ink); color: #d6d3d1; font-size: 0.82rem; line-height: 1.3; box-shadow: var(--shadow-md); }
.owner-badge strong { font: 800 1.8rem/1 var(--sans); letter-spacing: -0.03em; color: var(--gold-hi); }
.owner-copy h2 { margin-bottom: 6px; font-size: clamp(2.2rem, 4vw, 3.2rem); }
.owner-role { margin-bottom: 22px; font: 700 1rem/1.4 var(--sans); color: var(--accent); }
.owner-copy > p:not(.pill):not(.owner-role) { color: var(--fg-muted); max-width: 62ch; }
.owner-facts { list-style: none; margin: 26px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.owner-facts li { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-3); min-width: 0; overflow-wrap: anywhere; }
.owner-facts strong { font: 800 1.1rem/1.2 var(--sans); color: var(--fg); }
.owner-facts span { font-size: 0.85rem; line-height: 1.4; color: var(--fg-muted); }
@media (max-width: 900px) { .owner-grid { grid-template-columns: minmax(0, 1fr); } .owner-badge { right: 14px; } }
@media (max-width: 520px) { .owner-facts { grid-template-columns: minmax(0, 1fr); } }
.team-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.team-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.team-photo { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface-2); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 700ms var(--ease-out); }
.team-card:hover .team-photo img { transform: scale(1.03); }
.team-initials { display: grid; place-items: center; height: 100%; font: 800 3rem/1 var(--sans); color: var(--accent); background: var(--tint); }
.team-body { display: grid; gap: 6px; padding: 16px 18px 20px; justify-items: start; }
.team-name { font: 800 1.1rem/1.3 var(--sans); letter-spacing: -0.01em; color: var(--fg); }
.team-role { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--tint); border: 1px solid var(--tint-line); color: var(--accent-strong); font: 700 0.78rem/1.3 var(--sans); }
.team-group { margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .team-body { padding: 12px 12px 16px; } .team-name { font-size: 1rem; } }

/* ---------- Contact & form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 64px); align-items: start; padding-bottom: 56px; }
.form-card { padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow-md); }
.quote-form fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.quote-form > fieldset > legend { font: 800 1.4rem/1.2 var(--sans); letter-spacing: -0.02em; color: var(--fg); margin-bottom: 18px; padding: 0; }
.field { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 8px; margin-bottom: 20px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label, .sub-fieldset > legend, .size-row label { font: 700 0.9rem/1.3 var(--sans); color: var(--fg); }
.sub-fieldset { border: 0; padding: 0; margin: 0 0 20px; }
.sub-fieldset > legend { margin-bottom: 8px; padding: 0; }
.req, .opt { font-weight: 600; font-size: 0.78rem; margin-left: 6px; }
.req { color: var(--accent); }
.opt { color: var(--fg-muted); }
.field .hint { margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface); color: var(--fg); font: 400 1rem/1.4 var(--sans); transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input:hover, select:hover, textarea:hover { border-color: #a8a29e; }
select { appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
textarea { min-height: 160px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 167, 46, 0.22); }
input[type="file"] { font: 400 0.95rem var(--sans); color: var(--fg); padding: 10px 0; width: 100%; min-width: 0; max-width: 100%; }
input[type="file"]::file-selector-button { margin-right: 14px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--fg); font: 700 0.88rem var(--sans); border-radius: var(--radius); cursor: pointer; }
[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-error { margin: 0; color: var(--danger); font-weight: 700; font-size: 0.9rem; line-height: 1.4; }
.field-error::before { content: '! '; }
.size-row { display: grid; grid-template-columns: 1fr auto 1fr 1fr; gap: 10px; align-items: end; }
.size-row > div { display: grid; gap: 8px; }
.size-x { padding-bottom: 14px; color: var(--fg-muted); }
.field-check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field-check input { width: 24px; height: 24px; margin-top: 2px; accent-color: var(--gold); }
.field-check label { font: 400 0.95rem/1.55 var(--sans); color: var(--fg); }
.field-check a { padding-block: 13px; color: var(--accent); }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.file-list { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--fg-muted); }
.file-list li.bad { color: var(--danger); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-submit .hint { margin: 0; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(12, 10, 9, 0.3); border-top-color: var(--ink); border-radius: 50%; }
.is-busy .spinner { display: inline-block; animation: spin 800ms linear infinite; }
.is-busy { cursor: progress; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-status:not(:empty) { margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--danger); border-radius: 10px; background: var(--danger-bg); }
.form-status .btn { margin-top: 12px; }
.form-errors { border: 1px solid var(--danger); border-radius: 12px; background: var(--danger-bg); padding: 18px 22px; margin-bottom: 28px; }
.form-errors ul { margin: 8px 0 0; padding-left: 1.2em; }
.form-errors a { color: var(--danger); }
.form-success { padding: 8px 0; }
.form-success h2 { font-size: 2.2rem; }
.contact-aside { display: grid; gap: 4px; }
.contact-aside h2 { margin-top: 28px; }
.contact-aside h2:first-child { margin-top: 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font: 700 1rem/1.3 var(--sans); color: var(--fg); text-decoration: none; transition: border-color var(--t-base), color var(--t-base); }
.contact-list a:hover { border-color: var(--accent); color: var(--accent); }
.contact-list svg { color: var(--accent); }
.contact-list a[href^="mailto:"] { display: inline-flex; max-width: 100%; overflow-wrap: anywhere; }
address { font-style: normal; }
.mini-steps { padding-left: 1.2em; margin: 0; color: var(--fg-muted); }
.mini-steps li { margin-bottom: 6px; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr); } .size-row { grid-template-columns: 1fr 1fr; } .size-x { display: none; } }

/* ---------- Resources ---------- */
.res-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.res-brochure { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow-md); background: radial-gradient(70% 120% at 100% 0%, var(--tint), transparent 70%), var(--surface); }
.res-cover { display: block; border-radius: 8px; overflow: hidden; box-shadow: 0 18px 40px rgba(12, 10, 9, 0.35); transition: transform var(--t-base) var(--ease-out); }
.res-cover:hover { transform: translateY(-3px); }
.res-cover img { width: 100%; height: auto; }
.res-cover-plain { display: grid; place-items: center; aspect-ratio: 3 / 4; background: var(--ink); color: var(--gold-hi); text-align: center; font: 700 0.95rem/1.3 var(--sans); }
.res-cover-plain > span { display: grid; justify-items: center; gap: 10px; padding: 16px; }
.res-brochure h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.res-brochure p { color: var(--fg-muted); }
.res-meta { font-size: 0.85rem; font-weight: 600; }
.res-links { padding: 22px; background: var(--surface-2); border-radius: var(--radius-lg); }
.res-links ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.res-links a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--fg); font-weight: 600; transition: border-color var(--t-base), color var(--t-base); }
.res-links a svg { flex: none; color: var(--accent); }
.res-links a:hover { border-color: var(--accent); color: var(--accent); }
.ls-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.ls-grid h2 { margin-bottom: 24px; }
.ls-tool { padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md); }
.ls-form .field-row { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.ls-result { margin-top: 24px; padding: 20px; border-radius: 14px; background: var(--ink); min-height: 8em; }
.ls-result p { margin: 0 0 10px; color: #d6d3d1; }
.ls-result p:last-child { margin-bottom: 0; }
.ls-result strong { color: #fafaf9; }
.ls-result .ls-big { margin-bottom: 8px; color: #fafaf9; }
.ls-num { font: 800 clamp(2.8rem, 5vw, 3.8rem)/1 var(--sans); letter-spacing: -0.03em; color: var(--gold-hi); text-shadow: 0 0 22px rgba(255, 214, 150, 0.3); }
.ls-unit { font: 600 1.05rem/1 var(--sans); color: #a8a29e; }
.ls-min { font-size: 0.9rem; }
.ls-empty { font-style: italic; }
.ls-table { margin-top: clamp(36px, 4.5vw, 56px); padding: clamp(18px, 2.4vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.res-more { margin-top: 24px; }
@media (max-width: 1000px) { .res-grid, .ls-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .res-brochure { grid-template-columns: minmax(0, 1fr); } .res-cover { max-width: 200px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; }
.nf-code { margin: 0 0 12px; font: 800 clamp(5rem, 16vw, 10rem)/0.9 var(--sans); letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 2px var(--line-strong); }
.nf-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.nf-links ul { list-style: none; padding: 0; margin: 0; }
.nf-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); font-weight: 600; }
@media (max-width: 600px) { .nf-links { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer (dark) ---------- */
.site-footer { background: #070605; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 3fr)); gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-brand p { color: var(--fg-muted); max-width: 34ch; margin-top: 20px; }
.footer-h { font: 700 0.85rem/1.2 var(--sans); color: var(--fg); margin-bottom: 14px; }
.footer-h-gap { margin-top: 28px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a, .site-footer address a { display: inline-flex; align-items: center; min-height: 32px; color: #d6d3d1; text-decoration: none; }
.footer-links a:hover, .site-footer address a:hover { color: var(--gold-hi); }
.site-footer address a[href^="mailto:"] { overflow-wrap: anywhere; }
.footer-small { color: var(--fg-muted); font-size: 0.9rem; }
.site-footer .link-gold { color: var(--gold-hi); }
.social { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; padding: 0; margin: 14px 0 0; }
.social a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-hi); font-weight: 700; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 100px; border-top: 1px solid var(--line); color: var(--fg-muted); font-size: 0.85rem; }
.footer-base ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.footer-base a, .footer-base .linklike { color: var(--fg-muted); display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- WhatsApp, consent, phone action bar ---------- */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-float); display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px; background: #0f7a40; color: #fff; text-decoration: none; font: 700 0.92rem/1 var(--sans); box-shadow: 0 10px 28px rgba(12, 10, 9, 0.3); transition: background-color var(--t-base), transform var(--t-fast); }
.wa-float svg { color: #fff; }
.wa-float:hover { background: #0b6635; }
.wa-float:active { transform: scale(0.97); }
.consent { position: fixed; left: 16px; bottom: 16px; z-index: calc(var(--z-float) + 1); max-width: 440px; background: var(--surface); color: var(--fg); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 20px 22px; box-shadow: var(--shadow-md); font-size: 0.92rem; }
.consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.action-bar { display: none; }
@media (max-width: 700px) {
  .action-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float); padding: 8px max(10px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left)); gap: 8px; background: rgba(12, 10, 9, 0.95); border-top: 1px solid var(--line-strong); backdrop-filter: blur(10px); transition: transform var(--t-base) var(--ease-out); }
  .action-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--fg); text-decoration: none; font: 700 0.9rem/1 var(--sans); }
  .action-bar a svg { color: var(--gold-hi); }
  .action-bar a[href^="https://wa.me"] svg { color: #25d366; }
  .action-bar .ab-quote { flex: 1.3; background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .action-bar a:active { transform: scale(0.98); }
  .is-typing .action-bar, .nav-open .action-bar { transform: translateY(110%); }
  .wa-float { display: none; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .consent { bottom: calc(76px + env(safe-area-inset-bottom)); right: 16px; }
}
/* Wide screens: WhatsApp is in the header, so no floating button */
@media (min-width: 1100px) { .wa-float { display: none; } }
@media (max-width: 380px) { .action-bar a { font-size: 0.82rem; gap: 6px; } .action-bar { gap: 6px; } }

/* Touch targets: links that stand alone in a row or table cell get a 44px hit area */
.table-wrap th a, .table-wrap td a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Reduced motion and print ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .wa-float, .consent, .cta-band, .hero-stage, .hh-media, .hh-scrim, .hh-bar, .action-bar { display: none !important; } body { background: #fff; color: #000; } }
