/* ===================================================================
   HENRIS AUTOMOBILER — Shared styles
   Brand: #0A0A0A black · #E30613 red · #FFFFFF white
   Type:  Montserrat (display) · Inter (body)
   =================================================================== */

:root {
  --black:   #0A0A0A;
  --red:     #E30613;
  --red-dk:  #b00510;
  --white:   #FFFFFF;
  --ink-1:   #141414;   /* raised dark surface */
  --ink-2:   #1d1d1d;   /* card on dark */
  --ink-3:   #2a2a2a;   /* hairline on dark */
  --gray-2:  #333333;
  --gray-3:  #666666;
  --gray-4:  #8a8a8a;
  --gray-5:  #b5b5b5;
  --gray-6:  #e7e7e7;
  --paper:   #f6f6f4;   /* light section bg */
  --paper-2: #efefec;
  --off-white: #FAFAF9;

  --font-display: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'Space Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --nav-h: 190px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--red); color: #fff; }

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px; height: 1.5px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.no-dash::before { display: none; }

.display {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-wrap: balance;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.015em; line-height: 1.05; }

.lead { color: var(--gray-3); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; max-width: 56ch; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); width: 100%; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 2px;
  transition: transform .4s var(--ease), background .25s, color .25s, box-shadow .35s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #fff; color: var(--black); }
.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { background: var(--red); color: #fff; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.06); }
.btn-outline { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--gray-5); }
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--black); background: rgba(10,10,10,.04); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: var(--red); }
.btn-ghost-light { background: transparent; color: rgba(255,255,255,.45); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.15); }
.btn-ghost-light:hover { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-sm { padding: 11px 18px; font-size: 11px; }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px; color: var(--black);
}
.link-arrow .arr { transition: transform .35s var(--ease); }
.link-arrow:hover .arr { transform: translateX(6px); }
.link-arrow.light { color: #fff; }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), border-color .45s, height .45s var(--ease);
  background: rgba(10,10,10,.94);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ink-3);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled { height: 64px; background: rgba(10,10,10,.9); }
