:root {
  --night: #11100d;
  --night-2: #1a1814;
  --night-3: #24211b;
  --bone: #efe9de;
  --bone-dim: rgba(239, 233, 222, .66);
  --bone-faint: rgba(239, 233, 222, .14);
  --stone: #d3c4aa;
  --brass: #c6a46a;
  --brass-hi: #e3c995;
  --clay: #a8643f;

  --display: "Jost", "Futura", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1400px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; color: var(--brass-hi); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 4px; }
::selection { background: var(--brass); color: var(--night); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--bone); color: var(--night); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

h2 {
  font-family: var(--display); font-weight: 300;
  font-size: clamp(40px, 6.4vw, 96px);
  line-height: .98; letter-spacing: -.025em;
}
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 7vw, 96px); }

/* Buttons */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 30px;
  background: var(--brass); color: var(--night);
  border: 0; border-radius: 999px;
  font: 500 15px/1 var(--sans); letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  isolation: isolate;
  transition: color .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--bone);
  transform: translateY(101%); border-radius: 50% 50% 0 0;
  transition: transform .5s var(--ease), border-radius .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone-faint); }
.btn-ghost:hover { color: var(--night); }
.btn-light { background: var(--bone); }
.btn-light::before { background: var(--brass); }
.btn-full { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--bone-faint); padding-bottom: 4px;
  transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { border-color: var(--brass); gap: 16px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 40px;
  padding: 22px var(--gutter);
  transition: background .4s, padding .4s var(--ease), transform .5s var(--ease), backdrop-filter .4s;
}
.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(17, 16, 13, .72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--bone-faint);
}
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark { display: block; width: 92px; color: var(--bone); }
.wordmark svg { width: 100%; height: auto; display: block; }
.nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav > a, .nav-parent {
  position: relative; font-size: 14px; letter-spacing: .02em; text-decoration: none; color: var(--bone-dim);
  transition: color .3s;
}
.nav > a::after, .nav-parent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav > a:hover, .nav > a[aria-current], .nav-parent:hover, .nav-parent[aria-current] { color: var(--bone); }
.nav > a:hover::after, .nav > a[aria-current]::after, .nav-parent:hover::after, .nav-parent[aria-current]::after { transform: scaleX(1); transform-origin: left; }

/* Cabinets dropdown */
.nav-drop { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: 7px; }
.nav-parent::before {
  content: ""; order: 2; width: 6px; height: 6px; margin-top: -3px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg);
  transition: transform .3s var(--ease);
}
.nav-drop:hover .nav-parent::before, .nav-drop:focus-within .nav-parent::before { transform: translateY(3px) rotate(225deg); }
.drop {
  position: absolute; left: 50%; top: calc(100% + 18px);
  display: grid; gap: 2px; width: 300px; padding: 10px;
  background: rgba(26, 24, 20, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--bone-faint); border-radius: 8px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 5px; text-decoration: none; transition: background .25s; }
.drop a:hover, .drop a:focus-visible { background: var(--bone-faint); }
.drop b { font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--bone); }
.drop span { font-size: 13px; color: var(--bone-dim); }
.drop .drop-all { display: block; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--bone-faint); border-radius: 0 0 5px 5px; font-size: 13px; color: var(--brass); }
.drop .drop-all::after { content: " →"; }
.menu-btn { display: none; }

/* Logo animation: O halves part like doors, the Ks flip, click makes the letters jump */
.logo-anim { cursor: pointer; }
.logo-anim svg, svg.logo-anim { overflow: visible; }
.logo-anim .l, .logo-anim path { transform-box: fill-box; transform-origin: center; transition: transform .8s var(--ease), color .5s; }
.logo-anim .l2 path, .logo-anim .l3 path { transition-delay: .06s; }
.logo-anim .l4 path { transition-delay: .12s; }
.logo-anim:hover .hl { transform: translateX(-16px) rotate(-10deg); }
.logo-anim:hover .hr { transform: translateX(16px) rotate(10deg); }
.logo-anim:hover .k { transform: scaleX(-1); color: var(--brass); fill: var(--brass); }
/* Click: each letter fades down and settles back in brass, one after another */
.logo-anim.is-jump .l { animation: settle 1s var(--ease) both; }
.logo-anim.is-jump .l2 { animation-delay: .09s; }
.logo-anim.is-jump .l3 { animation-delay: .18s; }
.logo-anim.is-jump .l4 { animation-delay: .27s; }
@keyframes settle {
  0% { opacity: 1; transform: none; fill: currentColor; }
  40% { opacity: 0; transform: translateY(14%) scale(.94); fill: var(--brass); }
  41% { transform: translateY(-14%) scale(.94); }
  100% { opacity: 1; transform: none; fill: currentColor; }
}
.foot-mark.logo-anim:hover .k { fill: var(--brass); opacity: .5; }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12);
  transition: opacity 1.8s ease, transform 9s linear;
}
.hero-media img.is-on { opacity: 1; transform: scale(1.0); }
.hero-shade {
  background:
    linear-gradient(180deg, rgba(17,16,13,.55) 0%, rgba(17,16,13,0) 28%),
    linear-gradient(0deg, rgba(17,16,13,.96) 2%, rgba(17,16,13,.35) 50%, rgba(17,16,13,.1) 100%);
}
.hero-inner {
  position: relative; width: 100%; max-width: var(--max); margin-inline: auto;
  padding: 160px var(--gutter) clamp(48px, 7vw, 96px);
}
.hero-title {
  margin: 26px 0 40px;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(54px, 11vw, 188px);
  line-height: .92; letter-spacing: -.045em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span {
  display: block; transform: translateY(110%);
  animation: rise 1.3s var(--ease) forwards;
}
.hero-title .line:nth-child(2) > span { animation-delay: .14s; }
@keyframes rise { to { transform: none; } }
.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
  padding-top: 32px; border-top: 1px solid var(--bone-faint);
}
.hero-foot p { max-width: 46ch; color: var(--bone-dim); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-index {
  position: absolute; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .1em; color: var(--bone-dim);
}
.hero-index i { width: 1px; height: 64px; background: var(--bone-faint); position: relative; overflow: hidden; }
.hero-index i::after { content: ""; position: absolute; inset: 0; background: var(--brass); transform-origin: top; animation: tick 6s linear infinite; }
@keyframes tick { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.scroll-cue { display: none; }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--bone-faint); padding: 26px 0; background: var(--night); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track span { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(24px, 3vw, 40px); white-space: nowrap; }
.marquee-track b { color: var(--brass); font-weight: 400; align-self: center; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* What we do */
.what { padding-block: clamp(96px, 13vw, 180px) 0; }
.what-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: end; margin-bottom: clamp(64px, 9vw, 120px); }
.what h2 { margin-top: 22px; }
.what-copy { display: grid; gap: 18px; justify-items: start; color: var(--bone-dim); max-width: 52ch; }
.what-lead { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--bone); }
.what-copy .link-arrow { margin-top: 10px; color: var(--bone); }

