/* ============================================================
   Shop Design Build, site design system  (v2: blue-forward, big-block)
   Keene, NH · design-build · general contracting · showroom
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ---- ground + ink ---- */
  --paper: #FFFFFF;
  --ground: #F3F1EC;          /* warm greige, 2026 leans warm */
  --ground-dim: #E9E5DD;
  --sand: #EDE7DC;            /* subtle warm fill for callouts */
  --ink: #16212C;             /* blue-black */
  --ink-soft: #4B5A67;

  /* ---- brand blue (the logo) ---- */
  --blue: #3A668C;
  --blue-600: #33587A;
  --blue-700: #2A4A67;
  --blue-900: #1B354C;        /* dark bands */
  --navy: #10222F;            /* darkest, hero / footer */
  --sky: #E7EEF4;             /* pale blue fill */
  --sky-line: #C9D8E4;

  /* ---- single warm signal, used sparingly ---- */
  --ember: #D5852E;
  --ember-dark: #955515;           /* 4.7:1+ on paper, ground and sand for small kicker text */

  --ok: #1E7B4D;

  --line: rgba(22, 33, 44, 0.14);
  --line-soft: rgba(22, 33, 44, 0.08);
  --line-dark: rgba(255, 255, 255, 0.18);

  --shadow-block: 0 1px 0 rgba(22,33,44,0.04), 0 18px 40px -24px rgba(16,34,47,0.35);

  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1320px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 148px);
  --r: 4px;      /* buttons / small */
  --r-lg: 12px;  /* cards / media */
}

* { box-sizing: border-box; }
/* html is blue so iOS Safari's status-bar area and pull-down bounce match the header */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--blue); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
/* iOS 26 Safari tints the status bar from a fixed element touching the top edge (theme-color is ignored):
   a thin fixed blue strip keeps it blue from the first paint and while scrolling. It sits under the sticky
   header (z 100) and under any full-screen overlay, so it is never seen on its own. */
body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; height: max(3px, env(safe-area-inset-top)); background: var(--blue); z-index: 99; pointer-events: none; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.7rem); }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--tight { padding: clamp(48px, 7vw, 92px) 0; }
.center { text-align: center; }
.measure { max-width: 62ch; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--ember); }
.eyebrow--center { justify-content: center; }
.on-dark .eyebrow, .eyebrow--light { color: #9FC0DA; }

.section-head { max-width: 30ch; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--wide { max-width: 46ch; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.18rem; max-width: 52ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.005em;
  padding: 19px 34px;
  border: 2px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-700); }
.btn--ember { background: var(--ember); color: var(--navy); }
.btn--ember:hover { background: var(--ember-dark); color: #fff; }
.btn--outline { border-color: currentColor; color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: 1rem; color: var(--blue);
  transition: gap .18s ease;
}
.link-arrow::after { content: '\2192'; transition: transform .18s ease; }
.link-arrow:hover { gap: 13px; }
.on-dark .link-arrow { color: #fff; }

/* ---------- Grain ---------- */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   Header
   ============================================================ */
/* Skip link, visible only on keyboard focus (WCAG 2.4.1) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px;
  border-radius: 0 0 8px 8px; font-weight: 700; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; outline: 3px solid var(--ember); outline-offset: 2px; }

/* One continuous blue banner: the utility strip and the main header share
   the logo's exact blue (#3A668C) so the logo mark blends straight in. */
.topbar {
  background: var(--blue); color: rgba(255,255,255,0.9);
  font-size: 0.85rem; letter-spacing: 0.005em; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px var(--gutter); }
.topbar a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 1px; }
.topbar a:hover { border-bottom-color: #fff; }
.topbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7FE3AF; margin-right: 8px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(127,227,175,0.22); }
.topbar-links { display: flex; gap: 24px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue); color: #fff;
  box-shadow: 0 16px 34px -24px rgba(16,34,47,0.6);
}
.site-header .wrap { display: flex; align-items: center; gap: 30px; padding-top: 7px; padding-bottom: 7px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: auto; height: 84px; display: block; }
@media (max-width: 640px) { .brand img { height: 64px; } }
.brand-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.header-cta { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.header-phone { font-weight: 800; font-size: 0.98rem; white-space: nowrap; color: #fff; }
.header-phone:hover { color: var(--clay-light, #E7C79B); }
.header-cta .btn { padding: 13px 24px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { display: block; width: 26px; height: 2.5px; background: #fff; margin: 6px 0; }

/* ---------- Mega nav (SHOP / DESIGN / BUILD) ---------- */
.nav > .nav-item { position: static; }
.nav .nav-trigger {
  appearance: none; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: #fff; padding: 10px 2px;
  display: inline-flex; align-items: center; gap: 7px;
  border-bottom: 3px solid transparent;
}
.nav .nav-trigger::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; opacity: .7; }
.nav .nav-link { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; padding: 10px 2px; border-bottom: 3px solid transparent; }
.nav .nav-item.open .nav-trigger,
.nav .nav-trigger:hover,
.nav .nav-link:hover { border-bottom-color: var(--ember); }
.nav .nav-item.open .nav-trigger::after { transform: rotate(-135deg) translateY(-2px); }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 32px 48px -28px rgba(16,34,47,0.4);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 90;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega__inner {
  max-width: var(--max-w); margin: 0 auto; padding: clamp(28px, 3.5vw, 48px) var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: clamp(24px, 3vw, 48px);
}
.mega__inner--4 { grid-template-columns: repeat(4, 1fr); }
.mega__col h5 { font-family: var(--font-body); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin: 0 0 14px; }
.mega__col a { display: block; padding: 7px 0; font-size: 0.98rem; color: var(--ink-soft); font-weight: 500; }
.mega__col a:hover { color: var(--blue); }
.mega__feature { background: var(--sky); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; }
.mega__feature b { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.mega__feature p { font-size: 0.92rem; color: var(--ink-soft); margin: 10px 0 0; }
.mega__feature .link-arrow { margin-top: auto; padding-top: 18px; font-size: 0.94rem; }

@media (max-width: 1180px) {
  .nav, .header-phone { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-header .wrap { gap: 16px; }
  /* the sticky bottom bar carries Call + Book on phones, keep the header lean */
  .header-cta .btn { padding: 11px 18px; font-size: 0.88rem; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .site-header .wrap { justify-content: space-between; }
  .topbar .wrap span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 1180px) {
  .nav.is-open {
    display: block; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.is-open .nav-item { border-bottom: 1px solid var(--line-soft); }
  .nav.is-open .nav-trigger, .nav.is-open .nav-link { width: 100%; justify-content: space-between; font-size: 1.15rem; padding: 18px 0; border: 0; color: var(--ink); }
  .nav.is-open .nav-trigger::after { border-color: var(--blue); }
  .nav.is-open .mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; display: none; padding-bottom: 10px;
  }
  .nav.is-open .nav-item.open .mega { display: block; }
  .nav.is-open .mega__inner { display: block; padding: 0 0 12px; }
  .nav.is-open .mega__col { margin-bottom: 16px; }
  .nav.is-open .mega__col h5 { margin-bottom: 8px; }
  .nav.is-open .mega__feature { display: none; }
}
@media (max-width: 640px) { .topbar-links, .topbar-sun { display: none; } }

/* ============================================================
   Hero, split: blue panel + photo
   ============================================================ */
.hero { background: var(--navy); color: #fff; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: clamp(480px, 66vh, 660px); }
.hero__panel { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 84px) clamp(28px, 6vw, 80px); }
.hero h1 { margin: 22px 0 0; position: relative; padding-left: 22px; }
.hero h1::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 5px; background: var(--ember); border-radius: 2px; }
.hero h1 em { font-style: normal; color: var(--ember); }
.hero p { margin-top: 26px; font-size: 1.28rem; line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
.hero__media { position: relative; overflow: hidden; background: #000; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 140px rgba(16,34,47,0.5); }
.hero__strip { background: var(--blue-900); }
.hero__strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: 2rem; display: block; letter-spacing: -0.03em; color: #fff; }
.stat span { font-size: 0.86rem; color: rgba(255,255,255,0.72); }
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { min-height: 300px; order: -1; }
  .hero h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .hero p { font-size: 1.08rem; }
  .hero__panel { padding-top: 36px; padding-bottom: 40px; }
}
@media (max-width: 680px) {
  .hero__strip .wrap { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
}

/* ============================================================
   Pillars, big blocks
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--paper); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-block); display: flex; flex-direction: column;
}
.pillar__img { aspect-ratio: 3 / 2; overflow: hidden; }
.pillar__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pillar:hover .pillar__img img { transform: scale(1.05); }
.pillar__body { padding: clamp(24px, 3vw, 40px); flex: 1; display: flex; flex-direction: column; }
.pillar__num { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--blue); }
.pillar h3 { margin: 12px 0 10px; }
.pillar p { color: var(--ink-soft); font-size: 1.02rem; }
.pillar .link-arrow { margin-top: auto; padding-top: 22px; }
@media (max-width: 940px) { .pillars { grid-template-columns: 1fr; } }

/* ============================================================
   Split feature
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); }
.split__body h2 { margin: 18px 0 20px; }
.split__body p { color: var(--ink-soft); font-size: 1.14rem; }
.on-dark .split__body p { color: rgba(255,255,255,0.82); }
.feature-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 15px; }
.feature-list li { display: flex; gap: 13px; font-size: 1.04rem; }
.feature-list li::before { content: ''; flex-shrink: 0; width: 10px; height: 10px; margin-top: 9px; background: var(--ember); border-radius: 2px; }
.split__body .btn { margin-top: 34px; }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.split__actions .btn { margin-top: 0; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split--flip .split__media { order: 0; }
}

/* Quiz chips, homepage "plan your project" band */
.quiz-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 6px; }
.quiz-chip { display: block; padding: 14px 16px; border-radius: var(--r-md, 12px); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); text-decoration: none; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.quiz-chip:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.quiz-chip b { display: block; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.quiz-chip span { display: block; margin-top: 3px; color: rgba(255,255,255,0.7); font-size: 0.86rem; }
@media (max-width: 560px) { .quiz-chips { grid-template-columns: 1fr; } }

/* ============================================================
   Portfolio grid, big tiles
   ============================================================ */
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 12px; }
.proj { position: relative; overflow: hidden; background: var(--navy); border-radius: var(--r-lg); }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, opacity .3s ease; }
.proj:hover img { transform: scale(1.05); opacity: 0.85; }
.proj__meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; background: linear-gradient(0deg, rgba(10,22,31,0.86), transparent); }
.proj__meta b { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; display: block; letter-spacing: -0.02em; }
.proj__meta span { font-size: 0.88rem; color: rgba(255,255,255,0.8); }
.proj--lg { grid-column: span 6; aspect-ratio: 16 / 11; }
.proj--md { grid-column: span 4; aspect-ratio: 1 / 1; }
.proj--sm { grid-column: span 3; aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .proj--lg { grid-column: span 12; }
  .proj--md { grid-column: span 6; }
  .proj--sm { grid-column: span 6; }
}

/* ============================================================
   Shop tiles
   ============================================================ */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.tile { position: relative; display: block; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-block); }
.tile__img { aspect-ratio: 3 / 2; overflow: hidden; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover .tile__img img { transform: scale(1.06); }
.tile__label { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 20px 22px; }
.tile__label b { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.tile__label span { font-size: 0.76rem; color: var(--blue); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ============================================================
   Dark band
   ============================================================ */
.band-blue { background: var(--blue-900); color: #fff; }
.band-navy { background: var(--navy); color: #fff; }
.band-blue h2, .band-navy h2 { color: #fff; }
.band-sky { background: var(--sky); }

/* ============================================================
   Process steps, big numbered blocks
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--paper); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 52px); box-shadow: var(--shadow-block); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--sky-line); letter-spacing: -0.04em; }
.step h3 { margin: 14px 0 12px; }
.step p { color: var(--ink-soft); font-size: 1.02rem; }
.band-blue .step, .band-navy .step { background: rgba(255,255,255,0.06); box-shadow: none; border: 1px solid var(--line-dark); }
.band-blue .step p, .band-navy .step p { color: rgba(255,255,255,0.8); }
.band-blue .step__num, .band-navy .step__num { color: rgba(255,255,255,0.35); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ============================================================
   Brand strip
   ============================================================ */
.brandstrip { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.brandstrip .wrap { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; justify-content: center; padding-top: 38px; padding-bottom: 38px; }
.brandstrip img { height: 30px; width: auto; opacity: 0.5; filter: grayscale(1); transition: opacity .2s ease; }
.brandstrip img:hover { opacity: 0.95; }

/* ============================================================
   Testimonials
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--paper); border-radius: var(--r-lg); border-top: 4px solid var(--blue); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; box-shadow: var(--shadow-block); }
.quote p { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; line-height: 1.42; letter-spacing: -0.015em; }
.quote footer { margin-top: auto; padding-top: 24px; font-size: 0.88rem; color: var(--ink-soft); }
.quote footer b { color: var(--ink); display: block; font-family: var(--font-body); font-weight: 700; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   Sister brands
   ============================================================ */
.family { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.family a { background: var(--paper); border-radius: var(--r-lg); padding: 30px 28px 32px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-block); transition: transform .16s ease; }
.family a:hover { transform: translateY(-3px); }
.family b { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.family span { font-size: 0.96rem; color: var(--ink-soft); }
.family em { margin-top: auto; padding-top: 16px; font-style: normal; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 940px) { .family { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .family { grid-template-columns: 1fr; } }

/* ============================================================
   Consult / contact
   ============================================================ */
.consult { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); }
.consult__aside h2 { margin: 16px 0 20px; }
.consult__aside p { color: rgba(255,255,255,0.82); font-size: 1.14rem; }
.consult__contact { margin-top: 34px; display: grid; gap: 8px; font-size: 1.02rem; }
.consult__contact a { color: #fff; font-weight: 700; }
.form-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field > span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ground); border: 2px solid var(--line-soft);
  padding: 14px 15px; border-radius: var(--r);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.84rem; color: var(--ink-soft); margin-top: 16px; }
@media (max-width: 900px) { .consult { grid-template-columns: 1fr; } .form-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.72); font-size: 0.95rem; }
.site-footer .wrap { padding-top: clamp(64px, 8vw, 104px); padding-bottom: 44px; }
.footer-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 26px; }
/* RK Parisi family strip (loaded from rkparisi.com) sits full-width across the top of the footer */
.footer-family { grid-column: 1 / -1; }
.footer-family:not(:has(.rkfb)) { display: none; }
.footer-family .rkfb { background: transparent; border-top: 0; padding: 0 0 44px; border-bottom: 1px solid var(--line-dark); }
/* wide screens: strip on the left, link columns 2x2 beside it (same layout as poshhaus.com) */
@media (min-width: 1200px) {
  .footer-top { grid-template-columns: auto repeat(2, minmax(160px, 1fr)); column-gap: 64px; }
  .footer-family { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .footer-family .rkfb { padding: 0; border-bottom: 0; }
  .footer-family .rkfb-in { justify-content: flex-start; gap: 36px; }
  .footer-family .rkfb-rk .rkfb-logo { --h: 130px; --w: 190px; }
  .footer-family .rkfb-grid { gap: 22px 36px; }
  .footer-family .rkfb-grid .rkfb-logo svg, .footer-family .rkfb-grid .rkfb-logo img { height: calc(var(--h) * .8); max-width: 160px; }
}
.footer-col h4 { font-family: var(--font-body); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; color: rgba(255,255,255,0.5); }
@media (max-width: 940px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 18px; } }

/* ============================================================
   Interior page hero
   ============================================================ */
.page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.page-hero--img .page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero--img .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero--img .page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(16,34,47,0.78) 50%, rgba(16,34,47,0.5) 100%); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero__crumb { font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.page-hero__crumb a { color: rgba(255,255,255,0.75); }
.page-hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); max-width: 18ch; }
.page-hero p { margin-top: 22px; font-size: 1.24rem; line-height: 1.55; color: rgba(255,255,255,0.85); max-width: 52ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
@media (max-width: 640px) {
  .page-hero .wrap { padding-top: 40px; padding-bottom: 40px; }
  .page-hero h1 { font-size: clamp(2rem, 8.5vw, 2.6rem); max-width: 22ch; }
  .page-hero p { font-size: 1.06rem; margin-top: 16px; }
  .page-hero__crumb { margin-bottom: 14px; }
  .page-hero__actions { margin-top: 24px; }
}

/* ============================================================
   Generic content bits
   ============================================================ */
.lede { font-size: 1.3rem; line-height: 1.55; color: var(--ink-soft); max-width: 54ch; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-block);
  padding: clamp(24px, 3vw, 38px); display: flex; flex-direction: column;
}
.card > img, .card__img { border-radius: calc(var(--r-lg) - 4px); aspect-ratio: 3/2; object-fit: cover; width: 100%; margin-bottom: 20px; }
.card__kicker { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue); }
.card h3 { margin: 10px 0 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; }
.card .link-arrow { margin-top: auto; padding-top: 18px; font-size: 0.96rem; }
@media (max-width: 960px) { .cards, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards, .cards--2, .cards--4 { grid-template-columns: 1fr; } }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.spec-list div { background: var(--paper); padding: 22px 24px; }
.spec-list dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin: 0 0 6px; }
.spec-list dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em; }
@media (max-width: 600px) { .spec-list { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.015em; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; color: var(--blue); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { padding: 0 0 24px; margin: 0; color: var(--ink-soft); max-width: 68ch; }

.town-list { columns: 4; column-gap: 32px; font-size: 0.98rem; }
.town-list a { display: block; padding: 5px 0; color: var(--ink-soft); }
.town-list a:hover { color: var(--blue); }
@media (max-width: 900px) { .town-list { columns: 2; } }

.cta-strip { background: var(--blue); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 60px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; max-width: 20ch; }
.cta-strip p { color: rgba(255,255,255,0.85); margin-top: 10px; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ============================================================
   Calculators
   ============================================================ */
.calc { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-block); overflow: hidden; margin-top: 28px; scroll-margin-top: 120px; }
.calc__head { padding: clamp(22px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.calc__head .card__kicker { color: var(--blue); }
.calc__head h3 { margin-top: 8px; }
.calc__head p { margin-top: 8px; color: var(--ink-soft); font-size: 1rem; max-width: 62ch; }
.calc__grid { display: grid; grid-template-columns: 1.3fr 1fr; }
.calc__inputs { padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; }
.calc__inputs .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.calc__out { background: var(--navy); color: #fff; padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 4px; }
.calc__out .out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.calc__out .out-row:last-of-type { border-bottom: 0; }
.calc__out .out-row span { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.calc__out .out-row b { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc__out .out-lead b { font-size: 1.9rem; color: var(--ember); }
.calc__out .fine { margin-top: auto; padding-top: 18px; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.calc__out .btn { margin-top: 16px; }
.seg { display: flex; border: 2px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.seg button { flex: 1; appearance: none; background: var(--paper); border: 0; border-left: 2px solid var(--line-soft); padding: 12px 8px; cursor: pointer; font-family: inherit; font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.seg button:first-child { border-left: 0; }
.seg button[aria-pressed="true"] { background: var(--blue); color: #fff; }
@media (max-width: 820px) { .calc__grid { grid-template-columns: 1fr; } .calc__inputs .row { grid-template-columns: 1fr; } }

.calc-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.calc-nav a { border: 2px solid var(--line); border-radius: var(--r); padding: 10px 16px; font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.calc-nav a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Tool dashboard ---------- */
.tool-hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tool-hub a {
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-block);
  padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column;
  transition: transform .16s ease;
}
.tool-hub a:hover { transform: translateY(-4px); }
.tool-hub .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue); margin-bottom: 18px;
}
.tool-hub .ic svg { width: 26px; height: 26px; }
.tool-hub h3 { font-size: 1.2rem; margin-bottom: 8px; }
.tool-hub p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.tool-hub .go { margin-top: 16px; font-weight: 700; color: var(--blue); font-size: 0.92rem; }
.tool-hub a:hover .go { text-decoration: underline; }
@media (max-width: 940px) { .tool-hub { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .tool-hub { grid-template-columns: 1fr; } }

/* ============================================================
   Trust bar (under hero), research: trust signals above the fold
   ============================================================ */
.trustbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trustbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 36px; padding-top: 20px; padding-bottom: 20px; }
.trust { display: flex; align-items: center; gap: 10px; font-size: 0.94rem; font-weight: 600; color: var(--ink); }
.trust svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); }
.trust .stars { color: var(--ember-dark); letter-spacing: 1px; }
.trust span { color: var(--ink-soft); font-weight: 500; }
@media (max-width: 680px){ .trustbar .wrap { gap: 12px 22px; } .trust { font-size: 0.86rem; } }

/* ============================================================
   Quick-start strip, low-friction entry (Sweeten pattern)
   ============================================================ */
.starter { background: var(--sand); }
.starter .wrap { padding-top: clamp(28px, 4vw, 44px); padding-bottom: clamp(28px, 4vw, 44px); }
.starter form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.starter .field { flex: 1 1 180px; }
.starter .field input, .starter .field select { background: var(--paper); border: 2px solid var(--line); color: var(--ink); }
.starter .btn { flex: 0 0 auto; }
.starter h3 { flex-basis: 100%; margin-bottom: 4px; }
.starter p.form-note { flex-basis: 100%; color: var(--ink-soft); }

/* ============================================================
   Sticky mobile action bar
   ============================================================ */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    box-shadow: 0 -6px 24px -12px rgba(16,34,47,0.4);
  }
  .mobile-cta a { padding: 15px 10px; text-align: center; font-weight: 700; font-size: 0.95rem; }
  .mobile-cta .m-call { background: var(--paper); color: var(--blue); border-top: 1px solid var(--line); }
  .mobile-cta .m-book { background: var(--ember); color: var(--navy); }
  body { padding-bottom: 54px; }
}

/* ============================================================
   Review cards
   ============================================================ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-block); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.review .stars { color: var(--ember); letter-spacing: 2px; font-size: 1rem; }
.review p { margin-top: 14px; font-size: 1.04rem; line-height: 1.55; }
.review footer { margin-top: auto; padding-top: 20px; font-size: 0.86rem; color: var(--ink-soft); }
.review footer b { display: block; color: var(--ink); font-weight: 700; }
@media (max-width: 940px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Blog
   ============================================================ */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-block); overflow: hidden; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 3/2; object-fit: cover; }
.post-card .body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--blue); }
.post-card h3 { font-size: 1.2rem; margin: 10px 0 8px; }
.post-card p { color: var(--ink-soft); font-size: 0.96rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 16px; font-size: 0.94rem; }
@media (max-width: 940px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.article { max-width: 720px; margin: 0 auto; }
.article__hero { background: var(--navy); color: #fff; }
.article__hero .wrap { max-width: 780px; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 64px); }
.article__hero .tag { font-size: 0.76rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember); }
.article__hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin: 14px 0 0; max-width: 22ch; }
.article__hero .meta { margin-top: 16px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.article__lead img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-lg); margin: clamp(28px,4vw,44px) auto 0; max-width: 900px; }
.prose { font-size: 1.12rem; line-height: 1.72; color: #26313b; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 1.7rem; margin-top: 2em; letter-spacing: -0.02em; }
.prose h3 { font-size: 1.28rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose strong { color: var(--ink); }
.prose blockquote { border-left: 4px solid var(--ember); padding: 6px 0 6px 22px; margin-left: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.prose .callout { background: var(--sand); border-radius: var(--r-lg); padding: 22px 24px; font-size: 1rem; }
.prose a { color: var(--blue); border-bottom: 1px solid currentColor; }
.article__foot { border-top: 1px solid var(--line); margin-top: clamp(36px,5vw,56px); padding-top: 28px; }

/* ============================================================
   Rooms feature (kitchens & baths on the homepage)
   ============================================================ */
.rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.room { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; background: var(--navy); }
.room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.62; transition: transform .5s ease, opacity .3s ease; }
.room:hover img { transform: scale(1.04); opacity: 0.5; }
.room__body { position: relative; padding: clamp(26px, 3.5vw, 40px); color: #fff; }
.room__body h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.room__body p { margin-top: 10px; color: rgba(255,255,255,0.88); font-size: 1rem; max-width: 40ch; }
.room__body .link-arrow { color: #fff; margin-top: 16px; }
.room__body .pill { display: inline-block; margin-bottom: 12px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--navy); background: var(--ember); padding: 5px 10px; border-radius: 3px; }
@media (max-width: 820px) { .rooms { grid-template-columns: 1fr; } .room { min-height: 300px; } }

/* ============================================================
   Featured brand band
   ============================================================ */
.featured-brand { background: var(--blue-900); color: #fff; }
.featured-brand .wrap { display: flex; align-items: center; gap: clamp(24px, 5vw, 60px); flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.featured-brand img { height: 42px; width: auto; flex-shrink: 0; }
.featured-brand .fb-copy { flex: 1 1 340px; }
.featured-brand .eyebrow { color: var(--ember); margin-bottom: 8px; }
.featured-brand p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0; }
.featured-brand .btn { flex-shrink: 0; }
@media (max-width: 620px) { .featured-brand img { height: 34px; } }

/* ============================================================
   Brand directory
   ============================================================ */
.brand-cat { margin-top: clamp(40px, 5vw, 64px); }
.brand-cat:first-of-type { margin-top: 0; }
.brand-cat > h3 { display: flex; align-items: baseline; gap: 12px; }
.brand-cat > h3 small { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--ink-soft); text-transform: none; }
.brand-cat > p { color: var(--ink-soft); margin: 8px 0 20px; max-width: 60ch; }
.logo-wall { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-wall > div, .logo-wall > a {
  flex: 1 1 150px; max-width: 220px; min-height: 96px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center; padding: 16px 20px; position: relative;
}
.logo-wall > a { transition: border-color .15s ease, box-shadow .15s ease; }
.logo-wall > a:hover { border-color: var(--sky-line); box-shadow: var(--shadow-block); }
.logo-wall img { max-width: 100%; max-height: 68px; width: auto; object-fit: contain; opacity: 0.95; transition: opacity .2s ease; }
.logo-wall a:hover img { opacity: 1; }
.logo-wall .featured::after { content: '★'; position: absolute; top: 8px; right: 10px; font-size: 0.7rem; color: var(--ember); }
.logo-wall .name { font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--ink-soft); text-align: center; letter-spacing: -0.01em; }
@media (max-width: 560px) { .logo-wall > div, .logo-wall > a { flex-basis: 120px; min-height: 80px; } }

/* ============================================================
   Comparison table
   ============================================================ */
.table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.table th { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; background: var(--sand); }
.table td:first-child, .table th:first-child { border-right: 1px solid var(--line); }
.table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--sand) 35%, transparent); }
.table td:nth-child(2) { color: var(--blue); font-weight: 600; }

/* ============================================================
   Photo gallery, even grid, fills the content column
   ============================================================ */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery a, .gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--navy); aspect-ratio: 3 / 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.04); }
.gallery .tall { aspect-ratio: 2 / 3; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; color: #fff; font-size: 0.86rem; font-weight: 600; background: linear-gradient(0deg, rgba(10,22,31,0.82), transparent); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ============================================================
   Inspiration gallery
   ============================================================ */
.inspo-filters { display: grid; gap: 14px; margin-bottom: 22px; }
.inspo-fgroup { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: start; }
.inspo-flabel { font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); padding-top: 8px; }
.inspo-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.inspo-chip {
  font: inherit; font-size: 0.86rem; font-weight: 600; cursor: pointer;
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink-soft); transition: all .14s ease;
}
.inspo-chip:hover { border-color: var(--blue); color: var(--ink); }
.inspo-chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.inspo-chip i { font-style: normal; opacity: 0.6; font-size: 0.78rem; margin-left: 3px; }
.inspo-chip.is-on i { opacity: 0.8; }
.inspo-count { font-size: 0.86rem; color: var(--ink-soft); margin: 0 0 14px; }
.inspo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.inspo-cell {
  position: relative; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--r); background: var(--navy); aspect-ratio: 1 / 1; display: block;
}
.inspo-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s ease; }
.inspo-cell:hover img { transform: scale(1.05); opacity: 0.9; }
.inspo-cell__tag {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 14px 10px 8px;
  font-size: 0.7rem; font-weight: 600; color: #fff; text-align: left;
  background: linear-gradient(0deg, rgba(10,22,31,0.8), transparent);
  opacity: 0; transition: opacity .2s ease;
}
.inspo-cell:hover .inspo-cell__tag, .inspo-cell:focus-visible .inspo-cell__tag { opacity: 1; }
@media (max-width: 900px) { .inspo-grid { grid-template-columns: repeat(3, 1fr); } .inspo-fgroup { grid-template-columns: 1fr; gap: 4px; } .inspo-flabel { padding-top: 0; } }
@media (max-width: 560px) { .inspo-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; } }

