/* Bigfoot Truck Beds, home page v3. Loads after site.css and shop.css. Every class is v3- prefixed.
   Part 1: tokens, page chrome, the story (hero + scroll-driven model). */

.v3 {
  --v3-gut: max(20px, 3.4vw);
  --v3-demo: 0px;                          /* only non-zero if the demo-note bar is ever made fixed; set by page.js */
  --v3-paper: #e6e9ec;
  --v3-ink: #0b0d0f;
  --v3-ink-soft: #3c444c;
  --v3-rule: rgba(11, 13, 15, .16);
  --v3-out: cubic-bezier(0.23, 1, 0.32, 1);
  --v3-inout: cubic-bezier(0.77, 0, 0.175, 1);
}
html { scrollbar-color: #3a4047 #07080a; }
.v3 ::selection { background: #EDC108; color: #161200; }
.v3 :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.v3 .v3-light :focus-visible, .v3 .v3-cta :focus-visible { outline-color: var(--v3-ink); }
.v3 main { overflow: clip; }
.v3 dl, .v3 dd, .v3 ol, .v3 figure { margin: 0; padding: 0; }
.v3 ol { list-style: none; }
.v3 .btn:active, .v3-btn-ink:active { transform: scale(0.97); }

/* ---------- story: still layout is the default ---------- */
.v3-story { position: relative; }
.v3-pin { position: relative; }
.v3-stage {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden;
  background:
    radial-gradient(58% 46% at 64% 62%, rgba(132, 150, 170, .22), rgba(132, 150, 170, 0) 72%),
    radial-gradient(40% 30% at 10% 8%, rgba(237, 193, 8, .06), rgba(237, 193, 8, 0) 70%),
    linear-gradient(#0b0d10, #07080a 78%);
}
.v3-canvas { position: absolute; inset: 0; z-index: 1; }
.v3-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.v3-fallback { position: absolute; right: 1%; top: 53%; width: min(64vw, 1180px); transform: translateY(-50%); }
html.v3-gl .v3-fallback { display: none; }

.v3-dims { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.v3-dim line { stroke: var(--gold); stroke-width: 1; }
.v3-dim .v3-ext { stroke: rgba(237, 193, 8, .55); stroke-dasharray: 3 5; }
.v3-lead line { stroke: rgba(238, 242, 245, .6); stroke-width: 1; }
.v3-lead circle { fill: var(--gold); }
.v3-dim text, .v3-lead text {
  font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; fill: #eef2f5;
  paint-order: stroke; stroke: #07080a; stroke-width: 4px; stroke-linejoin: round;
}
.v3-dim text { fill: var(--gold-2); }

/* ghost words behind the model, live mode only */
.v3-ghost { position: absolute; inset: 0; z-index: 0; display: none; pointer-events: none; }
.v3-ghost span {
  position: absolute; left: 30vw; top: 40%; margin-top: -11vw; opacity: 0; white-space: nowrap;
  font-family: var(--disp); font-weight: 800; font-size: 25vw; line-height: .8; letter-spacing: -0.03em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1px rgba(238, 242, 245, .24); will-change: transform, opacity;
}

/* HUD frame */
.v3-hud { position: absolute; z-index: 2; pointer-events: none; inset: calc(var(--nav-h) + 14px) 20px calc(var(--v3-demo) + 14px) 20px; }
.v3-hud .c { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(238, 242, 245, .38); }
.v3-hud .tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.v3-hud .tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.v3-hud .bl { left: 0; bottom: 0; border-left-width: 1px; border-bottom-width: 1px; }
.v3-hud .br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }
.v3-hud span { position: absolute; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #8a939c; white-space: nowrap; }
.v3-hud-a { right: 34px; top: 4px; }
.v3-hud-b { right: 6px; top: 50%; writing-mode: vertical-rl; transform: translateY(-50%); }

/* hero copy */
.v3-hero-ui {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  padding: calc(var(--nav-h) + 5.2vh) var(--v3-gut) calc(var(--v3-demo) + 30px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto; column-gap: 3vw;
}
.v3-hero-ui > * { pointer-events: auto; }
.v3-h1 { grid-column: 1 / -1; font-size: 4.5rem; line-height: .84; letter-spacing: -0.024em; margin: 0; pointer-events: none; }
.v3-h1 span { display: block; width: max-content; max-width: 100%; }
.v3-h1 span:nth-child(2) { margin-left: 4.2vw; }
.v3-h1 span:nth-child(3) { margin-left: 8.4vw; }
.v3-h1 .g { color: var(--gold); }
.v3-hero-foot { grid-column: 1; grid-row: 3; align-self: end; max-width: 25rem; padding-bottom: 1.7rem; }
.v3-hero-lead { font-size: 1.08rem; line-height: 1.5; color: #c3cad1; margin-bottom: 1.5rem; }
.v3-hero-foot .btn { white-space: nowrap; transition: transform 160ms var(--v3-out), background-color 160ms ease; }
.v3-model-note { grid-column: 2; grid-row: 3; align-self: end; max-width: 17rem; text-align: right; text-wrap: balance; font-size: 12.5px; line-height: 1.45; color: #98a1aa; padding-bottom: 1.7rem; }
.v3-specrow {
  grid-column: 1 / -1; grid-row: 4; padding-top: .85rem; border-top: 1px solid var(--line-2);
  display: flex; flex-wrap: wrap; gap: .5rem 3.2vw;
}
.v3-specrow div { display: flex; align-items: baseline; gap: .7em; }
.v3-specrow dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7b848d; }
.v3-specrow dd { font-family: var(--mono); font-size: 12.5px; letter-spacing: .02em; color: #dfe5ea; font-variant-numeric: tabular-nums; }

/* progress ticks, live mode only */
.v3-ticks { position: absolute; z-index: 3; right: 22px; bottom: calc(var(--v3-demo) + 9.5rem); display: none; flex-direction: column; gap: 9px; align-items: flex-end; }
.v3-ticks i { display: block; width: 14px; height: 2px; background: rgba(238, 242, 245, .28); transform-origin: right center; transition: transform 260ms var(--v3-out), background-color 260ms ease; }
.v3-ticks i.on { background: var(--gold); transform: scaleX(2.4); }

/* steps: still layout = a plain ruled list under the hero */
.v3-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); padding: 0 var(--v3-gut); }
.v3-steps li { padding: 2.2rem 2rem 3rem 0; }
.v3-steps li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
.v3-step-n { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--gold); margin-bottom: .9rem; }
.v3-steps h2 { font-size: 2.3rem; line-height: .88; margin: 0 0 .8rem; }
.v3-steps p { font-size: .98rem; line-height: 1.5; color: #b4bcc4; max-width: 36ch; }
.v3-steps a { color: var(--text); border-bottom: 1px solid var(--gold); padding-bottom: 1px; white-space: nowrap; }

/* ---------- story: live layout (WebGL + motion allowed) ---------- */
html.v3-live .v3-story { height: calc(100svh + 330vh); }
html.v3-live .v3-pin { position: sticky; top: 0; height: 100svh; min-height: 0; overflow: hidden; }
html.v3-live .v3-stage { height: 100%; min-height: 0; }
html.v3-live .v3-ghost { display: block; }
html.v3-live .v3-ticks { display: flex; }
html.v3-live .v3-steps {
  display: block; position: absolute; z-index: 4; left: var(--v3-gut); bottom: calc(var(--v3-demo) + 6rem);
  width: min(31rem, calc(100% - 2 * var(--v3-gut))); padding: 0; border: 0; pointer-events: none;
}
html.v3-live .v3-steps li { position: absolute; left: 0; bottom: 0; width: 100%; padding: 0; border: 0; opacity: 0; visibility: hidden; will-change: transform, opacity; }
html.v3-live .v3-steps li a { pointer-events: auto; }
html.v3-live .v3-step-n { font-size: 12px; margin-bottom: 1rem; }
html.v3-live .v3-step-n::after { content: " / 04"; color: #6d757e; }
html.v3-live .v3-steps h2 { font-size: 4.7rem; line-height: .84; letter-spacing: -0.026em; margin-bottom: 1.1rem; }
html.v3-live .v3-steps p { font-size: 1.08rem; color: #c9d0d6; max-width: 34ch; }

@media (max-width: 760px) {
  .v3-stage { min-height: 560px; background:
    radial-gradient(90% 34% at 50% 60%, rgba(132, 150, 170, .22), rgba(132, 150, 170, 0) 72%),
    linear-gradient(#0b0d10, #07080a 78%); }
  .v3-fallback { right: auto; left: 50%; top: 50%; width: 118vw; max-width: none; transform: translate(-50%, -50%); }
  .v3-hud { inset: calc(var(--nav-h) + 8px) 10px calc(var(--v3-demo) + 8px) 10px; }
  .v3-hud span { display: none; }
  .v3-hud .c { width: 12px; height: 12px; }
  .v3-hero-ui { padding: calc(var(--nav-h) + 22px) 20px calc(var(--v3-demo) + 22px); grid-template-columns: minmax(0, 1fr); }
  .v3-h1 { font-size: 2.95rem; line-height: .86; }
  .v3-h1 span:nth-child(2) { margin-left: 7vw; }
  .v3-h1 span:nth-child(3) { margin-left: 14vw; }
  .v3-hero-foot { max-width: none; padding-bottom: 0; }
  .v3-hero-lead { font-size: 15px; line-height: 1.45; margin-bottom: 14px; max-width: 34ch; }
  .v3-hero-foot .btn { width: 100%; justify-content: center; }
  .v3-model-note { grid-column: 1; grid-row: 4; text-align: left; max-width: none; margin-top: 10px; padding-bottom: 0; font-size: 11.5px; }
  .v3-specrow { display: none; }
  .v3-ticks { right: 12px; bottom: auto; top: calc(var(--nav-h) + 30px); }
  .v3-ghost span { font-size: 40vw; top: 34%; margin-top: 0; left: 4vw; -webkit-text-stroke-color: rgba(238, 242, 245, .15); }
  .v3-dim text, .v3-lead text { font-size: 10px; letter-spacing: .06em; }
  .v3-steps { grid-template-columns: minmax(0, 1fr); }
  .v3-steps li { padding: 1.6rem 0 1.8rem; }
  .v3-steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  html.v3-live .v3-story { height: calc(100svh + 300svh); }
  html.v3-live .v3-steps { left: 20px; bottom: calc(var(--v3-demo) + 26px); width: calc(100% - 40px); }
  html.v3-live .v3-steps li + li { border-top: 0; }
  html.v3-live .v3-steps h2 { font-size: 3.9rem; margin-bottom: .8rem; }
  html.v3-live .v3-steps p { font-size: 15px; line-height: 1.45; }
}

/* ==========================================================================
   Part 2: the sections under the story. Light and dark grounds alternate.
   ========================================================================== */
.v3-light { background: var(--v3-paper); color: var(--v3-ink); }
.v3-light h2 { color: var(--v3-ink); }
.v3-light a { border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- fit: true-scale plan drawing ---------- */
.v3-fit { padding: 7rem 0 6.5rem; }
.v3-fit-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 4vw; align-items: start; }
.v3-fit-left { min-width: 0; }
.v3-fit-h { font-size: 4.6rem; line-height: .84; letter-spacing: -0.024em; margin: 0 0 2.4rem; padding-left: var(--v3-gut); }
.v3-plan { color: var(--v3-ink); }
.v3-plan svg { display: block; width: 100%; height: auto; }
.v3-plan .cab { fill: rgba(11, 13, 15, .06); stroke: rgba(11, 13, 15, .55); stroke-width: .7; }
.v3-plan .cabt { font-family: var(--mono); font-size: 4px; letter-spacing: .5px; fill: rgba(11, 13, 15, .6); }
.v3-plan-sizes rect { fill: none; stroke: rgba(11, 13, 15, .4); stroke-width: .6; transition: fill 180ms ease, stroke 180ms ease; }
.v3-plan-sizes rect.on { fill: #EDC108; stroke: #0b0d0f; stroke-width: 1; }
.v3-plan-active { font-family: var(--mono); font-size: 6px; font-weight: 600; fill: #161200; }
.v3-plan-ticks text { font-family: var(--mono); font-size: 4px; fill: rgba(11, 13, 15, .55); }
.v3-plan-ticks text.on { fill: #0b0d0f; font-weight: 600; }
.v3-plan figcaption { padding: .9rem var(--v3-gut) 0; font-size: 12.5px; color: var(--v3-ink-soft); }

.v3-fit-right { padding-right: var(--v3-gut); padding-top: .7rem; }
.v3-fit-lead { font-size: 1.14rem; line-height: 1.5; color: var(--v3-ink-soft); max-width: 40ch; margin-bottom: 2rem; }
.v3-fit-rows { border-top: 1px solid var(--v3-ink); }
.v3-fit-rows button {
  position: relative; display: grid; grid-template-columns: 8.4em minmax(0, 1fr); gap: 1rem; align-items: baseline;
  width: 100%; padding: .95rem .9rem; border: 0; border-bottom: 1px solid var(--v3-rule); border-radius: 0;
  background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.v3-fit-rows b { font-family: var(--mono); font-weight: 600; font-size: 14px; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.v3-fit-rows span { font-size: .95rem; line-height: 1.35; color: var(--v3-ink-soft); }
.v3-fit-rows button.on { background: var(--v3-ink); color: #eef2f5; }
.v3-fit-rows button.on span { color: #b9c1c8; }
.v3-fit-foot { margin-top: 1.4rem; font-size: .98rem; color: var(--v3-ink-soft); }
.v3-fit-foot a { color: var(--v3-ink); font-weight: 600; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .v3-fit-rows button:not(.on):hover { background: rgba(11, 13, 15, .07); }
}

/* ---------- lineup: five names, one stage ---------- */
.v3-lineup { padding: 7.5rem 0 7rem; }
.v3-lineup-grid { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.6fr); column-gap: 3vw; padding: 0 var(--v3-gut); align-items: start; }
.v3-lineup-h { font-size: 1.9rem; line-height: .92; letter-spacing: -0.01em; margin: 0 0 2.4rem; max-width: 9ch; color: #c9d0d6; }
.v3-tabs { display: flex; flex-direction: column; align-items: flex-start; }
.v3-tabs button {
  position: relative; appearance: none; border: 0; border-radius: 0; background: none; padding: 0; margin: 0; cursor: pointer;
  font-family: var(--disp); font-weight: 800; font-size: 6.4rem; line-height: .86; letter-spacing: -0.03em; text-transform: uppercase;
  color: rgba(238, 242, 245, .4); transition: color 200ms ease, transform 260ms var(--v3-out);
}
.v3-tabs button[aria-selected="true"] { color: #eef2f5; transform: translateX(1.5rem); }
.v3-tabs button[aria-selected="true"]::before { content: ""; position: absolute; left: -1.5rem; top: .15em; bottom: .09em; width: 6px; background: var(--gold); }
@media (hover: hover) and (pointer: fine) {
  .v3-tabs button:not([aria-selected="true"]):hover { color: rgba(238, 242, 245, .72); }
}
html.v3-js .v3-bed { display: none; }
html.v3-js .v3-bed.is-on { display: block; }
.v3-bed + .v3-bed { margin-top: 4rem; }
html.v3-js .v3-bed + .v3-bed { margin-top: 0; }
.v3-bed-art {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2);
  background: radial-gradient(62% 56% at 50% 64%, rgba(132, 150, 170, .2), rgba(132, 150, 170, 0) 72%);
}
.v3-bed-ghost { display: none; }
.v3-bed-art img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.v3-bed-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 4vw; padding-top: 1.8rem; align-items: start; }
.v3-bed-body h3 { grid-column: 1; font-size: 2.3rem; line-height: .9; margin: 0 0 .9rem; }
.v3-bed-body h3 small { display: block; margin-top: .7rem; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--gold); }
.v3-bed-body > p { grid-column: 1; font-size: 1.05rem; line-height: 1.5; color: #b4bcc4; max-width: 38ch; }
.v3-bed-body dl { grid-column: 2; grid-row: 1 / span 3; border-top: 1px solid var(--line-2); }
.v3-bed-body dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid var(--line); }
.v3-bed-body dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #8a939c; }
.v3-bed-body dd { font-family: var(--mono); font-size: 13.5px; color: #eef2f5; font-variant-numeric: tabular-nums; }
.v3-bed-body .v3-bed-fits { margin-top: 1.2rem; font-size: .95rem; color: #98a1aa; }
.v3-bed-fits a { color: var(--text); font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 1px; white-space: nowrap; }
.v3-beds-note { margin-top: 2.2rem; font-size: 12.5px; color: #8a939c; }
@keyframes v3-bed-in { from { opacity: 0; transform: translateX(2.5%); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html.v3-js .v3-bed.is-on .v3-bed-art img { animation: v3-bed-in 420ms var(--v3-out) both; }
}

/* ---------- standard build: spec sheet + paint ---------- */
.v3-std { padding: 7rem 0 7.5rem; }
.v3-std-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 6vw; padding: 0 var(--v3-gut); align-items: start; }
.v3-std-h { font-size: 3.5rem; line-height: .86; letter-spacing: -0.02em; max-width: 11ch; margin: 0 0 2.6rem; }
.v3-sheet { border-top: 1px solid var(--v3-ink); }
.v3-sheet div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--v3-rule); }
.v3-sheet dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--v3-ink-soft); }
.v3-sheet dd { font-size: 1.12rem; font-weight: 600; }
.v3-std-note { margin-top: 1.4rem; font-size: 12.5px; line-height: 1.5; color: var(--v3-ink-soft); max-width: 46ch; }
.v3-std-media { position: relative; padding-top: 1.2rem; }

/* sheared-corner media frame, shared by the standard and shop sections */
.v3-clip { position: relative; }
.v3-clip img, .v3-clip video {
  display: block; width: 100%; height: auto; aspect-ratio: var(--v3-ar, 4 / 3); object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px));
}
.v3-clip video { position: absolute; left: 0; top: 0; }
.v3-clip figcaption { margin-top: .8rem; font-size: 13px; line-height: 1.4; color: var(--v3-ink-soft); }
.v3-clip-weld figcaption { text-align: right; }
.v3-paint { position: relative; z-index: 1; margin: -5.4rem 0 0 -1.6rem; display: flex; flex-wrap: wrap; align-items: flex-end; }
.v3-paint i { display: block; width: 4.6rem; height: 6.2rem; background: var(--c); border: 1px solid rgba(11, 13, 15, .45); }
.v3-paint i:first-child { width: 6.4rem; height: 8.4rem; }
.v3-paint p { flex: 0 0 100%; margin: .9rem 0 0 1.6rem; font-size: .98rem; color: var(--v3-ink-soft); }

/* ---------- shop: full bleed ---------- */
.v3-shop { padding: 0 0 7rem; }
.v3-shop-wide { position: relative; height: 78vh; min-height: 420px; overflow: hidden; }
.v3-shop-wide img, .v3-shop-wide video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.v3-shop-wide::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(7, 8, 10, .35), rgba(7, 8, 10, 0) 28%, rgba(7, 8, 10, .5) 68%, #07080a); }
.v3-shop-wide figcaption { position: absolute; z-index: 1; right: var(--v3-gut); top: 1.4rem; font-size: 13px; color: #dfe5ea; }
.v3-shop-h { position: relative; z-index: 1; margin: -13vw 0 0; padding: 0 var(--v3-gut); font-size: 10.6vw; line-height: .8; letter-spacing: -0.03em; }
.v3-shop-h span { display: block; width: max-content; max-width: 100%; }
.v3-shop-h span:nth-child(2) { margin-left: 9vw; }
.v3-shop-h span:nth-child(3) { margin-left: 18vw; color: var(--gold); }
.v3-shop-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 2vw; padding: 4.5rem var(--v3-gut) 0; align-items: start; }
.v3-shop-lead { grid-column: 1 / 6; align-self: end; font-size: 1.08rem; line-height: 1.5; color: #b4bcc4; max-width: 30rem; padding-bottom: 2.6rem; }
.v3-shop-lead b { display: block; font-family: var(--disp); font-weight: 700; font-size: 2.3rem; line-height: .98; letter-spacing: -0.012em; text-transform: uppercase; color: #eef2f5; max-width: 16ch; margin-bottom: 1.1rem; }
.v3-clip-a { grid-column: 6 / 10; --v3-ar: 4 / 5; }
.v3-clip-b { grid-column: 10 / 13; --v3-ar: 1 / 1; margin-top: 7rem; }
.v3-shop .v3-clip figcaption { color: #98a1aa; }
.v3-shop .v3-clip figcaption b { display: block; font-family: var(--disp); font-weight: 800; font-size: 1.25rem; letter-spacing: 0; text-transform: uppercase; color: #eef2f5; margin-bottom: .15rem; }

/* ---------- questions ---------- */
.v3-faq { padding: 7rem 0 7.5rem; }
.v3-faq-grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); column-gap: 5vw; padding: 0 var(--v3-gut); align-items: start; }
.v3-faq-h { position: sticky; top: calc(var(--nav-h) + 2rem); font-size: 3.2rem; line-height: .86; letter-spacing: -0.02em; max-width: 8ch; margin: 0; }
.v3-faq-list { border-top: 1px solid var(--v3-ink); }
.v3-qa { border-bottom: 1px solid var(--v3-rule); }
.v3-qa summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 16px; gap: 1.5rem; align-items: center; padding: 1.25rem 0; font-size: 1.18rem; font-weight: 600; line-height: 1.3; }
.v3-qa summary::-webkit-details-marker { display: none; }
.v3-qa summary::after {
  content: ""; width: 16px; height: 16px; transition: transform 220ms var(--v3-out);
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.v3-qa[open] summary::after { transform: rotate(45deg); }
.v3-qa p { padding: 0 3rem 1.5rem 0; max-width: 62ch; font-size: 1.02rem; line-height: 1.55; color: var(--v3-ink-soft); }

/* ---------- closing action ---------- */
.v3-cta { background: #EDC108; color: #161200; padding: 5.5rem 0 5rem; overflow: hidden; }
.v3-cta-in { padding: 0 var(--v3-gut); }
.v3-cta-h { font-size: 16.4vw; line-height: .78; letter-spacing: -0.035em; margin: 0 0 3rem -0.04em; color: #161200; white-space: nowrap; }
.v3-cta-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.6rem 4vw; border-top: 2px solid #161200; padding-top: 1.6rem; }
.v3-cta-side p { font-size: 1.2rem; line-height: 1.4; font-weight: 500; max-width: 32ch; }
.v3-cta-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 2rem; }
.v3-btn-ink {
  display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 2.1rem;
  background: #161200; color: #EDC108; font-family: var(--disp); font-weight: 800; font-size: 19px; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap; transition: transform 160ms var(--v3-out), background-color 160ms ease;
}
.v3-cta-tel { font-family: var(--disp); font-weight: 800; font-size: 2rem; letter-spacing: -0.01em; white-space: nowrap; border-bottom: 2px solid currentColor; }
@media (hover: hover) and (pointer: fine) {
  .v3-btn-ink:hover { background: #2a2400; }
}

/* ---------- in-view entrances: only when page.js says motion is allowed ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.v3-anim .v3-shop-h span, html.v3-anim .v3-cta-h { clip-path: inset(-20% 100% -20% 0); transition: clip-path 900ms var(--v3-inout); }
  html.v3-anim .v3-shop-h span:nth-child(2) { transition-delay: 90ms; }
  html.v3-anim .v3-shop-h span:nth-child(3) { transition-delay: 180ms; }
  html.v3-anim .v3-shop-h.is-in span, html.v3-anim .v3-cta-h.is-in { clip-path: inset(-20% -6% -20% 0); }
  html.v3-anim .v3-plan-sizes rect { opacity: 0; transition: opacity 420ms ease, fill 180ms ease, stroke 180ms ease; }
  html.v3-anim .v3-plan.is-in .v3-plan-sizes rect { opacity: 1; }
  html.v3-anim .v3-plan-sizes rect:nth-child(1) { transition-delay: 420ms, 0ms, 0ms; }
  html.v3-anim .v3-plan-sizes rect:nth-child(2) { transition-delay: 350ms, 0ms, 0ms; }
  html.v3-anim .v3-plan-sizes rect:nth-child(3) { transition-delay: 280ms, 0ms, 0ms; }
  html.v3-anim .v3-plan-sizes rect:nth-child(4) { transition-delay: 210ms, 0ms, 0ms; }
  html.v3-anim .v3-plan-sizes rect:nth-child(5) { transition-delay: 140ms, 0ms, 0ms; }
  html.v3-anim .v3-plan-sizes rect:nth-child(6) { transition-delay: 70ms, 0ms, 0ms; }
}

/* ---------- phone ---------- */
@media (max-width: 760px) {
  .v3-fit { padding: 4.6rem 0 4.4rem; }
  .v3-fit-grid { grid-template-columns: minmax(0, 1fr); row-gap: 2.4rem; }
  .v3-fit-h { font-size: 3.1rem; margin-bottom: 1.6rem; padding-left: 20px; }
  .v3-plan-active { font-size: 9px; }
  .v3-plan-ticks text { font-size: 7.5px; display: none; }
  .v3-plan-ticks text.on { display: block; }
  .v3-plan .cabt { font-size: 6px; }
  .v3-plan figcaption { padding: .7rem 20px 0; }
  .v3-fit-right { padding: 0 20px; }
  .v3-fit-lead { font-size: 15.5px; margin-bottom: 1.5rem; }
  .v3-fit-rows button { grid-template-columns: 7.6em minmax(0, 1fr); gap: .8rem; padding: .85rem .7rem; }
  .v3-fit-rows b { font-size: 13px; }
  .v3-fit-rows span { font-size: 13.5px; }

  .v3-lineup { padding: 4.8rem 0 4.6rem; }
  .v3-lineup-grid { grid-template-columns: minmax(0, 1fr); padding: 0 20px; }
  .v3-lineup-h { font-size: 1.5rem; max-width: none; margin-bottom: 1.3rem; }
  .v3-tabs { flex-direction: row; gap: 1.5rem; overflow-x: auto; margin: 0 -20px 1.6rem; padding: 0 20px .7rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .v3-tabs::-webkit-scrollbar { display: none; }
  .v3-tabs button { font-size: 3.3rem; flex: none; }
  .v3-tabs button[aria-selected="true"] { transform: none; }
  .v3-tabs button[aria-selected="true"]::before { left: 0; right: 0; top: auto; bottom: -.5rem; width: auto; height: 4px; }
  .v3-beds { margin: 0 -20px; }
  .v3-bed-art { aspect-ratio: 4 / 3; }
  .v3-bed-ghost {
    display: block; position: absolute; left: 12px; top: 10px; white-space: nowrap; pointer-events: none;
    font-family: var(--disp); font-weight: 800; font-size: 34vw; line-height: .8; letter-spacing: -0.03em; text-transform: uppercase;
    color: transparent; -webkit-text-stroke: 1px rgba(238, 242, 245, .12);
  }
  .v3-bed-body { grid-template-columns: minmax(0, 1fr); padding: 1.5rem 20px 0; }
  .v3-bed-body h3 { font-size: 2.2rem; }
  .v3-bed-body > p { font-size: 15.5px; }
  .v3-bed-body dl { grid-column: 1; grid-row: auto; margin-top: 1.4rem; }
  .v3-beds-note { padding: 0 20px; margin-top: 1.6rem; }

  .v3-std { padding: 4.6rem 0 4.8rem; }
  .v3-std-grid { grid-template-columns: minmax(0, 1fr); row-gap: 3rem; padding: 0 20px; }
  .v3-std-h { font-size: 2.9rem; margin-bottom: 1.8rem; }
  .v3-sheet div { grid-template-columns: 8.6em minmax(0, 1fr); padding: .85rem 0; }
  .v3-sheet dd { font-size: 15.5px; }
  .v3-std-media { padding-top: 0; }
  .v3-clip img, .v3-clip video { clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
  .v3-clip-weld figcaption { text-align: left; }
  .v3-paint { margin: 1.4rem 0 0; }
  .v3-paint i { width: 3.6rem; height: 4.8rem; }
  .v3-paint i:first-child { width: 5rem; height: 6.4rem; }
  .v3-paint p { margin-left: 0; font-size: 14.5px; }

  .v3-shop { padding-bottom: 4.6rem; }
  .v3-shop-wide { height: 56vh; min-height: 340px; }
  .v3-shop-wide figcaption { right: auto; left: 20px; top: calc(var(--nav-h) + 10px); font-size: 12px; }
  .v3-shop-h { font-size: 13.6vw; margin-top: -19vw; padding: 0 20px; }
  .v3-shop-h span:nth-child(2) { margin-left: 3vw; }
  .v3-shop-h span:nth-child(3) { margin-left: 6vw; }
  .v3-shop-grid { padding: 2.6rem 20px 0; column-gap: 12px; row-gap: 2.2rem; }
  .v3-shop-lead { grid-column: 1 / -1; font-size: 15px; padding-bottom: 0; }
  .v3-shop-lead b { font-size: 2.1rem; margin-bottom: 12px; }
  .v3 section[id] { scroll-margin-top: 56px; }
  .v3-clip-a { grid-column: 1 / 8; }
  .v3-clip-b { grid-column: 8 / 13; margin-top: 3.4rem; }
  .v3-shop .v3-clip figcaption { font-size: 12px; }
  .v3-shop .v3-clip figcaption b { font-size: 1.2rem; }

  .v3-faq { padding: 4.6rem 0 4.8rem; }
  .v3-faq-grid { grid-template-columns: minmax(0, 1fr); row-gap: 1.8rem; padding: 0 20px; }
  .v3-faq-h { position: static; font-size: 2.9rem; max-width: none; }
  .v3-qa summary { font-size: 16px; padding: 1.05rem 0; gap: 1rem; }
  .v3-qa p { padding-right: 0; font-size: 15px; }

  .v3-cta { padding: 4rem 0 3.6rem; }
  .v3-cta-in { padding: 0 20px; }
  .v3-cta-h { font-size: 17.4vw; margin-bottom: 2rem; }
  .v3-cta-side { grid-template-columns: minmax(0, 1fr); }
  .v3-cta-side p { font-size: 16px; }
  .v3-btn-ink { width: 100%; }
  .v3-cta-tel { font-size: 1.9rem; }
}
