/* ============================================================
   Ocean Specialty Vinyl Films — shared design system
   Navy + white base · teal only for action · generous space
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --navy:      #0E2A3B;
  --navy-800:  #102F42;
  --navy-700:  #16384C;
  --navy-600:  #1E4A60;
  --teal:      #16C7C0;
  --teal-600:  #11A9A3;
  --teal-700:  #0E8E89;
  --steel:     #5B6B75;
  --steel-300: #8E9BA3;
  --mist:      #F4F6F7;
  --mist-200:  #E7EBED;
  --line:      #DDE3E6;
  --white:     #FFFFFF;
  --ink:       #122430;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 56px);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(14,42,59,.06), 0 2px 8px rgba(14,42,59,.05);
  --shadow-md: 0 4px 14px rgba(14,42,59,.08), 0 12px 36px rgba(14,42,59,.06);

  --ease: cubic-bezier(.32,.72,.36,1);

  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: #DCE6EC; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--teal);
}
.section--navy .eyebrow { color: var(--teal); }

.lede {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
  color: var(--steel);
  max-width: 60ch;
}
.section--navy .lede { color: #A9BcC8; color: #9FB4C0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--teal { background: var(--teal); color: var(--navy); }
.btn--teal:hover { background: var(--teal-600); }

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,.32);
  color: #fff;
}
.btn--outline:hover { border-color: #fff; background: rgba(255,255,255,.06); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline-dark:hover { border-color: var(--steel); }

.btn--sm { height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.is-light {
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: inherit;
  opacity: .82;
  white-space: nowrap;
  transition: opacity .15s var(--ease);
  position: relative;
  padding-block: 4px;
}
.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--teal);
}

/* ---------- logo / wordmark ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-img { height: 42px; width: auto; display: block; }
.logo-img--footer { height: 46px; }
.logo-mark { flex: none; }
.logo-mark line, .logo-mark path { transition: opacity .2s var(--ease); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-word {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: .16em;
  padding-left: .16em;
}
.logo-sub {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .26em;
  opacity: .62;
  margin-top: 5px;
  padding-left: .26em;
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 6px;
  margin: -6px;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px var(--pad) 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-menu a { padding: 11px 2px; font-size: 16px; font-weight: 500; color: var(--ink); opacity: .9; }
.mobile-menu a.btn { margin-top: 10px; opacity: 1; color: var(--navy); }
.mobile-menu[hidden] { display: none; }
@media (min-width: 861px) { .mobile-menu { display: none !important; } }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-inner { height: 66px; }
  .nav .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .logo-img { height: 34px; }
  .logo-img--footer { height: 38px; }
}

/* ============================================================
   HERO  (variations switched via body[data-hero])
   ============================================================ */
.hero {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 9vw, 120px);
}
.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.0;
  color: #fff;
}
.hero .lede { color: #A9BFCB; max-width: 52ch; margin-top: 22px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-meta div { display: flex; flex-direction: column; gap: 2px; }
.hero-meta dt { font-size: 13px; color: var(--steel-300); letter-spacing: .02em; }
.hero-meta dd { margin: 0; font-size: 17px; font-weight: 600; color: #fff; }

/* hero visual (placeholder film panel) */
.hero-visual {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.1);
}

/* --- variation A: split (default) --- */
body[data-hero="split"] .hero-grid { grid-template-columns: 1.05fr .95fr; }
body[data-hero="split"] .hero-visual { aspect-ratio: 4 / 4.4; }

/* --- variation B: full-bleed background (uses the real <img>) --- */
body[data-hero="bleed"] .hero-grid { grid-template-columns: 1fr; }
body[data-hero="bleed"] .hero-copy { max-width: 660px; position: relative; z-index: 3; }
body[data-hero="bleed"] .hero-visual {
  position: absolute; inset: 0;
  aspect-ratio: auto;
  border: 0; border-radius: 0; box-shadow: none;
  z-index: 0;
}
body[data-hero="bleed"] .hero-visual img { object-position: 72% center; }
.hero-overlay { display: none; }
body[data-hero="bleed"] .hero-overlay {       /* navy wash for legibility */
  display: block;
  position: absolute; inset: 0;
  background: linear-gradient(94deg, var(--navy) 0%, rgba(14,42,59,.96) 24%, rgba(14,42,59,.8) 42%, rgba(14,42,59,.4) 62%, rgba(14,42,59,.05) 92%);
  z-index: 1;
}
body[data-hero="bleed"] .hero-grid { padding-block: clamp(80px, 10vw, 132px); position: relative; z-index: 2; }
body[data-hero="bleed"] .hero-meta { max-width: 660px; }

/* --- variation C: centered --- */
body[data-hero="centered"] .hero-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
body[data-hero="centered"] .hero-copy { max-width: 820px; }
body[data-hero="centered"] .eyebrow { justify-content: center; }
body[data-hero="centered"] .hero .lede { margin-inline: auto; }
body[data-hero="centered"] .hero-actions { justify-content: center; }
body[data-hero="centered"] .hero-meta { justify-content: center; }
body[data-hero="centered"] .hero-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 12px; margin-top: 56px; width: 100%;
}
body[data-hero="centered"] .hero-strip .swatch { aspect-ratio: 1 / 1.15; border-radius: 10px; }
body[data-hero="centered"] .hero-grid > .hero-visual { display: none; }
body:not([data-hero="centered"]) .hero-strip { display: none; }

