/* SKB — "made to the millimetre"
   Warm paper + graphite, one accent: the amber of an LED plinth light.
   Technical-drawing details (mono labels, dimension lines) carry the
   German-engineering story. */

:root {
  --paper: #f3f1ec;
  --paper-2: #e8e5de;
  --card: #fbfaf7;
  --ink: #17181a;
  --ink-2: #3b3d41;
  --steel: #5f646b;
  --line: rgba(23, 24, 26, .14);
  --night: #121315;
  --night-2: #1c1e21;
  --night-line: rgba(255, 255, 255, .12);
  --glow: #f0a43a;
  --glow-2: #ffc670;
  --radius: 2px;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr-only, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--glow); color: var(--ink); padding: 8px 14px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; }
.eyebrow { color: var(--steel); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .eyebrow.light { color: rgba(255,255,255,.6); }

.display-xl { font-size: clamp(44px, 7.4vw, 112px); font-stretch: 118%; font-weight: 640; letter-spacing: -.035em; line-height: .94; }
.display-l  { font-size: clamp(36px, 5vw, 72px); font-stretch: 115%; font-weight: 620; letter-spacing: -.03em; line-height: .98; }
.display-m  { font-size: clamp(28px, 3.4vw, 46px); font-stretch: 112%; font-weight: 600; letter-spacing: -.02em; line-height: 1.02; }
.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.on-dark .lede { color: rgba(255,255,255,.72); }
.muted { color: var(--steel); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-weight: 600; font-size: 15px; text-decoration: none; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-glow { background: var(--glow); color: #1b1408; }
.btn-glow:hover { background: var(--glow-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-line-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.text-link:hover { color: var(--glow); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(18,19,21,.94); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid var(--night-line); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand img { width: 196px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; }
.main-nav ul a { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.78); padding: 6px 0; position: relative; white-space: nowrap; }
.main-nav ul a:hover, .main-nav ul a[aria-current] { color: #fff; }
.main-nav ul a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--glow); }
.nav-cta { min-height: 42px; padding: 0 16px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; transition: transform .25s var(--ease), opacity .2s; content: ""; }
.nav-toggle .bars { top: 21px; } .nav-toggle .bars::before { top: -7px; left: 0; } .nav-toggle .bars::after { top: 7px; left: 0; }
.nav-open .nav-toggle .bars { background: transparent; }
.nav-open .nav-toggle .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; background: var(--night); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--night-line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s var(--ease); max-height: calc(100vh - 72px); overflow: auto; }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: 16px 0; font-size: 20px; border-bottom: 1px solid var(--night-line); }
  .main-nav ul a[aria-current]::after { display: none; }
  .main-nav ul a[aria-current] { color: var(--glow); }
  .nav-cta { margin-top: 20px; min-height: 52px; font-size: 16px; }
  .brand img { width: 170px; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.tight { padding: clamp(48px, 6vw, 88px) 0; }
.on-dark { background: var(--night); color: #fff; }
.on-paper-2 { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lede { margin: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* Dimension line motif: |←—— 3 mm ——→| */
.dim { display: flex; align-items: center; gap: 10px; color: var(--steel); }
.dim::before, .dim::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.dim span { white-space: nowrap; }
.dim-ends { position: relative; }
.dim-ends::before, .dim-ends::after { content: ""; position: absolute; top: 50%; width: 1px; height: 11px; background: currentColor; transform: translateY(-50%); }
.dim-ends::before { left: 0; } .dim-ends::after { right: 0; }

/* Hero */
.hero { background: var(--night); color: #fff; padding: clamp(28px, 4vw, 56px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero :is(h1,h2) { margin-bottom: 28px; }
.hero :is(h1,h2).display-xl { font-size: clamp(42px, 5.4vw, 86px); }
.hero .lede { color: rgba(255,255,255,.74); }
.hero :is(h1,h2) em { font-style: normal; color: var(--glow); }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero-figure .frame-dim { margin-top: 12px; color: rgba(255,255,255,.62); }
.hotspot { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.hotspot button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(240,164,58,.95); cursor: pointer; position: relative; box-shadow: 0 0 0 6px rgba(240,164,58,.22); }
.hotspot button::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 18px/1 var(--sans); color: #1b1408; transition: transform .2s; }
.hotspot button[aria-expanded="true"]::after { transform: rotate(45deg); }
.hotspot button::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--glow); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.8); opacity: .9 } 80%, 100% { transform: scale(1.8); opacity: 0 } }
.hotspot .tip { position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translateX(-50%); width: max-content; max-width: 240px; background: var(--paper); color: var(--ink); padding: 12px 14px; border-radius: var(--radius); font-size: 14px; line-height: 1.4; opacity: 0; visibility: hidden; transition: .2s var(--ease); box-shadow: 0 12px 32px rgba(0,0,0,.35); }
.hotspot .tip strong { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 4px; }
.hotspot.open .tip, .hotspot:hover .tip { opacity: 1; visibility: visible; }
.hotspot.flip .tip { bottom: auto; top: calc(100% + 14px); }
.hotspot.left .tip { left: auto; right: -12px; transform: none; }
.hotspot.right .tip { left: -12px; transform: none; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--night-line); margin-top: clamp(40px, 6vw, 72px); }
.facts div { padding: 26px 24px 30px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--night-line); }
.facts b { display: block; font-size: clamp(26px, 2.6vw, 38px); font-stretch: 115%; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.facts span { color: rgba(255,255,255,.6); font-size: 14.5px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--night-line); }
}
@media (max-width: 520px) { .hotspot .tip { max-width: 200px; } .hero-actions .btn { flex: 1 1 100%; } }

