/* InterCorp homepage opening: look B "Studio silver" tokens, shared by option A and option B. */
/* Geist (SIL OFL 1.1), self-hosted latin subset, variable weight: no third-party request holds the first paint. */
@font-face { font-family: "Geist"; src: url("../fonts/geist-latin-wght.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  --cyc-top: #ffffff; --cyc: #f5f5f7; --cyc-floor: #ededf0;
  --ink: #1d1d1f; --ink-2: #5f5f64; --ink-3: #6e6e73; --hair: rgba(0, 0, 0, .08); --white: #fff;
  --gold: #FBB600; --gold-ink: #1d1d1f;
  --r-pill: 999px; --r-card: 24px; --r-img: 16px;
  --glass: linear-gradient(180deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .46));
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(0, 0, 0, .04), inset 0 0 0 1px rgba(255, 255, 255, .5);
  --shadow-float: 0 1px 2px rgba(0, 0, 0, .05), 0 14px 34px -14px rgba(0, 0, 0, .20);
  --shadow-card: 0 1px 2px rgba(0, 0, 0, .05), 0 24px 48px -28px rgba(0, 0, 0, .28);
  --shadow-cta: 0 1px 1px rgba(0, 0, 0, .08), 0 10px 24px -12px rgba(164, 108, 0, .5);
  --font: "Geist", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { background: var(--cyc); }
body { margin: 0; font-family: var(--font); color: var(--ink); -webkit-font-smoothing: antialiased; }
::selection { background: rgba(251, 182, 0, .4); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-s, .sc-tag .ico, .pc-opts .via .ico { stroke-width: 2.4; } /* small icons keep the weight of their label */
:where(h1, h2, h3) { text-wrap: balance; }
h2 .sent { display: block; }

/* glass nav */
.nav { position: fixed; z-index: 20; top: 16px; left: 50%; transform: translateX(-50%); width: min(920px, calc(100vw - 32px)); height: 56px; border-radius: var(--r-pill);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 12px; padding: 0 8px 0 20px;
  background: var(--glass); -webkit-backdrop-filter: blur(26px) saturate(1.8); backdrop-filter: blur(26px) saturate(1.8); box-shadow: var(--glass-edge), var(--shadow-float); }
.nav .mark { height: 28px; width: auto; display: block; }
.nav .home { grid-column: 1; justify-self: start; }
.nav .links { grid-column: 2; display: flex; gap: 2px; white-space: nowrap; }
.nav a, .nav button { font: 500 14.5px/1 var(--font); color: var(--ink); text-decoration: none; background: none; border: 0; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 15px; border-radius: var(--r-pill); }
.nav .ico-s { width: 13px; height: 13px; color: var(--ink-3); }
.nav .right { grid-column: 3; justify-self: end; display: flex; gap: 4px; white-space: nowrap; }
.nav .right button { background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.nav .count { font: 600 11.5px/1 var(--font); font-variant-numeric: tabular-nums; background: var(--ink); color: var(--white); border-radius: var(--r-pill); min-width: 19px; height: 19px; display: inline-grid; place-items: center; padding: 0 5px; }

/* opening: a tall wrapper with a sticky studio stage */
.open { position: relative; height: 290vh; }
.stage { position: sticky; top: 0; height: 100vh; overflow: hidden;
  background:
    radial-gradient(58% 48% at 50% 44%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, var(--cyc-top) 0%, var(--cyc) 46%, var(--cyc-floor) 72%, var(--cyc) 100%); }

.copy { position: absolute; left: 0; right: 0; top: 63vh; text-align: center; z-index: 6; }
.line { margin: 0; font-size: clamp(22px, 2.1vw, 30px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.ships { margin: 10px 0 0; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.ships .ico { width: 17px; height: 17px; }
.ctas { margin-top: 26px; display: flex; justify-content: center; gap: 12px; }
.btn { height: 52px; padding: 0 24px; border-radius: var(--r-pill); border: 0; font: 600 16px/1 var(--font); display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--gold-ink); box-shadow: var(--shadow-cta), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-glass { color: var(--ink); background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--glass-edge), var(--shadow-float); }
.btn .ico { width: 20px; height: 20px; }
.cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: var(--ink-3); z-index: 6; }
.cue .track { width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .22); position: relative; }
.cue .track::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--ink-3); animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { transform: translateY(11px); opacity: 0; } 100% { opacity: 0; } }

/* InterCorp home v3: front face (B's rest state, a short CSS opening), the category ring, the vehicle finder.
   Tokens, nav and buttons come from ../home.css; the ring from warp.css. */

/* rest values are the initial values, so the page is complete with animations off */
@property --rev { syntax: '<number>'; inherits: true; initial-value: 140; }
@property --sh { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --dim { syntax: '<number>'; inherits: true; initial-value: 0; }

body { background: var(--cyc); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- glass nav: B's look, working links, 44 px hit areas ---------- */
.nav a, .nav button { position: relative; cursor: pointer; transition: background-color .2s var(--ease-out), transform .2s var(--ease-out); }
.nav a::after, .nav button::after { content: ""; position: absolute; inset: -2px 0; }
.nav .links a:hover { background: rgba(0, 0, 0, .05); }
.nav .right button:hover { background: rgba(255, 255, 255, .92); }
.nav a:active, .nav button:active { transform: scale(.97); transition-duration: 90ms; }
.nav a.home { padding: 0; height: 44px; }
.nav a.home:hover { background: none; }

/* ---------- 1. front face: one screen, B's studio, no scroll stage ---------- */
.open { height: auto; }
.stage { position: relative; height: 100vh; min-height: 680px; }

.dimmer { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: var(--dim);
  background: radial-gradient(70% 60% at 50% 42%, rgba(30, 32, 40, .05) 0%, rgba(30, 32, 40, .16) 100%); }
.logo-b { position: absolute; z-index: 4; left: 50%; width: 66vw; aspect-ratio: 445 / 167; top: calc(40vh - 66vw * 167 / 445 / 2); transform: translateX(-50%); }
.lyr { position: absolute; inset: 0; }
.lyr svg { display: block; width: 100%; height: 100%; overflow: visible; }
.shade { transform: translateY(6%); filter: blur(14px); opacity: calc(var(--sh) * .2); }
.shade path { fill: #0a2b6e; }
.relief path { fill: #e7e7ea; }
.relief svg { filter: drop-shadow(0 1.5px 0 rgba(255, 255, 255, 1)) drop-shadow(0 -1px 1px rgba(0, 0, 0, .10)); }
.col { --r: calc(var(--rev) * 1%); -webkit-mask-image: linear-gradient(100deg, #000 calc(var(--r) - 16%), transparent var(--r)); mask-image: linear-gradient(100deg, #000 calc(var(--r) - 16%), transparent var(--r)); }
.sheen path { fill: #fff; }
.sheen { --r: calc(var(--rev) * 1%); opacity: .8; -webkit-mask-image: linear-gradient(100deg, transparent calc(var(--r) - 20%), #000 calc(var(--r) - 9%), transparent calc(var(--r) - 1%)); mask-image: linear-gradient(100deg, transparent calc(var(--r) - 20%), #000 calc(var(--r) - 9%), transparent calc(var(--r) - 1%)); }
.beam { position: absolute; z-index: 1; top: -40vh; height: 180vh; width: 30vw; left: 2vw; pointer-events: none; transform: translateX(calc(var(--rev) * .66vw)) rotate(10deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .35) 25%, rgba(255, 255, 255, .95) 50%, rgba(255, 255, 255, .35) 75%, rgba(255, 255, 255, 0) 100%); opacity: calc(1 - var(--sh) * .55); }
.cue .track::after { animation: none; opacity: 1; }

/* buttons: B's styling; hover 200 ms, press .97 */
.btn { position: relative; cursor: pointer; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s var(--ease-out); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 1px 1px rgba(0, 0, 0, .08), 0 16px 30px -12px rgba(164, 108, 0, .58), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-glass:hover { transform: translateY(-1px); background: rgba(255, 255, 255, .86); }
.btn:active { transform: scale(.97); transition-duration: 90ms; }

/* the opening: light sweep reveals the logo, then the line, Ships from the USA, the buttons (70 ms apart) */
@keyframes ic-sweep { from { --rev: -25; --sh: 0; --dim: 1; } 70% { --sh: .7; } to { --rev: 140; --sh: 1; --dim: 0; } }
@keyframes ic-rise { from { opacity: 0; translate: 0 14px; } }
@media (prefers-reduced-motion: no-preference) {
  .ic-intro .stage { animation: ic-sweep 1.7s cubic-bezier(.45, .05, .25, 1) .1s both; }
  .ic-intro .line { animation: ic-rise .9s var(--ease-out) 1.15s both; }
  .ic-intro .ships { animation: ic-rise .9s var(--ease-out) 1.22s both; }
  .ic-intro .ctas .btn:nth-child(1) { animation: ic-rise .9s var(--ease-out) 1.29s both; }
  .ic-intro .ctas .btn:nth-child(2) { animation: ic-rise .9s var(--ease-out) 1.36s both; }
  .ic-intro .cue { animation: ic-rise .9s var(--ease-out) 1.43s both; }
  /* held on the first frame until the logo and the type are loaded */
  .ic-intro:not(.ic-play) :is(.stage, .line, .ships, .ctas .btn, .cue) { animation-play-state: paused; }
}

/* ---------- sections ---------- */
/* a jump lands the section at the nav's top edge (16 px); the 112 px top padding clears the 56 px glass nav,
   so the screen above the heading is this section's own background, never the end of the one before */
.sec { scroll-margin-top: 16px; padding: 112px 0 104px; }
.wrap { width: min(1312px, calc(100vw - 128px)); margin: 0 auto; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.sec h2 { margin: 0; font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -.04em; line-height: 1; }
.sec-head p { margin: 0; max-width: 44ch; font-size: 17px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

/* ---------- 2. shop by category (the ring) ---------- */
.shop { padding-bottom: 40px; }
.warp-dot { height: 44px; }
.warp-ind { top: 18px; }

/* ---------- 3. vehicle finder ---------- */
.fpanel { background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--glass-edge), var(--shadow-float); border-radius: 28px; padding: 18px 20px 20px; }
.fform { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.15fr) auto minmax(0, 1.45fr) auto; align-items: end; gap: 12px; }
.fld label { display: block; margin: 0 0 7px 4px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.ctl { position: relative; }
.ctl select, .ctl input { width: 100%; height: 52px; border: 0; border-radius: 16px; background: var(--white); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); font: 500 16px/1 var(--font); padding: 0 42px 0 16px;
  -webkit-appearance: none; appearance: none; transition: box-shadow .2s var(--ease-out), background-color .2s var(--ease-out); }
.ctl select { cursor: pointer; }
.ctl select:hover, .ctl input:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .24); }
.ctl select:focus-visible, .ctl input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.ctl select:disabled { cursor: not-allowed; color: var(--ink-3); background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06); }
.ctl .ico { position: absolute; right: 15px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink-3); }
.ctl.pn input { padding: 0 16px 0 46px; font-variant-numeric: tabular-nums; }
.ctl.pn input::placeholder { color: var(--ink-3); font-weight: 400; }
.ctl.pn .ico { left: 16px; right: auto; }
.or { height: 52px; display: grid; place-items: center; padding: 0 2px; font-size: 14px; color: var(--ink-3); }
.ghost { height: 52px; padding: 0 18px; border: 0; border-radius: var(--r-pill); background: none; color: var(--ink); font: 500 15px/1 var(--font); cursor: pointer;
  transition: background-color .2s var(--ease-out), transform .2s var(--ease-out); }
.ghost:hover { background: rgba(0, 0, 0, .05); }
.ghost:active, .chip:active, .pc-opts a:active, .ebtn:active { transform: scale(.97); transition-duration: 90ms; }

.fbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 30px 0 18px; }
.count { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.chips { display: flex; gap: 6px; }
.chip { height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair);
  font: 500 14.5px/1 var(--font); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out); }
.chip span { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.chip:hover { background: #fafafa; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .16); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: none; }
.chip[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }

.results { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.pc { display: flex; flex-direction: column; padding: 8px; border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-card);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.pc:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hair), 0 2px 4px rgba(0, 0, 0, .05), 0 34px 60px -30px rgba(0, 0, 0, .34); }
.pc-ph { position: relative; height: 220px; border-radius: 18px; overflow: hidden;
  background: radial-gradient(110% 85% at 50% 16%, #ffffff 0%, #f4f4f6 52%, #e8e8eb 100%); }
.pc-ph img { position: absolute; top: 7%; left: 14%; width: 72%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.pc-body { flex: 1; display: flex; flex-direction: column; padding: 14px 10px 6px; }
.pc-meta { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; color: var(--ink-3); }
.pc-pn { margin: 5px 0 0; font-size: 23px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.pc-fit { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }
.pc-eng { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-3); }
.pc-opts { list-style: none; margin: auto 0 0; padding: 14px 0 0; display: grid; gap: 4px; }
.pc-opts a, .pc-opts .na { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px 0 14px; border-radius: 14px; background: var(--cyc); color: var(--ink);
  text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background-color .15s var(--ease-out), transform .2s var(--ease-out); }
.pc-opts a:hover { background: #e9e9ec; }
.pc-opts b { margin-left: auto; font-weight: 600; font-variant-numeric: tabular-nums; }
.pc-opts .via { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-3); }
.pc-opts .via .ico { width: 13px; height: 13px; }
.pc-opts small { display: block; padding: 3px 14px 2px; font-size: 12px; line-height: 1.4; color: var(--ink-3); }

@keyframes ic-card { from { opacity: 0; translate: 0 8px; } }
@media (prefers-reduced-motion: no-preference) {
  .results.in > li { animation: ic-card .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
}

.empty { padding: 56px 32px 60px; border-radius: var(--r-card); background: var(--white); box-shadow: inset 0 0 0 1px var(--hair); text-align: center; }
.empty .ico { width: 34px; height: 34px; color: var(--ink-3); stroke-width: 1.5; }
.empty h3 { margin: 14px 0 0; font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.empty p { margin: 10px auto 0; max-width: 52ch; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.empty .acts { margin-top: 24px; display: flex; justify-content: center; gap: 10px; }
.ebtn { height: 48px; padding: 0 20px; border: 0; border-radius: var(--r-pill); font: 600 15px/1 var(--font); display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  background: var(--gold); color: var(--ink); transition: background-color .2s var(--ease-out), transform .2s var(--ease-out); }
.ebtn:hover { background: #EAA800; }
.ebtn.quiet { background: var(--cyc); color: var(--ink); }
.ebtn.quiet:hover { background: #e9e9ec; }
.ebtn .ico { width: 17px; height: 17px; }

/* ---------- footer ---------- */
.foot { padding: 34px 0 40px; border-top: 1px solid var(--hair); }
.foot-in { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--ink-2); }
.foot-in img { height: 24px; width: auto; display: block; }
.foot-in p { margin: 0; }
.foot-in nav { margin-left: auto; display: flex; gap: 2px; }
.foot-in nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); color: var(--ink); text-decoration: none; font-weight: 500;
  transition: background-color .2s var(--ease-out); }
.foot-in nav a:hover { background: rgba(0, 0, 0, .05); }
.foot-in .fine { color: var(--ink-3); }
