/*
  SCL Metal Works shared styles
  Plain CSS, no build step. Archivo is self-hosted from Google Fonts (OFL, see assets/fonts/OFL-Archivo.txt).
  Sections: tokens, base, type, controls, header, footer, home, gallery, lightbox, forms, catalog, studio, legal, motion.
*/

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 62% 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #ffffff;
  --stone: #f0efec;
  --stone-2: #e4e2de;
  --ink: #1a1b1c;
  --ink-2: #3a3c3e;
  --muted: #5d6063;
  --line: #dcdad5;
  --line-2: #b7b4ae;
  --red: #d01f25;
  --red-ink: #a8161b;
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
  --gutter: clamp(20px, 3.6vw, 56px);
  --max: 1560px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 2px;
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 20px);
  scrollbar-color: var(--line-2) var(--paper);
  accent-color: var(--red);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--red);
}
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  z-index: 200;
  left: var(--gutter);
  top: 10px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(64px, 8vw, 120px); }
.section-stone { background: var(--stone); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-weight: 650;
  line-height: 1.05;
  color: var(--ink);
  text-wrap: balance;
}
.t-display {
  font-stretch: 90%;
  font-weight: 500;
  font-size: clamp(2.75rem, 1.6rem + 3.4vw, 5.25rem);
  line-height: .98;
  letter-spacing: -.022em;
}
.t-h2 {
  font-stretch: 86%;
  font-weight: 540;
  font-size: clamp(2.125rem, 1.4rem + 2.2vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.018em;
}
.t-h3 {
  font-stretch: 86%;
  font-weight: 600;
  font-size: clamp(1.3rem, 1.15rem + .45vw, 1.625rem);
  line-height: 1.1;
}
.t-lead {
  font-size: clamp(1.0625rem, .97rem + .42vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.t-body { color: var(--ink-2); text-wrap: pretty; }
.t-small { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.measure { max-width: 64ch; }

/* ---------- Controls ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .7em 1.35em;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-stretch: 86%;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-red { --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red); }
.btn-red:hover { --btn-bg: var(--red-ink); --btn-bd: var(--red-ink); }
.btn-ink { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }
.btn-ink:hover { --btn-bg: #000; --btn-bd: #000; }
.btn-line:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-on-dark { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .55); }
.btn-on-dark:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn:disabled svg, .btn[aria-disabled="true"] svg { transform: none; }
.btn-block { width: 100%; }

.link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-stretch: 86%;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: .32em;
  transition: text-decoration-color .2s var(--ease), color .2s var(--ease);
}
.link:hover { text-decoration-color: var(--red); }
.link svg { width: 1em; height: 1em; flex: none; transition: transform .25s var(--ease); }
.link:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.3) blur(10px);
  backdrop-filter: saturate(1.3) blur(10px);
}
.header-inner {
  height: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  min-width: 0;
}
/* The mark is 189 x 176. Size it by height so the original ratio is kept. */
.brand img { flex: none; width: auto; height: 46px; max-width: none; aspect-ratio: 189 / 176; }
.brand-name {
  font-stretch: 72%;
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.primary-nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); }
.primary-nav ul a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-stretch: 88%;
  font-weight: 560;
  font-size: 1rem;
  text-decoration: none;
  color: var(--ink);
}
.primary-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav ul a:hover::after,
.primary-nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav-extras { display: none; }
.header-phone {
  font-stretch: 88%;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  padding: 10px 0;
}
.header-phone:hover { color: var(--red-ink); }
.header-cta { min-height: 44px; padding-inline: 1.1em; }
.header-cta .cta-short { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 980px) {
  .brand img { height: 38px; }
  .brand-name { font-size: 1.0625rem; }
  .header-cta { min-height: 44px; padding-inline: .95em; }
  .header-cta .cta-long { display: none; }
  .header-cta .cta-short { display: inline; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    min-width: 44px;
    padding: 0 12px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: #fff;
    font-stretch: 88%;
    font-weight: 600;
  }
  .nav-toggle svg { width: 18px; height: 18px; }
  .nav-toggle .bar { transition: transform .3s var(--ease), opacity .2s; transform-origin: center; }
  .nav-open .nav-toggle .bar-top { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle .bar-bottom { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    z-index: 59;
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 12px var(--gutter) 40px;
    background: var(--paper);
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s;
  }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a {
    display: block;
    padding: 16px 0 12px;
    border-bottom: 1px solid var(--line);
    font-stretch: 86%;
    font-weight: 540;
    font-size: clamp(1.875rem, 7.4vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -.015em;
  }
  .primary-nav ul a::after { display: none; }
  .primary-nav ul a[aria-current="page"] { color: var(--red-ink); }
  .nav-extras { display: grid; gap: 20px; }
  .nav-extras p { color: var(--ink-2); line-height: 1.5; }
  .nav-extras a:not(.btn) { font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-2); }
  html.nav-open { overflow: hidden; }
}
@media (max-width: 400px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand-name { font-size: .9375rem; letter-spacing: .03em; }
  .header-cta { padding-inline: .8em; }
  .nav-toggle .toggle-label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
  .nav-toggle { padding: 0; justify-content: center; }
}
@media (max-width: 359px) {
  .brand img { height: 34px; }
  .brand { gap: 7px; }
  .brand-name { font-size: .8125rem; font-stretch: 70%; letter-spacing: .02em; }
  .header-cta { padding-inline: .65em; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #e9e8e5;
  padding-top: clamp(56px, 7vw, 96px);
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px clamp(24px, 4vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-brand { display: grid; gap: 18px; align-content: start; }
.footer-brand .brand { color: #fff; margin: 0; }
.footer-brand p { color: #c9c8c4; max-width: 34ch; }
.footer-col h2 {
  font-stretch: 86%;
  font-weight: 600;
  font-size: 1rem;
  color: #a9a8a4;
  margin-bottom: 14px;
  line-height: 1.2;
}
.footer-col li + li { margin-top: 8px; }
.footer-col address { font-style: normal; color: #e9e8e5; line-height: 1.6; }
.footer-col address span { display: block; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
  padding-block: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .9375rem;
  color: #b9b8b4;
}
.footer-base .site-credit { margin-left: auto; }
.footer-base a { color: #e9e8e5; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); }
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-contact { grid-column: 1 / -1; }
  .footer-base .site-credit { margin-left: 0; }
  .footer-base { gap: 8px 20px; }
}

/* ---------- Home: hero ---------- */
/* Headline band above a full-width photograph. The photo is atmospheric stock, so it carries no caption. */
.hero { padding-top: clamp(24px, 4vw, 60px); }
.hero-band {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 22px clamp(32px, 5vw, 96px);
  align-items: end;
  padding-bottom: clamp(28px, 3.6vw, 52px);
}
.hero-title { max-width: 15ch; }
.hero-side { display: grid; justify-items: start; gap: 24px; padding-bottom: .3em; }
.hero-lead { max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { background: var(--stone-2); }
.hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1800 / 717;
  max-height: min(84svh, 980px);
  object-fit: cover;
  object-position: 50% 62%;
}
.hero-index { padding-top: clamp(20px, 2.4vw, 30px); }
.hero-index h2 {
  font-stretch: 86%;
  font-weight: 600;
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.hero-index ul {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  column-gap: 18px;
}
.hero-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  border-top: 1px solid var(--line);
  font-stretch: 86%;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.hero-index a svg { width: 14px; height: 14px; color: var(--line-2); flex: none; transition: transform .25s var(--ease), color .2s; }
.hero-index a:hover { color: var(--red-ink); border-top-color: var(--ink); }
.hero-index a:hover svg { color: var(--red); transform: translateX(3px); }
@media (max-width: 1359px) {
  .hero-index ul { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
}
@media (max-width: 1099px) {
  .hero-band { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-title { max-width: 18ch; }
  .hero-side { gap: 20px; padding-bottom: 0; }
}
@media (max-width: 899px) {
  .hero-media img { aspect-ratio: 16 / 10; max-height: none; object-position: 50% 50%; }
}
@media (max-width: 599px) {
  .hero { padding-top: 22px; }
  .hero-band { gap: 16px; padding-bottom: 26px; }
  .hero-side { justify-items: stretch; gap: 22px; }
  .hero-actions { flex-direction: column; gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .hero-media img { aspect-ratio: 12 / 11; }
  .hero-index ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }
}

/* ---------- Home: work ---------- */
.work-spread {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 28px);
  align-items: start;
}
.work-spread .g-item--lead { grid-column: 1 / span 7; grid-row: 1 / span 2; max-width: 760px; }
.work-head { grid-column: 9 / span 4; grid-row: 1; padding-top: 6px; }
.work-head .t-body { margin-top: 20px; max-width: 40ch; }
.work-spread .g-item--second { grid-column: 9 / span 4; grid-row: 2; align-self: end; justify-self: end; max-width: 300px; }
.g-row {
  display: flex;
  gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(40px, 5vw, 72px);
  align-items: flex-start;
}
.work .g-row { max-width: 1000px; margin-left: auto; }
.g-row > .g-item { flex: var(--ar) 1 0%; min-width: 0; }
.g-item { position: relative; }
.g-open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--stone-2);
  overflow: hidden;
  cursor: zoom-in;
}
.g-open img {
  width: 100%;
  aspect-ratio: var(--ar);
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.g-open:hover img { transform: scale(1.025); }
.g-open .g-zoom {
  position: absolute;
  right: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.g-open .g-zoom svg { width: 18px; height: 18px; }
.g-open:hover .g-zoom, .g-open:focus-visible .g-zoom { opacity: 1; transform: none; }
.g-open:focus-visible { outline-offset: 4px; }
.g-item figcaption {
  margin-top: 12px;
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--ink-2);
}
@media (hover: none) {
  .g-open .g-zoom { opacity: 1; transform: none; width: 36px; height: 36px; }
}
@media (max-width: 899px) {
  .work-spread { display: block; }
  .work-spread .g-item--lead { max-width: none; }
  .work .g-row { max-width: none; }
  .work-head { margin-bottom: 32px; }
  .work-spread .g-item--second { width: 72%; margin: 32px 0 0 auto; }
  .g-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 14px; margin-top: 28px; width: auto; }
  .g-row > .g-item--wide { grid-column: 1 / -1; }
  .g-row > .g-item--solo { grid-column: 1 / -1; width: 72%; }
}

/* ---------- Home: collection ---------- */
.collection-head {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(36px, 4vw, 56px);
}
.collection-head .t-body { max-width: 46ch; }
.lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 64px);
}
.line-card { display: grid; align-content: start; gap: 18px; }
.line-card .line-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
.line-card p { color: var(--ink-2); max-width: 52ch; }
.line-models {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 6px;
}
.model {
  display: grid;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.model .model-img {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--paper);
  overflow: hidden;
}
.model img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.model:hover img { transform: scale(1.03); }
.model span { font-stretch: 86%; font-weight: 600; font-size: .9375rem; line-height: 1.2; }
.model:hover span { color: var(--red-ink); }
.more-cats {
  margin-top: clamp(48px, 6vw, 88px);
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}
.more-cats h3 { margin-bottom: 22px; }
.more-cats ul {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}
.cat-tile { display: grid; gap: 10px; text-decoration: none; color: var(--ink); }
.cat-tile .cat-img { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--paper); overflow: hidden; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-stretch: 86%;
  font-weight: 600;
  line-height: 1.2;
}
.cat-tile span svg { width: 14px; height: 14px; color: var(--line-2); flex: none; transition: transform .25s var(--ease), color .2s; }
.cat-tile:hover span { color: var(--red-ink); }
.cat-tile:hover span svg { color: var(--red); transform: translateX(3px); }
@media (max-width: 1100px) {
  .more-cats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .collection-head { grid-template-columns: 1fr; }
  .lines { grid-template-columns: 1fr; gap: 56px; }
  .line-models { gap: 18px 12px; }
  .more-cats ul { gap: 22px 12px; }
}
@media (max-width: 599px) {
  .line-models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .more-cats ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Home: studio ---------- */
.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: start;
}
.studio-copy { display: grid; gap: 22px; align-content: start; position: sticky; top: calc(var(--header-h) + 32px); }
.studio-copy .t-body { max-width: 46ch; }
.studio-flow {
  display: flex;
  flex-wrap: wrap;
  row-gap: 8px;
  margin-top: 4px;
  font-stretch: 86%;
  font-weight: 600;
}
.studio-flow li { display: flex; align-items: center; gap: 10px; padding-right: 10px; }
.studio-flow li + li::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line-2);
}
.studio-copy .btn { justify-self: start; margin-top: 6px; }
.schedule { display: grid; gap: 36px; }
.schedule-group h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line-2);
}
.schedule-group h3 a { font-size: .9375rem; }
.swatches { display: grid; gap: 18px 14px; }
.swatches--glass { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.swatches--handles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.swatch { display: grid; gap: 8px; }
.swatch .swatch-img { position: relative; display: block; background: var(--paper); overflow: hidden; }
.swatches--glass .swatch-img { aspect-ratio: 1400 / 1082; }
.swatches--handles .swatch-img { aspect-ratio: 1400 / 687; }
.swatch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.swatch span { font-stretch: 86%; font-weight: 600; font-size: .9375rem; line-height: 1.25; }
.swatch span small { display: block; font-weight: 400; font-stretch: 100%; color: var(--muted); font-size: .9375rem; }
@media (max-width: 899px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-copy { position: static; }
  .swatches--glass { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .swatches--handles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Home: contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 96px);
  align-items: start;
}
.contact-info { display: grid; gap: 24px; align-content: start; }
.contact-info .t-body { max-width: 44ch; }
.contact-list { display: grid; gap: 0; margin-top: 8px; }
.contact-list > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-2);
}
.contact-list > div:last-child { border-bottom: 1px solid var(--line-2); }
.contact-list dt { color: var(--muted); font-size: .9375rem; padding-top: 2px; }
.contact-list dd { font-weight: 560; overflow-wrap: anywhere; }
.contact-list dd a { text-decoration: none; }
.contact-list dd a:hover { color: var(--red-ink); text-decoration: underline; }
.contact-list .note { display: block; font-weight: 400; color: var(--muted); font-size: .9375rem; margin-top: 2px; }
.form-panel {
  background: var(--paper);
  padding: clamp(24px, 3.4vw, 48px);
}
.form-panel h3 { margin-bottom: 8px; }
.form-panel .form-intro { color: var(--muted); margin-bottom: 28px; font-size: .9375rem; }
@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-panel { margin-inline: calc(var(--gutter) * -1); }
  .contact-list > div { grid-template-columns: 92px minmax(0, 1fr); }
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-stretch: 90%;
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.3;
  color: var(--ink);
}
.field label .opt { font-weight: 400; color: var(--muted); }
.field .hint { font-size: .9375rem; color: var(--muted); line-height: 1.45; margin-top: -2px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231a1b1c' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px 8px;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 1px;
  border-color: var(--ink);
}
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: inset 3px 0 0 var(--red); }
.field-error { display: none; color: var(--red-ink); font-size: .9375rem; line-height: 1.4; }
.field.has-error .field-error { display: block; }
.consent { font-size: .9375rem; line-height: 1.5; color: var(--muted); }
.consent a { color: var(--ink); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.form-status { font-size: .9375rem; line-height: 1.45; }
.form-status.is-error { color: var(--red-ink); font-weight: 600; }
.form-status:empty { display: none; }
.btn .spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.btn.is-loading .spinner { display: inline-block; animation: spin .8s linear infinite; }
.btn.is-loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: grid; gap: 14px; padding: 8px 0; }
.form-success h3 { font-stretch: 86%; font-weight: 540; font-size: clamp(1.875rem, 1.45rem + 1.4vw, 2.5rem); line-height: 1.05; letter-spacing: -.015em; }
.form-success p { color: var(--ink-2); }
.form-success a { font-weight: 600; }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--stone);
  color: var(--ink);
}
.lightbox::backdrop { background: rgba(26, 27, 28, .4); }
.lightbox[open] { display: grid; }
.lb-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 0;
  height: 100%;
  width: 100%;
}
.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.lb-count { font-variant-numeric: tabular-nums; color: var(--muted); font-size: .9375rem; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }
.icon-btn:disabled:hover { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.lb-stage {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 20px var(--gutter);
  min-height: 0;
}
.lb-figure {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
}
.lb-photo-state {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 36ch;
  padding: 24px;
  text-align: center;
  color: var(--ink-2);
}
.lb-img {
  grid-area: 1 / 1;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: var(--stone-2);
  touch-action: pan-y pinch-zoom;
}
.lb-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding: 16px var(--gutter) 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.lb-title { font-stretch: 86%; font-weight: 580; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); line-height: 1.1; letter-spacing: -.01em; }
.lb-meta { color: var(--muted); font-size: .9375rem; margin-top: 4px; }
.lb-actions { display: flex; flex-wrap: wrap; gap: 10px; }
html.lb-open { overflow: hidden; }
@media (max-width: 700px) {
  .lb-stage { grid-template-columns: 1fr; padding: 12px; }
  .lb-stage > .icon-btn { display: none; }
  .lb-top { padding: 8px 12px; }
  .lb-nav-mobile { display: flex; gap: 8px; }
}
@media (min-width: 701px) {
  .lb-nav-mobile { display: none; }
}