.nav.transparent:not(.scrolled) {
  background: transparent; border-bottom-color: transparent; backdrop-filter: none;
}
.nav-logo svg { height: 34px; width: auto; transition: height .45s var(--ease); }
.nav.scrolled .nav-logo svg { height: 30px; }
.nav-logo img, .nav-logo .logo-img { height: 180px !important; width: 180px !important; object-fit: contain; transition: height .45s var(--ease); display: block; }
.nav.scrolled .nav-logo img, .nav.scrolled .nav-logo .logo-img { height: 150px !important; width: 150px !important; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gray-5); position: relative; padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--red); transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-fav { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.nav-fav svg { width: 19px; height: 19px; stroke: #fff; fill: none; transition: .2s; }
.nav-fav:hover { background: rgba(255,255,255,.1); }
.nav-fav.has svg { fill: var(--red); stroke: var(--red); }
.nav-fav-count { position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-family: var(--font-mono); font-size: 10px; display: none; place-items: center; }
.nav-fav.has .nav-fav-count { display: grid; }
.nav-phone {
  font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .03em;
  color: #fff; display: inline-flex; align-items: center; gap: 8px;
}
.nav-phone svg { width: 15px; height: 15px; stroke: var(--red); }
.nav-burger { display: none; width: 30px; height: 18px; position: relative; }
.nav-burger span { position: absolute; left: 0; right: 0; height: 2px; background: #fff; transition: .3s var(--ease); }
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 8px; }
.nav-burger span:nth-child(3) { top: 16px; }

/* =================================================================
   SECTIONS / shared
   ================================================================= */
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section.light { background: var(--paper); color: var(--black); }

.sec-head { max-width: 760px; }
.sec-head .display { font-size: clamp(34px, 5vw, 62px); margin: 22px 0 0; }
.sec-head .lead { margin-top: 22px; }

.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* ---- Reveal animation (base = VISIBLE; JS adds hidden start then reveals — fails open) ---- */
.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); will-change: opacity, transform; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =================================================================
   CAR CARD
   ================================================================= */
.car-card {
  background: var(--white);
  border: 1px solid var(--gray-6);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s;
  position: relative;
}
.car-card:hover { transform: translateY(-6px); border-color: var(--gray-5); box-shadow: 0 26px 50px -28px rgba(10,10,10,.28); }
.car-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.car-media image-slot { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.car-card:hover .car-media image-slot { transform: scale(1.05); }
.car-badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 11px; border-radius: 2px;
}
.car-badge.new { background: var(--red); color: #fff; }
.car-badge.used { background: rgba(255,255,255,.92); color: var(--black); }
.car-fav {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(10,10,10,.55); backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: .25s;
}
.car-fav svg { width: 17px; height: 17px; stroke: #fff; fill: none; transition: .25s; }
.car-fav:hover { background: var(--red); }
.car-fav.on svg { fill: var(--red); stroke: var(--red); }
.car-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.car-title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.car-sub { font-size: 13px; color: var(--gray-3); margin-top: 2px; }
.car-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.car-spec {
  font-size: 11.5px; color: var(--gray-2); background: var(--paper); border: 1px solid var(--gray-6);
  padding: 5px 9px; border-radius: 2px; display: inline-flex; gap: 6px; align-items: center;
}
.car-spec svg { width: 13px; height: 13px; stroke: var(--gray-3); fill: none; }
.car-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--gray-6); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.car-price { font-family: var(--font-display); font-weight: 900; font-size: 23px; letter-spacing: -.02em; }
.car-price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 11px; color: var(--gray-3); letter-spacing: .04em; margin-top: 3px; }
.car-see { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-3); display: inline-flex; align-items: center; gap: 7px; transition: color .3s var(--ease); flex-shrink: 0; }
.car-see svg { width: 15px; height: 15px; stroke: var(--red); fill: none; transition: transform .35s var(--ease); }
.car-card:hover .car-see { color: var(--black); }
.car-card:hover .car-see svg { transform: translateX(4px); }
.car-card .stretch { position: absolute; inset: 0; z-index: 2; }

/* =================================================================
   FOOTER
   ================================================================= */