/* Intro */
.intro { padding-block: clamp(96px, 13vw, 180px); }
.statement {
  margin: 36px 0 0;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(28px, 4.2vw, 62px);
  line-height: 1.14; letter-spacing: -.015em;
  max-width: 24ch;
}
.statement .w { opacity: .16; transition: opacity .5s ease; }
.statement .w.is-lit { opacity: 1; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.pillar { padding-top: 26px; border-top: 1px solid var(--bone-faint); }
.pillar h3 { margin: 18px 0 12px; font-family: var(--display); font-weight: 300; font-size: 28px; line-height: 1.1; }
.pillar p { color: var(--bone-dim); }
.num { font-size: 12px; letter-spacing: .18em; color: var(--brass); }

/* Collections */
.collections { padding-bottom: clamp(96px, 12vw, 180px); }
.col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.col-card { position: relative; min-height: 92vh; overflow: hidden; display: flex; align-items: flex-end; }
.col-img { position: absolute; inset: 0; }
.col-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease), filter 1.2s; filter: brightness(.72) saturate(.9); }
.col-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,16,13,.92), rgba(17,16,13,0) 62%); }
.col-card:hover .col-img img { transform: scale(1); filter: brightness(.88) saturate(1); }
.col-body { position: relative; padding: clamp(28px, 4vw, 56px); max-width: 560px; }
.col-tag { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.col-body h3 { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(64px, 8vw, 128px); line-height: .9; letter-spacing: -.03em; margin: 10px 0 20px; }
.col-body p { color: var(--bone-dim); max-width: 42ch; }
.col-specs {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px;
  max-height: 0; opacity: 0; transition: max-height .8s var(--ease), opacity .6s;
}
.col-card:hover .col-specs, .col-card:focus-within .col-specs { max-height: 120px; opacity: 1; }
.col-specs li { font-size: 13px; padding: 7px 14px; border: 1px solid var(--bone-faint); border-radius: 999px; backdrop-filter: blur(6px); }

/* Craft */
.craft { position: relative; padding-block: clamp(96px, 12vw, 180px); }
.craft-list { position: relative; z-index: 2; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--bone-faint); }
.craft-list li {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 32px;
  padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--bone-faint);
  cursor: default; transition: padding .6s var(--ease);
}
.craft-list h3 {
  font-family: var(--display); font-weight: 300; font-size: clamp(44px, 6vw, 92px); line-height: 1; letter-spacing: -.025em;
  transition: color .5s, transform .6s var(--ease), font-style .3s;
}
.craft-list li:hover h3 { color: var(--brass-hi); transform: translateX(16px); font-style: italic; }
.craft-list p { color: var(--bone-dim); max-width: 44ch; }
.craft-float {
  position: fixed; left: 0; top: 0; z-index: 1; width: 280px; aspect-ratio: 4 / 5;
  pointer-events: none; border-radius: 3px; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg);
  transition: opacity .4s, transform .5s var(--ease);
}
.craft-float.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
.craft-float img { width: 100%; height: 100%; object-fit: cover; }

/* Process */
.process { background: var(--stone); color: var(--night); padding-block: clamp(96px, 12vw, 180px); }
.process em, .process .process-cta b { color: #8a4a2a; }
.process .eyebrow { color: var(--clay); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); counter-reset: none; }
.steps::before { content: ""; position: absolute; left: 32px; right: 32px; top: 32px; height: 1px; background: rgba(17,16,13,.18); }
.steps li { position: relative; }
.step-n {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: var(--stone); border: 1px solid rgba(17,16,13,.28);
  font-family: var(--display); font-weight: 300; font-size: 26px; line-height: 1; color: var(--clay);
  transition: background .4s, color .4s, border-color .4s;
}
.steps li:hover .step-n { background: var(--clay); color: var(--bone); border-color: var(--clay); }
.steps h3 { display: flex; align-items: center; gap: 10px; margin: 28px 0 10px; font-family: var(--display); font-weight: 400; font-size: 28px; }
.step-tag { padding: 5px 10px; border-radius: 999px; background: var(--clay); color: var(--bone); font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.steps p { color: rgba(17,16,13,.74); max-width: 30ch; }
.process-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(56px, 7vw, 88px); padding: 26px 30px; border-radius: 6px; background: rgba(17,16,13,.08);
}
.process-cta p { font-size: 18px; }
.process-cta b { font-weight: 600; color: var(--clay); }
.btn-dark { background: var(--night); color: var(--bone); }
.btn-dark::before { background: var(--clay); }

/* Band */
.band { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; }
.band-img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; filter: brightness(.45); will-change: transform; }
.band-inner { position: relative; display: grid; gap: 40px; justify-items: start; }
.band-quote { font-family: var(--display); font-weight: 300; font-size: clamp(40px, 7vw, 112px); line-height: .98; letter-spacing: -.03em; }

/* Visit */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 120px); padding-block: clamp(96px, 12vw, 180px); }
.visit-info h2 { margin: 22px 0 24px; }
.visit-lede { color: var(--bone-dim); max-width: 44ch; margin-bottom: 48px; }
.visit dl { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; margin: 0; }
.visit dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.visit dd { margin: 0; color: var(--bone-dim); }
.visit dd a { text-decoration: none; border-bottom: 1px solid var(--bone-faint); }
.visit dd a:hover { color: var(--bone); border-color: var(--brass); }
.trade { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bone-faint); color: var(--bone-dim); }
.trade a { color: var(--brass-hi); text-underline-offset: 4px; }