.inspo-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(10,22,31,0.94); display: flex; align-items: center; justify-content: center; padding: clamp(12px, 4vw, 48px); }
.inspo-lb[hidden] { display: none; }
.inspo-lb figure { margin: 0; max-width: 1100px; width: 100%; max-height: 100%; display: flex; flex-direction: column; }
.inspo-lb img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: var(--r); background: var(--navy); }
.inspo-lb figcaption { color: #fff; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 0.95rem; }
.inspo-lb__credit { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.inspo-lb figcaption .btn { margin-left: auto; }
.inspo-lb__x { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
.inspo-lb__x:hover { background: #fff; color: var(--navy); }

/* ============================================================
   Style quiz
   ============================================================ */
#quiz, #qm-quiz { max-width: 860px; margin: 0 auto; }
.quiz__bar { height: 6px; background: var(--ground-dim); border-radius: 3px; overflow: hidden; }
.quiz__bar i { display: block; height: 100%; background: var(--blue); transition: width .3s ease; }
.quiz__step { margin: 18px 0 4px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.quiz__q { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 24px; }
.quiz__blurb { font-size: 1.14rem; line-height: 1.6; color: var(--ink-soft); max-width: 62ch; margin-bottom: 28px; }
.quiz__opts { display: grid; gap: 12px; }
.quiz__opts--img { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.quiz__opt {
  text-align: left; font-family: inherit; font-size: 1.05rem; font-weight: 600; color: var(--ink);
  background: var(--paper); border: 2px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.quiz__opt:hover { border-color: var(--blue); transform: translateY(-1px); }
.quiz__opt.is-on { border-color: var(--blue); background: var(--sky); box-shadow: 0 0 0 1px var(--blue) inset; }
.quiz__opt--img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.quiz__opt--img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--ground-dim); transition: transform .3s ease; }
.quiz__opt--img:hover img { transform: scale(1.04); }
.quiz__opt--img span { padding: 13px 15px; font-size: 0.95rem; }
.quiz__nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }
.quiz__result { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 12px; }
.quiz__recs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 12px; }
.quiz__recs li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; font-size: 0.98rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.quiz__recs b { color: var(--blue); }
.quiz__recs a { color: var(--ink); border-bottom: 1px solid var(--line); }
.quiz__cta { background: var(--sand); border-radius: var(--r-lg); padding: 26px; }
.quiz__cta h3 { margin-bottom: 8px; }
.quiz__cta p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 16px; }
.quiz__scores { margin-top: 24px; font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.02em; }
@media (max-width: 720px) { .quiz__result { grid-template-columns: 1fr; } .quiz__recs li { grid-template-columns: 1fr; gap: 2px; } }

/* ---- full-screen finder modal ---- */
.qm { position: fixed; inset: 0; z-index: 1000; background: var(--ground); display: flex; flex-direction: column; }
.qm[hidden] { display: none; }
.qm__top {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 10px clamp(14px, 4vw, 28px);
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.qm__brand img { height: 26px; width: auto; display: block; }
.qm__x {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink);
  font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.qm__x:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.qm__scroll { flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.qm__hero { position: relative; height: clamp(150px, 24vh, 260px); overflow: hidden; background: var(--blue-900); }
.qm__hero img { width: 100%; height: 100%; object-fit: cover; }
.qm__hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,34,47,0.15) 0%, rgba(16,34,47,0.72) 100%); }
.qm__hero-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(16px, 4vw, 30px) var(--gutter); }
.qm__hero-cap > div { max-width: 900px; margin: 0 auto; }
.qm__eyebrow {
  display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 3px;
  background: var(--ember); color: var(--navy);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
}
.qm__hero-cap h1, .qm__hero-cap h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 4.4vw, 2.4rem); line-height: 1.08; }
.qm__inner { max-width: 900px; margin: 0 auto; padding: clamp(24px, 5vw, 46px) var(--gutter) 96px; }
.qm__foot { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--ink-soft); }
.qm__foot a { color: var(--blue); border-bottom: 1px solid var(--sky-line); }
@media (max-width: 560px) { .qm__inner { padding-bottom: 72px; } }

/* ============================================================
   Plan-your-project hub
   ============================================================ */
.plan-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.plan-steps a { background: var(--paper); padding: 28px 24px; display: flex; flex-direction: column; transition: background .15s ease; }
.plan-steps a:hover { background: var(--sand); }
.plan-steps .n { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--sky-line); }
.plan-steps h3 { font-size: 1.15rem; margin: 8px 0 6px; }
.plan-steps p { font-size: 0.94rem; color: var(--ink-soft); flex: 1; }
.plan-steps .go { margin-top: 14px; font-weight: 700; font-size: 0.9rem; color: var(--blue); }
@media (max-width: 900px) { .plan-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .plan-steps { grid-template-columns: 1fr; } }

/* ---------- utilities ---------- */
.tint { background: var(--paper); }
.warm { background: var(--sand); }
.pad-b0 { padding-bottom: 0; }
[hidden] { display: none !important; }

/* ============================================================
   Motion & print
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pillar:hover .pillar__img img, .tile:hover .tile__img img,
  .proj:hover img, .room:hover img, .gallery a:hover img { transform: none; }
}

@media print {
  .topbar, .site-header, .mobile-cta, .site-footer, #consult,
  .hero__actions, .page-hero__actions, .calc-nav, .cta-strip, .brandstrip { display: none !important; }
  body { padding: 0; background: #fff; color: #000; font-size: 12pt; }
  .section { padding: 12pt 0; }
  a { color: #000; text-decoration: none; }
  .calc, .card, .spec-list, .quote, .review { box-shadow: none; border: 1pt solid #999; break-inside: avoid; }
  .calc__out { background: #f4f4f4 !important; color: #000 !important; }
  .calc__out .out-row span, .calc__out .fine { color: #444 !important; }
  .calc__out .out-row b, .calc__out .out-lead b { color: #000 !important; }
  .page-hero, .hero, .band-blue, .band-navy, .article__hero { background: #fff !important; color: #000 !important; }
  .page-hero h1, .hero h1, .band-blue h2, .article__hero h1 { color: #000 !important; }
  .page-hero p, .hero p { color: #333 !important; }
  .page-hero__bg, .hero__media, .hero__grad { display: none !important; }
  h1, h2, h3 { break-after: avoid; }
}

/* ============================================================
   Kitchen cabinet designer  (kitchen-cabinet-designer.html)
   ============================================================ */
.cd-shell { width: min(1600px, 96vw); max-width: 100%; margin-inline: auto; }
.cd-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }
.cd-spectable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.95rem; }
.cd-spectable th, .cd-spectable td { padding: 11px 16px; text-align: left; }
.cd { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); overflow: hidden; box-shadow: var(--shadow-block); }
.cd__loading { padding: 40px; text-align: center; color: var(--ink-soft); }

