/* S R Steel Furniture: website concept by Chowk Works
   Colours #121212 / #1E2022 / #2C3034 / #F4F4F2, one family (Archivo with its width axis),
   12-column grid on a 4px spacing scale, glass and metal pills for controls,
   a chamfered (cut steel) corner on photo frames, one easing curve plus one spring for magnetic returns. */

:root {
  --ink: #121212;
  --char: #1E2022;
  --steel: #2C3034;
  --paper: #F4F4F2;
  --brass: #C2A16B;
  --fg-2: #A9ADB1;
  --fg-3: #8C9095;
  --line: rgba(244, 244, 242, .1);
  --line-strong: rgba(244, 244, 242, .24);
  --err: #F2B8B5;
  --metal: linear-gradient(180deg, #FFFFFF 0%, #DCDEE0 40%, #8F959B 58%, #E8E9EA 100%);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.5, .5, 1);

  --margin: clamp(20px, 4vw, 48px);
  --gutter: 24px;
  --section: clamp(88px, 10vw, 144px);
  --chamfer: 22px;
  --nav-h: 60px;
  --concept-h: 36px;
  --grid-lines: linear-gradient(rgba(244, 244, 242, .045) 1px, transparent 1px) 0 0 / 72px 72px,
                linear-gradient(90deg, rgba(244, 244, 242, .045) 1px, transparent 1px) 0 0 / 72px 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; background: var(--ink); color: var(--paper); -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
h1:focus { outline: none; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); }
.skip:focus { top: 12px; }

.wrap { max-width: calc(1360px + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); }
@media (max-width: 767px) { :root { --gutter: 16px; --chamfer: 16px; } }

/* light band (About, quote sheet) */
.on-light {
  --fg-2: #4A4E52; --fg-3: #686C70;
  --line: rgba(18, 18, 18, .12); --line-strong: rgba(18, 18, 18, .3);
  --err: #B3261E;
  background: var(--paper); color: var(--ink); color-scheme: light;
}
.on-light :focus-visible { outline-color: var(--ink); }

/* ---------- Type ---------- */
.display-l { font-size: clamp(2.5rem, 1.2rem + 3.8vw, 5rem); line-height: .96; font-weight: 600; font-stretch: 75%; letter-spacing: -.03em; }
.display-m { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.5rem); line-height: 1; font-weight: 600; font-stretch: 75%; letter-spacing: -.025em; }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; color: var(--fg-2); }
.hint { font-size: 14px; line-height: 1.5; color: var(--fg-3); }
.metal-text { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metal-text-dark { background: linear-gradient(180deg, #121212 0%, #575C62 55%, #2C3034 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Pills: metal (primary) and glass (secondary) ---------- */
.pill {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px;
  font: 500 16px/1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 700ms var(--spring), background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.pill.is-magnet { transition-duration: 180ms, 160ms, 160ms, 160ms, 160ms; transition-timing-function: var(--ease); }
.pill::before { /* soft highlight that follows the pointer */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity 200ms var(--ease);
  background: radial-gradient(110px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .32), transparent 65%);
}
.pill:hover::before { opacity: 1; }
.pill:active { transform: scale(.97); }
.pill-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.pill-block { width: 100%; }
.pill-primary { color: var(--ink); background: linear-gradient(180deg, #FFFFFF 0%, #E6E7E8 55%, #CDD0D3 100%); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .14), 0 1px 2px rgba(0, 0, 0, .35); }
.pill-primary::before { background: radial-gradient(110px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .9), transparent 65%); }
.pill-glass { color: var(--paper); background-color: rgba(244, 244, 242, .06); border-color: rgba(244, 244, 242, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill-glass:hover { background-color: rgba(244, 244, 242, .1); border-color: rgba(244, 244, 242, .36); }
.pill-glass::before { background: radial-gradient(110px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .14), transparent 65%); }
.pill-dark { color: var(--paper); background: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.pill-dark:hover { background: var(--steel); }
.pill-line { background: transparent; border-color: var(--line-strong); }
.pill-line:hover { border-color: currentColor; }
.pill-line::before, .pill-dark::before { display: none; }
.pill-arrow { display: inline-block; transition: transform 160ms var(--ease); }
.pill:hover .pill-arrow { transform: translateX(3px); }
.btn-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0; font: 500 16px/1.2 var(--font); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 7px; cursor: pointer; transition: text-decoration-color 160ms var(--ease); }
.btn-link:hover { text-decoration-color: currentColor; }

/* ---------- Signature: chamfered photo frame ---------- */
.frame { clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, 0 100%); background: var(--steel); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
figcaption { margin-top: 12px; font-size: 13px; line-height: 1.45; color: var(--fg-3); }

/* ---------- Concept notice & floating navigation ---------- */
.concept { display: flex; align-items: center; justify-content: center; height: var(--concept-h); margin: 0; padding: 0 16px; font-size: 13px; color: var(--fg-2); background: var(--char); border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.concept span:first-child { color: var(--paper); }
@media (max-width: 767px) { .concept-more { display: none; } }

.nav-shell { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--margin); pointer-events: none; transform: translateY(var(--concept-h)); transition: transform 450ms var(--ease); }
.nav-shell.is-scrolled { transform: none; }
.nav-pill {
  pointer-events: auto; display: flex; align-items: center; gap: 8px; width: 100%; max-width: 1180px; height: var(--nav-h); padding: 0 8px 0 20px;
  border-radius: 999px; border: 1px solid rgba(244, 244, 242, .1);
  background: rgba(30, 32, 34, .74); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; white-space: nowrap; text-decoration: none; }
.brand-mark { width: 20px; height: 20px; flex: none; background: var(--metal); clip-path: polygon(0 0, 68% 0, 100% 32%, 100% 100%, 0 100%); }
.brand-name { font-size: 17px; font-weight: 600; font-stretch: 80%; letter-spacing: -.01em; }
.brand-name span { font-weight: 400; color: var(--fg-2); }
.nav-links { position: relative; display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-links a { position: relative; z-index: 1; display: inline-flex; align-items: center; height: 40px; padding: 0 15px; border-radius: 999px; font-size: 15px; color: var(--fg-2); text-decoration: none; transition: color 160ms var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--paper); }
.nav-indicator { position: absolute; top: 0; left: 0; width: 0; height: 40px; border-radius: 999px; background: rgba(244, 244, 242, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); opacity: 0; pointer-events: none; transition: transform 450ms var(--ease), width 450ms var(--ease), opacity 200ms var(--ease); }
.nav-cta { margin-left: 8px; }
.menu-btn { display: none; }
@media (max-width: 1023px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-pill { padding-left: 18px; }
}
@media (max-width: 479px) { .nav-cta { display: none; } .nav-pill { height: 56px; } }

/* Mobile menu: a modal dialog, so focus stays inside and Esc closes it */
.menu { inset: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100%; margin: 0; padding: 0; border: 0; color: var(--paper); background: var(--grid-lines), var(--ink); }
.menu[open] { animation: fade 260ms var(--ease); }
.menu::backdrop { background: var(--ink); }
.menu-inner { display: flex; flex-direction: column; min-height: 100%; padding-top: 14px; padding-bottom: 28px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding: 0 8px 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--char); }
.menu-links { margin: 28px 0 36px; padding: 0; list-style: none; }
.menu-links a { display: flex; align-items: baseline; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: clamp(2.25rem, 9vw, 3.25rem); line-height: 1.05; font-weight: 600; font-stretch: 75%; letter-spacing: -.025em; text-decoration: none; }
.menu-links .num { font-size: 14px; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--fg-3); }
.menu-foot { margin-top: auto; padding-top: 28px; font-size: 14px; color: var(--fg-3); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: calc(100svh - var(--concept-h));
  padding: calc(14px + var(--nav-h) + clamp(40px, 7vh, 88px)) 0 32px;
  background:
    radial-gradient(ellipse 50% 55% at 74% 40%, rgba(244, 244, 242, .1), transparent 70%),
    radial-gradient(ellipse 90% 80% at 50% 35%, transparent 35%, var(--ink) 85%),
    var(--grid-lines), var(--ink);
}
.hero-bgtext {
  position: absolute; left: 50%; bottom: -.16em; z-index: 0; margin: 0; transform: translateX(-50%);
  font-size: clamp(6.5rem, 25vw, 26rem); line-height: 1; font-weight: 600; font-stretch: 75%; letter-spacing: -.04em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(244, 244, 242, .11) 0%, rgba(244, 244, 242, 0) 78%); -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none;
}
.hero-grid { position: relative; z-index: 1; flex: 1; width: 100%; align-items: center; row-gap: 48px; }
.hero-copy { grid-column: 1 / span 7; display: flex; flex-direction: column; gap: 32px; }
.hero-title { font-size: clamp(3.5rem, 1rem + 6.2vw, 7rem); line-height: .92; font-weight: 600; font-stretch: 75%; letter-spacing: -.035em; }
.hl { display: block; }
.hero-copy .lede { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { grid-column: 8 / -1; }
.hero-frame img { aspect-ratio: 4 / 5; height: auto; max-height: calc(100svh - 280px); min-height: 360px; object-position: 50% 50%; }
.hero-foot { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; width: 100%; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-3); }

/* particle word */
.particle-word { position: relative; display: inline-block; }
.particle-word.is-live { color: transparent; }
.particle-canvas { position: absolute; pointer-events: none; }

@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero-copy, .hero-media { grid-column: 1 / -1; }
  .hero-frame img { aspect-ratio: 16 / 10; max-height: none; min-height: 0; }
}
@media (max-width: 599px) {
  .hero-title { font-size: clamp(3.1rem, 1rem + 10.5vw, 4.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-frame img { aspect-ratio: 4 / 3; }
  .hero-bgtext { font-size: 34vw; bottom: 30px; }
  .hero-foot p:first-child { display: none; }
}

/* entrance on load, then reveals as sections arrive */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 760ms var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + 120ms); }
  .hero-bgtext { animation: bg-in 1600ms var(--ease) both; }
  .nav-pill { animation: nav-in 700ms var(--ease) both; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes bg-in { from { opacity: 0; transform: translate(-50%, 6%); } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-12px); } }
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
}