.book { align-self: start; display: grid; gap: 14px; padding: clamp(28px, 4vw, 52px); background: var(--night-2); border: 1px solid var(--bone-faint); border-radius: 6px; }
.book h3 { font-family: var(--display); font-weight: 300; font-size: 36px; }
.book-lede { color: var(--bone-dim); font-size: 15px; margin-bottom: 8px; }
.book .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%; padding: 26px 0 10px;
  background: transparent; color: var(--bone);
  border: 0; border-bottom: 1px solid var(--bone-faint); border-radius: 0;
  font: inherit; outline: none; resize: vertical;
  transition: border-color .3s;
}
.field select { appearance: none; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c6a46a' stroke-width='1.4'/%3E%3C/svg%3E") right 4px center no-repeat; }
.field select option { background: var(--night-2); }
.field span {
  position: absolute; left: 0; top: 24px; color: var(--bone-dim); pointer-events: none;
  transform-origin: left top; transition: transform .35s var(--ease), color .35s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brass); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field-select span { transform: translateY(-18px) scale(.75); color: var(--brass); }
.field.is-invalid input { border-color: #d77a5a; }
.book .btn { margin-top: 18px; }
.status { min-height: 1.4em; font-size: 14px; color: var(--brass-hi); }

/* Footer */
.site-footer { border-top: 1px solid var(--bone-faint); padding-top: clamp(64px, 9vw, 120px); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.foot-line { font-family: var(--display); font-weight: 300; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.02em; }
.foot-cols { display: flex; gap: clamp(32px, 5vw, 80px); flex-wrap: wrap; }
.foot-cols h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.foot-cols p { color: var(--bone-dim); font-size: 15px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { color: var(--bone); }
.foot-mark { display: block; width: 100%; height: auto; margin: clamp(64px, 9vw, 120px) 0 0; color: var(--night-3); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; font-size: 13px; color: var(--bone-dim); }

/* Cabinets page */
.page-hero { position: relative; min-height: 78svh; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 12s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.1); } }
.page-hero-inner { position: relative; padding-top: 150px; padding-bottom: clamp(48px, 7vw, 88px); }
.page-hero h1 {
  margin: 22px 0 24px; font-family: var(--display); font-weight: 300;
  font-size: clamp(48px, 8.5vw, 136px); line-height: .92; letter-spacing: -.045em;
}
.page-hero-lede { max-width: 52ch; margin-bottom: 34px; color: var(--bone-dim); font-size: 18px; }

.levels { padding-block: clamp(96px, 12vw, 160px); }
.level-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.level-card {
  scroll-margin-top: 110px;
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: clamp(26px, 3vw, 40px); border: 1px solid var(--bone-faint); border-radius: 8px;
  background: var(--night-2); text-decoration: none; color: var(--bone);
  transition: border-color .4s, transform .5s var(--ease), background .4s;
}
.level-card:hover { border-color: var(--brass); transform: translateY(-6px); }
.level-card.is-featured { background: linear-gradient(180deg, #2a251c, var(--night-2) 70%); border-color: rgba(198,164,106,.45); }
.level-badge { position: absolute; top: -12px; right: 24px; padding: 6px 12px; border-radius: 999px; background: var(--brass); color: var(--night); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.level-n { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.level-card h3 { font-family: var(--display); font-weight: 300; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; letter-spacing: -.02em; }
.level-price { font-size: 14px; color: var(--bone-dim); }
.level-price b { font-weight: 500; color: var(--brass-hi); letter-spacing: .08em; }
.level-price span { color: var(--bone-faint); letter-spacing: .08em; margin-right: 8px; }
.level-card > p:not(.level-price) { color: var(--bone-dim); }
.level-facts { display: grid; gap: 10px; margin: 8px 0 0; padding-top: 18px; border-top: 1px solid var(--bone-faint); }
.level-facts div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.level-facts dt { color: var(--bone-dim); }
.level-facts dd { margin: 0; text-align: right; }
.level-more { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 500; color: var(--brass-hi); }
.level-more::after { content: " →"; transition: margin .3s; }
.level-card:hover .level-more::after { margin-left: 6px; }
.levels-note { margin-top: 28px; text-align: center; color: var(--bone-dim); }

.level-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center;
  padding-block: clamp(56px, 7vw, 96px); scroll-margin-top: 40px;
}
.level-detail.is-flip .ld-media { order: 2; }
.ld-media { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; }
.ld-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ld-media:hover img { transform: scale(1.04); }
.ld-copy h2 { margin: 20px 0 22px; }
.ld-lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; max-width: 46ch; }
.ld-list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--bone-faint); }
.ld-list li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--bone-faint); color: var(--bone-dim); }
.ld-list li::before { content: ""; flex: none; width: 12px; height: 7px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg) translateY(-3px); }
.ld-fit { font-size: 15px; color: var(--bone-dim); max-width: 50ch; }
.ld-fit b { color: var(--bone); font-weight: 500; }

.ld-lines { margin-bottom: 14px; font-size: 15px; }
.ld-lines span { margin-right: 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.ld-lines a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--bone-faint); transition: border-color .3s; }
.ld-lines a:hover { border-color: var(--brass); }

.brands { padding-block: clamp(96px, 12vw, 160px) 0; }
.brands-lede { max-width: 56ch; color: var(--bone-dim); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand-card {
  display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 100px;
  padding: clamp(24px, 2.6vw, 34px); border: 1px solid var(--bone-faint); border-radius: 8px; background: var(--night-2);
  transition: border-color .4s, transform .5s var(--ease);
}
.brand-card:hover, .brand-card:target { border-color: var(--brass); transform: translateY(-4px); }
.brand-media { position: relative; aspect-ratio: 3 / 2; margin: calc(-1 * clamp(24px, 2.6vw, 34px)) calc(-1 * clamp(24px, 2.6vw, 34px)) 4px; overflow: hidden; border-radius: 7px 7px 0 0; }
.brand-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s ease, transform 1.2s var(--ease); }
.brand-media img + img { opacity: 0; transform: scale(1.06); }
.brand-card:hover .brand-media img:first-child { opacity: 0; transform: scale(1.04); }
.brand-card:hover .brand-media img + img { opacity: 1; transform: none; }
/* Touch screens have no hover, so the two photos take turns on their own */
@media (hover: none) {
  .brand-media img + img { animation: brand-swap 8s ease-in-out infinite; transform: none; }
}
@keyframes brand-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.brand-top { display: grid; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--bone-faint); }
.brand-level { justify-self: start; padding: 5px 10px; border: 1px solid rgba(198,164,106,.45); border-radius: 999px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-hi); }
.brand-card h3 { margin-top: 8px; font-family: var(--display); font-weight: 300; font-size: clamp(32px, 3vw, 42px); line-height: 1; letter-spacing: -.02em; }
.brand-meta { font-size: 13px; color: var(--bone-dim); }
.brand-card > p { color: var(--bone-dim); font-size: 15px; }
.brand-tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-tags li { padding: 6px 12px; border-radius: 999px; background: var(--bone-faint); font-size: 12px; }

.ladder { margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 3vw, 40px); border: 1px solid var(--bone-faint); border-radius: 8px; }
.ladder h3 { margin-bottom: 26px; font-family: var(--display); font-weight: 300; font-size: 26px; }
.ladder-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.ladder-list li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 104px;
  padding: 14px 12px; border-radius: 5px; font-size: 14px; line-height: 1.25;
  background: color-mix(in srgb, var(--brass) calc(8% + var(--i, 0) * 9%), var(--night-2));
}
.ladder-list b { font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--brass-hi); }
.ladder-list li:nth-child(n+7) b, .ladder-list li:nth-child(n+7) { color: var(--night); }
.ladder-list li:nth-child(1) { --i: 0; } .ladder-list li:nth-child(2) { --i: 1; } .ladder-list li:nth-child(3) { --i: 2; } .ladder-list li:nth-child(4) { --i: 3; }
.ladder-list li:nth-child(5) { --i: 4; } .ladder-list li:nth-child(6) { --i: 5; } .ladder-list li:nth-child(7) { --i: 6; } .ladder-list li:nth-child(8) { --i: 7; }
.ladder-scale { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--bone-dim); }
.ladder-scale span:first-child::before { content: "← "; }
.ladder-scale span:last-child::after { content: " →"; }

.compare { padding-block: clamp(96px, 12vw, 160px); }
.table-wrap { overflow-x: auto; border: 1px solid var(--bone-faint); border-radius: 8px; }
.compare table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--bone-faint); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-family: var(--display); font-weight: 400; font-size: 22px; }
.compare tbody th { font-weight: 400; color: var(--bone-dim); }
.compare .is-featured { background: rgba(198,164,106,.08); }
.compare thead .is-featured { color: var(--brass-hi); }