/* Page hero (inner pages) */
.page-hero { background: var(--night); color: #fff; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); }
.page-hero .lede { margin-top: 24px; }
.page-hero-img { background: var(--night); }
.page-hero-img img { width: 100%; max-height: 74vh; object-fit: cover; }

/* Principles — German style explained */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.principle { background: var(--paper); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; min-height: 260px; }
.principle .num { color: var(--steel); }
.principle h3 { font-size: 23px; font-stretch: 110%; }
.principle p { margin: 0; color: var(--ink-2); font-size: 16px; }
.principle svg { width: 64px; height: 40px; margin-top: auto; color: var(--ink); }
@media (max-width: 900px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } .principle { min-height: 0; } }

/* Designer teaser */
.designer-teaser { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.designer-teaser ol { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 34px; border-top: 1px solid var(--night-line); }
.designer-teaser li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; padding: 13px 0; border-bottom: 1px solid var(--night-line); color: rgba(255,255,255,.8); }
.designer-teaser li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12.5px; color: var(--glow); padding-top: 3px; }
.teaser-stage { position: relative; aspect-ratio: 4/3; background: radial-gradient(120% 90% at 50% 100%, #2a2c30, #121315 70%); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; }
.teaser-stage canvas { width: 100% !important; height: 100% !important; }
.teaser-stage .badge { position: absolute; left: 16px; top: 16px; color: rgba(255,255,255,.6); }
@media (max-width: 900px) { .designer-teaser { grid-template-columns: 1fr; } }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; background: var(--night); min-height: 340px; display: flex; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,12,.82), rgba(10,10,12,0) 55%); }
.tile:hover img { transform: scale(1.04); }
.tile .tile-body { position: relative; z-index: 1; margin-top: auto; padding: 26px; width: 100%; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.tile h3 { font-size: clamp(26px, 2.6vw, 36px); font-stretch: 115%; }
.tile p { margin: 6px 0 0; color: rgba(255,255,255,.75); font-size: 15px; max-width: 26em; }
.tile .arrow { width: 46px; height: 46px; flex: none; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.tile:hover .arrow { background: var(--glow); border-color: var(--glow); color: #1b1408; }
.tile.t-a { grid-column: span 7; min-height: 520px; }
.tile.t-b { grid-column: span 5; min-height: 520px; }
.tile.t-c { grid-column: span 4; }
.tile.t-d { grid-column: span 4; }
.tile.t-e { grid-column: span 4; }
@media (max-width: 900px) { .tile.t-a, .tile.t-b { grid-column: span 12; min-height: 420px; } .tile.t-c, .tile.t-d, .tile.t-e { grid-column: span 12; min-height: 280px; } }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: p; }
.process li { list-style: none; padding: 0 28px 0 0; position: relative; }
.process li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.process .step-n { font-family: var(--mono); font-size: 12.5px; color: var(--steel); display: block; margin-bottom: 44px; }
.process h3 { font-size: 22px; font-stretch: 110%; margin-bottom: 12px; }
.process p { color: var(--ink-2); font-size: 16px; margin: 0; }
.process-wrap { padding: 0; margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; row-gap: 40px; } .process li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .process li, .process li + li { padding: 0 0 28px; border-left: 0; border-bottom: 1px solid var(--line); } .process .step-n { margin-bottom: 14px; } }

/* Stories / video */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story-card { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; display: flex; flex-direction: column; }
.story-card .poster { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.story-card .poster img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-card:hover .poster img { transform: scale(1.04); }
.story-card .play { position: absolute; left: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: var(--glow); display: grid; place-items: center; color: #1b1408; }
.story-card .play svg { width: 18px; height: 18px; margin-left: 3px; }
.story-card .body { padding: 20px 22px 24px; }
.story-card h3 { font-size: 21px; font-stretch: 110%; margin-bottom: 8px; }
.story-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--night-line); border-radius: 99px; color: rgba(255,255,255,.7); }
.chip.light { border-color: var(--line); color: var(--ink-2); }
@media (max-width: 960px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .story-grid { grid-template-columns: 1fr; } }

.player { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 0; background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius); overflow: hidden; }
.player video { width: 100%; aspect-ratio: 16/9; background: #000; object-fit: cover; }
.player .chapters { padding: 22px; display: flex; flex-direction: column; gap: 4px; max-height: 100%; overflow: auto; }
.player .chapters h3 { font-size: 22px; font-stretch: 110%; margin-bottom: 6px; }
.player .chapters p { color: rgba(255,255,255,.65); font-size: 15px; }
.chapter { display: grid; grid-template-columns: 54px 1fr; gap: 10px; text-align: left; background: none; border: 0; border-top: 1px solid var(--night-line); padding: 12px 0; cursor: pointer; color: rgba(255,255,255,.8); }
.chapter .t { font-family: var(--mono); font-size: 12.5px; color: rgba(255,255,255,.62); padding-top: 2px; }
.chapter:hover, .chapter.on { color: #fff; }
.chapter.on .t { color: var(--glow); }
.chapter b { display: block; font-weight: 600; }
.chapter small { display: block; color: rgba(255,255,255,.55); font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
@media (max-width: 900px) { .player { grid-template-columns: 1fr; } }
.note { border-left: 2px solid var(--glow); padding: 10px 16px; background: rgba(240,164,58,.08); font-size: 14.5px; color: inherit; }

/* Ranges / swatches */
.ranges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.range { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.range img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--paper-2); }
.range div { padding: 14px 16px 16px; }
.range h3 { font-size: 17px; font-stretch: 105%; margin-bottom: 4px; }
.range p { margin: 0; font-size: 14px; color: var(--steel); }
@media (max-width: 960px) { .ranges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ranges { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* Spec list */
.spec { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 18px 0; border-top: 1px solid var(--line); }
.spec-table th { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; font-weight: 500; color: var(--steel); width: 34%; padding-right: 20px; }
.spec-table td b { display: block; font-size: 18px; margin-bottom: 4px; }
.spec-table td { color: var(--ink-2); font-size: 16px; }
.spec .sticky { position: sticky; top: 100px; }
.spec .sticky img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-top: 28px; }
@media (max-width: 900px) { .spec { grid-template-columns: 1fr; } .spec .sticky { position: static; } .spec .sticky img { aspect-ratio: 4/3; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split img { width: 100%; border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev > :first-child { order: 0; } }
.checks { list-style: none; padding: 0; margin: 24px 0; }
.checks li { padding: 12px 0 12px 32px; border-top: 1px solid var(--line); position: relative; }
.on-dark .checks li { border-color: var(--night-line); color: rgba(255,255,255,.85); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 14px; height: 7px; border-left: 2px solid var(--glow); border-bottom: 2px solid var(--glow); transform: rotate(-45deg); }

/* Masonry gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { border: 1px solid var(--line); background: transparent; padding: 10px 16px; border-radius: 99px; cursor: pointer; font-size: 14.5px; font-weight: 500; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters button .n { font-family: var(--mono); font-size: 11.5px; opacity: .6; margin-left: 4px; }
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry a { display: block; margin: 0 0 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--paper-2); }
.masonry img { width: 100%; transition: transform .7s var(--ease), opacity .3s; }
.masonry a:hover img { transform: scale(1.03); }
.masonry a .cap { position: absolute; left: 12px; bottom: 12px; background: rgba(18,19,21,.8); color: #fff; padding: 5px 9px; border-radius: 2px; opacity: 0; transition: opacity .2s; }
.masonry a:hover .cap { opacity: 1; }
.masonry a[hidden] { display: none; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10,10,12,.96); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 0; }
.lightbox img { max-height: calc(100vh - 110px); max-width: 100%; width: auto; object-fit: contain; }
.lightbox figcaption { color: rgba(255,255,255,.6); }
.lightbox button { background: none; border: 0; color: #fff; font-size: 44px; cursor: pointer; height: 64px; line-height: 1; }
.lightbox .lb-close { position: absolute; top: 10px; right: 16px; font-size: 40px; }
@media (max-width: 640px) { .lightbox { grid-template-columns: 40px 1fr 40px; } .lightbox button { font-size: 34px; } }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); padding: 13px 14px; font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(240,164,58,.35); }
.hp { position: absolute !important; left: -9999px !important; }
.form-msg { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 18px; }
.form-msg.ok { background: #e3efe2; color: #1e4a1c; }
.form-msg.err { background: #f6e2df; color: #6b1d12; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.checkline input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ink); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); }
.info-card { background: var(--card); border: 1px solid var(--line); padding: 28px; border-radius: var(--radius); }
.info-card + .info-card { margin-top: 16px; }
.info-card h3 { font-size: 20px; font-stretch: 110%; margin-bottom: 12px; }
.info-card a { text-decoration: none; font-weight: 600; }
.info-card a:hover { color: #b06d10; }
.map-embed { width: 100%; aspect-ratio: 4/3; border: 0; border-radius: var(--radius); filter: grayscale(.4) contrast(1.05); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* CTA band & footer */
.cta-band { background: var(--glow); color: #1b1408; padding: clamp(48px, 6vw, 80px) 0; }
.cta-band .eyebrow { color: #4f3612; }
.cta-grid { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-band .btn-glow { background: var(--ink); color: #fff; }
.cta-band .btn-glow:hover { background: #000; }
.cta-band .btn-line-light { border-color: rgba(27,20,8,.5); color: #1b1408; }
.cta-band .btn-line-light:hover { background: rgba(0,0,0,.06); border-color: #1b1408; }
.cta-phone { text-decoration: none; font-size: 15px; padding: 0 8px; }

.site-footer { background: var(--night); color: rgba(255,255,255,.75); padding: 72px 0 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 196px; margin-bottom: 18px; }
.footer-brand p { max-width: 30em; }
.site-footer h3 { color: #fff; margin-bottom: 14px; font-size: 12px; }
.site-footer address { font-style: normal; margin-bottom: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--glow); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.hours dd { margin: 0; }
.footer-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: rgba(255,255,255,.45); font-size: 11.5px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .hotspot button::before { animation: none; } }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin-table th, .admin-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.admin-table img { width: 180px; border-radius: 2px; }

/* ===== Additions: offer bar, hero film, reviews, WhatsApp, footer ===== */
.offer-bar { background: var(--glow); color: #1b1408; font-size: 14.5px; font-weight: 500; }
.offer-bar .wrap { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; min-height: 38px; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.offer-bar .mono { font-size: 11px; border: 1px solid rgba(27,20,8,.45); padding: 2px 7px; border-radius: 99px; }
.offer-bar a { font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; }

.hero-video { position: relative; }
.hero-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: #000; }
.sound-btn { position: absolute; right: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border: 0; border-radius: 99px; background: rgba(18,19,21,.72); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; backdrop-filter: blur(6px); }
.sound-btn:hover { background: rgba(18,19,21,.9); }
.sound-btn .ic { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat;
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3z'/%3E%3Cpath d='M16 9l6 6M22 9l-6 6' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.sound-btn[aria-pressed="true"] .ic { --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 9v6h4l5 4V5L7 9H3z'/%3E%3Cpath d='M16 8a5 5 0 010 8M19 5a9 9 0 010 14' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.sound-btn[aria-pressed="false"] { background: var(--glow); color: #1b1408; box-shadow: 0 0 0 6px rgba(240,164,58,.25); }
@media (max-width: 700px) and (orientation: portrait) {
  .hero-video video { aspect-ratio: 9 / 16; width: min(100%, calc(76vh * 9 / 16)); height: auto; margin: 0 auto; }
}

.stars { display: inline-flex; gap: 3px; color: var(--glow); }
.stars svg { width: 18px; height: 18px; }
.reviews { position: relative; overflow: hidden; }
.reviews-track { display: flex; transition: transform .7s var(--ease); }
.review { flex: 0 0 100%; margin: 0; padding: 0 clamp(0px, 6vw, 120px); display: flex; flex-direction: column; gap: 22px; }
.review blockquote { margin: 0; }
.review blockquote p { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.45; font-stretch: 102%; letter-spacing: -.005em; color: var(--ink); margin: 0; max-width: 46em; }
.review blockquote p::before { content: "“"; color: var(--glow); }
.review blockquote p::after { content: "”"; color: var(--glow); }
.review figcaption { display: flex; align-items: baseline; gap: 14px; }
.review figcaption b { font-size: 18px; }
.review figcaption .mono { color: var(--steel); }
.reviews-nav { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding: 0 clamp(0px, 6vw, 120px); }
.reviews-nav > button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: 18px; }
.reviews-nav > button:hover { border-color: var(--ink); }
.reviews-nav .pause { width: auto; border-radius: 99px; padding: 0 16px; font-size: 11.5px; margin-left: auto; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; }
.dots button { width: 22px; height: 4px; padding: 0; border: 0; background: var(--line); cursor: pointer; border-radius: 2px; }
.dots button[aria-current="true"] { background: var(--ink); }
@media (prefers-reduced-motion: reduce) { .reviews-track { transition: none; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 99px; background: #25d366; color: #0b3b1d; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
.wa-float:hover { transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 560px) { .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; } .wa-float span { display: none; } .wa-float svg { width: 30px; height: 30px; } }
.designer-page .wa-float { display: none; }

.footer-brochure { margin-top: 20px; min-height: 42px; font-size: 14px; }
.footer-links a:hover { color: var(--glow); }

.story-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 620px) { .story-grid-2 { grid-template-columns: 1fr; } }

/* ===== Inner pages ===== */
.page-hero h1 { max-width: 14em; }
.page-hero h1.display-xl { font-size: clamp(42px, 6.2vw, 84px); }
.page-hero .hero-actions { margin: 32px 0 0; }
.crumbs { color: rgba(255,255,255,.5); margin-bottom: 22px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--glow); }
.page-hero-img { position: relative; }
.page-hero-img .frame-dim { position: absolute; left: var(--gutter); bottom: 16px; color: rgba(255,255,255,.8); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.ranges .range { display: flex; flex-direction: column; }
.ranges .range img { aspect-ratio: 433 / 420; }
.lede-sm { font-size: 16px; color: var(--ink-2); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 40px; }
.stat-row div { background: var(--paper); padding: 22px 24px; }
.stat-row b { display: block; font-size: clamp(24px, 2.4vw, 34px); font-stretch: 115%; font-weight: 600; }
.stat-row span { color: var(--steel); font-size: 14.5px; }
@media (max-width: 700px) { .stat-row { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 0; font-size: 19px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 var(--sans); color: var(--steel); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--glow); }
.faq details p { margin: -4px 0 22px; color: var(--ink-2); max-width: 46em; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { margin-bottom: 18px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-layout nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 8px; }
.faq-layout nav a { text-decoration: none; color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid var(--line); }
.faq-layout nav a:hover { color: var(--ink); }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout nav { position: static; } }

.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area { background: var(--card); border: 1px solid var(--line); padding: 26px; border-radius: var(--radius); }
.area h3 { font-size: 21px; font-stretch: 110%; margin-bottom: 14px; }
.area ul { list-style: none; margin: 0; padding: 0; }
.area li { padding: 9px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; }
.area li span { color: var(--steel); }
@media (max-width: 960px) { .areas { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } }

.jobs { display: grid; gap: 16px; }
.job { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); border-radius: var(--radius); }
.job h3 { font-size: 26px; font-stretch: 112%; margin-bottom: 8px; }
.job .mono { color: var(--steel); }
.job .checks { margin: 0; }
@media (max-width: 800px) { .job { grid-template-columns: 1fr; gap: 12px; } }

.gallery-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-4 figure { margin: 0; }
.gallery-4 img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius); }
.gallery-4 figcaption { margin-top: 10px; color: var(--steel); }
@media (max-width: 900px) { .gallery-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery-4 { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px 28px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--glow); }
.timeline b { display: block; font-size: 18px; margin-bottom: 4px; }
.timeline p { margin: 0; color: var(--ink-2); }

.prose { max-width: 40em; }
.prose h2 { font-size: 26px; font-stretch: 110%; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; }

.visit-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.visit-slots label { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; border: 1px solid var(--line); background: var(--card); border-radius: var(--radius); cursor: pointer; font-size: 15px; font-weight: 500; padding: 6px; }
.visit-slots input { position: absolute; opacity: 0; pointer-events: none; }
.visit-slots label:has(input:checked) { background: var(--ink); color: #fff; border-color: var(--ink); }
.visit-slots label:has(input:focus-visible) { outline: 2px solid var(--glow); outline-offset: 2px; }
.field .hint { font-size: 13.5px; color: var(--steel); margin-top: 6px; }
.form-card { background: var(--card); border: 1px solid var(--line); padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); }
.form-card h2 { margin-bottom: 8px; }
.form-card > p { color: var(--ink-2); margin-bottom: 24px; }
.field input[type=file] { padding: 10px; }
@media (max-width: 520px) { .visit-slots { grid-template-columns: 1fr 1fr; } }

.player-wrap + .player-wrap { margin-top: 56px; }
.player-wrap > h2 { margin-bottom: 8px; }
.player-wrap > p { color: rgba(255,255,255,.7); max-width: 42em; margin-bottom: 24px; }
@media (max-width: 700px) and (orientation: portrait) {
  .player video { aspect-ratio: 9 / 16; width: min(100%, calc(80vh * 9 / 16)); height: auto; margin: 0 auto; }
}
.page-hero .lede { color: rgba(255,255,255,.74); }
.form-grid > * { min-width: 0; }
.field select { max-width: 100%; }
.contact-grid > * { min-width: 0; }
.field .visit-slots label { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--ink); margin: 0; }
.field .visit-slots label:has(input:checked) { color: #fff; }
.visit-slots label { position: relative; }
.visit-slots input { left: 0; top: 0; width: 1px; height: 1px; }

/* ===== Bug bar (testing) ===== */
.bb-fab { position: fixed; left: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px 0 12px; border: 0; border-radius: 99px; background: #ff2d55; color: #fff; font: 700 14px/1 var(--sans); cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.bb-fab:hover { background: #e0193f; }
.bb-fab svg { width: 22px; height: 22px; }
.bb-fab[hidden] { display: none; }
@media (max-width: 560px) { .bb-fab { width: 50px; height: 50px; padding: 0; justify-content: center; } .bb-fab span { display: none; } }
.designer-page .bb-fab { width: 46px; padding: 0; justify-content: center; } .designer-page .bb-fab span { display: none; }
html.bb-lock, html.bb-lock body { overflow: hidden; }
.bb-wrap { position: fixed; inset: 0; z-index: 200; background: rgba(10,10,12,.7); display: grid; place-items: center; padding: 16px; font: 400 15px/1.45 var(--sans); color: var(--ink); }
.bb-wrap[hidden] { display: none; }
.bb-panel { width: min(1200px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--paper); border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.bb-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--paper); z-index: 1; }
.bb-head b { font-size: 18px; }
.bb-page { color: var(--steel); font: 500 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .04em; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bb-x { border: 0; background: none; font-size: 30px; line-height: 1; cursor: pointer; padding: 0 4px; }
.bb-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(280px, 4fr); gap: 20px; padding: 18px; }
@media (max-width: 860px) { .bb-body { grid-template-columns: 1fr; } }
.bb-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.bb-tools button { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 6px 12px; font: 600 13px/1 var(--sans); cursor: pointer; }
.bb-tools button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.bb-sp { flex: 1; }
.bb-canvas { position: relative; border: 1px solid var(--line); background: #ddd; min-height: 120px; }
.bb-canvas canvas { display: block; width: 100%; height: auto; }
.bb-draw { position: absolute; inset: 0; height: 100% !important; cursor: crosshair; touch-action: none; }
.bb-wait { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--steel); padding: 20px; text-align: center; }
.bb-wait[hidden] { display: none; }
.bb-tip { color: var(--steel); font-size: 13px; margin: 6px 0 0; }
.bb-form { display: flex; flex-direction: column; gap: 14px; }
.bb-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.bb-form label span { font-weight: 400; color: var(--steel); }
.bb-form textarea, .bb-form input:not([type=radio]) { font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; background: var(--card); color: var(--ink); width: 100%; }
.bb-form textarea:focus, .bb-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,45,85,.25); }
.bb-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bb-form legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.bb-form .bb-chip { flex-direction: row; font-weight: 500; }
.bb-chip input { position: absolute; opacity: 0; }
.bb-chip span { border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 7px 13px; cursor: pointer; color: var(--ink) !important; font-weight: 500 !important; }
.bb-chip input:checked + span { background: #ff2d55; border-color: #ff2d55; color: #fff !important; }
.bb-chip input:focus-visible + span { outline: 2px solid var(--glow); outline-offset: 2px; }
.bb-meta { font-size: 12.5px; color: var(--steel); margin: 0; }
.bb-msg { padding: 10px 12px; border-radius: 3px; font-size: 14px; }
.bb-msg.ok { background: #e3efe2; color: #1e4a1c; } .bb-msg.err { background: #f6e2df; color: #6b1d12; }
.bb-send { height: 48px; border: 0; border-radius: 3px; background: #ff2d55; color: #fff; font: 700 15px/1 var(--sans); cursor: pointer; }
.bb-send:disabled { opacity: .6; cursor: default; }
.bb-head, .bb-tools { user-select: none; -webkit-user-select: none; }

/* Reviews v2: photo beside each review, bigger stars */
.reviews-score { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: -12px 0 34px; }
.big-stars { display: inline-flex; gap: 4px; }
.big-stars svg { width: 34px; height: 34px; filter: drop-shadow(0 2px 3px rgba(176,109,16,.25)); }
.reviews-score .score { font-size: 17px; color: var(--ink-2); }
.reviews-score .score b { font-size: 28px; font-stretch: 112%; color: var(--ink); margin-right: 4px; }
.review { padding: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.review-pic { position: relative; margin: 0; }
.review-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.review-pic .mono { position: absolute; left: 12px; bottom: 12px; background: rgba(18,19,21,.78); color: #fff; padding: 5px 9px; border-radius: 2px; font-size: 12px; }
.review-text { display: flex; flex-direction: column; gap: 20px; }
.review .stars svg { width: 24px; height: 24px; }
.review .stars { gap: 4px; color: #f0a43a; }
.review blockquote p { font-size: clamp(18px, 1.7vw, 24px); }
.reviews-nav { padding: 0; }
@media (max-width: 860px) { .review { grid-template-columns: 1fr; gap: 20px; } }
.wa-float, .bb-fab { transition: transform .25s var(--ease), opacity .2s; }
.wa-float.float-away, .bb-fab.float-away { opacity: 0; pointer-events: none; transform: translateY(20px) !important; }
.site-footer { padding-bottom: 96px; }

/* Floating buttons v2: small circles on desktop; on phones/tablets a bottom bar that never covers content */
.wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
.wa-float span, .bb-fab span { display: none; }
.wa-float svg { width: 30px; height: 30px; }
.bb-fab { width: 50px; height: 50px; padding: 0; justify-content: center; }
.wa-float:hover::after, .bb-fab:hover::after { content: attr(aria-label); position: absolute; bottom: calc(100% + 8px); right: 0; white-space: nowrap; background: var(--ink); color: #fff; font: 600 13px/1 var(--sans); padding: 8px 10px; border-radius: 3px; pointer-events: none; }
.bb-fab:hover::after { right: auto; left: 0; content: "Report a bug (Ctrl+Shift+B)"; }
.m-bar { display: none; }
@media (max-width: 1023px), (max-height: 500px) {
  body:not(.designer-page) .wa-float, body:not(.designer-page) .bb-fab { display: none; }
  body:not(.designer-page) { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  body:not(.designer-page) .m-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(18,19,21,.97); border-top: 1px solid var(--night-line); backdrop-filter: blur(8px); }
  .m-bar a, .m-bar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: rgba(255,255,255,.85); text-decoration: none; font: 600 12px/1 var(--sans); background: none; border: 0; cursor: pointer; min-width: 0; }
  .m-bar svg { width: 22px; height: 22px; }
  .m-bar a:nth-child(2) svg { color: #25d366; }
  .m-bar .m-bar-cta { background: var(--glow); color: #1b1408; flex-direction: row; font-size: 14px; margin: 8px 6px; border-radius: 3px; grid-column: span 2; }
  .m-bar .m-bar-bug { color: #ff5a7a; }
  html:not(.has-bugbar) .m-bar .m-bar-bug { display: none; }
  html.bb-open .m-bar { display: none; }
}
@media (max-width: 1023px) and (min-height: 501px) { .site-footer { padding-bottom: 28px; } }

/* Report-a-bug link + Cowl Labs credit */
.report-bug-link { background: none; border: 0; padding: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; color: #ff6b85; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.report-bug-link:hover { color: #ff2d55; }
.footer-credit { margin-top: 18px; }
.footer-credit a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: rgba(255,255,255,.55); font-size: 13px; }
.footer-credit a:hover { color: #fff; }
.footer-credit b { font-weight: 600; color: rgba(255,255,255,.8); }
.footer-credit img { width: 22px; height: 22px; }
.footer-credit { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.report-bug-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid #ff2d55; border-radius: 99px; background: transparent; color: #ff8fa3; font: 600 14px/1 var(--sans); cursor: pointer; }
.report-bug-btn:hover { background: #ff2d55; color: #fff; }
.report-bug-btn svg { width: 18px; height: 18px; }
.report-bug-btn { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; color: rgba(255,255,255,.6); font: 400 13px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; }
.report-bug-btn:hover { background: none; color: #fff; }

/* Story films: leave room for the fixed header when jumped to by #slug */
.player-wrap { scroll-margin-top: 90px; }

/* Front page: big photo panels, like the original skbgrp.com */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--night); }
.panel { position: relative; display: block; overflow: hidden; height: min(78vh, 760px); min-height: 360px; color: #fff; text-decoration: none; isolation: isolate; }
.panels .panel:nth-child(n+4) { height: min(62vh, 600px); }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: -2; }
.panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%); }
.panel:hover img, .panel:focus-visible img { transform: scale(1.04); }
.panel-label { position: absolute; left: clamp(18px, 3vw, 44px); right: clamp(18px, 3vw, 44px); bottom: clamp(18px, 3vw, 40px); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; }
.panel-label b { grid-column: 1; font: 700 clamp(30px, 4.2vw, 64px)/1 var(--sans); letter-spacing: -.01em; text-transform: uppercase; }
.panel-label span { grid-column: 1; font: 400 13px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.panel-label i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; font-size: 28px; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; transition: background .3s, color .3s, border-color .3s; }
.panel:hover .panel-label i, .panel:focus-visible .panel-label i { background: var(--glow); border-color: var(--glow); color: var(--night); }
@media (max-width: 760px) {
  .panels { grid-template-columns: 1fr; }
  .panel, .panels .panel:nth-child(n+4) { height: 58vh; min-height: 300px; }
  .panel-label i { width: 44px; height: 44px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .panel img { transition: none; } }
/* Eight menu items: tighten spacing on laptop widths so the menu stays on one line */
@media (min-width: 1024px) and (max-width: 1340px) {
  .main-nav { gap: 18px; }
  .main-nav ul { gap: clamp(12px, 1.3vw, 22px); }
  .main-nav ul a { font-size: 14px; }
}
@media (min-width: 1024px) and (max-width: 1140px) {
  .brand img { width: 170px; height: auto; }
  .main-nav .nav-cta { padding-left: 14px; padding-right: 14px; }
}

/* Our work: room tabs + "show more" (keeps the gallery to one room and 12 photos at a time) */
.tabs { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 1px solid var(--line); background: transparent; padding: 11px 18px; border-radius: 99px; cursor: pointer; font-size: 15px; font-weight: 500; white-space: nowrap; }
.tabs button:hover { border-color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs button .n { font-family: var(--mono); font-size: 11.5px; opacity: .6; margin-left: 4px; }
.tab-note { color: var(--steel); margin: 0 0 28px; font-size: 15.5px; }
.more-row { display: flex; justify-content: center; margin-top: 28px; }
.more-row .btn[hidden] { display: none; }
@media (max-width: 700px) { .tabs { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); } }

/* Styles page */
.style-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.style-jump a { color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 9px 16px; font-size: 14.5px; }
.style-jump a:hover { border-color: var(--glow); color: var(--glow); }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.style-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.style-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.style-card div { padding: 18px 20px 22px; }
.style-card h3 { margin: 0 0 6px; font-size: 19px; }
.style-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.chips-title { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.7); margin: 32px 0 14px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 14px; padding: 0; margin: 0; }
.chips li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: #fff; border: 1px solid var(--night-line); border-radius: 99px; padding: 6px 14px 6px 6px; }
.chips li span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.chips li.more { padding: 6px 14px; color: rgba(255,255,255,.65); }
[id] { scroll-margin-top: 90px; }

/* Audit fixes (29 Oct): readable grey on dark backgrounds, no one-word last lines */
.hero .eyebrow, .page-hero .eyebrow, .hero .dim, .on-dark .dim { color: rgba(255,255,255,.66); }
h1, h2, h3, .lede { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
/* Long galleries: show the first 6 on phones; the "See all" link opens the rest in Our work */
@media (max-width: 700px) { .masonry.cap-mobile > a:nth-child(n+7) { display: none; } }

/* Advice (old blog articles) */
.tabs a.tab { flex: none; border: 1px solid var(--line); padding: 11px 18px; border-radius: 99px; font-size: 15px; font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--ink); }
.tabs a.tab:hover { border-color: var(--ink); }
.tabs a.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs a.tab .n { font-family: var(--mono); font-size: 11.5px; opacity: .6; margin-left: 4px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px 24px; margin-top: 28px; }
.post-card { display: flex; flex-direction: column; }
.post-card-img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.post-card-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.post-card-img:hover img { transform: scale(1.03); }
.post-card h2, .post-card h3 { font-size: 20px; line-height: 1.25; margin: 6px 0 8px; font-stretch: 105%; }
.post-card h2 a, .post-card h3 a { text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-card p { margin: 0; color: var(--ink-2); font-size: 15.5px; }
.post-meta { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--steel); margin: 14px 0 0; }
.post-meta.light { color: rgba(255,255,255,.66); margin-top: 18px; }
.post-hero-img img { max-height: 70vh; object-fit: cover; width: 100%; }
.post-body h2 { margin-top: 44px; }
.post-body h3 { font-size: 21px; margin: 32px 0 10px; }
.post-body a { color: inherit; }
.related-title { font-size: 24px; margin: 64px 0 0; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--ink); }
.pager a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sub-title { font-size: 22px; margin: 56px 0 20px; }
.finish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.finish { background: var(--paper); padding: 26px 24px 28px; }
.finish h3 { margin: 0 0 8px; font-size: 20px; }
.finish p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

/* Contrast: form placeholders, and panel labels on bright photos (phones) */
::placeholder { color: #6a6f76; opacity: 1; }
@media (max-width: 760px) { .panel::after { background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.72) 100%); } .panel-label b { text-shadow: 0 1px 12px rgba(0,0,0,.45); } }
@media (max-width: 900px) { .finish-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .finish-grid { grid-template-columns: 1fr; } }