@media (max-width: 860px) {
  body[data-hero="split"] .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: clamp(40px, 8vw, 64px);
  }
  body[data-hero="split"] .hero-visual {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }
  body[data-hero="split"] .hero-visual img { object-position: 60% 62%; }
  body[data-hero="split"] .hero-meta { margin-top: 32px; padding-top: 22px; }
  body[data-hero="centered"] .hero-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SWATCH PLACEHOLDERS — tonal hints of film effect
   (muted, restrained — real photography swaps in later)
   ============================================================ */
.swatch {
  position: relative;
  width: 100%;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
.swatch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}
/* real-photo swatches: drop the placeholder texture + tag */
.swatch--photo::before,
.swatch--photo::after { content: none !important; display: none !important; }
.swatch::after {            /* placeholder flag */
  content: "▦ " attr(data-tag);
  position: absolute;
  left: 10px; bottom: 9px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.62);
  background: rgba(8,22,31,.55);
  padding: 3px 7px;
  border-radius: 5px;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 3;
}

/* Luminous — holographic: dark base + fine speckle sheen */
.swatch--luminous {
  background:
    radial-gradient(circle at 30% 25%, rgba(22,199,192,.20), transparent 42%),
    radial-gradient(circle at 78% 72%, rgba(120,180,200,.16), transparent 46%),
    linear-gradient(135deg, #0C2533, #123A4D);
}
.swatch--luminous::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.55) .6px, transparent .8px),
    radial-gradient(rgba(22,199,192,.5) .6px, transparent .8px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 4px;
  opacity: .5;
  mix-blend-mode: screen;
}

/* Shift — colour-shift: soft low-sat two-tone diagonal */
.swatch--shift {
  background: linear-gradient(118deg, #123A4D 0%, #1B5566 38%, #2C6E73 60%, #15414F 100%);
}
.swatch--shift::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(118deg, transparent 30%, rgba(190,220,225,.22) 50%, transparent 68%);
}

/* Armour — textured protection: embossed weave */
.swatch--armour {
  background: #15323F;
}
.swatch--armour::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 6px, transparent 6px 12px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.22) 0 6px, transparent 6px 12px);
  background-size: 17px 17px, 17px 17px;
}

/* Clear / gloss — bright reflective sheen */
.swatch--gloss {
  background: linear-gradient(120deg, #1A4459, #2A6878);
}
.swatch--gloss::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.32) 0%, transparent 22%, transparent 60%, rgba(255,255,255,.14) 78%, transparent 100%);
}

/* ============================================================
   GUARANTEE
   ============================================================ */
.guarantee {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.seal {
  flex: none;
  width: clamp(120px, 14vw, 168px);
  height: clamp(120px, 14vw, 168px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--navy);
  background: var(--teal);
  position: relative;
  box-shadow: 0 14px 40px rgba(22,199,192,.32);
}
.seal::before {
  content: "";
  position: absolute; inset: 9px;
  border: 1.5px solid rgba(14,42,59,.4);
  border-radius: 50%;
}
.seal span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.18;
  text-transform: uppercase;
  padding: 0 12px;
}
.seal b { display: block; font-size: 27px; letter-spacing: -.01em; }
.guarantee h2 { font-size: clamp(28px, 3.6vw, 44px); }
.guarantee p { margin-top: 16px; max-width: 56ch; }

@media (max-width: 620px) {
  .guarantee { grid-template-columns: 1fr; justify-items: start; }
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-head { max-width: 64ch; }
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  margin-top: 16px;
}
.section-head p { margin-top: 16px; }

/* ============================================================
   PRODUCT / COLLECTION CARDS
   ============================================================ */