.doors { background: var(--stone); color: var(--night); padding-block: clamp(96px, 12vw, 160px); }
.doors .eyebrow { color: var(--clay); }
.doors em { color: #8a4a2a; }
.cab-cta { padding-block: clamp(96px, 12vw, 160px); }
.cab-cta-inner { display: grid; justify-items: center; gap: 22px; text-align: center; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 64px); border: 1px solid rgba(198,164,106,.35); border-radius: 10px; background: radial-gradient(80% 120% at 50% 0%, #2a251c, var(--night-2) 70%); }
.cab-cta-inner p { max-width: 54ch; color: var(--bone-dim); }
.cab-cta-inner .hero-actions { justify-content: center; }

@media (max-width: 1080px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .ladder-list { grid-template-columns: repeat(4, 1fr); }
  .level-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; gap: 24px; }
}
@media (max-width: 860px) {
  .level-detail { grid-template-columns: 1fr; }
  .level-detail.is-flip .ld-media { order: 0; }
  .ld-media { aspect-ratio: 4 / 3; }
  .brand-grid { grid-template-columns: 1fr; }
  .ladder-list { grid-template-columns: 1fr 1fr; }
  .ladder-list li { min-height: 0; flex-direction: row; align-items: center; }
}

/* Countertops page */
.mat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mat-card {
  display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 100px;
  border: 1px solid var(--bone-faint); border-radius: 8px; background: var(--night-2);
  color: var(--bone); text-decoration: none;
  transition: border-color .4s, transform .5s var(--ease);
}
.mat-card:hover, .mat-card:target { border-color: var(--brass); transform: translateY(-4px); }
.mat-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: clamp(22px, 2.4vw, 30px); }
.mat-body h3 { font-family: var(--display); font-weight: 300; font-size: clamp(30px, 2.8vw, 40px); line-height: 1; letter-spacing: -.02em; }
.mat-body > p { color: var(--bone-dim); font-size: 15px; }
.mat-body .level-facts { margin-top: 4px; }
.mat-body .brand-tags { margin-top: auto; padding-top: 8px; }

/* Stone slab photo on each material card */
.slab { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.slab img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mat-card:hover .slab img { transform: scale(1.06); }

.ld-steps { list-style: none; counter-reset: s; margin: 26px 0 28px; padding: 0; display: grid; border-top: 1px solid var(--bone-faint); }
.ld-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--bone-faint); color: var(--bone-dim); }
.ld-steps li::before { content: "0" counter(s); font-size: 12px; letter-spacing: .14em; color: var(--brass); }
.ld-steps b { color: var(--bone); font-weight: 500; }
.ld-steps li span { line-height: 1.55; }

/* Edge profiles: a slab edge seen from the side */
.edge-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.edge-grid h3 { margin: 22px 0 8px; font-family: var(--display); font-weight: 400; font-size: 24px; }
.edge-grid p { color: rgba(17,16,13,.74); font-size: 15px; }
.edge { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 6px; background: rgba(17,16,13,.07); }
.edge i {
  display: block; width: 62%; height: 26%;
  background: linear-gradient(180deg, #f4f1ec, #ddd7ce); box-shadow: 0 14px 22px -12px rgba(17,16,13,.5);
  transition: transform .6s var(--ease);
}
.edge-grid li:hover .edge i { transform: translateY(-4px); }
.edge-eased i { border-radius: 0 6px 6px 0; }
.edge-bevel i { clip-path: polygon(0 0, 82% 0, 100% 35%, 100% 100%, 0 100%); }
.edge-bullnose i { border-radius: 0 999px 999px 0; }
.edge-ogee i { border-radius: 0 40% 0 0 / 0 60% 0 0; box-shadow: inset -10px -10px 0 -4px rgba(0,0,0,.08), 0 14px 22px -12px rgba(17,16,13,.5); }
.edge-mitered i { height: 44%; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, #f4f1ec 0 42%, #cfc8bd 42% 44%, #e4dfd6 44%); }

.faq { padding-block: clamp(96px, 12vw, 160px) 0; }
.faq-list { border-top: 1px solid var(--bone-faint); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--bone-faint); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
  list-style: none; cursor: pointer; font-family: var(--display); font-weight: 300; font-size: clamp(20px, 2vw, 26px);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--bone-faint); border-radius: 50%; font-family: var(--sans); font-size: 18px; color: var(--brass); transition: transform .4s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 26px; max-width: 70ch; color: var(--bone-dim); }

@media (max-width: 1080px) {
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
  .edge-grid { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
}
@media (max-width: 640px) {
  .mat-grid { grid-template-columns: 1fr; }
  .edge-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Brand detail pages */
.bl-hero { min-height: 82svh; }
.bl-hero h1 { font-size: clamp(56px, 10vw, 160px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-size: 13px; color: var(--bone-dim); }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--bone-faint); }
.crumbs a:hover { color: var(--bone); border-color: var(--brass); }
.bl-specs { position: relative; z-index: 2; margin-top: -40px; }
.spec-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0;
  background: var(--bone-faint); border: 1px solid var(--bone-faint); border-radius: 8px; overflow: hidden;
}
.spec-grid div { padding: 22px 24px; background: var(--night-2); }
.spec-grid dt { margin-bottom: 6px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass); }
.spec-grid dd { margin: 0; font-size: 16px; line-height: 1.45; }

.bl-lines { padding-block: clamp(96px, 12vw, 150px) 0; }
.bl-line { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--bone-faint); }
.bl-line-head h3 { margin: 10px 0 10px; font-family: var(--display); font-weight: 300; font-size: clamp(30px, 3vw, 42px); line-height: 1; }
.bl-line-head p { color: var(--bone-dim); max-width: 40ch; }
.door-chips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; align-content: start; }
.door-chips li {
  display: grid; gap: 4px; padding: 16px 16px 14px; border: 1px solid var(--bone-faint); border-radius: 6px; background: var(--night-2);
  transition: border-color .3s, transform .4s var(--ease);
}
.door-chips li:hover { border-color: var(--brass); transform: translateY(-2px); }
.door-chips li.has-img { padding-top: 12px; }
.door-img {
  display: grid; place-items: center; aspect-ratio: 3 / 4; margin-bottom: 10px; padding: 10px;
  border-radius: 4px; background: linear-gradient(180deg, #f3efe8, #e3ddd2);
  overflow: hidden;
}
.door-img img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); transition: transform .6s var(--ease); }
.door-chips li:hover .door-img img { transform: scale(1.05); }
.door-chips b { font-family: var(--display); font-weight: 400; font-size: 19px; }
.door-chips span { font-size: 12px; color: var(--bone-dim); }