.cd__bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; padding: 12px 16px; background: var(--ground); border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.cd__group-inline { display: inline-flex; flex-wrap: wrap; gap: 5px 8px; align-items: center; }
.cd__bar-sep { width: 1px; height: 22px; background: var(--line); }
.cd__lbl { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-weight: 600; }
.cd__field { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink-soft); }
.cd__field--name input { width: 150px; }
.cd__bar input[type="number"] { width: 44px; }
.cd__bar input, .cd__bar select { padding: 5px 6px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; background: var(--paper); color: var(--ink); }
.cd__mini { padding: 6px 11px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); font: 600 0.84rem/1 var(--font-body); cursor: pointer; white-space: nowrap; }
.cd__mini:hover { border-color: var(--blue); color: var(--blue); }
.cd__mini:disabled { opacity: 0.4; cursor: not-allowed; }
.cd__mini--warn:hover { border-color: #b3261e; color: #b3261e; }
.cd__mini--go { background: var(--blue); color: #fff; border-color: var(--blue); }
.cd__mini--go:hover { background: var(--blue-700); color: #fff; }

.cd__main { display: grid; grid-template-columns: 232px 1fr 292px; min-height: 620px; }
.cd__palette { border-right: 1px solid var(--line); padding: 14px; overflow-y: auto; max-height: 860px; background: var(--paper); }
.cd__grp { margin-bottom: 15px; }
.cd__grp h4 { font: 800 0.82rem/1.2 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; margin: 0; color: var(--ink); }
.cd__grphint { margin: 2px 0 8px; font-size: 0.72rem; color: var(--ink-soft); }
.cd__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.cd__chip { padding: 5px 9px; border: 1px solid var(--sky-line); border-radius: 999px; background: var(--sky); color: var(--blue-700); font: 600 0.77rem/1 var(--font-body); cursor: pointer; }
.cd__chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.cd__grp--tpl { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.cd__chip--tpl { background: var(--sand); border-color: var(--ember); color: var(--ember-dark); }
.cd__chip--tpl:hover { background: var(--ember); border-color: var(--ember); color: var(--navy); }
.cd__grp--custom { border-top: 1px solid var(--line); padding-top: 14px; }
.cd__customrow { display: flex; gap: 6px; margin-bottom: 6px; }
.cd__customrow select, .cd__customrow input { padding: 6px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; min-width: 0; flex: 1; background: var(--paper); color: var(--ink); }
.cd__customrow input[type="number"] { flex: 0 1 66px; }

.cd__stage { position: relative; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; background: var(--ground); }
#cdCanvas { background: #fff; border: 1px solid var(--line); border-radius: 6px; touch-action: none; max-width: 100%; box-shadow: 0 6px 18px -12px rgba(16,34,47,0.4); cursor: grab; }
#cdCanvas:active { cursor: grabbing; }
.cd__hint { margin: 0; font-size: 0.76rem; color: var(--ink-soft); text-align: center; max-width: 60ch; }
.cd__hint kbd { background: var(--paper); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px; padding: 0 4px; font: inherit; font-size: 0.9em; }
.cd__sel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 9px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); font-size: 0.84rem; width: 100%; justify-content: center; }
.cd__sel strong { font-family: var(--font-display); }
.cd__sel label { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-soft); }
.cd__sel input { width: 52px; padding: 4px 5px; border: 1px solid var(--line); border-radius: var(--r); font: inherit; }
.cd__seldist { color: var(--ink-soft); font-size: 0.78rem; }

.cd__summary { border-left: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; background: var(--paper); }
.cd__summary h3 { margin: 0 0 10px; font-size: 1.05rem; }
.cd__totals { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cd__tot { flex: 1 1 44%; background: var(--sky); border: 1px solid var(--sky-line); border-radius: var(--r); padding: 8px 10px; }
.cd__tot b { display: block; font: 800 1.35rem/1 var(--font-display); color: var(--blue-900); }
.cd__tot span { font-size: 0.68rem; color: var(--ink-soft); line-height: 1.3; display: block; margin-top: 3px; }
.cd__totlink { flex-basis: 100%; font-weight: 700; font-size: 0.82rem; color: var(--blue-700); }
.cd__warn { background: #fdf3e7; border: 1px solid #e7c9a0; border-radius: var(--r); padding: 8px 12px; margin-bottom: 10px; font-size: 0.8rem; }
.cd__warn b { font-family: var(--font-display); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ember-dark); }
.cd__warn ul { margin: 4px 0 0; padding-left: 16px; }
.cd__list { flex: 1; overflow-y: auto; max-height: 420px; font-size: 0.85rem; }
.cd__empty { color: var(--ink-soft); font-size: 0.85rem; }
.cd__lgrp { margin-bottom: 11px; }
.cd__lgrp h5 { margin: 0 0 4px; font: 800 0.77rem/1.2 var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; }
.cd__lgrp h5 span { color: var(--ink-soft); font-weight: 600; }
.cd__lgrp ul { margin: 0; padding-left: 16px; }
.cd__lgrp li { margin: 1px 0; }
.cd__lgrp li em { color: var(--ink-soft); font-style: normal; }
.cd__actions { display: grid; gap: 8px; margin-top: 12px; }
.cd__actions .btn { margin-top: 0; font-size: 0.9rem; padding: 11px 14px; }
.cd__actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cd__actions-row .btn { padding: 9px 8px; font-size: 0.82rem; }
.cd__loadlbl { cursor: pointer; text-align: center; }
.cd__disclaim { margin: 12px 0 0; font-size: 0.71rem; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 1180px) {
  .cd-shell { width: auto; }
  .cd__main { grid-template-columns: 1fr; }
  .cd__palette { border-right: 0; border-bottom: 1px solid var(--line); max-height: 320px; }
  .cd__summary { border-left: 0; border-top: 1px solid var(--line); }
  .cd__list { max-height: none; }
}
@media print {
  .cd__bar, .cd__palette, .cd__actions, .cd__sel, .cd__hint, .cd__disclaim, .cd__warn { display: none !important; }
  .cd__main { grid-template-columns: 1fr; }
}

/* ============================================================
   Ideabook (assets/js/ideabook.js): save photos + products to boards
   ============================================================ */
.ib-heart {
  position: absolute; top: 8px; right: 8px; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.92); color: transparent; box-shadow: 0 2px 10px rgba(16,34,47,0.18);
  transition: transform .15s ease, background .15s ease;
}
.ib-heart svg path { stroke: var(--ink); fill: transparent; }
.ib-heart:hover { transform: scale(1.08); }
.ib-heart.is-saved svg path { fill: #D9434E; stroke: #D9434E; }
.ib-heart:focus-visible { outline: 3px solid var(--ember); outline-offset: 2px; }
.ib-heart--pill { position: static; width: auto; height: auto; border-radius: 999px; padding: 10px 16px; gap: 8px; color: var(--ink); font-weight: 700; font-size: 0.92rem; box-shadow: none; border: 1px solid var(--line); background: var(--paper); }
.ib-heart--pill:hover { transform: none; border-color: var(--ink); }
.inspo-item { position: relative; }
.inspo-item > .inspo-cell { width: 100%; }
.inspo-lb .ib-heart--pill { margin-right: 10px; }
.sf-card-wrap { position: relative; display: flex; }
.sf-card-wrap > .sf-card { flex: 1; min-width: 0; }
.sf-buy .ib-heart--pill { flex: none; }
.ib-head { position: relative; }
.ib-head svg path { fill: transparent; stroke: currentColor; }
.ib-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 1200; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 0.92rem; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); text-align: center;
}
.ib-toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.ib-toast a { color: #fff; text-decoration: underline; font-weight: 700; }
@media (max-width: 940px) { .ib-toast { bottom: 70px; } }
.ib-boards { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.ib-tab { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.ib-tab i { font-style: normal; color: var(--ink-soft); font-weight: 500; margin-left: 4px; }
.ib-tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ib-tab.is-on i { color: rgba(255,255,255,0.7); }
.ib-tab--new { border-style: dashed; color: var(--blue); }
.ib-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.ib-kicker { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); margin: 0; }
.ib-title { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.ib-sub { margin: 4px 0 0; color: var(--ink-soft); font-size: 0.95rem; }
.ib-link { border: 0; background: none; padding: 0; font: inherit; color: var(--blue); cursor: pointer; text-decoration: underline; }
.ib-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ib-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1024px) { .ib-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.ib-card { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-block); display: flex; flex-direction: column; }
.ib-card__img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--ground-dim); }
.ib-card__img img { width: 100%; height: 100%; object-fit: cover; }
.ib-card__type { position: absolute; left: 8px; top: 8px; background: rgba(16,34,47,0.8); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.ib-card__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ib-card__title { font-weight: 600; font-size: 0.9rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ib-card__row { display: flex; gap: 6px; margin-top: auto; }
.ib-move { flex: 1; min-width: 0; font: inherit; font-size: 0.8rem; padding: 6px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.ib-remove { font: inherit; font-size: 0.8rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); padding: 6px 8px; cursor: pointer; color: var(--ink-soft); }
.ib-empty { background: var(--paper); border-radius: var(--r-lg); padding: clamp(24px, 5vw, 48px); text-align: center; }
.ib-empty .btn { margin: 6px; }

/* ============================================================
   Product finder (assets/js/finder.js)
   ============================================================ */
.fd-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fd-tab { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.fd-tab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.fd-intro { color: var(--ink-soft); max-width: 70ch; margin: 0 0 20px; }
.fd-steps { display: grid; gap: 18px; margin-bottom: 30px; }
.fd-q { font-weight: 800; margin: 0 0 10px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.fd-q span { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 0.8rem; flex: none; }
.fd-q small { font-weight: 500; color: var(--ink-soft); }
.fd-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.fd-opt { border: 1px solid var(--line); background: var(--paper); border-radius: var(--r); padding: 10px 14px; font: inherit; font-size: 0.95rem; cursor: pointer; color: var(--ink); min-height: 44px; }
.fd-opt:hover { border-color: var(--blue); }
.fd-opt.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.fd-results__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.fd-results__title { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.fd-results__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fd-loading, .fd-empty { color: var(--ink-soft); }
.fd-empty { background: var(--paper); border-radius: var(--r-lg); padding: 22px; }


/* ============================================================
   Bathroom layout planner (assets/js/bath-planner.js)
   ============================================================ */
.bp { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .bp { grid-template-columns: 1fr; } .bp-main { order: -1; } }
.bp-side { background: var(--paper); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-block); }
.bp-label { font-weight: 800; font-size: 0.85rem; margin: 14px 0 8px; }
.bp-label:first-child { margin-top: 0; }
.bp-row { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-row label { display: grid; gap: 4px; font-size: 0.85rem; color: var(--ink-soft); flex: 1; }
.bp-row input { font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); width: 100%; }
.bp-chip { border: 1px solid var(--line); background: var(--paper); border-radius: var(--r); padding: 8px 12px; font: inherit; font-size: 0.88rem; cursor: pointer; min-height: 40px; }
.bp-chip:hover { border-color: var(--blue); }
.bp-chip.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.bp-checks ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: 0.86rem; display: grid; gap: 6px; }
.bp-checks li { padding-left: 22px; position: relative; }
.bp-checks li::before { position: absolute; left: 0; font-weight: 800; }
.bp-checks li.is-ok::before { content: '\2713'; color: #2f7a3b; }
.bp-checks li.is-bad::before { content: '!'; color: #c0392b; }
.bp-checks li.is-warn::before { content: '!'; color: var(--ember-dark); }
.bp-sum { font-weight: 800; margin: 16px 0 0; }
.bp-sum.is-ok { color: #2f7a3b; } .bp-sum.is-bad { color: #c0392b; }
.bp-main { background: var(--paper); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-block); }
.bp-canvas { touch-action: none; user-select: none; }
.bp-svg { width: 100%; height: auto; max-height: 72vh; display: block; }
.bp-floor { fill: #fbfaf7; }
.bp-grid { stroke: rgba(22,33,44,0.08); stroke-width: 0.4; }
.bp-wall { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.bp-dim { font: 700 5px var(--font-body, sans-serif); fill: var(--ink-soft); text-anchor: middle; }
.bp-zone.is-ok { fill: rgba(47,122,59,0.14); } .bp-zone.is-bad { fill: rgba(192,57,43,0.22); }
.bp-item { cursor: grab; }
.bp-body { fill: #fff; stroke: var(--ink); stroke-width: 1; }
.bp-item.is-sel .bp-body, .bp-item.is-sel .bp-door { stroke: var(--blue); stroke-width: 1.8; }
.bp-fix { fill: none; stroke: var(--ink-soft); stroke-width: 0.8; }
.bp-fixline { stroke: var(--ink-soft); stroke-width: 0.5; }
.bp-door { fill: rgba(58,102,140,0.06); stroke: var(--ink-soft); stroke-width: 0.8; stroke-dasharray: 2 1.5; }
.bp-hit { fill: transparent; }
.bp-text { font: 700 4.2px var(--font-body, sans-serif); fill: var(--ink); text-anchor: middle; pointer-events: none; }
.bp-hint { font-size: 0.82rem; color: var(--ink-soft); margin: 8px 0 0; }
.bp-foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 22px; align-items: flex-end; }
.bp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 0.92rem; }
.bp-list li { display: flex; gap: 14px; justify-content: space-between; }
.bp-list a { color: var(--blue); font-weight: 700; }
.bp-actions { display: flex; gap: 10px; flex-wrap: wrap; }


/* ---------- homepage: shop + design + build ---------- */
.home-search { margin-top: 22px; max-width: 560px; }
.home-search input { font-size: 1rem; padding: 16px 18px; }
.home-search .btn { padding: 0 22px; }
.home-quick { margin: 14px 0 6px; }
.home-quick a { color: #fff; border-color: rgba(255,255,255,0.45); }
.card--link { display: flex; flex-direction: column; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.card--link:hover { transform: translateY(-3px); }
.card--link .link-arrow { margin-top: auto; padding-top: 10px; }
/* let the hero column shrink on phones (the search box was forcing it wider than the screen) */
.hero__grid > * { min-width: 0; }
.home-search, .home-search form { width: 100%; max-width: 560px; }
@media (max-width: 540px) { .home-search input { font-size: 0.95rem; padding: 14px; } .home-search .btn { padding: 0 16px; } }

/* ---------- mobile audit fixes (2026-09-28) ---------- */
.calc__grid > *, .calc__inputs > *, .calc__inputs .row > * { min-width: 0; }
@media (max-width: 640px) {
  .calc__inputs .row { grid-template-columns: 1fr; }
  .seg { flex-wrap: wrap; }
  .seg button { flex: 1 1 30%; min-height: 44px; border-left: 0; border-top: 2px solid var(--line-soft); }
  /* wide data tables scroll inside themselves instead of pushing the page sideways */
  table.table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .inspo-chip, .inspo-chip i { font-size: 0.8rem; }
}

/* ---------- Build It! game ---------- */
.game { max-width: 480px; margin: 0 auto; }
.game__bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: var(--navy); color: #fff; border-radius: 12px 12px 0 0; font-weight: 600; font-size: 0.9rem; }
.game__bar b { font-family: var(--font-display); font-size: 1.25rem; color: var(--ember); margin-left: 4px; }
.game__msg { flex: 1; text-align: center; font-size: 0.78rem; font-weight: 500; opacity: 0.85; }
.game__stage { position: relative; line-height: 0; background: #BFD6EA; border-radius: 0 0 12px 12px; overflow: hidden; box-shadow: var(--shadow-block); }
.game__stage canvas { display: block; width: 100%; touch-action: manipulation; cursor: pointer; -webkit-user-select: none; user-select: none; }
.game__over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 24px;
  background: rgba(16, 34, 47, 0.82); color: #fff; text-align: center; line-height: 1.4; }
.game__over[hidden] { display: none; }
.game__final { font-family: var(--font-display); font-size: 1.6rem; margin: 0; }
.game__final b { color: var(--ember); }
.game__title { margin: 0 0 8px; }
.game__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.game__share { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.6); }
.game__cta { margin-top: 12px; font-size: 0.92rem; }
.game__cta a { color: #fff; font-weight: 700; text-decoration: underline; }
.game__help { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin-top: 10px; }
.game__help kbd { background: var(--sky); border: 1px solid var(--sky-line); border-radius: 4px; padding: 1px 6px; font-size: 0.8rem; }
@media (max-width: 480px) { .game__msg { display: none; } }

/* ================= Homepage, Wayfair-style shopping layout ================= */
.wf-promo { background: var(--sky); border-bottom: 1px solid var(--sky-line); font-size: 0.85rem; color: var(--ink); }
.wf-promo .wrap { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3vw, 40px); padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; }
.wf-promo b { color: var(--blue-700); }
.wf-promo a { color: var(--blue); font-weight: 700; text-decoration: underline; }

.wf-hero { padding: clamp(16px, 2vw, 28px) 0 8px; background: var(--paper); }
.wf-hero__grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; min-height: 560px; }
.wf-tile { position: relative; display: block; overflow: hidden; border-radius: 14px; background: var(--ground); color: var(--ink); text-decoration: none; }
.wf-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.wf-tile:hover > img { transform: scale(1.04); }
.wf-tile--main { grid-row: 1 / 3; }
.wf-tile__card { position: absolute; left: 28px; bottom: 28px; max-width: 520px; padding: 28px 30px; background: rgba(255,255,255,0.96); border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(16,34,47,0.45); }
.wf-tile__card h1 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.1; margin: 8px 0 10px; color: var(--ink); }
.wf-tile__card p { color: var(--ink-soft); margin: 0 0 14px; }
.wf-tile__card .home-search { margin: 0 0 14px; }
.wf-tile__card .hero__actions { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.wf-tile__label { position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: #fff; border-radius: 10px; box-shadow: 0 10px 24px -12px rgba(16,34,47,0.45); }
.wf-tile__label small { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: var(--ember-dark); }
.wf-tile__label b { font-family: var(--font-display); font-size: 1.1rem; }
.wf-tile__label em { font-style: normal; font-weight: 700; color: var(--blue); font-size: .9rem; }

.wf-section { padding: clamp(28px, 3.5vw, 48px) 0 0; }
.wf-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.wf-head h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 0; }
.wf-head__sub { color: var(--ink-soft); font-size: .92rem; }
.wf-head a { margin-left: auto; font-weight: 700; color: var(--blue); text-decoration: none; white-space: nowrap; }
.wf-head a:hover { text-decoration: underline; }

/* round categories */
.sf-circles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 22px 16px; }
.sf-circle { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); text-align: center; }
.sf-circle__img { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--ground); overflow: hidden; display: grid; place-items: center; transition: box-shadow .2s ease, transform .2s ease; }
.sf-circle__img img { width: 78%; height: 78%; object-fit: contain; mix-blend-mode: multiply; }
.sf-circle:hover .sf-circle__img { box-shadow: 0 0 0 3px var(--blue); transform: translateY(-2px); }
.sf-circle__name { font-weight: 600; font-size: .92rem; line-height: 1.25; }

/* product rails */
.sf-rail { position: relative; }
.sf-rail .sf-grid { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 18px) / 5); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.sf-rail .sf-grid::-webkit-scrollbar { display: none; }
.sf-rail .sf-grid > * { scroll-snap-align: start; }
.sf-rail__btn { position: absolute; top: 38%; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: 1.8rem; line-height: 1; cursor: pointer; box-shadow: 0 6px 16px rgba(16,34,47,0.18); display: grid; place-items: center; padding-bottom: 4px; }
.sf-rail__btn:hover { background: var(--sky); }
.sf-rail__btn--prev { left: -14px; }
.sf-rail__btn--next { right: -14px; }

/* shop by room */
.wf-rooms { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.wf-room { position: relative; overflow: hidden; border-radius: 12px; display: block; }
.wf-room--big { grid-row: 1 / 3; }
.wf-rooms .wf-room:nth-child(n+6) { display: none; }
.wf-room img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.wf-room:hover img { transform: scale(1.05); }
.wf-room span { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--ink); font-family: var(--font-display); font-weight: 800; padding: 8px 14px; border-radius: 8px; }
@media (min-width: 1200px) {
  .wf-rooms { grid-template-columns: 1.6fr 1fr 1fr 1fr; grid-template-rows: 230px 230px; }
  .wf-rooms .wf-room:nth-child(n+6) { display: block; }
  .wf-rooms .wf-room:nth-child(2) { grid-row: span 2; }
}

/* value props */
.wf-values { margin-top: clamp(28px, 3.5vw, 48px); background: var(--ground); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.wf-values .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.wf-value { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; }
.wf-value svg { grid-row: 1 / 3; width: 30px; height: 30px; color: var(--blue); }
.wf-value b { font-family: var(--font-display); }
.wf-value span { color: var(--ink-soft); font-size: .86rem; }

@media (max-width: 1100px) {
  .sf-circles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .sf-rail .sf-grid { grid-auto-columns: calc((100% - 3 * 18px) / 4); }
}
@media (max-width: 900px) {
  .wf-hero__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto 220px; min-height: 0; }
  .wf-tile--main { grid-row: auto; grid-column: 1 / 3; min-height: 520px; }
  .wf-values .wrap { grid-template-columns: 1fr 1fr; }
  .sf-rail .sf-grid { grid-auto-columns: calc((100% - 2 * 14px) / 2.6); gap: 14px; }
  .sf-rail__btn { display: none; }
}
@media (max-width: 640px) {
  .wf-promo .wrap { gap: 4px 14px; font-size: .78rem; }
  .wf-promo span:nth-child(2) { display: none; }
  .wf-hero__grid { gap: 10px; grid-template-rows: auto 170px; }
  .wf-tile--main { min-height: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line-soft); }
  .wf-tile--main > img { position: static; height: 220px; }
  .wf-tile__card { position: static; max-width: none; padding: 18px 16px 20px; box-shadow: none; border-radius: 0; }
  .wf-tile__label { left: 10px; bottom: 10px; right: 10px; padding: 10px 12px; }
  .wf-tile__label b { font-size: .95rem; }
  .wf-tile__label em { display: none; }
  .sf-circles { display: flex; overflow-x: auto; gap: 14px; scrollbar-width: none; padding-bottom: 4px; }
  .sf-circles::-webkit-scrollbar { display: none; }
  .sf-circle { flex: 0 0 84px; }
  .sf-circle__name { font-size: .8rem; }
  .wf-head a { margin-left: 0; }
  .wf-rooms { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .wf-room--big { grid-row: auto; grid-column: 1 / 3; }
  .wf-rooms .wf-room:nth-child(n+6) { display: none; }
  .wf-values .wrap { grid-template-columns: 1fr; gap: 14px; }
}
.wf-section { background: var(--paper); padding-bottom: 4px; }
.wf-hero__grid { min-height: 600px; }
.wf-tile__card { top: auto; padding: 24px 26px; max-width: 500px; }
.wf-tile__card .hero__actions { flex-direction: row; }
.wf-tile__card .hero__actions .btn { width: auto; flex: 0 0 auto; padding: 12px 20px; }

.sf-circle__img img.is-cover { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }

/* ---------- homepage: denser, shop-first rhythm below the fold ---------- */
body.home .section { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
body.home .section-head h2, body.home .split__body h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.12; }
body.home .section-head { margin-bottom: clamp(18px, 2.4vw, 32px); }
body.home .home-projects { background: var(--paper); }
body.home .starter { padding-top: 28px; padding-bottom: 28px; }
body.home .section-head, body.home .section-head--wide { max-width: 68ch; }
body.home .section-head p { font-size: 1.05rem; margin-top: .6rem; }

/* ---------- nested mega menu (desktop): category rail + one panel at a time ---------- */
@media (min-width: 1181px) {
  .mega { border-radius: 0 0 16px 16px; }
  .mega__inner.mega--nested { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 0; padding-top: 22px; padding-bottom: 26px; align-items: stretch; }
  .mega__rail { display: flex; flex-direction: column; gap: 2px; padding-right: 18px; border-right: 1px solid var(--line-soft); }
  .mega__tab { appearance: none; border: 0; background: transparent; text-align: left; cursor: pointer; font: inherit;
    font-weight: 600; font-size: 0.98rem; color: var(--ink); padding: 12px 14px; border-radius: 10px;
    display: flex; align-items: center; justify-content: space-between; transition: background .15s ease, color .15s ease; }
  .mega__tab::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: 0.35; }
  .mega__tab:hover, .mega__tab.is-on { background: var(--sky); color: var(--blue-700); }
  .mega__tab.is-on::after { opacity: 1; }
  .mega__panes { padding: 4px 32px; min-height: 280px; }
  .mega__pane { display: none; }
  .mega__pane.is-on { display: block; animation: megaIn .18s ease; }
  .mega__pane h5 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; text-transform: none; color: var(--ink); margin: 6px 0 14px; }
  .mega__pane { column-count: 2; column-gap: 32px; }
  .mega__pane h5 { column-span: all; }
  .mega__pane a { break-inside: avoid; padding: 8px 0; font-size: 0.95rem; color: var(--ink-soft); border-bottom: 1px solid transparent; }
  .mega__pane a:hover { color: var(--blue); }
  .mega__promo { position: relative; display: block; border-radius: 14px; overflow: hidden; min-height: 280px; color: #fff; text-decoration: none; }
  .mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
  .mega__promo:hover img { transform: scale(1.05); }
  .mega__promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,34,47,0) 35%, rgba(16,34,47,0.85)); }
  .mega__promo span { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
  .mega__promo b { font-family: var(--font-display); font-size: 1.2rem; }
  .mega__promo small { font-size: 0.86rem; opacity: 0.9; }
  .mega__promo em { font-style: normal; font-weight: 700; font-size: 0.88rem; color: #F5C27E; margin-top: 4px; }
}
@keyframes megaIn { from { opacity: 0; transform: translateX(6px); } to { opacity: 1; transform: none; } }
/* phones and tablets keep the simple full list */
@media (max-width: 1180px) {
  .mega__rail, .mega__promo { display: none; }
  .mega__pane { display: block; }
}

/* phones and tablets: each category inside a menu opens on tap */
@media (max-width: 1180px) {
  .nav.is-open .mega__pane { margin: 0; border-top: 1px solid var(--line-soft); }
  .nav.is-open .mega__pane h5 { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 14px 4px; cursor: pointer;
    font-size: 0.95rem; letter-spacing: 0; text-transform: none; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
  .nav.is-open .mega__pane h5::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--blue); }
  .nav.is-open .mega__pane.is-open h5::after { content: '\2212'; }
  .nav.is-open .mega__pane a { display: none; padding: 9px 4px 9px 14px; font-size: 0.98rem; }
  .nav.is-open .mega__pane.is-open a { display: block; }
  .nav.is-open .mega__pane.is-open { padding-bottom: 8px; }
}