.collection { margin-top: clamp(40px, 5vw, 64px); }
.collection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.collection-head .ct {
  display: flex; flex-direction: column; gap: 8px;
}
.collection-head h3 {
  font-size: clamp(22px, 2.8vw, 30px);
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.collection-head h3 .tag {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-700); transform: translateY(-2px);
}
.collection-head .spec {
  font-size: 14.5px; color: var(--steel); max-width: 70ch;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin-top: 30px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--mist-200);
}
.product-card .swatch { aspect-ratio: 5 / 4; }
.product-card .pc-body { padding: 18px 18px 20px; }
.product-card .pc-name {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.018em;
}
.product-card .pc-spec {
  font-size: 13.5px;
  color: var(--steel);
  margin-top: 4px;
}
.product-card .pc-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font-size: 13.5px; font-weight: 600; color: var(--teal-700);
}
.product-card .pc-link svg { transition: transform .18s var(--ease); }
.product-card:hover .pc-link svg { transform: translateX(3px); }

/* ============================================================
   WHY OCEAN — three columns
   ============================================================ */
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(40px, 5vw, 60px);
}
.feature .fnum {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  color: var(--teal-700);
}
.feature h3 { font-size: 22px; margin-top: 14px; }
.feature p { margin-top: 10px; color: var(--steel); font-size: 15.5px; }
.feature { padding-top: 22px; border-top: 2px solid var(--ink); }

@media (max-width: 820px) {
  .cols-3 { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   TECH CREDIBILITY STRIP
   ============================================================ */
.tech-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.tech-strip .ts {
  background: var(--white);
  padding: 26px 24px;
}
.tech-strip .ts b {
  display: block; font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--ink);
}
.tech-strip .ts span { font-size: 14px; color: var(--steel); }
@media (max-width: 820px) { .tech-strip { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .tech-strip { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 52px); }
.cta-band p { margin: 18px auto 0; max-width: 52ch; }
.cta-band .btn { margin-top: 34px; }

/* ============================================================
   QUOTE FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.contact-aside h2 { font-size: clamp(28px, 3.6vw, 42px); }
.contact-aside p { margin-top: 16px; color: var(--steel); }
.contact-points { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-points li {
  list-style: none;
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px;
}
.contact-points li svg { flex: none; margin-top: 3px; color: var(--teal-700); }
.contact-points ul { margin: 0; padding: 0; }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.field label .req { color: var(--teal-700); }
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: var(--mist);
  border: 1.5px solid transparent;
  border-radius: var(--r-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s var(--ease), background .15s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235B6B75' d='M0 0h12L6 8z'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--teal);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--steel-300); }

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #D9534F;
  background: #FCF3F2;
}
.field .err {
  font-size: 12.5px;
  color: #C8423E;
  min-height: 1px;
  display: none;
}
.field.invalid .err { display: block; }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-foot .note { font-size: 13px; color: var(--steel); }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px 14px;
}
.form-success svg { color: var(--teal-700); margin: 0 auto 18px; }
.form-success h3 { font-size: 26px; }
.form-success p { margin-top: 10px; color: var(--steel); max-width: 42ch; margin-inline: auto; }
.form-card.sent .form-grid { display: none; }
.form-card.sent .form-success { display: block; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: #9FB4C0;
  padding-block: clamp(48px, 6vw, 76px);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-nav { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.footer-nav .fcol { display: flex; flex-direction: column; gap: 12px; }
.footer-nav h4 {
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel-300);
}
.footer-nav a { font-size: 15px; opacity: .85; }
.footer-nav a:hover { opacity: 1; color: #fff; }
.footer-bot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 28px;
  font-size: 13.5px;
  color: var(--steel-300);
}
.footer-bot .ph { color: var(--teal); }

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.prod-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.prod-jump a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  opacity: .9;
  white-space: nowrap;
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.prod-jump a:hover { border-color: var(--teal); background: rgba(22,199,192,.12); opacity: 1; }

.collection-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}
.cd-head h2 { font-size: clamp(28px, 3.8vw, 44px); margin-top: 12px; }
.cd-head .cd-sub {
  font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-700); margin-top: 10px;
}
.cd-head .lede { margin-top: 18px; }

.spec-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.spec-list > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
}
.spec-list > div:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 18px; }
.spec-list > div:nth-child(even) { padding-left: 18px; }
.spec-list dt { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--steel); }
.spec-list dd { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink); }

.collection-detail + .product-grid { margin-top: clamp(28px, 4vw, 44px); }

/* gloss collection: card + lifestyle photo filling the row */
.gloss-row {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: clamp(16px, 2vw, 26px);
  margin-top: 30px;
  align-items: stretch;
}
.gloss-photo {
  position: relative;
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 280px;
  box-shadow: var(--shadow-sm);
}
.gloss-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gloss-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px;
  color: #fff; font-size: 15px; font-weight: 500; line-height: 1.4;
  max-width: 36ch;
  background: linear-gradient(to top, rgba(8,22,31,.86) 12%, rgba(8,22,31,.45) 60%, transparent);
}
@media (max-width: 680px) {
  .gloss-row { grid-template-columns: 1fr; }
  .gloss-photo { min-height: 220px; }
}

@media (max-width: 820px) {
  .collection-detail { grid-template-columns: 1fr; }
}

/* ============================================================
   WRAP REVEAL SLIDER (before / after)
   ============================================================ */
@property --pos { syntax: '<percentage>'; inherits: true; initial-value: 70%; }

.reveal-slider {
  --pos: 70%;
  position: relative;
  width: 100%;
  max-width: 940px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  aspect-ratio: 1000 / 436;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}
.rs-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}
.rs-after { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.rs-divider {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 2px; margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(14,42,59,.12), 0 0 12px rgba(14,42,59,.18);
  pointer-events: none;
}
.rs-handle {
  position: absolute; top: 50%; left: var(--pos);
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--teal); color: var(--navy);
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(14,42,59,.28);
  display: grid; place-items: center;
  cursor: ew-resize;
  padding: 0;
  transition: transform .14s var(--ease), box-shadow .14s var(--ease);
}
.rs-handle:hover { box-shadow: 0 8px 24px rgba(22,199,192,.45); }
.rs-handle:active { transform: translate(-50%, -50%) scale(.94); }
.rs-handle:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