.bl-gallery { padding-block: clamp(96px, 12vw, 150px); }
.bl-shots { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bl-shot { margin: 0; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; }
.bl-shot:first-child { grid-row: span 2; aspect-ratio: auto; }
.bl-shot:nth-child(4) { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.bl-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.bl-shot:hover img { transform: scale(1.04); }

.bl-dark-lede { max-width: 60ch; color: rgba(17,16,13,.74); }
.bl-fins { display: grid; grid-template-columns: 1fr; gap: 16px; }
.bl-fin { padding: 26px; border-radius: 8px; background: rgba(17,16,13,.07); }
.bl-fin h3 { margin-bottom: 16px; font-family: var(--display); font-weight: 400; font-size: 22px; }
.bl-fin h3 small { margin-left: 6px; font-family: var(--sans); font-size: 12px; color: rgba(17,16,13,.5); }
.swatch-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px 12px; }
.swatch-grid li { display: grid; gap: 7px; font-size: 12px; line-height: 1.25; color: rgba(17,16,13,.82); }
.swatch-grid b { font-weight: 500; }
.sw-face {
  display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 6px;
  background: rgba(255,255,255,.5); box-shadow: inset 0 0 0 1px rgba(17,16,13,.12), 0 6px 14px -8px rgba(17,16,13,.45);
  transition: transform .4s var(--ease);
}
.swatch-grid li:hover .sw-face { transform: translateY(-3px); }
.sw-face img { width: 100%; height: 100%; object-fit: cover; }
.sw-paint { width: 100%; height: 100%; }
.sw-face i { font-style: normal; font-family: var(--display); font-size: 26px; color: rgba(17,16,13,.35); }

.bl-others { padding-block: 0 clamp(80px, 10vw, 140px); }
.bl-others-title { margin-bottom: 28px; font-size: clamp(30px, 3.4vw, 46px); }
.bl-other-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.bl-other { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; text-decoration: none; color: var(--bone); }
.bl-other img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6); transition: transform 1s var(--ease), filter .6s; }
.bl-other:hover img { transform: scale(1.06); filter: brightness(.8); }
.bl-other span { position: absolute; left: 16px; right: 16px; bottom: 14px; display: grid; gap: 2px; font-size: 12px; color: var(--bone-dim); }
.bl-other b { font-family: var(--display); font-weight: 400; font-size: 22px; color: var(--bone); }

/* Cabinets page: whole brand card links to its page */
.brand-card { position: relative; }
.brand-more { margin-top: 4px; font-size: 14px; font-weight: 500; color: var(--brass-hi); text-decoration: none; }
.brand-more::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.brand-more span { transition: margin .3s; }
.brand-card:hover .brand-more span { margin-left: 6px; }

@media (max-width: 1080px) {
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .bl-other-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .bl-line { grid-template-columns: 1fr; }
  .bl-shots { grid-template-columns: 1fr; }
  .bl-shot:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .bl-shot:nth-child(4) { aspect-ratio: 4 / 3; }
  .bl-fins { grid-template-columns: 1fr; }
  .bl-other-grid { grid-template-columns: repeat(2, 1fr); }
  .door-chips { grid-template-columns: repeat(2, 1fr); }
  .bl-fin { padding: 18px; }
  .swatch-grid { grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
  .swatch-grid li { font-size: 11px; }
}
@media (max-width: 560px) {
  .spec-grid { grid-template-columns: 1fr; }
  .fin-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 6px; }
  .fin-thumb b { font-size: 11px; }
}