/* ---------- Page intro (Design Studio, privacy) ---------- */
.page-intro { padding-block: clamp(28px, 4vw, 60px) clamp(26px, 3.4vw, 48px); }
.page-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 18px clamp(32px, 5vw, 96px);
  align-items: end;
}
.page-intro-side { display: grid; gap: 12px; padding-bottom: .3em; }
.page-intro-side .t-lead { max-width: 46ch; }
@media (max-width: 899px) {
  .page-intro-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .page-intro-side { padding-bottom: 0; }
}

/* ---------- Catalog ---------- */
.p-intro { padding-block: clamp(28px, 4vw, 60px) clamp(26px, 3.4vw, 48px); }
.p-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 17vw, 260px);
  grid-template-areas: "head media" "more media";
  gap: 22px clamp(32px, 5vw, 96px);
  align-items: end;
}
.p-intro-head { grid-area: head; display: grid; gap: 18px; }
.p-intro-head .t-lead { max-width: 52ch; }
.p-intro-more {
  grid-area: more;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.p-intro-more .t-body { max-width: 58ch; font-size: .9375rem; }
.p-intro-media { grid-area: media; }
.p-intro-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--stone-2); }
.p-intro-media figcaption { margin-top: 8px; font-size: .875rem; line-height: 1.35; color: var(--muted); }
@media (max-width: 899px) {
  .p-intro-grid {
    grid-template-columns: minmax(0, 1fr) 31vw;
    grid-template-areas: "head head" "more media";
    gap: 22px 18px;
    align-items: start;
  }
  .p-intro-more { flex-direction: column; align-items: flex-start; padding-top: 0; border-top: 0; }
}
@media (max-width: 599px) {
  .p-intro-media figcaption { display: none; }
}