/* ---- FOOTER ---- */
.footer { background: #0A0A0A; color: #fff; }

/* Hero strip */
.footer-hero {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: clamp(60px,8vw,100px) 0 clamp(48px,6vw,72px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-tagline {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(32px, 5.5vw, 72px);
  letter-spacing: -.04em;
  line-height: .95;
  color: #fff;
  max-width: 18ch;
}
.footer-tagline em { color: var(--red); font-style: normal; }
.footer-cta-wrap { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.footer-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 18px 32px;
  text-decoration: none;
  transition: background .25s, gap .25s;
  white-space: nowrap;
}
.footer-cta:hover { background: #c00010; gap: 20px; }
.footer-cta svg { transition: transform .3s; }

/* Main grid */
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 56px;
  padding: 56px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-logo { display: block; margin-bottom: 20px; }
.footer-logo svg { height: 34px; width: auto; }
.footer-blurb { color: rgba(255,255,255,.35); font-size: 13.5px; line-height: 1.65; max-width: 28ch; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.25);
  margin-bottom: 24px;
  display: block;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-col ul a {
  color: rgba(255,255,255,.55);
  font-size: 14px;
  transition: color .2s;
  position: relative;
  display: inline-block;
}
.footer-col ul a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width .3s;
}
.footer-col ul a:hover { color: #fff; }
.footer-col ul a:hover::after { width: 100%; }
.footer-contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.footer-contact-icon svg { width: 14px; height: 14px; stroke: var(--red); fill: none; }
.footer-contact-text { display: flex; flex-direction: column; gap: 2px; }
.footer-contact-text a,
.footer-contact-text span { color: rgba(255,255,255,.55); font-size: 13.5px; line-height: 1.5; transition: color .2s; }
.footer-contact-text a:hover { color: #fff; }
.footer-contact-text small { color: rgba(255,255,255,.25); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; display: block; margin-bottom: 3px; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: rgba(255,255,255,.2); font-size: 12px; letter-spacing: .02em; font-family: var(--font-mono); }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.1);
  display: grid;
  place-items: center;
  transition: background .25s, border-color .25s;
}
.footer-socials a:hover { background: var(--red); border-color: var(--red); }
.footer-socials svg { width: 15px; height: 15px; fill: rgba(255,255,255,.4); transition: fill .25s; }
.footer-socials a:hover svg { fill: #fff; }

@media (max-width: 860px) {
  .footer-hero { flex-direction: column; align-items: flex-start; }
  .footer-cta-wrap { align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .footer-main { grid-template-columns: 1fr; }
}

/* =================================================================
   Mobile menu
   ================================================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 1500; background: rgba(10,10,10,.98);
  backdrop-filter: blur(8px); display: flex; flex-direction: column;
  padding: 30px var(--pad); transform: translateY(-100%); transition: transform .5s var(--ease);
}
.mobile-menu.open { transform: none; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; height: var(--nav-h); }
.mobile-menu-close { width: 30px; height: 30px; position: relative; }
.mobile-menu-close span { position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: #fff; }
.mobile-menu-close span:nth-child(1) { transform: rotate(45deg); }
.mobile-menu-close span:nth-child(2) { transform: rotate(-45deg); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; margin-top: 40px; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.01em;
  color: #fff; padding: 12px 0; border-bottom: 1px solid var(--ink-3);
}
.mobile-menu nav a:hover { color: var(--red); }

@media (max-width: 920px) {
  .nav-links, .nav-phone { display: none; }
  .nav-burger { display: block; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* =================================================================
   MOTION LAYER — cursor, reveals, parallax, progress, h-gallery
   ================================================================= */

/* ---- Scroll progress (top hairline) ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 2000;
  background: var(--red); will-change: transform;
}

/* ---- Custom cursor (desktop pointer only) ---- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 3000; pointer-events: none; border-radius: 50%; mix-blend-mode: normal; }
.cursor-dot { width: 7px; height: 7px; background: var(--red); margin: -3.5px 0 0 -3.5px; transition: opacity .3s, transform .2s var(--ease); }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(10,10,10,.32);
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s, opacity .3s;
  display: grid; place-items: center;
}
.cursor-ring .clabel { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: var(--red); border-color: var(--red); }
.cursor-ring.labeled { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--red); border-color: var(--red); }
.cursor-ring.labeled .clabel { opacity: 1; }
.cursor-ring.on-dark { border-color: rgba(255,255,255,.4); }
body.cursor-on, body.cursor-on * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } body.cursor-on, body.cursor-on * { cursor: auto !important; } }

/* ---- Word / line reveal (base = VISIBLE; JS drives hide + reveal inline) ---- */
[data-reveal] .rln { display: block; }
[data-reveal] .rln > i { display: inline-block; font-style: inherit; transition: opacity .85s var(--ease), transform .85s var(--ease); will-change: opacity, transform; }
[data-reveal] .rw { display: inline-block; vertical-align: top; }
[data-reveal] .rw > i { display: inline-block; font-style: inherit; transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] .rln > i, [data-reveal] .rw > i { opacity: 1 !important; transform: none !important; }
}

/* ---- Parallax ---- */
[data-parallax] { will-change: transform; }

/* ---- Editorial helpers ---- */
.mono { font-family: var(--font-mono); }
.overline { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-3); }
.bignum { font-family: var(--font-display); font-weight: 900; line-height: .85; letter-spacing: -.04em; }
.hairline { height: 1px; background: var(--gray-6); width: 100%; }

/* ---- Magnetic ---- */
.magnetic { will-change: transform; }

/* =================================================================
   HORIZONTAL PINNED GALLERY
   ================================================================= */
.hgallery { position: relative; background: var(--black); color: #fff; }
.hg-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hg-track { display: flex; align-items: stretch; height: 100%; will-change: transform; }
.hg-intro { flex: 0 0 auto; width: min(46vw, 600px); height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 0 clamp(28px, 5vw, 90px); }
.hg-intro .eyebrow { color: var(--red); }
.hg-intro h2 { font-size: clamp(40px, 6vw, 88px); font-weight: 900; letter-spacing: -.03em; line-height: .92; margin: 22px 0 26px; color: #fff; }
.hg-intro p { color: var(--gray-5); max-width: 38ch; margin-bottom: 30px; }
.hg-drag { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-4); }
.hg-drag .ln { width: 60px; height: 1px; background: var(--gray-3); position: relative; overflow: hidden; }
.hg-drag .ln::after { content: ''; position: absolute; inset: 0; left: -100%; background: var(--red); animation: dragline 2.4s var(--ease) infinite; }
@keyframes dragline { 0% { left: -100%; } 60%,100% { left: 100%; } }

.hg-panel { flex: 0 0 auto; width: min(40vw, 560px); height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vh, 90px) clamp(24px, 3vw, 46px); border-left: 1px solid var(--ink-3); position: relative; }
.hg-panel .pnum { font-family: var(--font-mono); font-size: 13px; color: var(--red); letter-spacing: .1em; }
.hg-panel .pmedia { position: relative; aspect-ratio: 4/3; margin: 22px 0; overflow: hidden; border-radius: 4px; background: var(--ink-2); }
.hg-panel .pmedia image-slot { width: 100%; height: 100%; }
.hg-panel .pmedia .pbadge { position: absolute; top: 14px; left: 14px; z-index: 3; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px; }
.hg-panel .pmedia .pbadge.new { background: var(--red); color: #fff; }
.hg-panel .pmedia .pbadge.used { background: rgba(255,255,255,.92); color: var(--black); }
.hg-panel .pbrand { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gray-4); }
.hg-panel h3 { font-size: clamp(24px, 2.4vw, 34px); font-weight: 900; letter-spacing: -.02em; margin: 8px 0 14px; color: #fff; line-height: 1; }
.hg-panel .pspecs { display: flex; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--gray-5); margin-bottom: 20px; }
.hg-panel .pspecs span b { color: #fff; font-weight: 400; }
.hg-panel .pfoot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--ink-3); }
.hg-panel .pprice { font-family: var(--font-display); font-weight: 900; font-size: 24px; letter-spacing: -.02em; color: #fff; }
.hg-panel .psee { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-4); display: inline-flex; gap: 8px; align-items: center; transition: color .3s; }
.hg-panel:hover .psee { color: var(--red); }
.hg-panel .pstretch { position: absolute; inset: 0; z-index: 4; }
.hg-end { flex: 0 0 auto; width: min(34vw, 460px); height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 clamp(28px, 4vw, 70px); border-left: 1px solid var(--ink-3); }
.hg-end h3 { font-size: clamp(28px, 3vw, 44px); font-weight: 900; letter-spacing: -.02em; color: #fff; line-height: .98; margin-bottom: 28px; }

/* horizontal gallery fallback (mobile / no-pin) */
.hgallery.no-pin { height: auto !important; }
.hgallery.no-pin .hg-pin { position: static; height: auto; display: block; }
.hgallery.no-pin .hg-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; }
.hgallery.no-pin .hg-intro, .hgallery.no-pin .hg-panel, .hgallery.no-pin .hg-end { height: auto; min-height: 78vh; scroll-snap-align: start; }
.hgallery.no-pin .hg-intro { width: 86vw; }
.hgallery.no-pin .hg-panel { width: 84vw; }
.hgallery.no-pin .hg-end { width: 80vw; }
