/* ==========================================================================
   Aureate Interiors — stainless steel page
   Builds on style.css tokens; only page-specific components live here.
   ========================================================================== */

:root {
  --steel-1: #e9ebed;
  --steel-2: #c5c9cd;
  --steel-3: #8d9297;
  --graphite: #151514;
  --graphite-2: #1d1d1b;
  --rust: #b4553f;
  --ok: #7fae8a;

  /* charcoal + top-down spotlight + amber glow */
  --char-1: #2a2a2a;
  --char-2: #232323;
  --char-3: #0f0f0f;
  --amber: rgba(214, 160, 72, .26);
  --grad-spot: radial-gradient(ellipse 60% 55% at 50% -12%, rgba(255, 255, 255, .26) 0%, rgba(255, 255, 255, .07) 40%, transparent 70%);
  --grad-char: linear-gradient(180deg, var(--char-1) 0%, var(--char-2) 38%, #171717 70%, var(--char-3) 100%);
  --grad-amber: radial-gradient(ellipse 70% 50% at 50% 115%, var(--amber) 0%, rgba(214, 160, 72, .06) 45%, transparent 70%);
  --grad-gold-text: linear-gradient(180deg, #f3dcaa 0%, #c9a467 55%, #9c7642 100%);

  --f-satin: repeating-linear-gradient(90deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px), linear-gradient(160deg, #eef0f2 0%, #c3c7cb 45%, #e3e6e8 60%, #a9aeb3 100%);
  --f-mirror: linear-gradient(120deg, #f8f9fa 0%, #9ea4aa 22%, #f4f5f6 38%, #5f656b 55%, #e9ebed 72%, #b3b8bd 100%);
  --f-champagne: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 1px, transparent 1px 3px), linear-gradient(160deg, #f1dfbb 0%, #c9a467 45%, #e8d1a2 62%, #a8834f 100%);
  --f-gunmetal: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px), linear-gradient(160deg, #6d7176 0%, #3f4246 50%, #5a5e63 65%, #2b2d30 100%);
  --f-sage: radial-gradient(circle at 30% 25%, #a6b09b, #87927c 70%);
  --f-ivory: radial-gradient(circle at 30% 25%, #f4efe6, #e2dbcd 70%);
}

.display--light { color: var(--light); }
.display--light em, .title--light em { background: var(--grad-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.lead--light { color: rgba(243, 238, 230, .72); }
.section__intro--light { color: rgba(243, 238, 230, .62); }
.link { color: var(--accent); border-bottom: 1px solid rgba(168, 131, 79, .35); transition: border-color .3s; }
.link:hover { border-color: var(--accent); }

.btn--gold { background: var(--accent-soft); color: var(--dark); }
.btn--gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--light); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn--gold:hover::after { transform: translateY(0); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(201, 164, 103, .6); }
.btn--ghost-light { border-color: rgba(243, 238, 230, .22); color: var(--light); background: transparent; }
.btn--ghost-light:hover { border-color: var(--light); transform: translateY(-2px); }

/* ---------- Hero ---------- */
.s-hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden;
  padding: calc(var(--nav-h) + 30px) 0 50px; display: flex; align-items: center;
  background:
    radial-gradient(60% 70% at 72% 50%, #fffdf9 0%, rgba(255, 253, 249, 0) 70%),
    linear-gradient(180deg, var(--bg) 0%, #f1ebe2 100%);
  color: var(--ink);
}
.s-hero__sheen {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px circle at var(--hx, 70%) var(--hy, 40%), rgba(201, 164, 103, .12), transparent 60%);
}
.s-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 30px; align-items: center; }
.s-hero__copy { position: relative; z-index: 2; }
.s-badges { list-style: none; display: flex; gap: 40px; margin: 54px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.s-badges strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.5rem; line-height: 1; color: var(--ink); }
.s-badges span { display: block; margin-top: 8px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.s-hero__visual { position: relative; height: min(76vh, 720px); }
.s-stage { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.s-stage:active { cursor: grabbing; }
.s-stage canvas { width: 100% !important; height: 100% !important; }
.s-stage.no-webgl { display: grid; place-items: center; border-radius: var(--radius); background: var(--f-satin); }
.s-stage.no-webgl::after { content: "3D preview unavailable on this device"; font-size: 13px; color: var(--ink-soft); }
.s-stage__hint {
  position: absolute; top: 8%; left: 4%; display: inline-flex; align-items: center; gap: 8px; pointer-events: none;
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.s-stage__hint svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.s-open {
  position: absolute; top: 7%; right: 4%; z-index: 3; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--ink); font-size: 13px; font-weight: 600; transition: border-color .3s, background .3s;
}
.s-open:hover { border-color: var(--accent-soft); }
.s-open__icon { position: relative; width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid currentColor; }
.s-open__icon::after { content: ""; position: absolute; left: 4px; right: 4px; top: 8px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.s-open[aria-pressed="true"] { background: var(--accent-soft); color: var(--dark); border-color: var(--accent-soft); }
.s-open[aria-pressed="true"] .s-open__icon::after { transform: translateY(6px); }

.s-finish {
  position: absolute; left: 50%; bottom: 2%; translate: -50% 0; z-index: 3;
  display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(40, 32, 20, .4); max-width: calc(100% - 16px);
}
.s-finish__name { margin: 0; display: grid; line-height: 1.2; min-width: 120px; }
.s-finish__name span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.s-finish__name em { font-family: var(--serif); font-size: 1.15rem; color: var(--accent); }
.s-finish__row { display: flex; gap: 8px; }
.s-sw {
  width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; background: var(--sw);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.s-sw:hover { transform: translateY(-2px) scale(1.06); }
.s-sw[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 0 0 3px #fff, 0 0 0 4.5px var(--accent); }

/* ---------- Spec strip ---------- */
.s-strip { background: var(--surface); color: var(--ink); border-block: 1px solid var(--line); }
.s-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.s-strip__grid > div { padding: 40px 28px 42px; border-left: 1px solid var(--line); }
.s-strip__grid > div:first-child { border-left: 0; padding-left: 0; }
.s-strip dt {
  font-family: var(--serif); font-size: clamp(2.6rem, 4vw, 3.6rem); line-height: 1; font-weight: 300;
  background: linear-gradient(180deg, #8d9297, #3a3d41); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.s-strip dd { margin: 12px 0 0; font-size: .9rem; color: var(--muted); max-width: 16rem; }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.b-card {
  position: relative; overflow: hidden; padding: 36px 32px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.b-card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(201, 164, 103, .16), transparent 45%);
}
.b-card:hover { box-shadow: var(--shadow); border-color: rgba(168, 131, 79, .35); }
.b-card:hover::before { opacity: 1; }
.b-card--wide { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; align-items: end; }
.b-card--dark { background: var(--grad-amber), linear-gradient(160deg, var(--char-1), var(--char-3)); color: var(--light); border-color: transparent; }
.b-card--dark p { color: rgba(243, 238, 230, .62) !important; }
.b-card__tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.b-card--dark .b-card__tag { color: var(--accent-soft); }
.b-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.85rem; line-height: 1.1; margin: 0 0 12px; transform: translateZ(24px); }
.b-card p { margin: 0; color: var(--muted); font-size: .96rem; transform: translateZ(12px); }
.b-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(145deg, #fff, var(--bg-tint)); box-shadow: inset 0 0 0 1px var(--line); transform: translateZ(36px);
}
.b-card__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* durability chart */
.b-years { transform: translateZ(20px); }
.b-years__track { height: 2px; background: var(--line); position: relative; margin-bottom: 10px; }
.b-years__track span { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.2s var(--ease) .3s; }
.b-years__labels { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.b-years__bars { display: grid; gap: 14px; }
.b-years__bars > div { display: grid; grid-template-columns: repeat(3, 1fr) 54px; gap: 8px; align-items: end; height: 54px; }
.b-years__bars i { display: block; height: 100%; border-radius: 6px; background: rgba(27, 26, 23, .05); position: relative; overflow: hidden; }
.b-years__bars i::after { content: ""; position: absolute; inset: auto 0 0 0; height: var(--h); transform-origin: bottom; transform: scaleY(0); transition: transform 1.4s var(--ease); border-radius: inherit; }
.b-years__bars > div:first-child i::after { background: linear-gradient(180deg, #b98d5f, #7b5636); }
.b-years__bars > div:last-child i::after { background: var(--f-satin); }
.b-years__bars i:nth-child(2)::after { transition-delay: .5s; }
.b-years__bars i:nth-child(3)::after { transition-delay: 1s; }
.b-years__bars b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; align-self: center; }
.b-card.is-in .b-years__track span { transform: scaleX(1); }
.b-card.is-in .b-years__bars i::after { transform: scaleY(1); }

/* hygiene germs that slide off on hover */
.b-germs { position: absolute; right: 22px; top: 26px; width: 90px; height: 70px; pointer-events: none; }
.b-germs i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #9fb08a; opacity: .55; transition: transform 1.2s var(--ease), opacity 1.2s; }
.b-germs i::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px dashed #9fb08a; }
.b-germs i:nth-child(1) { left: 10%; top: 10%; } .b-germs i:nth-child(2) { left: 55%; top: 0; width: 7px; height: 7px; }
.b-germs i:nth-child(3) { left: 80%; top: 40%; } .b-germs i:nth-child(4) { left: 30%; top: 50%; width: 8px; height: 8px; }
.b-germs i:nth-child(5) { left: 60%; top: 70%; width: 6px; height: 6px; } .b-germs i:nth-child(6) { left: 5%; top: 78%; }
.b-card:hover .b-germs i { transform: translateY(80px) scale(.4); opacity: 0; }
.b-card:hover .b-germs i:nth-child(odd) { transition-delay: .1s; }

/* wipe-clean shine */
.b-wipe { position: absolute; inset: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
.b-wipe span { position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent); }
.b-card:hover .b-wipe span { animation: wipe 1.1s var(--ease); }
@keyframes wipe { to { left: 130%; } }

/* sound */
.b-card--sound { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; background: linear-gradient(150deg, var(--surface), #f1ece4); }
.sound { display: grid; gap: 16px; }
.sound__wave { height: 84px; display: flex; align-items: center; gap: 3px; padding: 0 4px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.sound__wave i { flex: 1; height: 8%; min-height: 2px; border-radius: 2px; background: var(--steel-3); transition: height .08s linear, background .3s; }
.sound__wave.is-clang i { background: var(--rust); }
.sound__wave.is-soft i { background: var(--accent); }
.sound__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sound__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; transition: border-color .3s, transform .3s var(--ease), background .3s, color .3s;
}
.sound__btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.sound__btn:active { transform: scale(.97); }
.sound__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 4px rgba(180, 85, 63, .15); }
.sound__btn--good .sound__dot { background: var(--accent); box-shadow: 0 0 0 4px rgba(168, 131, 79, .18); }
.sound__btn.is-playing { background: var(--ink); color: var(--light); border-color: var(--ink); }
.sound__note { margin: 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }

/* planet */
.b-card--planet { grid-column: 1 / -1; display: grid; grid-template-columns: 56px 1fr 1.4fr; gap: 10px 34px; align-items: center; }
.b-card--planet .b-card__icon { margin: 0; grid-row: span 2; }
.b-card--planet .b-card__tag { margin: 0; align-self: end; }
.b-card--planet h3 { grid-column: 2; margin: 0; align-self: start; }
.b-card--planet p { grid-column: 3; grid-row: 1 / span 2; max-width: 36rem; }
.b-cycle { position: absolute; right: -24px; bottom: -24px; width: 130px; height: 130px; fill: none; stroke: rgba(168, 131, 79, .22); stroke-width: 2; transition: transform 1.6s var(--ease); }
.b-card--planet:hover .b-cycle { transform: rotate(240deg); }

/* ---------- Inside 304 ---------- */
.s-alloy__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.alloy { margin-top: 40px; }
.alloy__bar { display: flex; height: 54px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.alloy__bar span {
  position: relative; flex: 0 0 var(--w); display: flex; align-items: center; padding-left: 14px; overflow: hidden;
  font-size: 12px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; color: var(--ink);
  transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease);
}
.alloy__bar span::before { content: attr(data-el); font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin-right: 8px; }
.alloy__bar span:nth-child(1) { background: var(--f-satin); }
.alloy__bar span:nth-child(2) { background: linear-gradient(160deg, #e8d1a2, #c9a467); transition-delay: .25s; font-size: 0; }
.alloy__bar span:nth-child(2)::before { font-size: 1.25rem; }
.alloy__bar span:nth-child(3) { background: linear-gradient(160deg, #b2b9a8, #8f9a84); transition-delay: .45s; padding-left: 8px; font-size: 0; }
.alloy__bar span:nth-child(4) { background: var(--ink); transition-delay: .6s; padding: 0; font-size: 0; }
.alloy__bar span:nth-child(3)::before { font-size: 1.05rem; margin: 0; }
.alloy__bar span:nth-child(4)::before { content: none; }
.alloy.is-in .alloy__bar span { transform: scaleX(1); }
.alloy__legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0 0; }
.alloy__legend dt { font-family: var(--serif); font-size: 1.7rem; line-height: 1; }
.alloy__legend dd { margin: 6px 0 0; font-size: .86rem; color: var(--muted); }

.scratch { position: relative; aspect-ratio: 1 / 1; max-height: 560px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); cursor: crosshair; touch-action: none; background: var(--f-satin); }
.scratch canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scratch__ui { position: absolute; inset: auto 18px 18px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px; pointer-events: none; }
.scratch__prompt, .scratch__state {
  padding: 8px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(255, 255, 255, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink-soft);
  transition: opacity .5s, background .4s, color .4s;
}
.scratch__state::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: var(--ok); vertical-align: 1px; }
.scratch.is-healing .scratch__state { background: rgba(27, 26, 23, .78); color: var(--light); }
.scratch.is-healing .scratch__state::before { background: var(--accent-soft); animation: pulse 1s ease-in-out infinite; }
.scratch.is-touched .scratch__prompt { opacity: 0; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Stress test ---------- */
.s-stress { position: relative; padding: clamp(90px, 12vw, 150px) 0; background: radial-gradient(60% 50% at 50% 0%, #fffdf9 0%, rgba(255, 253, 249, 0) 70%), var(--bg); color: var(--ink); }
.stress { border-radius: 28px; padding: clamp(18px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stress__tabs { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--bg-tint); width: max-content; max-width: 100%; margin: 0 auto 30px; overflow-x: auto; scrollbar-width: none; }
.stress__tabs::-webkit-scrollbar { display: none; }
.stress__tabs button {
  display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--muted);
  padding: 11px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: background .35s var(--ease), color .35s;
}
.stress__tabs svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.stress__tabs button:hover { color: var(--ink); }
.stress__tabs button[aria-selected="true"] { background: var(--ink); color: var(--light); }

.stress__arena { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: stretch; }
.stress__vs { align-self: center; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--muted); }
.rig { margin: 0; display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line); }
.rig figcaption { display: flex; flex-direction: column; }
.rig figcaption span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.rig figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.rig--steel figcaption span { color: var(--accent); }

.rig__scene {
  position: relative; height: 280px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, #eee8de 0%, #e7e0d4 70%, #d8cfc1 70.5%, #ddd5c8 100%);
  display: grid; place-items: center;
}
.unit { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 62%; height: 64%; margin-top: 6%; padding: 6px; border-radius: 6px; background: #3b2f25; transition: transform 2.4s var(--ease), filter 2s; transform-origin: 50% 100%; }
.unit--steel { background: #6c7176; }
.unit__door { position: relative; overflow: hidden; border-radius: 3px; background: linear-gradient(160deg, #e7dccb, #cdbfa8); transition: transform 2.4s var(--ease), border-radius 2.4s, filter 2s, background 2s; transform-origin: 50% 100%; }
.unit--steel .unit__door { background: var(--f-satin); }
.unit__handle { position: absolute; top: 14%; width: 3px; height: 26%; border-radius: 2px; background: #6e6457; }
.unit__door:first-child .unit__handle { right: 12%; } .unit__door:last-child .unit__handle { left: 12%; }
.unit--steel .unit__handle { background: #8d9297; }
.unit__stain, .unit__holes, .unit__seam { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 2s, transform 2.4s var(--ease); }
.unit__holes { background:
  radial-gradient(circle at 20% 30%, #2a1e15 0 3px, transparent 3.5px), radial-gradient(circle at 60% 22%, #2a1e15 0 2px, transparent 2.5px),
  radial-gradient(circle at 42% 55%, #2a1e15 0 3px, transparent 3.5px), radial-gradient(circle at 75% 66%, #2a1e15 0 2.5px, transparent 3px),
  radial-gradient(circle at 30% 80%, #2a1e15 0 2px, transparent 2.5px), radial-gradient(circle at 65% 88%, #2a1e15 0 3px, transparent 3.5px),
  linear-gradient(170deg, transparent 40%, rgba(42, 30, 21, .25) 41%, transparent 43%), linear-gradient(20deg, transparent 60%, rgba(42, 30, 21, .25) 61%, transparent 63%); }
.unit__seam { border: 2px solid rgba(20, 14, 10, .7); border-radius: 3px; }

.rig__fx { position: absolute; inset: 0; pointer-events: none; }
.rig__meter { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.meter { height: 6px; border-radius: 4px; background: rgba(27, 26, 23, .08); overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #d9a35a, var(--rust)); transform-origin: left; transform: scaleX(0); transition: transform 2.6s var(--ease) .4s; }
.meter--steel i { background: var(--ok); }
.rig__verdict { font-size: 12px; letter-spacing: .08em; color: var(--rust); min-width: 7.5em; text-align: right; }
.rig--steel .rig__verdict { color: #4f8a5e; }
.rig__note { margin: 0; font-size: .92rem; color: var(--ink-soft); min-height: 4.8em; transition: opacity .3s; }
.stress.is-swapping .rig__note, .stress.is-swapping .stress__title { opacity: 0; }
.stress.is-resetting, .stress.is-resetting * { transition: none !important; }

.stress__foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.stress__title { margin: 0; font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--accent); transition: opacity .3s; }

.stress.is-running .rig--board .meter i { transform: scaleX(var(--dmg, .8)); }
.stress.is-running .rig--steel .meter i { transform: scaleX(.02); }

/* hazard: heat */
.stress[data-hazard="heat"].is-running .rig--board .unit__door { filter: sepia(.6) brightness(.55) contrast(1.2); }
.stress[data-hazard="heat"].is-running .rig--board .unit__seam { opacity: 1; border-color: #120c08; }
.stress[data-hazard="heat"] .unit__stain { background: linear-gradient(0deg, #1a120c 0%, rgba(40, 24, 14, .8) 35%, transparent 75%); transform: translateY(40%); }
.stress[data-hazard="heat"].is-running .rig--board .unit__stain { opacity: 1; transform: none; }
.stress[data-hazard="heat"].is-running .rig--steel .unit__door { animation: shimmer 1.4s ease-in-out 3; }
@keyframes shimmer { 50% { filter: brightness(1.12) hue-rotate(-8deg); } }
.fx-flame { position: absolute; bottom: 28%; width: 22px; height: 40px; margin-left: -11px; border-radius: 50% 50% 40% 40% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 80%, #fff3c4 0%, #ffb347 35%, rgba(230, 90, 40, .9) 60%, transparent 72%); filter: blur(.5px); animation: flame .5s ease-in-out infinite alternate; transform-origin: 50% 100%; opacity: .95; }
@keyframes flame { from { transform: scale(1, 1) translateY(0); } to { transform: scale(.85, 1.2) translateY(-3px); } }

/* hazard: water */
.stress[data-hazard="water"] .unit__stain { background: linear-gradient(0deg, rgba(70, 48, 30, .85) 0%, rgba(90, 66, 44, .45) 30%, transparent 60%); transform: translateY(50%); }
.stress[data-hazard="water"].is-running .rig--board .unit__stain { opacity: 1; transform: none; }
.stress[data-hazard="water"].is-running .rig--board .unit__door { transform: scaleX(1.05) scaleY(.97); border-radius: 3px 3px 14px 14px; }
.stress[data-hazard="water"].is-running .rig--board .unit__seam { opacity: 1; }
.fx-drop { position: absolute; top: -12px; width: 6px; height: 10px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(180deg, #cfe7ff, #7fb2e5); animation: drop 1.1s cubic-bezier(.5, 0, 1, .6) infinite; opacity: .9; }
@keyframes drop { to { transform: translateY(300px); } }
.rig--steel .fx-drop { animation-name: drop-bead; }
@keyframes drop-bead { 0% { transform: translateY(0); } 55% { transform: translateY(150px) scale(1); } 100% { transform: translateY(300px) scale(.6, 1.4); opacity: .4; } }
.fx-pool { position: absolute; left: 12%; right: 12%; bottom: 22%; height: 10px; border-radius: 50%; background: radial-gradient(closest-side, rgba(127, 178, 229, .5), transparent); animation: pool 2.4s var(--ease) forwards; transform: scaleX(0); }
@keyframes pool { to { transform: scaleX(1); } }

/* hazard: humidity */
.stress[data-hazard="humidity"].is-running .rig--board .unit { transform: perspective(500px) rotateY(-9deg) skewY(2deg); }
.stress[data-hazard="humidity"].is-running .rig--board .unit__door:first-child { transform: rotate(-2deg) translateY(2px); }
.stress[data-hazard="humidity"].is-running .rig--board .unit__door:last-child { transform: rotate(1.5deg); }
.stress[data-hazard="humidity"] .unit__stain { background:
  radial-gradient(circle at 25% 70%, rgba(90, 110, 70, .55) 0 6px, transparent 9px), radial-gradient(circle at 70% 82%, rgba(90, 110, 70, .5) 0 8px, transparent 12px),
  radial-gradient(circle at 50% 30%, rgba(90, 110, 70, .35) 0 4px, transparent 7px), radial-gradient(circle at 15% 20%, rgba(90, 110, 70, .4) 0 5px, transparent 8px); }
.stress[data-hazard="humidity"].is-running .rig--board .unit__stain { opacity: 1; }
.fx-fog { position: absolute; width: 180px; height: 70px; border-radius: 50%; background: radial-gradient(closest-side, rgba(150, 160, 170, .3), transparent); animation: fog 6s ease-in-out infinite alternate; }
@keyframes fog { from { transform: translateX(-40px); } to { transform: translateX(60px); } }
.fx-bead { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(120, 160, 200, .85); box-shadow: 0 0 2px rgba(255,255,255,.9); opacity: 0; animation: bead 3s var(--ease) forwards; }
@keyframes bead { 30% { opacity: 1; } 100% { opacity: .8; transform: translateY(40px); } }

/* hazard: termites + pests */
.stress[data-hazard="termites"].is-running .rig--board .unit__holes { opacity: 1; }
.stress[data-hazard="termites"].is-running .rig--board .unit__door { filter: brightness(.88); }
.stress[data-hazard="pests"].is-running .rig--board .unit__seam { opacity: 1; }
.fx-bug { position: absolute; width: 7px; height: 4px; border-radius: 50%; background: #7a5a38; offset-rotate: auto; }
.fx-bug--roach { width: 12px; height: 7px; background: #6d4a2e; }
.fx-dust { position: absolute; bottom: 22%; width: 3px; height: 3px; border-radius: 50%; background: #b48e64; animation: dust 2.4s ease-in forwards; opacity: 0; }
@keyframes dust { 20% { opacity: 1; } 100% { opacity: 1; transform: translateY(14px); } }

/* ---------- Finishes ---------- */
.finishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.finish {
  position: relative; display: grid; grid-template-rows: 220px auto; text-align: left; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.finish:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(168, 131, 79, .35); }
.finish__swatch { position: relative; background: var(--sw); overflow: hidden; }
.finish__swatch::after { content: ""; position: absolute; inset: -40% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .45) 50%, transparent 60%); transform: translateX(-60%); transition: transform 1.2s var(--ease); }
.finish:hover .finish__swatch::after { transform: translateX(60%); }
.finish__meta { display: grid; align-content: start; gap: 4px; padding: 22px 24px 26px; }
.finish__meta strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; }
.finish__meta small { font-size: .9rem; color: var(--muted); }
.finish__try { position: absolute; top: 16px; right: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(27, 26, 23, .78); color: var(--light); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .4s var(--ease); }
.finish:hover .finish__try, .finish:focus-visible .finish__try { opacity: 1; transform: none; }

/* ---------- Interior fittings ---------- */
.fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.fit__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fit__list button {
  width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 8px; text-align: left; padding: 20px 0; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; opacity: .55; transition: opacity .4s;
}
.fit__list button:hover, .fit__list button[aria-selected="true"] { opacity: 1; }
.fit__list b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; color: var(--accent); }
.fit__list strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1.2; }
.fit__list small { display: block; max-height: 0; overflow: hidden; color: var(--muted); font-size: .93rem; transition: max-height .5s var(--ease), margin .5s var(--ease); }
.fit__list button[aria-selected="true"] small { max-height: 6em; margin-top: 6px; }
.fit__plan { position: relative; aspect-ratio: 5 / 4; border-radius: 24px; padding: 6%; background: radial-gradient(80% 80% at 50% 35%, #fffdf9 0%, #efe8dd 100%); box-shadow: inset 0 0 0 1px var(--line); }
.fit__plan svg { width: 100%; height: 100%; overflow: visible; }
.fit__plan .zone { fill: url(#steelFill); stroke: #9aa0a6; stroke-width: 1; transition: opacity .5s, fill .5s; }
.fit__plan .zone-g { opacity: .28; transition: opacity .5s var(--ease), transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.fit__plan .zone-g.is-on { opacity: 1; }
.fit__plan .zone-g.is-on .zone { stroke: var(--accent); stroke-width: 2; }
.fit__plan .detail { fill: none; stroke: #7d8389; stroke-width: 1.2; stroke-linecap: round; }
.fit__plan .label { font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; fill: var(--muted); }
.fit__plan .zone-g.is-on .label { fill: var(--accent); }

/* ---------- Drawer close-ups ---------- */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: clamp(50px, 7vw, 90px); }
.shot { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: #55595e; box-shadow: var(--shadow); }
.shot__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot__img { aspect-ratio: 3 / 2; overflow: hidden; }
.shot__img svg, .shot__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover .shot__img svg, .shot:hover .shot__img img { transform: scale(1.05); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 70px 28px 24px; pointer-events: none; color: var(--light);
  background: linear-gradient(180deg, transparent, rgba(15, 15, 15, .55) 35%, rgba(15, 15, 15, .88));
}
.shot figcaption span { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-soft); }
.shot figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; line-height: 1.15; margin: 6px 0 0; }
.shot figcaption small { display: block; max-width: 30rem; font-size: .92rem; color: rgba(243, 238, 230, .72); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .6s var(--ease); }
.shot:hover figcaption small, .shot:focus-within figcaption small { max-height: 5em; opacity: 1; margin-top: 8px; }
@media (hover: none) { .shot figcaption small { max-height: 5em; opacity: 1; margin-top: 8px; } }

.lightbox { width: min(1100px, 100% - 32px); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--char-2); color: var(--light); }
.lightbox::backdrop { background: rgba(10, 10, 10, .82); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in .45s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lightbox__img svg, .lightbox__img img { width: 100%; height: auto; max-height: calc(100vh - 140px); object-fit: contain; }
.lightbox__cap { margin: 0; padding: 18px 24px 22px; font-family: var(--serif); font-size: 1.4rem; }
.lightbox__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(15, 15, 15, .7); color: var(--light); font-size: 1.6rem; line-height: 1; }
.lightbox__close:hover { background: var(--accent-soft); color: var(--dark); }

/* ---------- Care ---------- */
.care { display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.care__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.care__steps li { display: grid; align-content: start; gap: 18px; padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.care__steps li > span { font-family: var(--serif); font-size: 3.2rem; line-height: 1; font-weight: 300; color: transparent; -webkit-text-stroke: 1px var(--accent); }
.care__steps h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin: 0 0 6px; }
.care__steps p { margin: 0; color: var(--muted); font-size: .94rem; }
.care__avoid { padding: 32px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.care__avoid h3 { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; margin: 0 0 16px; }
.care__avoid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.care__avoid li { position: relative; padding-left: 28px; color: var(--muted); font-size: .95rem; }
.care__avoid li::before, .care__avoid li::after { content: ""; position: absolute; left: 4px; top: 11px; width: 12px; height: 1.5px; background: var(--rust); transform: rotate(45deg); }
.care__avoid li::after { transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.faq__grid .section__head { position: sticky; top: calc(var(--nav-h) + 30px); margin: 0; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 500; line-height: 1.25; transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: 0 0 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s;
}
.faq__item summary:hover { color: var(--accent); }
.faq__item[open] summary::after { transform: rotate(135deg); border-color: var(--accent); background-color: rgba(168, 131, 79, .1); }
.faq__a { overflow: hidden; }
.faq__a p { margin: 0; padding: 0 50px 26px 0; color: var(--muted); }

/* ---------- Visit CTA ---------- */
.s-visit { padding: clamp(70px, 9vw, 110px) 0 0; }
.s-visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.visit {
  position: relative; display: block; overflow: hidden; padding: clamp(34px, 4vw, 52px); border-radius: 24px; min-height: 260px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); isolation: isolate;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.visit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(90deg, rgba(0,0,0,.018) 0 1px, transparent 1px 4px); }
.visit::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 80%) var(--my, 20%), rgba(201, 164, 103, .22), transparent 55%); transition: opacity .4s; }
.visit--alt { background: var(--f-satin); color: var(--ink); }
.visit--alt::after { background: radial-gradient(420px circle at var(--mx, 80%) var(--my, 20%), rgba(255, 255, 255, .55), transparent 55%); }
.visit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.visit__k { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.visit--alt .visit__k { color: var(--ink-soft); }
.visit h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; margin: 14px 0 12px; max-width: 14ch; }
.visit p { margin: 0; max-width: 26rem; opacity: .7; }
.visit__go { position: absolute; right: 34px; bottom: 30px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; border: 1px solid currentColor; opacity: .7; transition: transform .5s var(--ease), opacity .3s, background .3s, color .3s; }
.visit:hover .visit__go { transform: translateX(6px); opacity: 1; background: var(--accent-soft); color: var(--dark); border-color: var(--accent-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-card--sound { grid-template-columns: 1fr; }
  .finishes { grid-template-columns: repeat(2, 1fr); }
  .care { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .s-hero { padding-bottom: 20px; }
  .s-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .s-hero__visual { height: 62vh; min-height: 420px; margin: 20px -24px 0; }
  .s-badges { gap: 28px; margin-top: 40px; }
  .s-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .s-strip__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .s-strip__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .b-card--wide { grid-template-columns: 1fr; }
  .s-alloy__grid, .fit, .faq__grid { grid-template-columns: 1fr; }
  .faq__grid .section__head { position: static; }
  .stress__arena { grid-template-columns: 1fr 1fr; }
  .stress__vs { display: none; }
  .care__steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .s-hero__visual { margin-inline: -16px; min-height: 400px; }
  .s-badges strong { font-size: 2rem; }
  .s-finish { flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 22px; bottom: 0; }
  .s-finish__name { text-align: center; }
  .s-sw { width: 30px; height: 30px; }
  .s-stage__hint { display: none; }
  .s-strip__grid > div { padding: 28px 16px 30px; }
  .s-strip__grid > div:nth-child(odd) { padding-left: 0; }
  .bento, .finishes, .s-visit__grid, .shots { grid-template-columns: 1fr; }
  .b-card--wide, .b-card--sound { grid-column: auto; }
  .alloy__legend { grid-template-columns: 1fr; gap: 12px; }
  .stress__arena { grid-template-columns: 1fr; gap: 14px; }
  .rig { padding: 16px; }
  .rig__scene { height: 200px; }
  .rig__note { min-height: 0; }
  .stress__foot { flex-direction: column; align-items: flex-start; }
  .sound__btns { grid-template-columns: 1fr; }
  .faq__a p { padding-right: 0; }
}

@media (max-width: 900px) {
  .b-card--planet { grid-template-columns: 1fr; }
  .b-card--planet .b-card__icon { grid-row: auto; margin-bottom: 10px; }
  .b-card--planet h3, .b-card--planet p { grid-column: auto; grid-row: auto; }
}