.catalog { background: var(--stone); padding-bottom: clamp(64px, 8vw, 120px); }

/* Search */
.p-search { position: relative; display: grid; gap: 6px; }
.p-search label { font-stretch: 86%; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.p-search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 46px 10px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: #fff;
  font-size: 1rem;
  line-height: 1.3;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s var(--ease);
}
.p-search input::placeholder { color: var(--muted); opacity: 1; }
.p-search input::-webkit-search-cancel-button,
.p-search input::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.p-search input:hover { border-color: var(--ink-2); }
.p-search input:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; border-color: var(--ink); }
.p-search-clear {
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
}
.p-search-clear svg { width: 18px; height: 18px; }
.p-search-clear:hover { color: var(--ink); }

/* Category chips (catalog on phones and tablets, Design Studio everywhere) */
.p-filter,
.s-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-stretch: 86%;
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.p-filter:hover, .s-cat:hover { border-color: var(--ink); }
.p-filter[aria-pressed="true"],
.s-cat[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.p-filter-n, .s-cat-n { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.p-filter[aria-pressed="true"] .p-filter-n,
.s-cat[aria-pressed="true"] .s-cat-n { color: #c9c8c4; }

/* Phones and tablets: search scrolls away, the category row stays under the header */
@media (max-width: 899px) {
  .catalog { padding-top: 20px; }
  .p-tools, .p-tools-inner { display: contents; }
  .p-search { margin: 0 var(--gutter) 14px; }
  .p-filters {
    position: sticky;
    top: var(--header-h);
    z-index: 30;
    margin-bottom: 18px;
    background: var(--stone);
    border-bottom: 1px solid var(--line);
  }
  .p-filters-scroll {
    display: flex;
    gap: 8px;
    padding: 10px var(--gutter);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .p-filters-scroll::-webkit-scrollbar { display: none; }
  .p-filters::before,
  .p-filters::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 32px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s var(--ease);
  }
  .p-filters::before { left: 0; background: linear-gradient(to right, var(--stone) 20%, rgba(240, 239, 236, 0)); }
  .p-filters::after { right: 0; background: linear-gradient(to left, var(--stone) 20%, rgba(240, 239, 236, 0)); }
  .p-filters.can-left::before,
  .p-filters.can-right::after { opacity: 1; }
}

/* Desktop: search and categories sit in a sticky side column */
@media (min-width: 900px) {
  .catalog {
    display: grid;
    grid-template-columns: clamp(200px, 17vw, 250px) minmax(0, 1fr);
    column-gap: clamp(28px, 3.4vw, 56px);
    align-items: start;
    padding-top: clamp(28px, 3vw, 44px);
    /* Full-bleed stone band, content aligned to the shared max width */
    padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
  }
  .catalog > .wrap { min-width: 0; max-width: none; padding-inline: 0; }
  .p-tools {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    max-height: calc(100vh - var(--header-h) - 40px);
    margin: -4px;
    padding: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
  }
  .p-tools-inner { display: grid; gap: 26px; max-width: none; padding: 0; }
  .p-filters-scroll { display: grid; border-bottom: 1px solid var(--line-2); }
  .p-filter {
    position: relative;
    justify-content: space-between;
    width: 100%;
    min-height: 42px;
    padding: 0 2px 0 14px;
    border: 0;
    border-top: 1px solid var(--line-2);
    border-radius: 0;
    background: none;
    color: var(--ink-2);
    font-weight: 560;
    font-size: 1rem;
    text-align: left;
  }
  .p-filter:hover { border-color: var(--line-2); color: var(--red-ink); }
  .p-filter[aria-pressed="true"] { background: none; border-color: var(--line-2); color: var(--ink); font-weight: 680; }
  .p-filter[aria-pressed="true"] .p-filter-n { color: var(--ink-2); }
  .p-filter:focus-visible { outline-offset: -2px; }
}

/* Results */
.p-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 16px; }
.p-count { font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.p-count:focus { outline: none; }
.p-count:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.p-noscript { padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--red); margin-bottom: 24px; }
.p-group + .p-group { margin-top: clamp(48px, 5vw, 80px); }
.p-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  margin-bottom: 22px;
  border-top: 2px solid var(--ink);
}
.p-group-title {
  font-stretch: 86%;
  font-weight: 560;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  line-height: 1.05;
  letter-spacing: -.014em;
}
.p-group-n { flex: none; font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.p-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--card-min), 1fr));
  gap: 34px clamp(14px, 1.6vw, 22px);
  --card-min: clamp(160px, 12.5vw, 220px);
}
.p-group[data-cat="sliding"] .p-grid,
.p-group[data-cat="windows"] .p-grid,
.p-group[data-cat="combos"] .p-grid,
.p-group[data-cat="handles"] .p-grid,
.p-group[data-cat="glass"] .p-grid { --card-min: clamp(200px, 17vw, 300px); }
.p-card { display: grid; grid-template-areas: "view" "name" "sub" "select"; align-content: start; min-width: 0; }
.p-view {
  grid-area: view;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: zoom-in;
}
.p-frame {
  position: relative;
  display: block;
  aspect-ratio: var(--frame, 3 / 4);
  background: var(--paper);
  overflow: hidden;
}
.p-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 5%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.p-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--red);
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
}
.p-card.is-selected .p-frame::after { opacity: 1; }
.p-view:hover .p-frame img { transform: scale(1.03); }
.p-view:focus-visible { outline-offset: 3px; }
.p-zoom {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.p-zoom svg { width: 16px; height: 16px; }
.p-view:hover .p-zoom, .p-view:focus-visible .p-zoom { opacity: 1; transform: none; }
@media (hover: none) {
  .p-zoom { opacity: 1; transform: none; width: 32px; height: 32px; right: 8px; top: 8px; }
}
.p-name {
  grid-area: name;
  margin-top: 12px;
  font-stretch: 86%;
  font-weight: 620;
  font-size: 1rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.p-sub { grid-area: sub; margin-top: 2px; font-size: .875rem; line-height: 1.35; color: var(--muted); }
.p-select {
  grid-area: select;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-right: 10px;
  font-stretch: 90%;
  font-weight: 560;
  font-size: .9375rem;
  color: var(--ink-2);
  cursor: pointer;
}
.p-select input {
  flex: none;
  display: grid;
  place-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid var(--ink-2);
  border-radius: 2px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease);
}
.p-select input::before {
  content: "";
  width: 10px;
  height: 5px;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg);
  opacity: 0;
}
.p-select:hover input { border-color: var(--ink); }
.p-select input:checked { background: var(--red); border-color: var(--red); }
.p-select input:checked::before { opacity: 1; }
.p-select input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.p-card.is-selected .p-select { color: var(--ink); }
.p-empty { display: grid; justify-items: start; gap: 14px; max-width: 62ch; padding: 40px 0 24px; border-top: 2px solid var(--ink); }
.p-empty-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
@media (max-width: 599px) {
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .p-group-head { margin-bottom: 16px; }
}