/* Door detail pages (Fabuwood) */
.dv { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; padding-top: 120px; padding-bottom: clamp(72px, 9vw, 120px); }
.dv-stage { position: sticky; top: 96px; display: grid; gap: 14px; scroll-margin-top: 80px; }
.dv-kitchen { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--night-2); }
.dv-kitchen > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.dv-kitchen.is-swapping > img, .dv-kitchen.is-swapping .dv-door img { opacity: .35; }
.dv-kitchen.is-empty { background: linear-gradient(180deg, #f3efe8, #e3ddd2); }
.dv-kitchen.is-empty > img { object-fit: contain; padding: 8%; }
.dv-kitchen.is-empty .dv-door { display: none; }
.dv-door {
  position: absolute; left: 18px; bottom: 18px; width: clamp(84px, 16%, 140px); aspect-ratio: 3 / 5;
  display: grid; place-items: center; padding: 8px; border-radius: 6px;
  background: rgba(243, 239, 232, .92); box-shadow: 0 18px 40px -12px rgba(0,0,0,.6);
}
.dv-door img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .35s ease; }
.dv-shown { font-size: 14px; color: var(--bone-dim); }
.dv-shown b { font-weight: 500; color: var(--brass-hi); }
.dv-copy h1 { margin: 16px 0 14px; font-family: var(--display); font-weight: 300; font-size: clamp(54px, 7vw, 104px); line-height: .92; letter-spacing: -.04em; }
.dv-lede { font-size: 18px; max-width: 46ch; }
.dv-hint { margin: 16px 0 26px; color: var(--bone-dim); font-size: 15px; }
.fin-group { padding: 22px 0; border-top: 1px solid var(--bone-faint); }
.fin-group h3 { font-family: var(--display); font-weight: 400; font-size: 22px; }
.fin-group h3 small { margin-left: 6px; font-family: var(--sans); font-size: 12px; color: var(--bone-dim); }
.fin-group > p { margin: 4px 0 16px; font-size: 14px; color: var(--bone-dim); }
.fin-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 12px 10px; }
.fin-thumbs li, .fin-thumb, .fin-thumb-img { min-width: 0; }
.fin-thumb {
  display: grid; gap: 4px; width: 100%; padding: 0; background: none; border: 0; color: var(--bone); text-align: left; cursor: pointer; font: inherit;
}
.fin-thumb-img {
  display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 6px; border-radius: 5px;
  background: linear-gradient(180deg, #f3efe8, #e3ddd2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  transition: box-shadow .25s, transform .3s var(--ease);
}
.fin-thumb-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.fin-thumb:hover .fin-thumb-img { transform: translateY(-2px); }
.fin-thumb[aria-pressed="true"] .fin-thumb-img { box-shadow: 0 0 0 2px var(--brass); }
.fin-thumb:focus-visible { outline: none; }
.fin-thumb:focus-visible .fin-thumb-img { box-shadow: 0 0 0 2px var(--bone); }
.fin-thumb b { font-size: 12px; font-weight: 500; line-height: 1.2; }
.fin-thumb small { font-size: 11px; color: var(--bone-dim); }
.dv-specs { margin: 26px 0 30px; }
.cmp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.cmp-door { display: grid; gap: 6px; padding: 12px; border: 1px solid var(--bone-faint); border-radius: 6px; text-decoration: none; color: var(--bone); transition: border-color .3s, transform .4s var(--ease); }
.cmp-door:hover { border-color: var(--brass); transform: translateY(-3px); }
.cmp-door span { display: grid; place-items: center; aspect-ratio: 3 / 4; padding: 8px; border-radius: 4px; background: linear-gradient(180deg, #f3efe8, #e3ddd2); }
.cmp-door img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cmp-door b { font-family: var(--display); font-weight: 400; font-size: 18px; }
.cmp-door small { font-size: 12px; color: var(--bone-dim); }
a.door-link { display: contents; color: inherit; text-decoration: none; }
.door-chips li.is-link { position: relative; cursor: pointer; }
.door-chips li.is-link::after { content: "See all colors →"; font-size: 11px; color: var(--brass-hi); margin-top: 4px; }
@media (max-width: 960px) {
  .dv { grid-template-columns: 1fr; padding-top: 96px; }
  /* The photo stays pinned above the color grid; it sits over the menu bar while you browse colors */
  .dv-stage { position: sticky; top: 0; z-index: 55; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter) 8px; background: var(--night); box-shadow: 0 12px 24px -12px rgba(0,0,0,.7); }
  .dv-kitchen { aspect-ratio: auto; height: min(36vh, 58vw); }
  .dv-door { width: auto; height: 60%; left: 12px; bottom: 12px; padding: 6px; }
  .dv-shown { font-size: 13px; }
  .fin-thumbs { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 12px 8px; }
  .fin-thumb small { display: none; }
}

/* Offer popup */
.offer {
  width: min(760px, calc(100% - 32px)); max-height: min(660px, calc(100dvh - 48px));
  padding: 0; border: 1px solid var(--bone-faint); border-radius: 8px;
  background: var(--night-2); color: var(--bone);
  display: none; grid-template-columns: .72fr 1.28fr; overflow: hidden;
  box-shadow: 0 60px 140px -30px rgba(0,0,0,.9);
}
.offer[open] { display: grid; animation: offer-in .7s var(--ease); }
.offer::backdrop { background: rgba(8,7,5,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade-in .5s ease; }
@keyframes offer-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes fade-in { from { opacity: 0; } }
.offer-media { position: relative; min-height: 100%; }
.offer-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.8); }
.offer-badge {
  position: absolute; left: 24px; bottom: 24px;
  display: grid; place-items: center; align-content: center; width: 92px; height: 92px; border-radius: 50%;
  background: var(--brass); color: var(--night);
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.1;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.6);
  animation: badge-spin 1s var(--ease) .3s both;
}
.offer-badge b { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: -.02em; }
@keyframes badge-spin { from { opacity: 0; transform: scale(.4) rotate(-40deg); } }
.offer-body { position: relative; padding: clamp(24px, 3vw, 36px); overflow-y: auto; max-height: min(658px, calc(100dvh - 50px)); }
.offer-body h2 { margin: 10px 0 8px; font-size: clamp(28px, 3.2vw, 40px); line-height: 1; }
.offer-lede { color: var(--bone-dim); max-width: 40ch; }
.offer-list { list-style: none; margin: 12px 0 2px; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.offer-list li { display: flex; gap: 12px; align-items: baseline; }
.offer-list li::before { content: ""; flex: none; width: 12px; height: 7px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg) translateY(-3px); }
.offer-form { display: grid; gap: 4px; margin-top: 4px; }
.offer-form .field input, .offer-form .field select { padding: 22px 0 8px; font-size: 15px; }
.offer-form .field span { top: 20px; font-size: 15px; }
.offer-lede { font-size: 15px; }
.offer-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.offer-form input[type="date"] { color-scheme: dark; min-height: 50px; }
.offer-form .field.is-invalid input, .book .field.is-invalid input { border-color: #d77a5a; }
.offer-form .btn { margin-top: 10px; min-height: 48px; }
.offer-fine { margin-top: 2px; font-size: 13px; color: var(--bone-dim); text-align: center; }
.offer-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: grid; place-items: center; width: 40px; height: 40px;
  background: transparent; border: 1px solid var(--bone-faint); border-radius: 50%; color: var(--bone); cursor: pointer;
  transition: background .3s, transform .4s var(--ease);
}
.offer-close:hover { background: var(--bone-faint); transform: rotate(90deg); }
.offer-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
#offer-done .btn { margin-top: 28px; }

.offer-pill {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 18px; border: 1px solid rgba(198,164,106,.4); border-radius: 999px;
  background: rgba(17,16,13,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--bone); font: 500 14px/1 var(--sans); cursor: pointer;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,.6);
  animation: offer-in .6s var(--ease);
  transition: border-color .3s, transform .4s var(--ease);
}
.offer-pill b { padding: 8px 12px; border-radius: 999px; background: var(--brass); color: var(--night); font-weight: 500; font-size: 13px; }
.offer-pill[hidden] { display: none; }
.offer-pill b { animation: pill-pulse 2.6s ease-in-out 1s infinite; }
@keyframes pill-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(198,164,106,.55); } 50% { box-shadow: 0 0 0 8px rgba(198,164,106,0); } }
.offer-pill:hover { border-color: var(--brass); transform: translateY(-3px); }

@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; }
  .offer-media { min-height: 96px; }
  .offer-badge { width: 72px; height: 72px; left: auto; right: 20px; bottom: -24px; font-size: 9px; }
  .offer-badge b { font-size: 22px; }
  .offer-body { max-height: calc(min(660px, 100dvh - 48px) - 98px); }
  .offer-close { background: rgba(17,16,13,.7); }
  .offer-list { display: none; }
}
@media (max-width: 420px) {
  .offer-form .row { gap: 12px; }
  .offer .eyebrow { display: none; }
  .offer-body h2 { margin-top: 0; }
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.pillars .reveal:nth-child(2), .steps .reveal:nth-child(2), .col-grid .reveal:nth-child(2) { transition-delay: .12s; }
.pillars .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .24s; }
.steps .reveal:nth-child(4) { transition-delay: .36s; }
.hero .reveal { transition-delay: .5s; }