/* ---------- Products ---------- */
.products { padding: var(--section) 0; background: var(--char); }
.section-head { row-gap: 20px; margin-bottom: 48px; }
.section-head h2 { grid-column: 1 / span 6; }
.section-head .lede { grid-column: 8 / -1; align-self: end; }
@media (max-width: 1023px) { .section-head h2, .section-head .lede { grid-column: 1 / -1; } .section-head .lede { max-width: 40rem; } }

.filter-row { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.filters { display: flex; gap: 8px; padding: 4px; margin: -4px 0 -4px -4px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(244, 244, 242, .03); color: var(--fg-2); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.filter:hover { color: var(--paper); border-color: rgba(244, 244, 242, .42); }
.filter[aria-pressed="true"] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.filter .n { font-size: 13px; opacity: .65; font-variant-numeric: tabular-nums; }
.filter-count { flex: none; margin-left: auto; font-size: 14px; color: var(--fg-3); }
@media (max-width: 1023px) {
  .filter-count { display: none; }
  .filter-row { margin-right: calc(-1 * var(--margin)); }
  .filters { padding-right: var(--margin); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
}

/* gallery: an editorial mosaic of product lines */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); }
.tile { position: relative; display: block; padding: 0; border: 0; background: none; text-align: left; color: var(--paper); cursor: pointer; }
.tile-frame { position: absolute; inset: 0; overflow: hidden; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.82); transition: transform 1200ms var(--ease), filter 600ms var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); filter: saturate(1) brightness(.95); }
.tile-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 18, 18, 0) 38%, rgba(18, 18, 18, .86) 100%); }
.tile-tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 11px; border-radius: 999px; font-size: 12px; color: var(--paper); background: rgba(18, 18, 18, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tile-body { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: grid; gap: 6px; }
.tile-num { font-size: 14px; color: var(--fg-2); }
.tile-name { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.75rem); line-height: 1.02; font-weight: 500; font-stretch: 78%; letter-spacing: -.02em; }
.tile-meta { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-2); }
.tile-arrow { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--paper); transition: transform 300ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease); }
.tile:hover .tile-arrow { transform: translateX(4px); background: var(--paper); color: var(--ink); }
.tile-1, .tile-2 { height: clamp(380px, 40vw, 600px); }
.tile-1 { grid-column: span 7; }
.tile-2 { grid-column: span 5; }
.tile-3, .tile-4, .tile-5 { grid-column: span 4; height: clamp(320px, 30vw, 460px); }
.tile-6 { grid-column: span 12; height: clamp(280px, 26vw, 400px); }
@media (max-width: 1023px) {
  .tile-1, .tile-2, .tile-3, .tile-4, .tile-5 { grid-column: span 6; height: 360px; }
  .tile-6 { grid-column: span 12; height: 320px; }
}
@media (max-width: 599px) {
  .gallery { gap: 12px; }
  .tile-1, .tile-2, .tile-3, .tile-4, .tile-5, .tile-6 { grid-column: span 12; height: 280px; }
  .tile-body { left: 18px; right: 18px; bottom: 16px; }
}