/* ================= Mood board maker ================= */
.mb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mb-boards, .mb-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mb-boards select { font: inherit; font-weight: 600; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; min-width: 190px; }
.mb-btn { font: inherit; font-size: 0.9rem; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; color: var(--ink); }
.mb-btn:hover { border-color: var(--blue); color: var(--blue); }
.mb-btn--quiet { background: transparent; border-color: transparent; color: var(--ink-soft); }
.mb-actions .btn { padding: 11px 16px; font-size: 0.92rem; }
.mb-app { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 18px; align-items: start; }
.mb-side { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 12px; position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; }
.mb-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 12px; }
.mb-tabs button { font: inherit; font-size: 0.84rem; font-weight: 600; border: 0; background: var(--ground); color: var(--ink-soft); padding: 9px 6px; border-radius: 8px; cursor: pointer; }
.mb-tabs button.is-on { background: var(--blue); color: #fff; }
.mb-hint { font-size: 0.86rem; color: var(--ink-soft); margin: 4px 0 10px; }
.mb-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mb-thumbs button { aspect-ratio: 1; border: 1px solid var(--line-soft); border-radius: 8px; background: #fff; padding: 3px; cursor: pointer; overflow: hidden; }
.mb-thumbs button:hover { border-color: var(--blue); box-shadow: 0 0 0 2px var(--sky-line); }
.mb-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.mb-search { display: flex; gap: 6px; margin-bottom: 10px; }
.mb-search input { flex: 1; min-width: 0; font: inherit; font-size: 0.9rem; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; }
.mb-search .btn { padding: 9px 12px; font-size: 0.85rem; }
.mb-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mb-sw { display: flex; align-items: center; gap: 8px; font: inherit; font-size: 0.82rem; text-align: left; background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; padding: 6px; cursor: pointer; }
.mb-sw:hover { border-color: var(--blue); }
.mb-sw i { flex: 0 0 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.08); }
.mb-custom { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 0.88rem; font-weight: 600; }
.mb-custom input { width: 48px; height: 34px; border: 0; background: none; cursor: pointer; }
.mb-bgs { display: flex; gap: 8px; flex-wrap: wrap; }
.mb-bgs button { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; }
.mb-bgs button:hover { border-color: var(--blue); }
.mb-main { min-width: 0; }
.mb-tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; min-height: 40px; margin-bottom: 8px; visibility: hidden; }
.mb-tools.is-on { visibility: visible; }
.mb-tools button { font: inherit; font-size: 0.84rem; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; cursor: pointer; }
.mb-tools button:hover { border-color: var(--blue); color: var(--blue); }
.mb-tools button[data-del] { color: #B42318; }
.mb-tools__hint { font-size: 0.8rem; color: var(--ink-soft); margin-left: auto; }
.mb-stage-wrap { border-radius: 14px; box-shadow: var(--shadow-block); overflow: hidden; }
.mb-stage { position: relative; width: 100%; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.mb-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: var(--ink-soft); margin: 0; }
.mb-empty[hidden] { display: none; }
.mb-item { position: absolute; cursor: grab; }
.mb-item:active { cursor: grabbing; }
.mb-item img { width: 100%; height: 100%; display: block; pointer-events: none; }
.mb-item--photo img { object-fit: cover; }
.mb-item--product { background: #fff; }
.mb-item--product img { object-fit: contain; }
.mb-item--swatch { background: #fff; padding: 7px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 6px 16px -8px rgba(16,34,47,0.35); }
.mb-item--swatch i { flex: 1; border-radius: 3px; }
.mb-item--swatch span { font-size: clamp(9px, 1.1vw, 14px); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-item--text { display: flex; }
.mb-text { width: 100%; font-family: var(--font-display); font-weight: 700; color: var(--ink); line-height: 1.25; outline: none; cursor: text; padding: 4px; }
.mb-item.is-sel { outline: 2px solid var(--blue); outline-offset: 2px; }
.mb-handle { display: none; position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; cursor: nwse-resize; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.mb-item.is-sel .mb-handle { display: block; }
@media (max-width: 900px) {
  .mb-app { grid-template-columns: 1fr; }
  .mb-side { position: static; max-height: none; order: 2; }
  .mb-main { order: 1; }
  .mb-tabs { grid-template-columns: repeat(4, 1fr); }
  .mb-thumbs { grid-template-columns: repeat(4, 1fr); }
  .mb-tools__hint { display: none; }
  .mb-actions { width: 100%; }
  .mb-actions .btn { flex: 1 1 auto; }
}

/* ---------- all collections directory ---------- */
.coll-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; position: sticky; top: 92px; z-index: 5; background: var(--ground); padding: 10px 0; }
.coll-toc a { font-weight: 600; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line-soft); color: var(--ink); text-decoration: none; }
.coll-toc a:hover { border-color: var(--blue); color: var(--blue); }
.coll-dept { background: #fff; border-radius: 14px; padding: 22px 24px; margin-bottom: 16px; box-shadow: var(--shadow-block); scroll-margin-top: 150px; }
.coll-dept__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.coll-dept__head h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin: 0; }
.coll-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 20px; }
.coll-link { padding: 8px 0; color: var(--ink-soft); font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.coll-link:hover { color: var(--blue); }
@media (max-width: 640px) { .coll-toc { position: static; } .coll-links { grid-template-columns: 1fr 1fr; } }

/* ---------- Build It! v2: wide on desktop, leaderboard, full screen ---------- */
.game-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.game { max-width: none; margin: 0; display: flex; flex-direction: column; align-items: center; }
.game__bar { width: 100%; box-sizing: border-box; }
.game__stage { margin: 0 auto; border-radius: 0 0 12px 12px; }
.game__fs { font: inherit; font-size: 0.8rem; font-weight: 700; color: #fff; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); border-radius: 8px; padding: 6px 10px; cursor: pointer; margin-left: 10px; }
.game__fs:hover { background: rgba(255,255,255,0.25); }
.game__hs { margin: 6px 0 0; font-weight: 700; color: #F5C27E; min-height: 1.2em; }
.game__initials { display: flex; gap: 8px; margin: 6px 0 10px; }
.game__initials input { width: 130px; text-align: center; font: 800 1.9rem/1 'Courier New', monospace; letter-spacing: 0.35em; padding: 8px 0 8px 0.35em;
  text-transform: uppercase; color: #F5C27E; background: #0b1822; border: 2px solid #F5C27E; border-radius: 8px; }
.game__initials input:focus { outline: 3px solid rgba(245,194,126,0.45); }
.game.is-full { position: fixed; inset: 0; z-index: 2000; background: #10222F; padding: 10px; justify-content: center; }
.game:fullscreen { background: #10222F; padding: 10px; justify-content: center; }
.game.is-full .game__help, .game:fullscreen .game__help { display: none; }
.lb { background: #10222F; color: #fff; border-radius: 14px; padding: 20px 20px 16px; position: sticky; top: 100px; }
.lb__title { color: #F5C27E; font-size: 1.3rem; margin: 0 0 4px; letter-spacing: 0.02em; }
.lb__sub { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin: 0 0 12px; }
.lb__list { list-style: none; margin: 0; padding: 0; font-family: 'Courier New', monospace; }
.lb__list li { display: grid; grid-template-columns: 32px 1fr auto; align-items: center; padding: 7px 8px; border-radius: 6px; font-size: 1.05rem; }
.lb__list li:nth-child(odd) { background: rgba(255,255,255,0.05); }
.lb__list li.is-me { background: rgba(245,194,126,0.25); }
.lb__rank { color: rgba(255,255,255,0.55); }
.lb__name { font-weight: 800; letter-spacing: 0.2em; }
.lb__score { font-weight: 800; color: #F5C27E; }
.lb__list li:first-child .lb__rank::before { content: '\2605 '; color: #F5C27E; }
.lb__empty { display: block !important; color: rgba(255,255,255,0.7); font-family: var(--font-body); font-size: 0.9rem; }
.lb__ranks { margin-top: 16px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 12px; font-size: 0.84rem; }
.lb__ranks h3 { color: #fff; font-size: 0.95rem; margin: 0 0 6px; }
.lb__ranks ul { list-style: none; margin: 0; padding: 0; color: rgba(255,255,255,0.75); }
.lb__ranks li { padding: 2px 0; }
.lb__ranks b { color: #fff; }
@media (max-width: 1000px) {
  .game-layout { grid-template-columns: 1fr; }
  .lb { position: static; }
}
@media (max-width: 480px) {
  .game__fs { display: none; }
}

/* ---------- project photo grids: justified rows (every row the same height, always full width) ---------- */
.portfolio-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.portfolio-grid .proj { height: clamp(230px, 23vw, 340px); aspect-ratio: auto; flex: 1 1 300px; grid-column: auto;
  border-radius: 14px; box-shadow: 0 1px 0 rgba(22,33,44,0.04), 0 14px 30px -18px rgba(16,34,47,0.45); }
.portfolio-grid .proj--lg { flex: 1.6 1 420px; }
.portfolio-grid .proj--md { flex: 1.2 1 300px; }
.portfolio-grid .proj--sm { flex: 1 1 240px; }
.portfolio-grid .proj img { transition: transform .6s ease; }
.portfolio-grid .proj:hover img { transform: scale(1.04); opacity: 1; }
.portfolio-grid .proj__meta { padding: 48px 20px 18px; background: linear-gradient(0deg, rgba(10,22,31,0.82) 0%, rgba(10,22,31,0.35) 55%, transparent 100%); }
.portfolio-grid .proj__meta b { font-size: 1.08rem; }
.portfolio-grid .proj__meta span { font-size: 0.84rem; }
.portfolio-grid .proj::after { content: 'View'; position: absolute; top: 14px; right: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,0.92);
  color: var(--ink); font-size: 0.78rem; font-weight: 700; opacity: 0; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease; }
.portfolio-grid .proj:hover::after { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .portfolio-grid { gap: 10px; }
  .portfolio-grid .proj, .portfolio-grid .proj--sm, .portfolio-grid .proj--md { flex: 1 1 calc(50% - 5px); height: 200px; }
  .portfolio-grid .proj--lg { flex: 1 1 100%; height: 240px; }
  .portfolio-grid .proj__meta { padding: 36px 12px 12px; }
  .portfolio-grid .proj__meta b { font-size: 0.95rem; }
  .portfolio-grid .proj__meta span { display: none; }
}
.mb-acct { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--sky); border-radius: 12px; padding: 10px 14px; margin-bottom: 12px; font-size: 0.92rem; }
.mb-acct[hidden] { display: none; }
.mb-acct .btn { padding: 9px 16px; font-size: 0.88rem; }
.mb-acct__sync { color: var(--ok); font-weight: 600; }
.acct__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.acct__err { color: #B42318; font-weight: 600; }

/* ---------- top bar location + hours box ---------- */
.tb-loc { position: relative; }
.tb-loc__btn { appearance: none; background: none; border: 0; color: #fff; font: inherit; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; }
.tb-loc__btn:hover { text-decoration: underline; text-underline-offset: 3px; }
.tb-loc__btn svg { opacity: 0.8; transition: transform .2s ease; }
.tb-loc__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.topbar .dot.is-closed { background: #F5A3A3; box-shadow: 0 0 0 3px rgba(245,163,163,0.22); }
.tb-loc__box { position: absolute; top: calc(100% + 10px); left: 0; z-index: 300; width: 300px; background: #fff; color: var(--ink); border-radius: 14px;
  padding: 16px 18px; box-shadow: 0 22px 50px -18px rgba(16,34,47,0.55); font-size: 0.9rem; }
.tb-loc__box::before { content: ''; position: absolute; top: -7px; left: 22px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); }
.tb-loc__box[hidden] { display: none; }
.tb-loc__box a:not(.btn) { color: var(--blue); border: 0; }
.tb-loc__status { margin: 0 0 8px; }
.tb-loc__status .is-open { color: var(--ok); }
.tb-loc__status .is-closed { color: #B42318; }
.tb-loc__addr { margin: 0 0 10px; line-height: 1.45; }
.tb-loc__hours { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.tb-loc__hours caption { text-align: left; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding-bottom: 4px; }
.tb-loc__hours th, .tb-loc__hours td { padding: 4px 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-weight: 500; }
.tb-loc__hours td { text-align: right; color: var(--ink-soft); }
.tb-loc__hours tr.is-today th, .tb-loc__hours tr.is-today td { font-weight: 800; color: var(--ink); }
.tb-loc__btns { display: flex; gap: 8px; }
.tb-loc__btns .btn { flex: 1; padding: 10px 8px; font-size: 0.84rem; text-align: center; }
.tb-loc__btns .btn--primary { color: #fff; }
.tb-loc__more { margin: 10px 0 0; font-size: 0.84rem; color: var(--ink-soft); }
@media (max-width: 640px) { .tb-loc__box { width: min(300px, calc(100vw - 32px)); } }
.topbar .tb-loc__box .btn--outline { color: var(--blue); border: 2px solid var(--blue); padding-bottom: 10px; }
.topbar .tb-loc__box .btn--primary { border-bottom: 0; }
.topbar .tb-loc__box a:not(.btn) { color: var(--blue); border-bottom: 0; }
.mb-chips { display: flex; gap: 10px; margin: 12px 0; }
.mb-chips span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.mb-fig { margin: 16px 0; }
.mb-fig img { width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-block); }
.mb-fig figcaption { font-size: 0.86rem; color: var(--ink-soft); margin-top: 6px; }

/* ---------- mood board v2: history, styles, product list ---------- */
.mb-tools { visibility: visible; }
.mb-tools [data-front], .mb-tools [data-back], .mb-tools [data-dup], .mb-tools [data-del], .mb-tools__hint { display: none; }
.mb-tools.is-on [data-front], .mb-tools.is-on [data-back], .mb-tools.is-on [data-dup], .mb-tools.is-on [data-del] { display: inline-block; }
.mb-tools.is-on .mb-tools__hint { display: inline; }
.mb-tools button:disabled { opacity: 0.4; cursor: default; }
.mb-tools__sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.mb-tabs { grid-template-columns: repeat(3, 1fr); }
.mb-styles { display: grid; gap: 8px; }
.mb-style { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font: inherit; text-align: left; background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; padding: 10px 12px; cursor: pointer; }
.mb-style:hover { border-color: var(--blue); box-shadow: 0 0 0 2px var(--sky-line); }
.mb-style b { font-size: 0.9rem; }
.mb-style__chips { display: flex; gap: 4px; }
.mb-style__chips i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.mb-shop { margin-top: 18px; background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-block); }
.mb-shop[hidden] { display: none; }
.mb-shop__title { font-size: 1.1rem; margin: 0 0 10px; }
.mb-shop__title span { color: var(--ink-soft); font-weight: 500; }
.mb-shop__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mb-shop__item { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line-soft); border-radius: 10px; padding: 8px; }
.mb-shop__item:hover { border-color: var(--blue); }
.mb-shop__item img { grid-row: 1 / 3; width: 56px; height: 56px; object-fit: contain; background: #fff; }
.mb-shop__item span { font-size: 0.85rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mb-shop__item em { font-style: normal; font-weight: 700; font-size: 0.8rem; color: var(--blue); }
@media (max-width: 900px) { .mb-tabs { grid-template-columns: repeat(5, 1fr); } .mb-tabs button { font-size: 0.74rem; padding: 8px 2px; } }
.page-hero--slim { padding-top: clamp(28px, 4vw, 48px) !important; padding-bottom: clamp(24px, 3vw, 40px) !important; min-height: 0 !important; }
.page-hero--slim h1 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.page-hero--slim .wrap { padding-top: 26px; padding-bottom: 24px; }
.page-hero--slim p { margin-top: 10px; font-size: 1.02rem; }

/* ---------- mood board: budget + compare ---------- */
.mb-shop__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.mb-budget { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 0.9rem; }
.mb-budget input { width: 110px; font: inherit; font-weight: 600; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; }
.mb-total { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 8px; }
.mb-total b { font-family: var(--font-display); font-size: 1.4rem; }
.mb-total__left { font-weight: 700; color: var(--ok); }
.mb-total__left.is-over { color: #B42318; }
.mb-bar { display: block; height: 8px; background: var(--ground); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.mb-bar i { display: block; height: 100%; background: var(--ok); border-radius: 4px; transition: width .3s ease; }
.mb-bar.is-over i { background: #B42318; }
.mb-compare { position: fixed; inset: 0; z-index: 3000; background: rgba(16,34,47,0.7); display: grid; place-items: center; padding: 16px; }
.mb-compare__box { background: #fff; border-radius: 16px; padding: 18px; width: min(1180px, 100%); max-height: calc(100vh - 32px); overflow: auto; }
.mb-compare__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mb-compare__head h2 { margin: 0; font-size: 1.3rem; }
.mb-compare__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mb-compare__cols select { font: inherit; font-weight: 700; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; width: 100%; }
.mb-mini { position: relative; overflow: hidden; border-radius: 10px; box-shadow: var(--shadow-block); }
.mb-mini .mb-item { cursor: default; }
.mb-compare__meta { font-size: 0.88rem; color: var(--ink-soft); margin: 8px 0 0; }
@media (max-width: 800px) { .mb-compare__cols { grid-template-columns: 1fr; } }

/* ---------- room visualizer ---------- */
.vz-app { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.vz-side { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; }
.vz-h { font-size: 1rem; margin: 4px 0 10px; }
.vz-hint { font-size: 0.84rem; color: var(--ink-soft); margin: 8px 0; }
.vz-upload { display: block; cursor: pointer; }
.vz-samples { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 16px; }
.vz-samples button { position: relative; padding: 0; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; aspect-ratio: 4 / 3; }
.vz-samples img { width: 100%; height: 100%; object-fit: cover; }
.vz-samples span { position: absolute; left: 6px; bottom: 6px; background: #fff; font-size: 0.74rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.vz-quick { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.vz-quick button { font: inherit; font-size: 0.78rem; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.vz-quick button:hover { border-color: var(--blue); color: var(--blue); }
.vz-tools { display: flex; gap: 6px; flex-wrap: wrap; min-height: 38px; margin-bottom: 8px; visibility: hidden; }
.vz-tools.is-on { visibility: visible; }
.vz-tools button { font: inherit; font-size: 0.84rem; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 11px; cursor: pointer; }
.vz-tools button:hover { border-color: var(--blue); color: var(--blue); }
.vz-tools .vz-del { color: #B42318; }
.vz-stage { position: relative; background: var(--ground); border-radius: 14px; overflow: hidden; min-height: 380px; touch-action: none; user-select: none; -webkit-user-select: none; box-shadow: var(--shadow-block); }
.vz-stage.has-bg { min-height: 0; }
.vz-bg { display: block; width: 100%; height: auto; pointer-events: none; }
.vz-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; padding: 20px; }
.vz-item { position: absolute; cursor: grab; }
.vz-item img { display: block; width: 100%; height: auto; pointer-events: none; }
.vz-item.is-blend img { mix-blend-mode: multiply; }
.vz-item.is-sel { outline: 2px dashed var(--blue); outline-offset: 2px; }
.vz-handle { display: none; position: absolute; right: -9px; bottom: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; cursor: nwse-resize; }
.vz-item.is-sel .vz-handle { display: block; }
.vz-actions { display: flex; gap: 10px; margin: 14px 0; flex-wrap: wrap; }
.vz-list { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-block); }
.vz-list[hidden] { display: none; }
/* ---------- finish matcher ---------- */
.fm-app { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; }
.fm-pick { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; }
.fm-colors { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.fm-colors button { display: flex; align-items: center; gap: 8px; font: inherit; font-size: 0.85rem; text-align: left; background: #fff; border: 1px solid var(--line-soft); border-radius: 8px; padding: 6px; cursor: pointer; }
.fm-colors button.is-on, .fm-colors button:hover { border-color: var(--blue); box-shadow: 0 0 0 2px var(--sky-line); }
.fm-colors i { flex: 0 0 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.08); }
.fm-hero { height: 150px; border-radius: 14px; display: flex; align-items: flex-end; padding: 14px; box-shadow: var(--shadow-block); }
.fm-hero span { background: #fff; font-weight: 800; padding: 6px 12px; border-radius: 8px; }
.fm-why { font-size: 1.05rem; margin: 14px 0; }
.fm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fm-card { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-block); }
.fm-card h3 { font-size: 0.95rem; margin: 0 0 8px; }
.fm-card p { margin: 0 0 8px; font-size: 0.92rem; }
.fm-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.fm-row i { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.fm-row em { margin-left: auto; font-style: normal; color: var(--blue); font-size: 0.84rem; }
.fm-link { font-weight: 700; color: var(--blue); font-size: 0.86rem; }
.fm-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
/* ---------- project checklist ---------- */
.cl-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.cl-tabs { display: flex; gap: 6px; }
.cl-tabs button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.cl-tabs button.is-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.cl-progress { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 10px; }
.cl-progress .mb-bar { flex: 1; margin: 0; }
.cl-list { list-style: none; margin: 0; padding: 0; counter-reset: cl; display: grid; gap: 10px; }
.cl-step { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: var(--shadow-block); counter-increment: cl; }
.cl-step.is-done { opacity: 0.7; }
.cl-step.is-done .cl-check span { text-decoration: line-through; }
.cl-check { display: flex; align-items: center; gap: 10px; font-weight: 800; font-family: var(--font-display); cursor: pointer; }
.cl-check span::before { content: counter(cl) '. '; color: var(--ink-soft); }
.cl-check input { width: 20px; height: 20px; accent-color: var(--ok); }
.cl-desc { margin: 6px 0 4px 30px; color: var(--ink-soft); font-size: 0.92rem; }
.cl-links { margin: 0 0 6px 30px; display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.86rem; font-weight: 700; }
.cl-note { margin-left: 30px; width: calc(100% - 30px); font: inherit; font-size: 0.88rem; border: 1px solid var(--line-soft); border-radius: 8px; padding: 7px 9px; resize: vertical; }
@media (max-width: 900px) {
  .vz-app, .fm-app { grid-template-columns: 1fr; }
  .vz-side { position: static; max-height: none; order: 2; }
  .fm-grid { grid-template-columns: 1fr; }
}
@media print { .cl-tabs, [data-print], .fm-actions, .site-header, .topbar, .site-footer, .mobile-cta, .page-hero { display: none !important; } .cl-step { box-shadow: none; border: 1px solid #ccc; } }
html.game-lock, html.game-lock body { overflow: hidden; }
.game:-webkit-full-screen { background: #10222F; padding: 10px; justify-content: center; width: 100%; height: 100%; }
.game.is-full { box-sizing: border-box; }
.game.is-full .game__bar { border-radius: 12px 12px 0 0; }
.mb-group { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin: 12px 0 6px; }
.mb-sw i { background-size: cover; }

/* ---------- shared tool controls (tile previewer, style builder, estimator) ---------- */
.tp-app, .sb-app, .ce-app { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; align-items: start; }
.tp-controls, .sb-controls, .ce-controls { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px; }
.tp-field { margin-bottom: 14px; }
.tp-field > span { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.tp-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-opts.ce-col { flex-direction: column; }
.tp-opts button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 0.82rem; font-weight: 600; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; text-align: left; }
.tp-opts.ce-col button { border-radius: 10px; }
.tp-opts button i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.12); flex: none; }
.tp-opts button:hover { border-color: var(--blue); }
.tp-opts button.is-on { border-color: var(--blue); background: var(--sky); color: var(--blue-700); box-shadow: 0 0 0 1px var(--blue); }
.tp-row { display: grid; gap: 8px; }
.tp-row label { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; }
.tp-row input, .tp-row select { font: inherit; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; max-width: 60%; }
.tp-row input[type=text] { max-width: none; flex: 1; }
.tp-canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-block); background: #eee; }
.tp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 6px; }
.tp-stats div { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-block); }
.tp-stats b { display: block; font-family: var(--font-display); font-size: 1.4rem; }
.tp-stats span { font-size: 0.84rem; color: var(--ink-soft); }
/* style builder */
.sb-art svg { width: 100%; height: auto; display: block; border-radius: 14px; box-shadow: var(--shadow-block); }
.sb-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.sb-pick { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 10px; box-shadow: var(--shadow-block); }
.sb-pick i { width: 34px; height: 34px; border-radius: 8px; flex: none; border: 1px solid rgba(0,0,0,0.08); }
.sb-pick span { font-weight: 700; font-size: 0.86rem; line-height: 1.2; flex: 1; }
.sb-pick small { display: block; font-weight: 600; font-size: 0.7rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.sb-pick a { font-size: 0.8rem; font-weight: 700; color: var(--blue); }
.sb-kick { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ember-dark); margin: 0 0 4px; }
/* cost estimator */
.ce-out { background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow-block); }
.ce-range { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 8px; color: var(--ink); }
.ce-notes { color: var(--ink-soft); font-size: 0.92rem; padding-left: 1.1em; }
.ce-board { background: var(--sky); border-radius: 10px; padding: 12px 14px; font-size: 0.92rem; margin: 12px 0; }
/* before / after */
.ba-pick { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.ba-file { cursor: pointer; }
.ba-stage { position: relative; overflow: hidden; border-radius: 14px; box-shadow: var(--shadow-block); touch-action: none; user-select: none; background: #ddd; max-width: 1000px; }
.ba-img { display: block; width: 100%; height: auto; pointer-events: none; }
.ba-top { position: absolute; inset: 0; }
.ba-top .ba-img { width: 100%; height: 100%; object-fit: cover; }
.ba-handle { position: absolute; top: 0; bottom: 0; width: 4px; margin-left: -2px; background: #fff; cursor: ew-resize; box-shadow: 0 0 10px rgba(0,0,0,0.35); }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.ba-handle span::before { content: '\2039  \203A'; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; color: var(--blue); }
.ba-tag { position: absolute; top: 12px; background: rgba(16,34,47,0.75); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ba-tag--l { left: 12px; } .ba-tag--r { right: 12px; }
/* showroom visit + samples */
.vs-form { background: #fff; border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-block); max-width: 900px; }
.vs-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 14px; }
.vs-checks label { display: flex; gap: 8px; align-items: center; font-size: 0.92rem; }
.sr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.sr-item { position: relative; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line-soft); border-radius: 10px; padding: 8px; cursor: pointer; font-size: 0.84rem; font-weight: 600; }
.sr-item i { height: 70px; border-radius: 6px; }
.sr-item input { position: absolute; top: 12px; left: 12px; width: 18px; height: 18px; accent-color: var(--blue); }
.sr-item:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 2px var(--sky-line); }
/* my project */
.mp-shared { background: var(--sky); border-radius: 10px; padding: 10px 14px; }
.mp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.mp-head h2 { margin: 0; }
.mp-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.mp-card { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow-block); }
.mp-card:last-child { grid-column: 1 / -1; }
.mp-card h3 { margin: 0 0 10px; font-size: 1.1rem; }
.mp-card h3 span { color: var(--ink-soft); font-weight: 500; }
.mp-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.mp-sw i { display: block; height: 80px; border-radius: 8px; border: 1px solid rgba(0,0,0,0.06); }
.mp-sw span { display: block; font-size: 0.78rem; margin-top: 4px; line-height: 1.25; }
.mp-total { margin: 10px 0 0; }
.mp-steps { columns: 2; padding-left: 1.2em; }
.mp-steps li { margin-bottom: 6px; break-inside: avoid; }
.mp-steps li.is-done { color: var(--ok); text-decoration: line-through; }
.mp-steps small { display: block; color: var(--ink-soft); text-decoration: none; }
@media (max-width: 900px) {
  .tp-app, .sb-app, .ce-app, .mp-grid { grid-template-columns: minmax(0, 1fr); }
  .sb-list { grid-template-columns: 1fr 1fr; }
  .tp-stats { grid-template-columns: 1fr 1fr 1fr; }
  .mp-steps { columns: 1; }
}
@media print { .fm-actions, .mp-shared, [data-share], [data-print] { display: none !important; } .mp-card { box-shadow: none; border: 1px solid #ccc; } }

/* ---------- inspiration: Pinterest-style masonry, likes, sort ---------- */
.inspo-grid { display: block; column-count: 4; column-gap: 14px; }
.inspo-item.pin { break-inside: avoid; margin: 0 0 14px; position: relative; display: block; }
.pin .inspo-cell { display: block; width: 100%; aspect-ratio: auto; height: auto; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--ground); }
.pin .inspo-cell img { display: block; width: 100%; height: auto; object-fit: initial; transition: transform .4s ease, filter .3s ease; }
.pin .inspo-cell:hover img { transform: scale(1.03); filter: brightness(0.92); opacity: 1; }
.pin > .ib-heart { position: absolute; top: 10px; right: 10px; opacity: 0; transition: opacity .2s ease; }
.pin:hover > .ib-heart, .pin > .ib-heart.is-saved { opacity: 1; }
.pin__meta { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 0; gap: 8px; }
.pin__by { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pin-like { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); padding: 4px 6px; border-radius: 999px; }
.pin-like svg { fill: none; stroke: currentColor; stroke-width: 2; }
.pin-like:hover { color: #E0245E; background: #FDECF2; }
.pin-like.is-on { color: #E0245E; }
.pin-like.is-on svg { fill: currentColor; }
.pin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 8px 0 14px; }
.pin-bar .inspo-count { margin: 0; }
.pin-sort { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.pin-sort button { font: inherit; font-size: 0.86rem; font-weight: 700; border: 0; background: none; padding: 7px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); }
.pin-sort button.is-on { background: var(--ink); color: #fff; }
.inspo-lb .pin-like { background: #fff; padding: 8px 12px; }
.pin-more { margin-top: 14px; text-align: left; }
.pin-more p { color: #fff; font-weight: 800; margin: 0 0 8px; }
.pin-more__row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.pin-more__row button { flex: 0 0 110px; height: 110px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; }
.pin-more__row img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1100px) { .inspo-grid { column-count: 3; } }
@media (max-width: 700px) { .inspo-grid { column-count: 2; column-gap: 8px; } .inspo-item.pin { margin-bottom: 10px; } .pin > .ib-heart { opacity: 1; } }

/* ---------- boards: uploads + mood boards inside the Ideabook ---------- */
.ib-add { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 22px; padding: 12px; background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-block); }
.ib-add__label { font-weight: 800; font-size: 0.86rem; margin-right: 4px; }
.ib-add__btn { font: inherit; font-size: 0.86rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; text-decoration: none; }
.ib-add__btn:hover { border-color: var(--ink); }
.ib-add__boards { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; padding-top: 6px; }
.ib-add__boards p { margin: 0; }
.ib-pickboard { font: inherit; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 6px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.ib-pickboard span { font-size: 0.84rem; font-weight: 700; }
.ib-pickboard[disabled] { opacity: 0.5; cursor: default; }
.ib-pickboard--new { justify-content: center; align-items: center; min-height: 120px; border-style: dashed; }
.ib-mini { position: relative; display: block; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; }
.ib-card .ib-mini { width: 92%; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.ib-card .ib-mini--gone { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.ib-mini > * { position: absolute; display: block; }
.ib-mini img { object-fit: cover; }
.ib-mini i { border: 2px solid #fff; box-sizing: border-box; }
.ib-mini b { font-size: 9px; line-height: 1.1; overflow: hidden; color: var(--ink); }
.ib-mini--gone { display: grid; place-items: center; background: var(--ground-dim); color: var(--ink-soft); font-size: 0.85rem; font-weight: 700; text-align: center; padding: 10px; }
.ib-card--board .ib-card__img { display: grid; place-items: center; }
.ib-card--upload .ib-card__type { background: #E07A2E; }
.mb-upload { display: block; margin: 10px 0 0; padding: 10px; text-align: center; font-weight: 700; font-size: 0.88rem; border: 1.5px dashed var(--line); border-radius: 10px; cursor: pointer; }
.mb-upload:hover { border-color: var(--ink); }

/* ---------- kitchen designer: views, 3D / elevations, finishes ---------- */
.cd__views { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px; align-self: center; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.cd__views button { font: inherit; font-size: 0.86rem; font-weight: 700; border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--ink-soft); }
.cd__views button.is-on { background: var(--ink); color: #fff; }
.cd__alt { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.k3__bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.k3__tip { font-size: 0.8rem; color: var(--ink-soft); margin: 0 4px; }
.k3__cv { width: 100%; border-radius: 12px; background: #fff; box-shadow: var(--shadow-block); touch-action: none; cursor: grab; }
.k3__cv:active { cursor: grabbing; }
.k3__actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.k3__msg { font-size: 0.84rem; color: var(--ink-soft); }
.k3p { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; background: var(--ground); }
.k3p summary { font-weight: 800; cursor: pointer; }
.k3p__looks { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.k3p__look { font: inherit; font-size: 0.78rem; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.k3p__look:hover { border-color: var(--ink); }
.k3p__row { margin: 8px 0; }
.k3p__lbl { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 4px; }
.k3p__lbl b { color: var(--ink); }
.k3p__sw { display: flex; flex-wrap: wrap; gap: 5px; }
.k3p__chip { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; padding: 0; font-weight: 800; font-size: 0.8rem; color: var(--ink-soft); background: #fff; }
.k3p__chip.is-on { box-shadow: 0 0 0 2px var(--ink); }
.k3p__seg { display: inline-flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.k3p__seg button { font: inherit; font-size: 0.78rem; font-weight: 700; border: 0; background: none; padding: 6px 9px; cursor: pointer; color: var(--ink-soft); }
.k3p__seg button.is-on { background: var(--ink); color: #fff; }
.k3p__note { font-size: 0.8rem; color: var(--ink-soft); margin: 8px 0 0; }
.k3p__go { font: inherit; font-weight: 700; color: var(--blue); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }
.cd__tot--tri.is-bad b { color: #B4462B; }

/* ---------- Inspire app (inspiration.html): Pinterest-style ---------- */
.ia-app { background: var(--ground); padding: 18px 0 60px; }
.ia-wrap { width: 100%; max-width: 2000px; margin: 0 auto; padding: 0 clamp(10px, 2vw, 28px); }
.ia-head { text-align: center; padding: 8px 0 6px; }
.ia-crumb { font-size: 0.78rem; color: var(--ink-soft); margin: 0 0 4px; }
.ia-crumb a { color: inherit; }
.ia-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0; letter-spacing: -0.02em; }
.ia-lede { color: var(--ink-soft); margin: 6px auto 0; max-width: 640px; }
.ia-bar { position: sticky; top: var(--ia-top, 0px); z-index: 60; background: rgba(243,241,236,0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); padding: 12px 0 10px; margin: 8px 0 6px; border-bottom: 1px solid rgba(22,33,44,0.06); }
.ia-bar__top { display: flex; gap: 10px; align-items: center; }
.ia-search { flex: 1; display: flex; align-items: center; gap: 10px; background: #E6E3DC; border-radius: 999px; padding: 0 16px; height: 50px; color: var(--ink-soft); transition: background .2s, box-shadow .2s; }
.ia-search:focus-within { background: #fff; box-shadow: 0 0 0 3px rgba(58,102,140,0.35); }
.ia-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink); outline: none; }
.ia-search__x { border: 0; background: none; color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; padding: 4px; }
.ia-boards { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ia-boards svg { fill: currentColor; }
.ia-boards b { background: #E0245E; border-radius: 999px; font-size: 0.72rem; padding: 2px 7px; }
.ia-topics { display: flex; gap: 8px; overflow-x: auto; padding: 12px 2px 4px; scrollbar-width: none; }
.ia-topics::-webkit-scrollbar { display: none; }
.ia-topics button { flex: 0 0 auto; font: inherit; font-weight: 800; font-size: 0.92rem; border: 0; background: none; padding: 10px 16px; border-radius: 999px; cursor: pointer; color: var(--ink); }
.ia-topics button:hover { background: #E6E3DC; }
.ia-topics button.is-on { background: var(--ink); color: #fff; }
.ia-refine { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 6px; }
.ia-refine__lbl { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.ia-dots { display: flex; gap: 6px; }
.ia-dots button { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.15); cursor: pointer; padding: 0; }
.ia-dots button.is-on { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.12); }
.ia-moods { display: flex; flex-wrap: wrap; gap: 6px; }
.ia-moods button { font: inherit; font-size: 0.8rem; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.ia-moods button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.ia-refine select { font: inherit; font-size: 0.84rem; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: #fff; }
.ia-shuffle { font: inherit; font-size: 0.84rem; font-weight: 800; border: 0; background: #E6E3DC; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.ia-count { margin: 10px 4px 12px; font-size: 0.86rem; color: var(--ink-soft); font-weight: 700; }
.ia-grid { column-count: 6; column-gap: 16px; }
@media (max-width: 1800px) { .ia-grid { column-count: 5; } }
@media (max-width: 1400px) { .ia-grid { column-count: 4; } }
@media (max-width: 1024px) { .ia-grid { column-count: 3; } }
@media (max-width: 640px) { .ia-grid { column-count: 2; column-gap: 8px; } }
.ia-pin { break-inside: avoid; position: relative; margin: 0 0 18px; }
.ia-pin__img { display: block; border-radius: 16px; overflow: hidden; background: #E6E3DC; cursor: zoom-in; }
.ia-pin__img img { display: block; width: 100%; height: auto; transition: filter .2s ease; }
.ia-pin:hover .ia-pin__img img { filter: brightness(0.78); }
.ia-save { position: absolute; top: 10px; right: 10px; font: inherit; font-weight: 800; font-size: 0.92rem; background: #E0245E; color: #fff; border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; opacity: 0; transition: opacity .15s ease; }
.ia-save.is-saved { background: #111; }
.ia-pin:hover .ia-save, .ia-save:focus-visible, .ia-save.is-saved { opacity: 1; }
.ia-pin__tools { position: absolute; right: 10px; bottom: 44px; opacity: 0; transition: opacity .15s ease; }
.ia-pin:hover .ia-pin__tools { opacity: 1; }
.ia-round { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.94); color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.ia-round:hover { background: #fff; }
.ia-round--lg { width: 46px; height: 46px; }
.ia-pin__meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 4px 0; }
.ia-pin__by { font-size: 0.8rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ia-like { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; font: inherit; font-size: 0.8rem; font-weight: 800; color: var(--ink-soft); padding: 4px 6px; border-radius: 999px; }
.ia-like svg { fill: none; stroke: currentColor; stroke-width: 2; }
.ia-like:hover { color: #E0245E; }
.ia-like.is-on { color: #E0245E; }
.ia-like.is-on svg { fill: currentColor; }
.ia-like--lg { font-size: 0.95rem; padding: 8px 12px; background: #F1EEE8; }
.ia-empty { text-align: center; padding: 50px 10px; color: var(--ink-soft); }
.ia-sentinel { height: 2px; }
.ia-pop { position: fixed; z-index: 5200; background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,0.25); padding: 14px; max-height: 360px; display: flex; flex-direction: column; }
.ia-pop__h { margin: 0 0 8px; font-weight: 800; text-align: center; }
.ia-pop__list { overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.ia-pop__b { display: flex; align-items: center; gap: 10px; font: inherit; text-align: left; border: 0; background: none; padding: 6px; border-radius: 10px; cursor: pointer; }
.ia-pop__b:hover { background: #F1EEE8; }
.ia-pop__cv { width: 44px; height: 44px; border-radius: 10px; background: #E6E3DC center/cover; flex: 0 0 auto; }
.ia-pop__nm { flex: 1; min-width: 0; font-weight: 700; font-size: 0.9rem; }
.ia-pop__nm i { display: block; font-style: normal; font-weight: 500; font-size: 0.74rem; color: var(--ink-soft); }
.ia-pop__b b { font-size: 0.78rem; background: #E0245E; color: #fff; border-radius: 999px; padding: 6px 10px; opacity: 0; }
.ia-pop__b:hover b, .ia-pop__b.is-in b { opacity: 1; }
.ia-pop__b.is-in b { background: #111; }
.ia-pop__new { display: flex; gap: 6px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.ia-pop__new input { flex: 1; min-width: 0; font: inherit; font-size: 0.86rem; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; }
.ia-pop__new .btn { padding: 8px 14px; }
.ia-close { position: fixed; inset: 0; z-index: 5000; background: #fff; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(10px, 2vw, 28px) 60px; }
.ia-close__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; padding: 12px 0; background: linear-gradient(#fff 70%, rgba(255,255,255,0)); }
.ia-close__nav { display: flex; gap: 8px; }
.ia-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); max-width: 1080px; margin: 0 auto; border-radius: 32px; box-shadow: 0 2px 30px rgba(0,0,0,0.12); overflow: hidden; background: #fff; }
.ia-card__img { background: #F1EEE8; display: flex; align-items: center; justify-content: center; }
.ia-card__img img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.ia-card__side { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; }
.ia-card__acts { display: flex; align-items: center; gap: 10px; }
.ia-card__acts .ia-save--lg { position: static; opacity: 1; margin-left: auto; padding: 13px 22px; font-size: 1rem; }
.ia-card__t { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.2; margin: 6px 0 0; }
.ia-card__by { color: var(--ink-soft); margin: 0; }
.ia-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ia-card__tags button { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 0.84rem; font-weight: 700; background: #F1EEE8; border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.ia-card__tags button:hover { background: #E6E3DC; }
.ia-card__tags i { width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(0,0,0,0.2); }
.ia-card__cta { display: grid; gap: 8px; margin-top: auto; }
.ia-card__note { font-size: 0.8rem; color: var(--ink-soft); margin: 0; }
.ia-close__more { text-align: center; font-size: 1.3rem; margin: 34px 0 16px; }
.ia-grid--more { max-width: 1800px; margin: 0 auto; }
.ia-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); background: #111; color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px; z-index: 5300; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.ia-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
html.ia-lock, html.ia-lock body { overflow: hidden; }
@media (max-width: 860px) {
  .ia-card { grid-template-columns: 1fr; border-radius: 22px; }
  .ia-card__side { padding: 18px; }
  .ia-boards span { display: none; }
  .ia-boards { padding: 0 14px; }
  .ia-refine { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .ia-refine::-webkit-scrollbar { display: none; }
  .ia-moods { flex-wrap: nowrap; }
  .ia-moods button { white-space: nowrap; }
}
@media (max-width: 640px) {
  .ia-search { height: 44px; }
  .ia-boards { height: 44px; }
  .ia-save { opacity: 1; padding: 7px 11px; font-size: 0.8rem; top: 8px; right: 8px; }
  .ia-pin__tools { display: none; }
  .ia-pin { margin-bottom: 12px; }
  .ia-head .ia-lede { display: none; }
}

.vz-item.is-cutting img { mix-blend-mode: multiply; }
.ia-shop { position: absolute; left: 10px; bottom: 44px; font-weight: 800; font-size: 0.82rem; background: rgba(255,255,255,0.95); color: var(--ink); border-radius: 999px; padding: 8px 12px; text-decoration: none; opacity: 0; transition: opacity .15s ease; box-shadow: 0 1px 4px rgba(0,0,0,0.15); }
.ia-pin:hover .ia-shop { opacity: 1; }
@media (max-width: 640px) { .ia-shop { opacity: 1; padding: 5px 9px; font-size: 0.74rem; bottom: 40px; left: 8px; } }
.tp-opts button { max-width: 100%; white-space: normal; }
.tp-controls, .sb-controls, .ce-controls { min-width: 0; }
.ia-search { min-width: 0; }
.sb-pick { min-width: 0; }
.sb-pick span { min-width: 0; overflow-wrap: anywhere; }
.sb-pick a { white-space: nowrap; }

/* ---------- mobile polish: thumb-sized targets, no iOS zoom on inputs, readable small labels ---------- */
@media (max-width: 760px) {
  input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), select, textarea { font-size: 16px !important; }
  .tb-loc__btn { min-height: 38px; }
  .link-arrow, .wf-head a, .section-head a { display: inline-flex; align-items: center; min-height: 40px; }
  .rkfb-addr a, footer address a, footer .wrap span a { display: inline-block; padding: 10px 0; }
  .site-footer a, footer li a { display: inline-block; padding: 7px 0; }
  .ia-like { min-width: 40px; min-height: 40px; justify-content: center; }
  .ia-shop { padding: 8px 12px; }
  .ia-refine select, .ia-pop__new input { font-size: 16px; }
  .sf-ship__tag, .sf-badge, .sf-card__vendor, small { font-size: 12px; }
  .ia-refine__lbl { font-size: 12px; }
  .cd__mini { min-height: 38px; }
}
@media (max-width: 760px) {
  .sf-pdp__install a, .consult__contact a, .footer-col a { display: inline-block; padding: 8px 0; }
  .ib-link { min-height: 40px; padding: 0 8px; }
  .cd__grphint { font-size: 12px; }
}
.mb-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 10px; }
.mb-quick button { font: inherit; font-size: 0.8rem; font-weight: 700; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 11px; cursor: pointer; }
.mb-quick button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.mb-thumbs--ideas img { object-fit: cover; }
.ib-card__rep { margin: 0; font-size: 0.78rem; color: #8A5A12; background: #FFF4E2; border-radius: 6px; padding: 5px 8px; }

/* ideas landing pages (static views of the Inspire library) */
.ia-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 16px 0 6px; }
.ia-head .ia-lede + .ia-lede { margin-top: 8px; }
figure.ia-pin { margin: 0 0 18px; }
.ia-textshop { font-size: 0.8rem; font-weight: 800; color: var(--blue); text-decoration: none; padding: 4px 8px; border-radius: 999px; background: #E6EEF5; }
.ia-textshop:hover { background: var(--blue); color: #fff; }
.ia-related { max-width: 900px; margin: 36px auto 0; text-align: center; }
.ia-related h2 { font-size: 1.2rem; margin: 18px 0 8px; }
.ia-related p { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
.ia-related a { font-weight: 700; font-size: 0.9rem; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; text-decoration: none; color: var(--ink); }
.ia-related a:hover { border-color: var(--ink); }
.ia-topics-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 10px 0 0; }
.ia-topics-links a { font-size: 0.82rem; font-weight: 700; color: var(--ink-soft); text-decoration: none; border-bottom: 1px dotted currentColor; }
.ideas-hub__h { font-size: 1.3rem; margin: 28px 4px 12px; }
.ideas-hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.ideas-card { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #E6E3DC; text-decoration: none; }
.ideas-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ideas-card:hover img { transform: scale(1.04); }
.ideas-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,0.65)); color: #fff; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; }
.ideas-card b { font-size: 1rem; }
.ideas-card i { font-style: normal; font-size: 0.78rem; opacity: 0.9; white-space: nowrap; }
/* Inspire: every topic visible on desktop; on phones a fade hints the row scrolls */
@media (min-width: 900px) { .ia-topics { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 899px) {
  .ia-topics, .ia-refine { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); padding-right: 28px; }
}

/* ---------- Phones: a leaner header and a homepage you swipe through instead of scroll past ---------- */
@media (max-width: 640px) {
  .topbar { font-size: 0.8rem; }
  .topbar .wrap { padding-top: 6px; padding-bottom: 6px; }
  .brand img { height: 54px; }
  .site-header .wrap { padding-top: 5px; padding-bottom: 5px; }
  .wf-promo span:nth-child(3) { display: none; }
  .wf-promo .wrap { padding-top: 7px; padding-bottom: 7px; flex-wrap: nowrap; white-space: nowrap; }

  body.home { --section-y: 52px; }
  body.home .wf-tile__card .eyebrow { letter-spacing: 0.1em; font-size: 0.72rem; white-space: nowrap; }
  body.home .wf-tile__card .eyebrow::before { width: 22px; }
  body.home .wf-tile__card p { font-size: 1rem; }
  /* long stacked card grids become swipe rails, with the next card peeking in */
  body.home .pillars, body.home .cards--4, body.home .post-grid, body.home .family, body.home .quotes {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%;
    gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 14px; scroll-padding-left: var(--gutter); scrollbar-width: none;
  }
  body.home .cards--4, body.home .family { grid-auto-columns: 72%; }
  body.home .pillars::-webkit-scrollbar, body.home .cards--4::-webkit-scrollbar, body.home .post-grid::-webkit-scrollbar,
  body.home .family::-webkit-scrollbar, body.home .quotes::-webkit-scrollbar { display: none; }
  body.home .pillars > *, body.home .cards--4 > *, body.home .post-grid > *, body.home .family > *, body.home .quotes > * { scroll-snap-align: start; min-width: 0; }
  body.home .quotes > figure { margin: 0; }
}

/* ---------- account dashboard (account.html) ---------- */
.ad-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line-soft, #e6e1d8); border-radius: 18px; padding: clamp(20px, 3vw, 32px); }
.ad-top--out { background: var(--sky, #E7EEF4); }
.ad-kick { margin: 0 0 4px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-dark); }
.ad-hi { margin: 0 0 6px; font-size: clamp(1.4rem, 3vw, 1.9rem); overflow-wrap: anywhere; }
.ad-note { margin: 0; color: var(--muted, #5b6670); }
.ad-note--device { margin-top: 12px; font-size: .92rem; }
.ad-why { margin: 10px 0 0; padding-left: 20px; }
.ad-why li { margin: 2px 0; }
.ad-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.ad-stats a { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line-soft, #e6e1d8); border-radius: 14px; padding: 16px 18px; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.ad-stats a:hover { border-color: var(--blue); transform: translateY(-2px); }
.ad-stats b { font-size: 1.8rem; line-height: 1.1; color: var(--blue); }
.ad-stats span { font-size: .88rem; color: var(--muted, #5b6670); }
.ad-sec { margin-top: clamp(32px, 5vw, 52px); }
.ad-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.ad-sec__head h2 { margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.ad-sec__head a { font-weight: 700; color: var(--blue); white-space: nowrap; }
.ad-empty { margin: 0; padding: 18px; border: 1px dashed var(--line, #d9d3c8); border-radius: 14px; color: var(--muted, #5b6670); }
.ad-empty a { font-weight: 700; color: var(--blue); }
.ad-boards { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.ad-board { color: var(--ink); text-decoration: none; }
.ad-board__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--sand, #EDE7DC); margin-bottom: 8px; }
.ad-board__grid img, .ad-board__grid span { width: 100%; height: 100%; object-fit: cover; background: var(--sand, #EDE7DC); }
.ad-board__grid.is-one { grid-template-columns: 1fr; }
.ad-board:hover .ad-board__grid { outline: 2px solid var(--blue); outline-offset: 2px; }
.ad-board b { display: block; }
.ad-board i { font-style: normal; font-size: .86rem; color: var(--muted, #5b6670); }
.ad-likes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ad-likes a { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.ad-likes img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.ad-likes a:hover img { transform: scale(1.05); }
.ad-recent { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ad-recent a { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line-soft, #e6e1d8); border-radius: 14px; padding: 12px; }
.ad-recent img, .ad-recent span { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 8px; }
.ad-recent i { font-style: normal; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5b6670); }
.ad-recent b { font-size: .92rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ad-recent em { font-style: normal; font-weight: 700; margin-top: 4px; }
.ad-orders { display: grid; gap: 8px; }
.ad-order { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line-soft, #e6e1d8); border-radius: 12px; color: var(--ink); text-decoration: none; }
.ad-order:hover { border-color: var(--blue); }
.ad-order span { color: var(--muted, #5b6670); font-size: .92rem; }
.ad-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ad-tools a { background: var(--blue); color: #fff; border-radius: 14px; padding: 18px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: background .15s; }
.ad-tools a:hover { background: var(--navy, #10222F); }
.ad-tools span { font-size: .88rem; opacity: .85; }
@media (max-width: 760px) {
  .ad-stats, .ad-tools { grid-template-columns: 1fr 1fr; }
  .ad-likes { grid-template-columns: repeat(3, 1fr); }
  .ad-recent { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .ad-recent a { scroll-snap-align: start; }
  .ad-boards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ad-top .acct__btns { width: 100%; }
  .ad-top .acct__btns .btn { flex: 1; text-align: center; }
}

/* ---------- homepage: free design studio band (mood boards + design tools) ---------- */
.wf-studio { background: var(--navy); color: #fff; padding: clamp(48px, 7vw, 96px) 0; margin: clamp(24px, 4vw, 48px) 0; }
.wf-studio__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wf-studio__kick { margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #F0B676; }
.wf-studio h2 { color: #fff; margin: 0 0 14px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.1; }
.wf-studio__copy > p:not(.wf-studio__kick) { color: rgba(255,255,255,.82); font-size: 1.05rem; margin: 0 0 22px; max-width: 34em; }
.wf-studio__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.wf-studio__board { position: relative; display: block; aspect-ratio: 4 / 3; background: #F3F1EC; border-radius: 18px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); overflow: hidden; transform: rotate(-1.2deg); transition: transform .3s; }
.wf-studio__board:hover { transform: rotate(0deg) scale(1.01); }
.wf-studio__board img, .wf-studio__board .sw { position: absolute; border-radius: 10px; box-shadow: 0 10px 24px -12px rgba(16,34,47,.55); object-fit: cover; }
.wf-studio__board .b1 { left: 4%; top: 5%; width: 56%; height: 55%; }
.wf-studio__board .b2 { right: 4%; top: 8%; width: 34%; height: 48%; transform: rotate(2deg); }
.wf-studio__board .b3 { left: 20%; bottom: 6%; width: 38%; height: 33%; transform: rotate(-2deg); }
.wf-studio__board .mt { right: 22%; bottom: 8%; width: 16%; height: 22%; border-radius: 50%; }
.wf-studio__board .sw { width: 9%; aspect-ratio: 1; height: auto; border: 3px solid #fff; }
.wf-studio__board .s1 { left: 62%; top: 60%; } .wf-studio__board .s2 { left: 72%; top: 64%; } .wf-studio__board .s3 { left: 82%; top: 60%; } .wf-studio__board .s4 { left: 5%; bottom: 10%; }
.wf-studio__tag { position: absolute; left: 4%; top: 64%; background: #fff; color: var(--ink); font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(16,34,47,.5); }
.wf-studio__tools { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: clamp(32px, 5vw, 56px); }
.wf-studio__tool { display: flex; flex-direction: column; gap: 4px; padding: 18px 16px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; transition: background .15s, transform .15s, border-color .15s; }
.wf-studio__tool:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }
.wf-studio__tool svg { width: 28px; height: 28px; color: #F0B676; margin-bottom: 6px; }
.wf-studio__tool b { font-size: .98rem; line-height: 1.25; }
.wf-studio__tool span { font-size: .84rem; line-height: 1.4; color: rgba(255,255,255,.72); }
@media (max-width: 1100px) { .wf-studio__tools { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .wf-studio__in { grid-template-columns: 1fr; } .wf-studio__board { order: -1; max-width: 560px; } }
@media (max-width: 640px) {
  .wf-studio { margin: 20px 0; }
  .wf-studio__tools { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 6px; scroll-padding-left: var(--gutter); scrollbar-width: none; }
  .wf-studio__tools::-webkit-scrollbar { display: none; }
  .wf-studio__tool { scroll-snap-align: start; }
  .wf-studio__ctas .btn { flex: 1; text-align: center; }
}

/* ---------- Build a shower (shower-builder.html) ---------- */
.shb { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: clamp(20px, 3vw, 40px); align-items: start; }
.shb-step { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 16px; padding: clamp(16px, 2.4vw, 26px); margin-bottom: 14px; }
.shb-step h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: clamp(1.1rem, 2vw, 1.3rem); }
.shb-step h2 span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sky); color: var(--blue); font-size: .9rem; flex: none; }
.shb-step.is-done h2 span { background: var(--blue); color: #fff; }
.shb-step.is-locked { opacity: .55; }
.shb-step.is-locked h2 { margin-bottom: 4px; }
.shb-step h3 { margin: 18px 0 6px; font-size: 1rem; }
.shb-hint { margin: 0 0 10px; color: #5b6670; font-size: .92rem; }
.shb-brands { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shb-brand { text-align: left; padding: 18px; border-radius: 14px; border: 2px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.shb-brand b { display: block; font-size: 1.25rem; }
.shb-brand span { font-size: .86rem; color: #5b6670; }
.shb-brand:hover { border-color: var(--blue); }
.shb-lock { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--sky); }
.shb-lock__icon { font-size: 1.3rem; }
.shb-lock b { display: block; }
.shb-lock small { color: #5b6670; }
.shb-lock .mb-btn { margin-left: auto; flex: none; }
.shb-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.shb-seg--3 { grid-template-columns: repeat(3, 1fr); }
.shb-seg button { padding: 14px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; text-align: left; }
.shb-seg button small { display: block; font-weight: 400; font-size: .84rem; color: #5b6670; }
.shb-seg button.is-on, .shb-card.is-on, .shb-fin.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.18); }
.shb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.shb-grid--sm { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.shb-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 10px; border-radius: 12px; border: 2px solid var(--line); background: #fff; cursor: pointer; font: inherit; color: var(--ink); text-align: left; }
.shb-card:hover { border-color: var(--blue); }
.shb-card img, .shb-card__ph { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 4px; }
.shb-card b { font-size: .88rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shb-card i { font-style: normal; font-size: .84rem; color: #5b6670; }
.shb-card.is-out i { color: #8F5214; }
.shb-card--none { justify-content: center; min-height: 90px; }
.shb-dots { display: flex; gap: 4px; margin-top: 4px; }
.shb-dots em, .shb-fin em { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.shb-fins { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.shb-fin { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.shb-fin em { width: 18px; height: 18px; }
.shb-check { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; font-size: .94rem; }
.shb-check input { margin-top: 4px; width: 18px; height: 18px; }
.shb-picked { max-width: 220px; margin-top: 10px; }
.shb-picked .shb-card { cursor: default; }
.shb-q { position: sticky; top: 110px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px; padding: 20px; box-shadow: var(--shadow-block); }
.shb-q__head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.shb-q__head img { width: 76px; height: 76px; object-fit: contain; mix-blend-mode: multiply; flex: none; }
.shb-q__head h2 { margin: 0; font-size: 1.2rem; }
.shb-q__head p { margin: 2px 0 0; color: #5b6670; font-size: .9rem; }
.shb-q__kick { margin: 0 !important; font-size: .74rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-dark) !important; }
.shb-q__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-soft); }
.shb-q__list li { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.shb-q__list a { display: flex; gap: 10px; align-items: center; flex: 1; min-width: 0; color: var(--ink); text-decoration: none; }
.shb-q__list img { width: 44px; height: 44px; object-fit: contain; mix-blend-mode: multiply; flex: none; }
.shb-q__list span { font-size: .86rem; line-height: 1.35; min-width: 0; }
.shb-q__list small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5b6670; }
.shb-q__list em { display: block; font-style: normal; font-size: .78rem; color: #5b6670; }
.shb-q__list em.shb-out { color: #8F5214; font-weight: 600; }
.shb-q__list b { white-space: nowrap; font-size: .92rem; }
.shb-q__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 8px; font-size: 1.05rem; }
.shb-q__total b { font-size: 1.4rem; }
.shb-q__btns { display: grid; gap: 8px; margin-top: 12px; }
.shb-mini { display: none; }
@media (max-width: 900px) {
  .shb { grid-template-columns: minmax(0, 1fr); }
  .shb-steps, .shb-step { min-width: 0; }
  .shb-q { position: static; }
  .shb-mini:not([hidden]) { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 54px; z-index: 150; padding: 10px 16px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 20px rgba(16,34,47,.12); }
  .shb-mini span { font-size: .86rem; color: #5b6670; }
  .shb-mini b { font-size: 1.1rem; margin-right: auto; }
  .shb-mini .btn { padding: 10px 16px; }
}
@media (max-width: 560px) {
  .shb-brands, .shb-seg, .shb-seg--3 { grid-template-columns: 1fr; }
  /* product choices swipe sideways on phones instead of stacking into a very long page */
  .shb-grid, .shb-grid--sm { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 2px 16px 8px; scroll-padding-left: 16px; scrollbar-width: none; }
  .shb-grid::-webkit-scrollbar { display: none; }
  .shb-grid > * { scroll-snap-align: start; }
  .shb-step { padding: 16px; }
  .shb-lock { flex-wrap: wrap; }
}
.shb-seg--jets { grid-template-columns: repeat(5, 1fr); }
.shb-seg--jets button { text-align: center; }
@media (max-width: 560px) { .shb-seg.shb-seg--jets { grid-template-columns: repeat(5, 1fr); } .shb-seg--jets button { padding: 12px 4px; font-size: .9rem; } }

/* ---------- homepage: Build a Shower band ---------- */
.wf-shower { background: var(--sky); padding: clamp(48px, 7vw, 96px) 0; margin: clamp(24px, 4vw, 48px) 0; border-top: 1px solid var(--sky-line, #d7e2ec); border-bottom: 1px solid var(--sky-line, #d7e2ec); }
.wf-shower__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wf-shower__vis { position: relative; display: block; aspect-ratio: 5 / 4; color: var(--ink); text-decoration: none; }
.wf-shower__trim { position: absolute; background: #fff; border-radius: 16px; box-shadow: 0 18px 40px -22px rgba(16,34,47,.45); padding: 10px 10px 8px; display: flex; flex-direction: column; align-items: center; transition: transform .3s; }
.wf-shower__trim img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.wf-shower__trim i { font-style: normal; font-size: .76rem; font-weight: 700; color: #5b6670; margin-top: 4px; white-space: nowrap; }
.wf-shower__trim.t1 { left: 0; top: 4%; width: 40%; transform: rotate(-3deg); z-index: 2; }
.wf-shower__trim.t2 { left: 30%; top: 0; width: 34%; transform: rotate(2deg); }
.wf-shower__trim.t3 { left: 14%; bottom: 0; width: 34%; transform: rotate(-1deg); }
.wf-shower__vis:hover .wf-shower__trim { transform: rotate(0deg) translateY(-3px); }
.wf-shower__quote { position: absolute; right: 0; top: 14%; width: 46%; min-width: 210px; background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 26px 50px -24px rgba(16,34,47,.55); z-index: 3; display: flex; flex-direction: column; gap: 6px; font-size: .84rem; }
.wf-shower__quote small { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-dark); }
.wf-shower__quote b { font-size: 1.05rem; margin-bottom: 4px; }
.wf-shower__quote span { display: flex; justify-content: space-between; gap: 10px; }
.wf-shower__quote em { font-style: normal; }
.wf-shower__quote .tot { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; font-weight: 800; font-size: .95rem; }
.wf-shower__quote .btnlike { justify-content: center; background: var(--ember); color: var(--navy); font-weight: 700; border-radius: 10px; padding: 9px; margin-top: 6px; }
.wf-shower__kick { margin: 0 0 10px; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ember-dark); }
.wf-shower h2 { margin: 0 0 14px; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.1; }
.wf-shower__copy > p:not(.wf-shower__kick) { font-size: 1.05rem; margin: 0 0 18px; max-width: 34em; }
.wf-shower__steps { list-style: none; counter-reset: s; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wf-shower__steps li { counter-increment: s; position: relative; background: #fff; border-radius: 12px; padding: 12px 12px 12px 48px; }
.wf-shower__steps li::before { content: counter(s); position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.wf-shower__steps b { display: block; font-size: .95rem; }
.wf-shower__steps span { font-size: .84rem; color: #5b6670; }
.wf-shower__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .wf-shower__in { grid-template-columns: minmax(0, 1fr); } .wf-shower__vis { max-width: 560px; width: 100%; } }
@media (max-width: 640px) {
  .wf-shower { margin: 20px 0; }
  .wf-shower__vis { aspect-ratio: 1 / 1.02; }
  .wf-shower__trim.t1 { width: 48%; } .wf-shower__trim.t2 { left: 36%; width: 40%; } .wf-shower__trim.t3 { width: 42%; left: 4%; }
  .wf-shower__quote { top: auto; bottom: 2%; width: 56%; min-width: 0; padding: 12px; font-size: .78rem; }
  .wf-shower__steps { grid-template-columns: 1fr; }
  .wf-shower__ctas .btn { flex: 1; text-align: center; }
}

/* ---------- Shower kits (shower-kits.html) ---------- */
.shk-filters { display: grid; gap: 10px; margin-bottom: 22px; }
.shk-f { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.shk-f > span { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #5b6670; min-width: 64px; }
.shk-f button { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.shk-f button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.shk-f--sort { justify-content: space-between; }
.shk-f--sort select { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 16px; background: #fff; }
.shk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.shk-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 120px; }
.shk-card:target { box-shadow: 0 0 0 3px var(--ember); }
.shk-card__img { display: block; background: #fff; border-bottom: 1px solid var(--line-soft); }
.shk-card__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; display: block; transition: transform .3s; }
.shk-card__img:hover img { transform: scale(1.02); }
.shk-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.shk-card__kick { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ember-dark); }
.shk-card h3 { margin: 4px 0 2px; font-size: 1.15rem; }
.shk-card__fin { margin: 0 0 8px; color: #5b6670; font-size: .9rem; }
.shk-card details { margin: 4px 0 10px; font-size: .86rem; }
.shk-card summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.shk-card details ul { list-style: none; margin: 8px 0 0; padding: 0; }
.shk-card details li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.shk-card details li a { color: var(--ink); }
.shk-card details li b { white-space: nowrap; }
.shk-card__buy { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-top: 6px; }
.shk-card__buy b { font-size: 1.45rem; }
.shk-card__buy small { color: #5b6670; font-size: .8rem; }
.shk-card__btns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; margin-top: 10px; }
.shk-card__btns .btn { padding: 11px 10px; text-align: center; }
@media (max-width: 640px) {
  .shk-f { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
  .shk-f::-webkit-scrollbar { display: none; }
  .shk-f button { flex: none; }
  .shk-f--sort { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
  .shk-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Butcher block designer (butcher-block.html) ---------- */
.shb-seg--auto { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.bb-woods { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.bb-wood { text-align: left; padding: 10px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.bb-wood.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.18); }
.bb-wood i { height: 46px; border-radius: 8px; margin-bottom: 4px; }
.bb-wood small { font-size: .8rem; color: #5b6670; line-height: 1.35; }
.bb-wood em { font-style: normal; font-size: .8rem; font-weight: 700; color: var(--ink); margin-top: 2px; }
.bb-size { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.bb-size label { display: flex; flex-direction: column; gap: 4px; font-weight: 700; font-size: .9rem; }
.bb-size label span { display: flex; gap: 6px; align-items: center; font-weight: 400; }
.bb-size input { width: 90px; padding: 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 16px; }
.bb-size select { padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 16px; background: #fff; }
.bb-preview { background: #f6f4ef; border-radius: 14px; padding: 12px; }
.bb-svg { width: 100%; height: auto; display: block; max-height: 340px; }
.bb-dim { font: 600 13px system-ui, sans-serif; fill: #16212C; }
.bb-tips { margin: 10px 0 0; padding-left: 20px; font-size: .9rem; color: #3b4652; }
.bb-care { display: grid; gap: 2px; }
.bb-care b { margin-left: 4px; }
.bb-notes { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: .9rem; font-weight: 700; }
.bb-notes textarea { font: inherit; font-size: 16px; font-weight: 400; padding: 10px; border-radius: 10px; border: 1px solid var(--line); resize: vertical; }
.bb-compare { display: grid; gap: 6px; }
.bb-cmp { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; text-align: left; }
.bb-cmp.is-on { border-color: var(--blue); box-shadow: 0 0 0 2px rgba(58,102,140,.18); }
.bb-cmp i { width: 44px; height: 28px; border-radius: 6px; flex: none; }
.bb-cmp span { flex: 1; font-weight: 600; }
.bb-cmp small { display: block; font-weight: 400; color: #5b6670; font-size: .8rem; }
.bb-q__head .bb-svg { width: 120px; flex: none; }
.bb-specs { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: .86rem; }
.bb-specs li { display: flex; flex-direction: column; }
.bb-specs span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5b6670; }
@media (max-width: 560px) {
  .shb-seg--auto { grid-template-columns: 1fr 1fr; }
  .bb-woods { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding-left: 16px; scrollbar-width: none; }
  .bb-woods > * { scroll-snap-align: start; }
  .bb-size input { width: 76px; }
}
/* butcher block designer: visual pass */
.bb-sw { display: block; width: 100%; height: auto; border-radius: 8px; }
.bb-wood .bb-sw { height: 64px; margin-bottom: 6px; }
.bb-wood { transition: border-color .15s, transform .15s; }
.bb-wood:hover, .bb-grain:hover, .bb-thick:hover { transform: translateY(-2px); }
.bb-grains { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.bb-grain { text-align: left; padding: 10px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s, transform .15s; }
.bb-grain .bb-sw { height: 90px; margin-bottom: 4px; }
.bb-grain small { color: #5b6670; font-size: .82rem; line-height: 1.35; }
.bb-grain.is-on, .bb-thick.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.18); }
.bb-thicks { display: flex; flex-wrap: wrap; gap: 8px; }
.bb-thick { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 92px; padding: 8px 6px 10px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, transform .15s; }
.bb-slab { width: 60px; height: 44px; }
.bb-preview { background: radial-gradient(ellipse at 50% 20%, #fbfaf7, #efebe3); border-radius: 16px; padding: 18px 12px 8px; }
.bb-q__pic { background: radial-gradient(ellipse at 50% 20%, #fbfaf7, #efebe3); border-radius: 14px; padding: 10px 8px 4px; margin: -4px -4px 14px; }
.bb-q__pic .bb-svg { max-height: 190px; }
.bb-q__head { justify-content: space-between; }
.bb-badge { flex: none; align-self: flex-start; padding: 5px 11px; border-radius: 999px; background: #e6f4ea; color: #1e6b34; font-size: .76rem; font-weight: 700; letter-spacing: .03em; }
.bb-badge--custom { background: #fdf0e1; color: #8F5214; }
.shb-q .shb-q__total b { font-size: 1.7rem; }
.bb-specs { background: #f7f6f2; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; }
@media (max-width: 560px) {
  .bb-grains { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 70%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding-left: 16px; scrollbar-width: none; }
  .bb-grains > * { scroll-snap-align: start; }
  .bb-thick { width: calc(25% - 6px); min-width: 70px; }
}

/* butcher block: hero with photo, homepage band */
.bb-hero__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.bb-hero__pts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; padding: 0; color: rgba(255,255,255,.9); font-weight: 600; font-size: .92rem; }
.bb-hero__pts li::before { content: "\2713"; color: #F0B676; margin-right: 6px; }
@media (max-width: 760px) { .bb-hero__in { grid-template-columns: minmax(0, 1fr); } }
.wf-boos { background: #f6f1ea; border-color: #ebe2d4; }
.wf-boos .wf-shower__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.wf-boos__vis { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -30px rgba(16,34,47,.6); }
.wf-boos__vis img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wf-boos__vis:hover img { transform: scale(1.03); }
.wf-boos__quote { top: auto; bottom: 16px; right: 16px; width: 54%; }
@media (max-width: 860px) { .wf-boos .wf-shower__in { grid-template-columns: minmax(0, 1fr); } .wf-boos__vis { order: -1; } }
@media (max-width: 640px) { .wf-boos__quote { width: 70%; right: 10px; bottom: 10px; } }

/* butcher block: real John Boos photography and logo */
.bb-photo { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; border-radius: 8px; margin-bottom: 6px; mix-blend-mode: multiply; }
.bb-grain .bb-photo { aspect-ratio: 16 / 10; }
.bb-hero__fig { position: relative; margin: 0; }
.bb-hero__fig > img { width: 100%; height: auto; aspect-ratio: 892 / 1075; max-height: 460px; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); display: block; }
.bb-hero__fig figcaption { position: absolute; right: 10px; bottom: 8px; font-size: .68rem; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.bb-logo { position: absolute; left: 14px; top: 14px; background: #fff; border-radius: 12px; padding: 8px 12px; box-shadow: 0 10px 24px -12px rgba(0,0,0,.45); }
.bb-logo img { display: block; width: 116px; height: auto; }
.wf-boos__vis { aspect-ratio: 892 / 1075; max-height: 560px; }
.wf-boos__vis > img { object-position: 50% 40%; }
@media (max-width: 760px) { .bb-hero__fig > img { max-height: 320px; aspect-ratio: 4 / 3; } }
@media (max-width: 860px) { .wf-boos__vis { aspect-ratio: 4 / 3; } }
.bb-ph { display: block; overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 9; background: #fff; margin-bottom: 6px; }
.bb-ph img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.45); mix-blend-mode: multiply; transition: transform .3s; }
.bb-wood:hover .bb-ph img, .bb-grain:hover .bb-ph img { transform: scale(1.55); }
.bb-grain .bb-ph { aspect-ratio: 16 / 10; }

/* ---------- Matthews Fan By You ---------- */
.mf-hero__fig > img { object-position: 50% 30%; }
.mf-groups { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.mf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mf-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.mf-chip em { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.mf-chip.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.18); }
.mf-groups .mf-chip.is-on { background: var(--blue); color: #fff; }
.mf-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.mf-model { text-align: left; padding: 10px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 3px; transition: border-color .15s, transform .15s; }
.mf-model:hover { transform: translateY(-2px); border-color: var(--blue); }
.mf-model.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.18); }
.mf-model__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: #fff; margin-bottom: 6px; }
.mf-model__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.mf-model b { font-size: .95rem; }
.mf-model small { font-size: .78rem; color: #5b6670; line-height: 1.3; }
.mf-tag { font-style: normal; font-size: .66rem; font-weight: 700; background: #fdf0e1; color: #8F5214; padding: 2px 6px; border-radius: 999px; vertical-align: middle; }
.mf-dots { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; align-items: center; }
.mf-dots em { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.mf-dots i { font-style: normal; font-size: .72rem; color: #5b6670; }
.mf-from { font-size: .82rem; font-weight: 700; margin-top: 2px; }
.mf-room { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-weight: 700; font-size: .9rem; }
.mf-room input { width: 100px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 16px; }
.mf-room span { font-weight: 400; color: #5b6670; }
.mf-q__pic { background: #fff; border-radius: 14px; border: 1px solid var(--line-soft); margin: -4px -4px 12px; overflow: hidden; }
.mf-q__pic img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.mf-q__name { margin: 2px 0 2px; font-size: 1.3rem; }
.mf-q__spec { margin: 0 0 10px; color: #5b6670; font-size: .9rem; }
.mf-q__empty { text-align: center; padding: 10px 6px; }
.mf-q__empty img { width: 160px; height: auto; margin: 6px auto 10px; display: block; }
.wf-mfan { background: #eef3f7; border-color: #dfe8ef; }
@media (max-width: 560px) {
  .mf-models { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 58%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 8px; scroll-padding-left: 16px; scrollbar-width: none; }
  .mf-models > * { scroll-snap-align: start; }
  .mf-groups { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px; scrollbar-width: none; }
  .mf-groups .mf-chip { flex: none; }
}
.mf-hero__fig .bb-logo, .wf-mfan .bb-logo { top: auto; bottom: 14px; }
.mf-hero__fig figcaption { left: auto; right: 10px; top: 8px; bottom: auto; }

/* ---------- Price my kitchen (real J&K / KCD / Cab-Tec cabinets) ---------- */
.cq { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 18px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--shadow-block); }
.cq__kick { margin: 0 0 6px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-dark); }
.cq__head h2 { margin: 0 0 6px; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cq__head p:not(.cq__kick) { margin: 0 0 16px; color: #5b6670; max-width: 46em; }
.cq__brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.cq__blogo { width: 34px; height: 34px; border-radius: 50%; float: right; margin: -2px -2px 0 6px; }
@media (max-width: 760px) { .cq__brands { grid-template-columns: repeat(2, 1fr); } }
.cq__brand { text-align: left; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.cq__brand b { display: block; font-size: 1.05rem; }
.cq__brand small { color: #5b6670; font-size: .82rem; }
.cq__brand.is-on, .cq__line.is-on { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(58,102,140,.18); }
.cq__lines { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; margin-bottom: 14px; }
.cq__line { padding: 8px; border-radius: 12px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 4px; text-align: left; }
.cq__line span { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: #fff; }
.cq__line img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cq__line b { font-size: .82rem; line-height: 1.25; }
.cq__opts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; }
.cq__opts label { font-weight: 700; font-size: .9rem; display: flex; gap: 8px; align-items: center; }
.cq__opts select { padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 16px; background: #fff; }
.cq__table { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 12px; }
.cq__table table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 520px; }
.cq__table th, .cq__table td { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.cq__table th { background: #f7f6f2; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: #5b6670; }
.cq__table .r { text-align: right; white-space: nowrap; }
.cq__table code { font-size: .82rem; background: #f3f1ec; padding: 2px 6px; border-radius: 6px; }
.cq__table tfoot td { border-bottom: 0; font-weight: 700; }
.cq__table tfoot b { font-size: 1.25rem; }
.cq__quote { margin: 12px 0 0; padding: 12px 14px; background: #fdf0e1; border-radius: 12px; font-size: .9rem; }
.cq__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
@media (max-width: 640px) { .cq__brands { grid-template-columns: 1fr; } .cq__lines { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 34%; overflow-x: auto; scrollbar-width: none; } .cq__btns .btn { flex: 1 1 100%; text-align: center; } }
.cq__line img { transform: scale(1.3); }
.cq__door { display: grid !important; grid-template-rows: 1fr 1.6fr; gap: 6%; padding: 10%; background: var(--c) !important; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.cq__door i { display: block; border-radius: 2px; box-shadow: inset 0 0 0 3px rgba(0,0,0,.14), inset 0 0 0 6px var(--c), inset 0 0 0 7px rgba(255,255,255,.18); }

/* pick exact cabinets from a line */
.cq__browse { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.cq__browse-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.cq__browse-head h3 { margin: 0; font-size: 1.1rem; }
.cq__browse-head input { flex: 0 1 320px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font: inherit; font-size: 16px; }
.cq__tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.cq__tabs button { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.cq__tabs button.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.cq__skus { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; max-height: 420px; overflow-y: auto; padding: 2px; }
.cq__sku { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font: inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, transform .15s; }
.cq__sku:hover { border-color: var(--blue); transform: translateY(-1px); }
.cq__sku code { font-weight: 800; font-size: .95rem; color: var(--blue); background: none; padding: 0; }
.cq__sku span { font-size: .8rem; color: #5b6670; line-height: 1.3; }
.cq__sku b { font-size: .95rem; margin-top: 2px; }
.cq__sku i { font-style: normal; font-size: .74rem; font-weight: 700; color: var(--ember-dark); }
.cq__x { border: 0; background: #f3f1ec; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; font-size: 14px; line-height: 1; }
.cq__toast { position: fixed; left: 50%; bottom: 80px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--navy, #10222F); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: .9rem; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); transition: opacity .2s, transform .2s; z-index: 300; }
.cq__toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cq__toast a { color: #F0B676; font-weight: 700; margin-left: 6px; }
.cd__selsku { display: inline-block; margin-left: 8px; font-size: .78rem; font-weight: 700; background: #eef3f7; color: var(--blue); padding: 3px 8px; border-radius: 999px; }

/* ---------- Phone and tablet menu (full screen, two taps to anything) ---------- */
html.mm-lock, html.mm-lock body { overflow: hidden; }
.mm { position: fixed; inset: 0; z-index: 1000; background: var(--paper); overflow: hidden; opacity: 0; transform: translateX(24px); transition: opacity .2s ease, transform .22s ease; }
.mm.is-open { opacity: 1; transform: none; }
.mm__screen { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 20px calc(24px + env(safe-area-inset-bottom)); background: var(--paper); transform: translateX(100%); transition: transform .24s ease; visibility: hidden; }
.mm__screen.is-on { transform: none; visibility: visible; }
.mm__screen.is-left { transform: translateX(-30%); }
.mm__top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px; min-height: 64px; padding-top: env(safe-area-inset-top); margin: 0 -20px 6px; padding-left: 20px; padding-right: 12px; background: var(--blue); color: #fff; }
.mm__top b { font-family: var(--font-display); font-size: 1.2rem; flex: 1; }
.mm__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.mm__back { border: 0; background: rgba(255,255,255,.14); color: #fff; font: inherit; font-weight: 700; font-size: .92rem; padding: 10px 14px; border-radius: 999px; cursor: pointer; }
.mm__search { display: flex; margin: 14px 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.mm__search input { flex: 1; min-width: 0; border: 0; padding: 14px 16px; font: inherit; font-size: 16px; outline: none; }
.mm__search button { width: 52px; border: 0; background: var(--ember); color: var(--navy); cursor: pointer; }
.mm__search svg { width: 20px; height: 20px; }
.mm__label { margin: 0 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ember-dark); }
.mm__quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.mm__quick a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 6px; border-radius: 14px; background: var(--sky); color: var(--ink); text-decoration: none; text-align: center; font-weight: 700; font-size: .8rem; line-height: 1.2; }
.mm__quick svg { width: 26px; height: 26px; color: var(--blue); }
.mm__quick a:active { transform: scale(.97); }
.mm__rows { border-top: 1px solid var(--line-soft); }
.mm__row { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 18px 36px 18px 2px; border: 0; border-bottom: 1px solid var(--line-soft); background: none; font: inherit; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; position: relative; }
.mm__row::after { content: ''; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--blue); border-top: 2.5px solid var(--blue); transform: translateY(-50%) rotate(45deg); }
.mm__row small { font-family: var(--font-body); font-weight: 500; font-size: .84rem; color: #5b6670; margin-top: 3px; }
.mm__foot { margin-top: 20px; }
.mm__acct { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; margin-bottom: 12px; }
.mm__acct svg { width: 22px; height: 22px; color: var(--blue); }
.mm__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mm__cta .btn { text-align: center; padding: 14px 8px; }
.mm__addr { margin: 12px 0 0; text-align: center; color: #5b6670; font-size: .86rem; }
.mm__groups { padding-top: 6px; }
.mm__group { padding: 14px 0 6px; border-bottom: 1px solid var(--line-soft); }
.mm__group h3 { margin: 0 0 6px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.mm__group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 12px; }
.mm__group a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; line-height: 1.25; }
.mm__group a:active { color: var(--blue); }
@media (max-width: 380px) { .mm__group ul { grid-template-columns: 1fr; } }
@media (min-width: 1181px) { .mm { display: none; } }

/* ---------- Phone pass: one bottom bar at a time, bigger tap targets, readable small text ---------- */
@media (max-width: 760px) {
  /* a tool's own price bar or the product sticky buy bar replaces the Call / Book bar instead of stacking on it */
  body:has(.shb-mini:not([hidden])) .mobile-cta, html.has-sticky-buy .mobile-cta { display: none !important; }
  body:has(.shb-mini:not([hidden])) .shb-mini { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  html.has-sticky-buy .sf-sticky-buy { bottom: 0; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
  .mobile-cta { padding-bottom: env(safe-area-inset-bottom); background: var(--paper); }
  /* tap targets */
  .cd__chip { min-height: 38px; padding-top: 8px; padding-bottom: 8px; }
  .cd input[type="checkbox"], .shb-check input, .bb-care input { width: 22px; height: 22px; }
  .ia-topics a, .ia-topics button, .ia-refine a, .ia-refine button { min-height: 38px; display: inline-flex; align-items: center; }
  .ia-textshop { min-height: 34px; display: inline-flex; align-items: center; padding-left: 12px; padding-right: 12px; }
  .vz-tools button, [data-tools] button, .vz-quick button, .mb-quick button, .mb-tabs button { min-height: 40px; }
  .mb-item--swatch span { font-size: max(10.5px, 1.1vw); }
  .shk-card details li a { display: inline-flex; min-height: 34px; align-items: center; }
  .mf-chip, .shk-f button { min-height: 40px; }
  /* small text */
  .mf-tag, .shk-card__kick, .cq__sku i { font-size: 11.5px; }
  .bb-hero__fig figcaption, .wf-boos .bb-logo + figcaption { font-size: 11.5px; }
  .wf-shower__quote small { font-size: 12px; }
  .cd__disclaim { font-size: 12px; }
  .k3p__look { min-height: 40px; padding: 8px 14px; }
  .ia-topics-links { gap: 4px 14px; }
  .ia-topics-links a { display: inline-flex; align-items: center; min-height: 38px; }
}
/* kitchen designer landing: launch card for the full-page app */
.kd-launch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--paper); border: 1px solid var(--line-soft); border-radius: 20px; padding: clamp(22px, 4vw, 48px); box-shadow: var(--shadow-block); }
.kd-launch h2 { margin: 4px 0 10px; }
.kd-launch__list { margin: 14px 0 20px; padding-left: 20px; }
.kd-launch__list li { margin: 4px 0; }
.kd-launch__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.kd-launch__tpl { margin: 14px 0 0; font-size: .9rem; color: var(--ink-soft); }
.kd-launch__tpl a { font-weight: 700; }
.kd-launch__shot { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgba(16,34,47,.55); text-decoration: none; position: relative; transition: transform .2s ease; }
.kd-launch__shot:hover { transform: translateY(-3px); }
.kd-launch__bar { display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; padding: 10px 12px; font-size: .8rem; }
.kd-launch__bar i { width: 18px; height: 18px; border-radius: 5px; background: #fff; }
.kd-launch__bar b { flex: 1; font-family: var(--font-display); }
.kd-launch__bar em { font-style: normal; font-weight: 800; background: var(--ember); color: var(--navy); padding: 3px 9px; border-radius: 7px; }
.kd-launch__body { display: grid; grid-template-columns: 38px 1fr; }
.kd-launch__rail { display: flex; flex-direction: column; gap: 10px; padding: 12px 10px; border-right: 1px solid var(--line-soft); }
.kd-launch__rail i { width: 18px; height: 18px; border-radius: 5px; background: var(--sky); }
.kd-launch__body img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.kd-launch__go { position: absolute; right: 14px; bottom: 14px; background: var(--ember); color: var(--navy); font-weight: 800; padding: 10px 16px; border-radius: 10px; font-size: .9rem; }
@media (max-width: 860px) { .kd-launch { grid-template-columns: 1fr; } .kd-launch__shot { order: -1; } }

/* Build It! all-time top 100: a scrolling board */
.lb__list { max-height: 440px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.3) transparent; position: relative; }
.lb__list li { grid-template-columns: 38px 1fr auto 78px; }
.lb__date { font-size: .7rem; color: rgba(255,255,255,.45); text-align: right; font-family: var(--font-body); }
.lb__list li.is-podium .lb__score { font-size: 1.15rem; }
.lb__list li:nth-child(2) .lb__rank::before { content: '°5 '; color: #d6dbe0; }
.lb__list li:nth-child(3) .lb__rank::before { content: '°5 '; color: #d49a6a; }
.lb__sub [data-lb-count] { display: block; margin-top: 4px; color: rgba(255,255,255,.5); font-size: .78rem; }
@media (max-width: 760px) { .lb { position: static; } .lb__list { max-height: 360px; } .lb__list li { grid-template-columns: 34px 1fr auto 70px; font-size: .98rem; } }

/* mobile audit (all 389 pages at 375px): tap targets of at least ~32px and no text under 11px */
@media (max-width: 760px) {
  input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; flex: 0 0 auto; }
  .quiz__recs a, .bp-list a, .sb-pick a, .ce-board a, .ib-card__title, main li > a:only-child { display: inline-block; padding-top: 6px; padding-bottom: 6px; }
  .ad-sec__head a, .wf-promo a, .fm-link { display: inline-flex; align-items: center; min-height: 36px; }
  .k3p__chip { width: 34px; height: 34px; }
  .k3p__go { display: inline-flex; align-items: center; min-height: 32px; }
  .ia-search input { min-height: 38px; }
  .ia-dots button { min-width: 32px; }
  .mb-item--swatch span { font-size: 11px; }
  .ib-card__type { font-size: 11.5px; }
  .ib-mini b { font-size: 11px; }
}

/* homepage: the Veyra3D band */
.wf-kd { background: linear-gradient(160deg, #10222F 0%, #173246 100%); color: #fff; padding: clamp(56px, 8vw, 110px) 0; overflow: hidden; }
.wf-kd__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.wf-kd__kick { margin: 0 0 10px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #F5C27E; }
.wf-kd h2 { color: #fff; margin: 0 0 14px; }
.wf-kd__copy > p { color: rgba(255,255,255,.82); }
.wf-kd__list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 10px; }
.wf-kd__list li { position: relative; padding-left: 28px; color: rgba(255,255,255,.9); }
.wf-kd__list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: #D5852E; box-shadow: inset 0 0 0 4px #10222F; }
.wf-kd__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.wf-kd__vis { position: relative; display: block; border-radius: 16px; overflow: visible; text-decoration: none; }
.wf-kd__bar { display: flex; align-items: center; gap: 8px; background: #0b1822; padding: 10px 14px; border-radius: 16px 16px 0 0; font-size: .8rem; color: #fff; }
.wf-kd__bar i { width: 18px; height: 18px; border-radius: 5px; background: #fff; }
.wf-kd__bar b { flex: 1; font-family: var(--font-display); }
.wf-kd__bar em { font-style: normal; font-weight: 700; background: #fff; color: #10222F; border-radius: 999px; padding: 3px 10px; font-size: .74rem; }
.wf-kd__vis > img:not(.wf-kd__inset) { display: block; width: 100%; height: auto; border-radius: 0 0 16px 16px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.wf-kd__inset { position: absolute; height: auto; aspect-ratio: 1400 / 1173; object-fit: cover; width: 38%; left: -7%; bottom: -9%; border-radius: 12px; background: #f2efe9; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); border: 4px solid #fff; transition: transform .25s ease; }
.wf-kd__vis:hover .wf-kd__inset { transform: translateY(-6px) rotate(-1deg); }
.wf-kd__tag { position: absolute; right: 14px; bottom: 14px; background: rgba(16,34,47,.82); color: #fff; font-size: .74rem; font-weight: 700; padding: 6px 10px; border-radius: 8px; backdrop-filter: blur(6px); }
@media (max-width: 900px) { .wf-kd__in { grid-template-columns: 1fr; } .wf-kd__vis { order: -1; margin-bottom: 28px; } .wf-kd__inset { left: auto; right: 10px; bottom: -22px; width: 34%; } .wf-kd__tag { left: 14px; right: auto; top: 54px; bottom: auto; } }

/* Veyra3D brand on the homepage band and the landing page */
.wf-kd__logo { height: 44px; width: auto; background: #fff; border-radius: 10px; padding: 5px 10px; display: block; margin-bottom: 6px; }
.wf-kd__kick span { color: #cfe0d5; letter-spacing: .12em; }
.kd-launch__brand { display: flex; flex-direction: column; gap: 4px; }
.kd-launch__brand img { height: 56px; width: auto; }
.kd-launch__brand span { font: 700 .78rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.wf-kd .btn--ember, .kd-launch .btn--ember { background: #1b352c; color: #fff; } .wf-kd .btn--ember:hover, .kd-launch .btn--ember:hover { background: #2f5a47; color: #fff; }