/* Responsive */
@media (max-width: 1080px) {
  .nav > a, .nav-parent { font-size: 13px; }
  .nav { gap: 22px; }
  .visit { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps::before, .steps::after { display: none; }
  .what-grid { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 860px) {
  .site-header { gap: 16px; }
  .header-cta { margin-left: auto; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px;
    background: transparent; border: 1px solid var(--bone-faint); border-radius: 50%; cursor: pointer;
  }
  .menu-btn > span:not(.vh) { display: block; width: 16px; height: 1px; background: var(--bone); transition: transform .4s var(--ease); }
  .menu-btn[aria-expanded="true"] > span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0; overflow-y: auto;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 96px var(--gutter) 40px;
    background: var(--night);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav > a, .nav-parent { font-family: var(--display); font-weight: 300; font-size: 38px; color: var(--bone); }
  .nav > a::after, .nav-parent::after, .nav-parent::before { display: none; }
  .drop, .nav-drop:hover .drop, .nav-drop:focus-within .drop {
    position: static; width: auto; padding: 4px 0 10px 2px; margin: 0;
    background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
    opacity: 1; visibility: visible; transform: none;
  }
  .drop::before { display: none; }
  .drop a { padding: 6px 0 6px 16px; border-left: 1px solid var(--bone-faint); border-radius: 0; }
  .drop b { font-size: 18px; }
  .drop span { display: none; }
  .drop .drop-all { margin: 0; padding-top: 6px; border-top: 0; }
  .hero-index { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .col-grid { grid-template-columns: 1fr; }
  .col-card { min-height: 78vh; }
  .col-specs { max-height: none; opacity: 1; }
  .craft-list li { grid-template-columns: 1fr; gap: 12px; }
  .craft-float { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-cta { display: none; }
  .menu-btn { margin-left: auto; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .book .row, .visit dl { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 64px 1fr; column-gap: 20px; padding-bottom: 32px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 32px; top: 64px; bottom: 0; width: 1px; background: rgba(17,16,13,.18); }
  .steps li .step-n { grid-row: span 2; }
  .steps h3 { margin: 14px 0 6px; font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-title .line > span { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}

/* Door photos always sit inside their frame with an even margin: the frame keeps its own shape
   and the photo is positioned inside it, so a tall photo can never stretch the frame */
.fin-thumb-img, .dv-door, .door-img, .cmp-door span { position: relative; display: block; overflow: hidden; min-height: 0; }
.fin-thumb-img { aspect-ratio: 3 / 4; padding: 0; }
.cmp-door span { aspect-ratio: 3 / 4; padding: 0; }
.door-img { aspect-ratio: 3 / 4; padding: 0; }
.fin-thumb-img img, .dv-door img, .door-img img, .cmp-door img {
  position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px);
  max-width: none; max-height: none; object-fit: contain;
}
.dv-door { position: absolute; padding: 0; aspect-ratio: 3 / 5; } /* stays pinned in the photo corner */

/* Collapsible finish groups (long glaze lists) */
.bl-fin-more summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; cursor: pointer; }
.bl-fin-more summary::-webkit-details-marker { display: none; }
.bl-fin-more summary h3 { margin: 0; }
.bl-fin-more summary span { padding: 6px 14px; border-radius: 999px; background: rgba(17,16,13,.08); font-size: 13px; }
.bl-fin-more[open] summary span { font-size: 0; }
.bl-fin-more[open] summary span::after { content: "Hide"; font-size: 13px; }
.bl-fin-more[open] summary { margin-bottom: 16px; }

/* Home page: picture-led sections */
.hero-foot-slim { border-top: 0; padding-top: 0; }
.hk-title { font-size: clamp(34px, 4.6vw, 64px); line-height: 1; }
.hk-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.hk-head .link-arrow { background: none; border: 0; border-bottom: 1px solid var(--bone-faint); color: var(--bone); font: 500 15px var(--sans); cursor: pointer; }

.hk-cats { padding-block: clamp(72px, 9vw, 120px) clamp(48px, 6vw, 80px); }
.hk-cats .hk-title { margin-bottom: clamp(24px, 3vw, 40px); }
.hk-cat-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.hk-cat { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 8px; color: var(--bone); text-decoration: none; }
.hk-cat:first-child { aspect-ratio: auto; }
.hk-cat img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: transform 1.2s var(--ease), filter .6s; }
.hk-cat:hover img { transform: scale(1.05); filter: brightness(.85); }
.hk-cat span { position: absolute; left: 22px; right: 22px; bottom: 20px; display: grid; gap: 4px; font-size: 14px; color: var(--bone-dim); }
.hk-cat b { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1; color: var(--bone); }
.hk-cat b::after { content: " →"; font-size: .6em; color: var(--brass-hi); }

.hk-doors { padding-block: clamp(48px, 6vw, 80px); background: var(--night-2); }
.hd-strip { list-style: none; margin: 0; padding: 4px var(--gutter) 16px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.hd-strip li { flex: 0 0 auto; width: clamp(130px, 13vw, 170px); scroll-snap-align: start; }
.hd-strip a { display: grid; gap: 4px; color: var(--bone); text-decoration: none; }
.hd-door { position: relative; display: block; aspect-ratio: 3 / 4.4; overflow: hidden; border-radius: 6px; background: linear-gradient(180deg, #f3efe8, #e3ddd2); transition: transform .5s var(--ease); }
.hd-door img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); }
.hd-strip a:hover .hd-door { transform: translateY(-4px); }
.hd-strip b { margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: 19px; }
.hd-strip small { font-size: 12px; color: var(--bone-dim); }

.hk-lines { padding-block: clamp(72px, 9vw, 120px) clamp(24px, 4vw, 48px); }
.hk-line-grid { grid-template-columns: repeat(6, 1fr); }

.hk-gallery { padding-block: clamp(72px, 9vw, 120px) 0; }
.hk-shots { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 240px); gap: 12px; }
.hk-shot { margin: 0; overflow: hidden; border-radius: 6px; }
.hk-shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.hk-shot:nth-child(4), .hk-shot:nth-child(5), .hk-shot:nth-child(6) { grid-column: span 2; }
.hk-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hk-shot:hover img { transform: scale(1.04); }

@media (max-width: 1080px) {
  .hk-line-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .hk-cat-grid { grid-template-columns: 1fr 1fr; }
  .hk-cat:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .hk-cat span { left: 14px; right: 14px; bottom: 14px; font-size: 12px; }
  .hk-cat:not(:first-child) b { font-size: 22px; }
  .hk-line-grid { grid-template-columns: repeat(2, 1fr); }
  .hk-shots { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
  .hk-shot:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .hk-shot:nth-child(4), .hk-shot:nth-child(5) { grid-column: span 1; }
  .hk-shot:nth-child(6) { grid-column: span 2; }
}

.hk-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }

/* Free design button: springs in from the edge, then a light sweep and a small nudge every few seconds */
.offer-pill:not([hidden]) {
  overflow: hidden; isolation: isolate;
  animation: pill-enter .9s cubic-bezier(.2, 1.5, .4, 1) both, pill-nudge 8s ease-in-out 2.2s infinite;
}
.offer-pill::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(227, 201, 149, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: pill-shine 8s ease 1s infinite;
}
@keyframes pill-enter {
  0% { opacity: 0; transform: translateX(140%) scale(.9); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes pill-nudge {
  0%, 12%, 100% { transform: none; }
  3% { transform: translateY(-6px) rotate(-2deg); }
  6% { transform: translateY(0) rotate(2deg); }
  9% { transform: translateY(-3px) rotate(-1deg); }
}
@keyframes pill-shine {
  0% { transform: translateX(-120%); }
  14%, 100% { transform: translateX(120%); }
}

/* Hero eyebrow: soft dark backing so the small caps stay readable on bright slides */
.hero-inner .eyebrow {
  width: fit-content;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: rgba(17, 16, 13, .2);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  color: #e3c48f;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}

/* What we do: short lede + "Why OKKO" promises */
.hk-cats .hk-title { margin-bottom: 14px; }
.hk-lede { max-width: 54ch; margin: 0 0 clamp(28px, 3.5vw, 44px); color: var(--bone-dim); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; }
.hk-why { margin-top: clamp(48px, 6vw, 80px); }
.hk-why .eyebrow { margin-bottom: clamp(20px, 2.5vw, 32px); font-size: 13px; color: var(--brass-hi); }
.hk-why-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.hk-why-list li { padding: clamp(24px, 2.4vw, 34px); border-radius: 10px; background: var(--night-2); border: 1px solid rgba(239, 233, 222, .1); }
.hk-why-list span { display: block; font: 600 14px var(--sans); letter-spacing: .18em; color: var(--brass-hi); margin-bottom: 16px; }
.hk-why-list h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 33px); line-height: 1.15; color: #fff; }
.hk-why-list h3 em { font-style: italic; color: var(--brass-hi); }
.hk-why-list p { margin: 0; color: rgba(239, 233, 222, .9); font-size: 17px; line-height: 1.65; }
@media (max-width: 760px) {
  .hk-why-list { grid-template-columns: 1fr; gap: 12px; }
}

/* Free design popup: price anchor, bolder benefits, trust row */
.offer-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 10px; }
.offer-price s { font: 300 22px var(--display); color: var(--bone-dim); text-decoration-color: rgba(215, 122, 90, .9); text-decoration-thickness: 2px; }
.offer-price b { font: 400 clamp(34px, 3.4vw, 44px)/1 var(--display); color: var(--brass-hi); letter-spacing: -.01em; }
.offer-price span { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--bone-dim); }
.offer-list { font-size: 15px; gap: 8px; margin-top: 14px; }
.offer-list b { color: #fff; font-weight: 600; }
.offer-cta { font-size: 16px; letter-spacing: .01em; box-shadow: 0 14px 30px -12px rgba(198, 164, 106, .7); }
.offer-cta span { display: inline-block; margin-left: 6px; transition: transform .3s var(--ease); }
.offer-cta:hover span { transform: translateX(4px); }
.offer-fine { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; }
.offer-fine span { display: inline-flex; align-items: center; gap: 6px; }
.offer-fine span::before { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg) translateY(-2px); }

/* Appointment type: showroom or online */
.appt-type { border: 0; margin: 10px 0 4px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; min-width: 0; }
.appt-type legend { grid-column: 1 / -1; padding: 0; margin-bottom: 8px; font-size: 13px; color: var(--bone-dim); }
.appt-type label { position: relative; cursor: pointer; }
.appt-type input { position: absolute; opacity: 0; pointer-events: none; }
.appt-type span { display: grid; gap: 2px; padding: 12px 14px 12px 40px; border: 1px solid var(--bone-faint); border-radius: 8px; transition: border-color .25s, background .25s; }
.appt-type span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; border: 1.5px solid var(--bone-dim); transition: border-color .25s, box-shadow .25s; }
.appt-type b { font-weight: 500; font-size: 15px; color: var(--bone); }
.appt-type small { font-size: 12.5px; color: var(--bone-dim); }
.appt-type label:hover span { border-color: rgba(198, 164, 106, .5); }
.appt-type input:checked + span { border-color: var(--brass); background: rgba(198, 164, 106, .1); }
.appt-type input:checked + span::before { border-color: var(--brass); box-shadow: inset 0 0 0 4px var(--night-2), inset 0 0 0 9px var(--brass); }
.appt-type input:focus-visible + span { outline: 2px solid var(--brass-hi); outline-offset: 2px; }
.book .appt-type input:checked + span::before { box-shadow: inset 0 0 0 4px var(--night), inset 0 0 0 9px var(--brass); }

/* Popup: short perk chips instead of a bullet list */
.offer-perks { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.offer-perks li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid rgba(198, 164, 106, .35); border-radius: 999px; font-size: 13.5px; color: var(--bone); background: rgba(198, 164, 106, .07); }
.offer-perks li::before { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--brass-hi); border-bottom: 1.5px solid var(--brass-hi); transform: rotate(-45deg) translateY(-2px); }
.offer-price { margin: 2px 0 8px; }
.appt-type { margin-top: 12px; }
.appt-type span { padding: 11px 14px 11px 40px; }

/* Edge button: once it has appeared, it is simply there on every later page (no slide-in again) */
.offer-pill.is-settled:not([hidden]) { animation: pill-nudge 8s ease-in-out 2.2s infinite; }
.offer-step .offer-lede { margin: 0 0 10px; font-size: 15px; }
/* Keep the whole popup, button included, on screen without scrolling */
.offer { width: min(820px, calc(100% - 32px)); }
.offer-body { padding: 26px 30px 22px; }
.offer-body h2 { margin: 8px 0 4px; }
.offer-price { margin: 0 0 4px; }
.offer-step .offer-lede { margin: 0 0 8px; font-size: 14.5px; }
.offer-perks { margin: 0 0 2px; gap: 6px; }
.offer-perks li { padding: 5px 11px; font-size: 13px; }
.offer-form .field input, .offer-form .field select { padding: 18px 0 6px; }
.offer-form .field span { top: 16px; }
.offer-form input[type="date"] { min-height: 44px; }
.offer .appt-type { margin: 8px 0 2px; }
.offer .appt-type span { padding: 8px 12px 8px 38px; gap: 0; }
.offer-form .btn { margin-top: 8px; }
.offer-fine { margin-top: 4px; }
.offer-body h2 { font-size: clamp(26px, 2.9vw, 36px); }
.offer-form { gap: 0; }
.offer .status:empty { display: none; }
.offer-body .eyebrow { margin: 0; }

/* Popup always fits on one screen: it grows to the content, and on shorter screens the extras step aside */
.offer { max-height: calc(100dvh - 24px); }
.offer-body { max-height: calc(100dvh - 26px); }
@media (max-height: 760px) {
  #offer-form-step .offer-lede { display: none; }
  .offer-body { padding-top: 20px; padding-bottom: 16px; }
}
@media (max-height: 640px) {
  .offer-perks, .offer-body .eyebrow { display: none; }
  .offer-fine { display: none; }
}
@media (max-width: 760px) {
  .offer-media { display: none; }
  .offer-body { max-height: calc(100dvh - 26px); padding: 22px 20px 16px; }
  #offer-form-step .offer-lede { display: none; }
  .offer-close { top: 10px; right: 10px; }
  .offer-body h2 { padding-right: 36px; }
}


/* Popup in a quieter, showroom tone: no price badge inside the popup */
.offer-caption { position: absolute; left: 24px; bottom: 22px; font: 500 11px/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgba(239, 233, 222, .85); }
.offer-media img { filter: brightness(.82); }
.offer-step .offer-lede { max-width: 38ch; color: var(--bone-dim); }
.offer-cta { box-shadow: none; letter-spacing: .02em; }
.offer-fine { display: block; text-align: center; font-size: 12.5px; }
.offer-fine::before { content: none; }
/* Short-screen rule hides the intro line; keep it, since it now says the service is free */
@media (max-height: 760px) { #offer-form-step .offer-lede { display: block; } }
@media (max-width: 760px) { #offer-form-step .offer-lede { display: block; font-size: 14px; } }

/* Edge button keeps its gold look; on later pages it is already there (no second slide-in) */
.offer-pill.is-settled:not([hidden]) { animation: pill-nudge 8s ease-in-out 2.2s infinite; }