/* Selection tray */
.p-tray {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  color: #fff;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .14);
}
.p-tray-inner { display: flex; align-items: center; gap: 12px 22px; min-height: 72px; padding-block: 12px; }
.p-tray-thumbs { display: flex; gap: 6px; }
.p-tray-thumb { display: block; width: 40px; height: 48px; background: #fff; }
.p-tray-thumb img { width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.p-tray-more { align-self: center; padding-left: 4px; font-size: .9375rem; color: #c9c8c4; font-variant-numeric: tabular-nums; }
.p-tray-count { margin-right: auto; white-space: nowrap; }
.p-tray-count strong { font-weight: 650; font-variant-numeric: tabular-nums; }
.p-tray-actions { display: flex; gap: 10px; }
html.has-tray body { padding-bottom: var(--tray-h, 72px); }
@media (max-width: 599px) {
  .p-tray-thumbs { display: none; }
  .p-tray-inner { gap: 10px; }
  .p-tray-actions .btn { padding-inline: .95em; }
}

/* Lightbox extras on the catalog */
.lb-actions { align-items: center; }
.lb-actions .link { min-height: 48px; }

/* Inquiry panel */
.sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(640px, 100%);
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -20px 0 50px rgba(0, 0, 0, .2);
}
.sheet[open] { display: flex; flex-direction: column; }
.sheet::backdrop { background: rgba(26, 27, 28, .45); }
.sheet-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}
.sheet-title {
  font-stretch: 86%;
  font-weight: 560;
  font-size: clamp(1.5rem, 1.25rem + .9vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.014em;
}
.sheet-body {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
  gap: 34px;
  padding: 24px clamp(20px, 3vw, 36px) calc(36px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}
html.sheet-open { overflow: hidden; }
.inq-heading { margin-bottom: 12px; font-stretch: 86%; font-weight: 620; font-size: 1.0625rem; line-height: 1.3; }
.inq-heading:focus { outline: none; }
.inq-heading:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.inq-n { font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.inq-items { display: grid; border-top: 1px solid var(--line); }
.inq-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.inq-thumb { display: block; width: 52px; height: 60px; background: var(--stone); }
.inq-thumb img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.inq-text { display: grid; gap: 2px; min-width: 0; }
.inq-name { font-stretch: 90%; font-weight: 620; line-height: 1.25; overflow-wrap: anywhere; }
.inq-cat { font-size: .875rem; line-height: 1.3; color: var(--muted); }
.inq-rm {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--paper);
  font-stretch: 90%;
  font-weight: 560;
  font-size: .9375rem;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.inq-rm:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.inq-none { padding: 14px 0; border-block: 1px solid var(--line); color: var(--muted); }
.form-success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 6px; }
.form-success:focus { outline: none; }

/* ---------- Design Studio ---------- */
.studio { --steps-h: 66px; background: var(--stone); padding-bottom: clamp(64px, 8vw, 120px); }
.s-steps {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(240, 239, 236, .96);
  border-block: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  backdrop-filter: saturate(1.2) blur(8px);
}
.s-steps-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.s-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas: "n label" "n val";
  align-items: center;
  column-gap: 12px;
  width: 100%;
  min-height: 64px;
  padding: 10px 16px 10px 0;
  border: 0;
  background: none;
  color: var(--muted);
  text-align: left;
}
.s-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 16px;
  bottom: -1px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.s-step:hover { color: var(--ink); }
.s-step[aria-current="step"] { color: var(--ink); }
.s-step[aria-current="step"]::after { transform: none; }
.s-step:focus-visible { outline-offset: -2px; }
.s-step-n {
  grid-area: n;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.s-step[aria-current="step"] .s-step-n { background: var(--ink); border-color: var(--ink); color: #fff; }
.s-step.is-done .s-step-n { border-color: var(--ink); color: var(--ink); }
.s-step-label { grid-area: label; font-stretch: 86%; font-weight: 620; font-size: 1rem; line-height: 1.2; }
.s-step-val { grid-area: val; overflow: hidden; font-size: .875rem; line-height: 1.3; color: var(--muted); white-space: nowrap; text-overflow: ellipsis; }

.s-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 24vw, 360px);
  gap: clamp(28px, 3.4vw, 56px);
  align-items: start;
  padding-top: clamp(28px, 3vw, 44px);
}
.s-main { min-width: 0; }
.s-panel-head { display: grid; gap: 12px; max-width: 64ch; margin-bottom: 26px; }
.s-panel-n { font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.s-panel-head h2:focus { outline: none; }
.s-panel-head h2:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.s-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.s-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--opt-min, 160px), 1fr));
  gap: 26px clamp(12px, 1.4vw, 20px);
}
.s-grid--door { --opt-min: clamp(140px, 11vw, 180px); --frame: 3 / 4; }
.s-grid--glass { --opt-min: clamp(150px, 12vw, 200px); --frame: 4 / 3; }
.s-grid--handle { --opt-min: clamp(190px, 15vw, 240px); --frame: 2 / 1; }
.s-opt { position: relative; display: grid; align-content: start; gap: 10px; min-width: 0; cursor: pointer; }
.s-radio {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.s-frame {
  position: relative;
  display: block;
  aspect-ratio: var(--frame, 3 / 4);
  background: var(--paper);
  overflow: hidden;
}
.s-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 5%;
  object-fit: contain;
  transition: transform .6s var(--ease);
}
.s-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color .2s var(--ease);
}
.s-opt:hover .s-frame img { transform: scale(1.03); }
.s-opt:hover .s-frame::after { border-color: var(--line-2); }
.s-radio:checked + .s-frame::after { border: 2px solid var(--red); }
.s-radio:focus-visible + .s-frame { outline: 2px solid var(--red); outline-offset: 3px; }
.s-check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  background: var(--red);
  color: #fff;
  opacity: 0;
  transform: scale(.8);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.s-check svg { width: 14px; height: 14px; }