.rs-label {
  position: absolute; top: 14px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 6px;
  background: rgba(14,42,59,.62); color: #fff;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.rs-label-left { left: 14px; }
.rs-label-right { right: 14px; }

.rs-hint {
  text-align: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--steel);
  display: inline-flex; align-items: center; gap: 8px;
}
.rs-hint-wrap { text-align: center; }
.rs-hint svg { color: var(--teal-700); }

@media (max-width: 560px) {
  .rs-handle { width: 44px; height: 44px; }
  .rs-label { font-size: 10px; padding: 5px 8px; }
}

/* ============================================================
   PRODUCT SPEC MODAL
   ============================================================ */
.spec-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(12px, 4vw, 40px);
  background: rgba(7, 20, 28, .64);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s var(--ease);
}
.spec-modal-overlay.open { opacity: 1; }
.spec-modal-overlay[hidden] { display: none; }
.spec-modal {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  width: 100%; max-width: 860px; max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 90px rgba(7,20,28,.5);
  transform: translateY(14px) scale(.985);
  transition: transform .28s var(--ease);
}
.spec-modal-overlay.open .spec-modal { transform: none; }
.spec-modal::-webkit-scrollbar { width: 10px; }
.spec-modal::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; border: 3px solid #fff; }

.sm-close {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.9); color: var(--ink);
  border: 1px solid var(--line); cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .15s var(--ease);
}
.sm-close:hover { background: #fff; }

.sm-head { display: grid; grid-template-columns: 260px 1fr; }
.sm-head .sm-img { position: relative; min-height: 240px; background: var(--navy); }
.sm-head .sm-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-intro { padding: clamp(24px, 3vw, 36px); padding-right: 56px; }
.sm-name { font-size: clamp(26px, 3.4vw, 36px); margin-top: 14px; }
.sm-desc { margin-top: 8px; color: var(--steel); font-size: 16px; }
.sm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.sm-code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--navy); background: var(--mist); border: 1px solid var(--line);
  padding: 5px 10px; border-radius: 6px; white-space: nowrap;
}
.sm-type { font-size: 13.5px; color: var(--steel); }

.sm-body { padding: clamp(20px, 3vw, 32px) clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); }
.sm-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 38px) clamp(28px, 4vw, 52px);
}
.sm-group h4 {
  font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-700); margin-bottom: 6px;
}
.sm-group dl { margin: 0; }
.sm-row {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.sm-row dt { color: var(--steel); font-size: 14px; flex: none; }
.sm-row dd { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: right; }

.sm-foot-info { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.sm-k { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.sm-foot-info p { margin-top: 5px; font-size: 15px; color: var(--ink); }
.sm-note {
  margin: 0; font-size: 13.5px; color: var(--steel);
  padding: 12px 14px; background: var(--mist); border-radius: var(--r-sm);
  border-left: 2px solid var(--teal);
}

.sm-foot {
  position: sticky; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px clamp(24px, 3vw, 36px);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.sm-foot-note { font-size: 13px; color: var(--steel); }
.sm-foot-btns { display: flex; gap: 10px; }

@media (max-width: 620px) {
  .sm-head { grid-template-columns: 1fr; }
  .sm-head .sm-img { min-height: 180px; }
  .sm-grid { grid-template-columns: 1fr; }
  .sm-foot { flex-direction: column; align-items: stretch; }
  .sm-foot-btns { justify-content: flex-end; }
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