/* detail: one product line at a time */
.detail { row-gap: 32px; }
.detail.is-entering { animation: rise 520ms var(--ease) both; }
.detail-media { grid-column: 1 / span 6; }
.detail-media .frame img { aspect-ratio: 4 / 5; height: auto; max-height: 78vh; }
.detail-info { grid-column: 8 / -1; align-self: start; }
.detail-count { font-size: 14px; color: var(--fg-3); }
.detail-info h3 { margin: 10px 0 12px; }
.detail-info:focus { outline: none; }
.rows { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; min-height: 76px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row-name { font-weight: 500; }
.row-note { grid-column: 1; font-size: 15px; color: var(--fg-2); }
.row .pill { grid-column: 2; grid-row: 1 / span 2; }
.detail-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 32px; }
@media (max-width: 1023px) {
  .detail-media, .detail-info { grid-column: 1 / -1; }
  .detail-media .frame img { aspect-ratio: 16 / 10; max-height: none; }
}

/* ---------- Custom orders ---------- */
.custom { position: relative; padding: var(--section) 0; background: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(244, 244, 242, .06), transparent 70%), radial-gradient(ellipse 90% 80% at 50% 40%, transparent 35%, var(--ink) 85%), var(--grid-lines), var(--ink); }
.custom-top { row-gap: 32px; }
.custom-top h2 { grid-column: 1 / span 7; }
.custom-aside { grid-column: 8 / -1; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.custom-bottom { margin-top: clamp(64px, 8vw, 112px); row-gap: 48px; }
.custom-media { grid-column: 1 / span 6; }
.custom-media img { aspect-ratio: 5 / 4; height: auto; filter: grayscale(1); }
.spec { grid-column: 8 / -1; align-self: center; }
.spec-title { margin-bottom: 20px; font-size: 19px; font-weight: 500; }
.spec-list { border-top: 1px solid var(--line-strong); }
.spec-list > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-weight: 500; }
.spec-list dd { color: var(--fg-2); }
.spec-note { margin-top: 20px; font-size: 15px; color: var(--fg-3); }
@media (max-width: 1023px) { .custom-top h2, .custom-aside, .custom-media, .spec { grid-column: 1 / -1; } .custom-aside { max-width: 40rem; } }
@media (max-width: 479px) { .spec-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- About (the one light band) ---------- */
.about { padding: clamp(80px, 9vw, 128px) 0; }
.about-grid { row-gap: 32px; }
.about-grid h2 { grid-column: 1 / span 7; }
.about-body { grid-column: 8 / -1; align-self: end; display: flex; flex-direction: column; gap: 24px; }
.about-lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.3rem); line-height: 1.55; }
.verify { display: flex; align-items: baseline; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--fg-3); }
.dot { flex: none; width: 7px; height: 7px; background: #7A5E2E; transform: translateY(-1px); }
@media (max-width: 1023px) { .about-grid h2, .about-body { grid-column: 1 / -1; } }

/* ---------- Contact ---------- */
.contact { position: relative; z-index: 1; padding: var(--section) 0; background: var(--char); }
.contact .grid { row-gap: 64px; }
.contact-info { grid-column: 1 / span 5; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.details { width: 100%; margin-top: 16px; border-top: 1px solid var(--line-strong); }
.details > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.details dt { font-size: 15px; color: var(--fg-2); }
.contact-form { grid-column: 7 / -1; align-self: start; padding: clamp(24px, 3vw, 40px); border-radius: 28px; border: 1px solid var(--line); background: rgba(18, 18, 18, .45); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-status { margin-top: 24px; padding: 16px 20px; border-radius: 16px; background: var(--steel); font-size: 15px; }
@media (max-width: 1023px) { .contact-info, .contact-form { grid-column: 1 / -1; } .contact-info { max-width: 40rem; } }
@media (max-width: 479px) { .details > div { grid-template-columns: 1fr; gap: 4px; } .contact-form { padding: 20px; border-radius: 20px; } }

/* ---------- Fields ---------- */
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 28px; }
.field > label, .label { font-size: 14px; font-weight: 500; color: var(--fg-2); }
.input { width: 100%; min-height: 48px; padding: 10px 0; font: 400 17px/1.4 var(--font); color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.input::placeholder { color: var(--fg-3); }
.input:focus { outline: none; border-bottom-color: var(--brass); box-shadow: 0 1px 0 0 var(--brass); }
.on-light .input:focus { border-bottom-color: var(--ink); box-shadow: 0 1px 0 0 var(--ink); }
.input[aria-invalid="true"] { border-bottom-color: var(--err); }
textarea.input { min-height: 104px; resize: vertical; }
select.input { appearance: none; padding-right: 28px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 11px) 55%, calc(100% - 6px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
select.input option { color: var(--ink); background: var(--paper); }
.field-error { margin: 0; font-size: 14px; color: var(--err); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); }
@media (max-width: 599px) { .pair { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; border: 1px solid var(--line-strong); transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 24px; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }

/* ---------- Quote sheet ---------- */
.quote { inset: 0 0 0 auto; width: min(580px, 100%); max-width: 100%; height: 100dvh; max-height: 100%; margin: 0; padding: 0; border: 0; }
.quote[open] { animation: sheet-in 380ms var(--ease); }
.quote::backdrop { background: rgba(18, 18, 18, .66); }
.quote[open]::backdrop { animation: fade 380ms var(--ease); }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
.quote form { display: flex; flex-direction: column; height: 100%; }
.quote-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 32px 20px; }
.quote-step { font-size: 14px; color: var(--fg-3); }
.quote-title { margin-top: 4px; font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); line-height: 1.05; font-weight: 600; font-stretch: 80%; letter-spacing: -.02em; }
.quote-progress { display: flex; gap: 4px; margin: 0; padding: 0 32px; list-style: none; }
.quote-progress li { flex: 1; height: 3px; border-radius: 3px; background: var(--line); transition: background-color 480ms var(--ease); }
.quote-progress li.on { background: var(--ink); }
.quote-body { flex: 1; overflow-y: auto; padding: 24px 32px 32px; }
.demo-flag { display: inline-block; margin-bottom: 24px; padding: 6px 12px; border-radius: 999px; background: #E6E6E3; font-size: 13px; color: var(--fg-2); }
.quote-foot { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 32px; border-top: 1px solid var(--line); }
.quote-foot #q-back { margin-right: auto; }
.item-row { display: grid; grid-template-columns: minmax(0, 1fr) 88px 44px; gap: 0 16px; align-items: end; margin-bottom: 24px; }
.item-row .field { margin: 0; }
.item-row .field-error { grid-column: 1 / -1; margin-top: 6px; }
.remove { width: 44px; height: 44px; padding: 0; border-radius: 999px; background: none; border: 1px solid var(--line-strong); font-size: 20px; line-height: 1; cursor: pointer; }
.remove:disabled { opacity: .3; cursor: default; }
.demo-notice { padding: 18px 20px; border-radius: 16px; background: #E6E6E3; font-size: 15px; }
.demo-notice:focus { outline: none; }
.summary { margin: 16px 0 0; padding: 20px; border-radius: 16px; font: 400 15px/1.65 var(--font); white-space: pre-wrap; overflow-wrap: anywhere; background: #fff; border: 1px solid var(--line); }
@media (max-width: 599px) {
  .quote { width: 100%; }
  .quote-head, .quote-body { padding-inline: 20px; }
  .quote-progress { padding-inline: 20px; }
  .quote-foot { flex-wrap: wrap; padding: 12px 20px; }
  .quote-foot .pill { flex: 1; }
  .quote-foot #q-back { margin-right: 0; }
  .item-row { grid-template-columns: minmax(0, 1fr) 72px 44px; gap: 0 12px; }
}

/* ---------- Cinematic footer (curtain reveal on large screens) ---------- */
.site-footer {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 28px;
  background:
    radial-gradient(ellipse 60% 55% at 50% 30%, rgba(244, 244, 242, .08), transparent 70%),
    radial-gradient(ellipse 90% 80% at 50% 40%, transparent 35%, var(--ink) 85%),
    var(--grid-lines), var(--ink);
}
.footer-bgtext {
  position: absolute; left: 50%; bottom: -.18em; z-index: 0; margin: 0; transform: translate(-50%, calc((1 - var(--p, 1)) * 22%));
  font-size: clamp(6rem, 26vw, 27rem); line-height: 1; font-weight: 600; font-stretch: 75%; letter-spacing: -.04em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(244, 244, 242, .12) 0%, rgba(244, 244, 242, 0) 80%); -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none;
}
.footer-inner { position: relative; z-index: 1; width: 100%; }
.footer-cta { max-width: 8.5em; font-size: clamp(2.75rem, 1rem + 6vw, 7rem); line-height: .94; font-weight: 600; font-stretch: 75%; letter-spacing: -.035em; }
.footer-cta .metal-text { white-space: nowrap; } /* keeps "that lasts" together on one line */
.footer-sub { max-width: 34rem; margin: 24px 0 36px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); color: var(--fg-2); }
.footer-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: clamp(56px, 10vh, 112px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-3); }
.footer-bar nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bar nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; color: var(--fg-2); text-decoration: none; transition: color 160ms var(--ease); }
.footer-bar nav a:hover { color: var(--paper); }
@media (min-width: 1024px) and (min-height: 700px) {
  .footer-curtain { --footer-h: min(780px, 100vh); position: relative; height: var(--footer-h); clip-path: inset(0); }
  .site-footer { position: fixed; left: 0; right: 0; bottom: 0; height: var(--footer-h); }
}
@media (max-width: 599px) {
  .site-footer { padding: 72px 0 24px; }
  .footer-actions { flex-direction: column; align-items: stretch; }
  .footer-bar { flex-direction: column; align-items: flex-start; }
}