.s-radio:checked + .s-frame .s-check { opacity: 1; transform: none; }
.s-frame--none {
  display: grid;
  place-items: center;
  padding: 12px;
  text-align: center;
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.35;
  background: transparent;
  border: 1px dashed var(--line-2);
}
.s-opt-name { font-stretch: 86%; font-weight: 620; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.s-opt-desc { display: block; margin-top: 2px; font-stretch: 100%; font-weight: 400; font-size: .875rem; color: var(--muted); }
.s-radio:checked ~ .s-opt-name { color: var(--red-ink); }

/* Summary column */
.s-summary { position: sticky; top: calc(var(--header-h) + var(--steps-h) + 20px); }
.s-summary-inner { display: grid; gap: 16px; padding: 22px; background: var(--paper); }
.s-summary-title { font-stretch: 86%; font-weight: 620; font-size: 1.125rem; line-height: 1.2; }
.s-sum-list { display: grid; border-top: 1px solid var(--line); }
.s-sum-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.s-sum-thumb {
  display: block;
  width: 56px;
  height: 64px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  cursor: zoom-in;
}
.s-sum-thumb img { width: 100%; height: 100%; padding: 4px; object-fit: contain; }
.s-sum-thumb--empty { border-style: dashed; background: transparent; cursor: default; }
.s-sum-text { display: grid; gap: 1px; min-width: 0; }
.s-sum-k { font-size: .875rem; line-height: 1.3; color: var(--muted); }
.s-sum-v { font-stretch: 90%; font-weight: 620; line-height: 1.3; overflow-wrap: anywhere; }
.s-sum-v small { display: block; font-stretch: 100%; font-weight: 400; font-size: .875rem; color: var(--muted); }
.s-sum-v.is-empty { font-weight: 450; color: var(--muted); }
.s-sum-change {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-stretch: 90%;
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: .3em;
}
.s-sum-change:hover { text-decoration-color: var(--red); }
.s-status { display: none; }
.s-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.s-nav .btn { flex: 1 1 auto; }
.s-nav-error { color: var(--red-ink); font-weight: 600; font-size: .9375rem; line-height: 1.4; }
.s-nav-error:empty { display: none; }
.s-review { display: none; }
.s-form { padding: clamp(22px, 3vw, 40px); background: var(--paper); }
.s-form-title { margin-bottom: 22px; }
.s-step:disabled { cursor: default; }
.s-step:disabled:hover { color: var(--muted); }
.s-form .form-intro { margin-bottom: 24px; font-size: .9375rem; color: var(--muted); }
.s-size { min-width: 0; margin: 0; padding: 0; border: 0; }
.s-size legend { padding: 0; margin-bottom: 4px; font-stretch: 90%; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.s-size legend .opt { font-weight: 400; color: var(--muted); }
.s-size .hint { margin-bottom: 12px; font-size: .9375rem; line-height: 1.45; color: var(--muted); }
.s-size-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.s-noscript { margin-top: 20px; padding: 18px 20px; background: var(--paper); border-left: 3px solid var(--red); }
.s-done-note { font-size: .9375rem; color: var(--muted); }

@media (max-width: 999px) {
  .studio { padding-bottom: 48px; }
  .s-steps { position: static; }
  .s-step {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "n" "label";
    justify-items: center;
    row-gap: 6px;
    min-height: 0;
    padding: 12px 4px 14px;
    text-align: center;
  }
  .s-step::after { right: 0; }
  .s-step-n { width: 28px; height: 28px; }
  .s-step-label { font-size: .875rem; }
  .s-step-val { display: none; }
  .s-layout { grid-template-columns: minmax(0, 1fr); padding-top: 24px; }
  .s-summary {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
  }
  .s-summary-inner {
    gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line-2);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, .08);
  }
  .s-summary-title, .s-summary .s-sum-list { display: none; }
  .s-status {
    display: block;
    overflow: hidden;
    font-size: .875rem;
    line-height: 1.35;
    color: var(--ink-2);
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .s-nav { flex-wrap: nowrap; }
  .s-nav .btn { min-height: 46px; padding-inline: 1em; }
  .s-nav .s-next { flex: 1 1 auto; }
  .s-nav .s-back { flex: 0 0 auto; }
  html.has-sbar body { padding-bottom: var(--s-bar-h, 112px); }
  .studio[data-step="3"] .s-summary { display: none; }
  .s-review { display: grid; margin-bottom: 26px; }
  .s-form { margin-inline: calc(var(--gutter) * -1); }
}
@media (max-width: 599px) {
  .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .s-size-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- Legal ---------- */
.legal-dates { color: var(--muted); font-size: .9375rem; font-variant-numeric: tabular-nums; }
.legal-layout {
  display: grid;
  grid-template-columns: clamp(200px, 18vw, 260px) minmax(0, 70ch);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
  padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
}
.legal-toc { position: sticky; top: calc(var(--header-h) + 28px); }
.legal-toc h2 { margin-bottom: 10px; font-stretch: 86%; font-weight: 600; font-size: .9375rem; color: var(--muted); }
.legal-toc ol { border-bottom: 1px solid var(--line); }
.legal-toc a {
  display: block;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  font-stretch: 90%;
  font-weight: 560;
  font-size: .9375rem;
  line-height: 1.35;
  text-decoration: none;
}
.legal-toc a:hover { color: var(--red-ink); }
.legal-body { min-width: 0; }
.legal-body > section + section { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.legal-body h2 {
  margin-bottom: 14px;
  font-stretch: 86%;
  font-weight: 560;
  font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -.012em;
}
.legal-body h3 { margin: 22px 0 6px; font-stretch: 90%; font-weight: 640; font-size: 1.0625rem; line-height: 1.3; }
.legal-body p, .legal-body li { color: var(--ink-2); text-wrap: pretty; }
.legal-body p + p, .legal-body ul + p, .legal-body p + ul { margin-top: 12px; }
.legal-body ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; }
.legal-body li::marker { color: var(--muted); }
.legal-body a { text-decoration-color: var(--line-2); }
.legal-body a:hover { text-decoration-color: var(--red); }
.legal-body address { font-style: normal; color: var(--ink-2); line-height: 1.7; }
@media (max-width: 899px) {
  .legal-layout { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { display: none; }
}

/* ---------- Motion ---------- */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.motion-ready [data-reveal].is-in { opacity: 1; transform: none; }
@media print {
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
  .site-header, .nav-toggle, .lightbox { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
