/* ==========================================================================
   MAVEN — Zhejiang Maven Industrial Technology Co., Ltd.
   Luxury packaging design system
   Palette: deep navy · ivory / warm white · restrained champagne gold
   ========================================================================== */

:root {
  /* Colour */
  --navy: #0F1A2B;
  --navy-2: #172438;
  --ink: #1B1D22;
  --paper: #FBF9F5;
  --ivory: #F5F1EA;
  --stone: #EAE3D7;
  --line: #E1D9CB;
  --line-dark: rgba(242, 237, 228, 0.14);
  --muted: #6B655C;
  --gold: #B99B62;          /* lines, rules, small marks */
  --gold-soft: #CDB486;     /* gold on navy */
  --gold-text: #7E6334;     /* gold used as text on light (AA) */
  --on-navy: #F2EDE4;
  --on-navy-muted: rgba(242, 237, 228, 0.66);

  /* Type */
  --serif: "Cormorant Garamond", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 148px);
  --header-h: 80px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-weight: 350;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--navy); color: var(--on-navy); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--on-navy); padding: 10px 16px; font-size: .8rem;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .65) 0; }
.bg-ivory { background: var(--ivory); }
.bg-navy { background: var(--navy); color: var(--on-navy); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 500; font-size: .72rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.bg-navy .eyebrow { color: var(--gold-soft); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ""; width: 32px; height: 1px; background: var(--gold); }

.display, .h2, .h3 {
  font-family: var(--serif); font-weight: 500; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1.04; color: inherit;
}
/* Cormorant defaults to old-style figures; luxury numerals read better lining */
.display, .h2, .h3, .stat-num, .stats-intro, .process-step-label b, .footer-heritage, .collection-title, .product-name, .step-title, .finish-name, .contact-person { font-variant-numeric: lining-nums; }
.display { font-size: clamp(2.6rem, 5.6vw, 5.4rem); font-weight: 500; line-height: 1; }
.display em, .h2 em { font-style: italic; text-transform: none; font-weight: 400; letter-spacing: 0; }
.h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.15; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.7; color: var(--muted); max-width: 34em; }
.bg-navy .lead { color: var(--on-navy-muted); }
.small { font-size: .88rem; color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .lead { justify-self: end; }
.section-head--center { display: block; text-align: center; }
.section-head--center .lead { margin: 20px auto 0; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 30px;
  font-family: var(--sans); font-weight: 500; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  border: 1px solid transparent; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--navy); color: var(--on-navy); }
.btn--primary:hover { background: var(--navy-2); }
.btn--gold { background: var(--gold-soft); color: var(--navy); }
.btn--gold:hover { background: #D9C49B; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.bg-navy .btn--ghost { border-color: rgba(242,237,228,.5); color: var(--on-navy); }
.bg-navy .btn--ghost:hover { background: var(--on-navy); color: var(--navy); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .68rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap .35s var(--ease), color .35s var(--ease);
}
.text-link:hover { gap: 16px; color: var(--gold-text); }
.bg-navy .text-link:hover { color: var(--gold-soft); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 249, 245, .94);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: .34em; margin-right: -.34em; line-height: 1; color: var(--navy); }
.logo small { display: block; font-family: var(--sans); font-weight: 400; font-size: .52rem; letter-spacing: .38em; color: var(--muted); margin-top: 6px; }
.bg-navy .logo, .site-footer .logo { color: var(--on-navy); }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-link {
  position: relative; font-weight: 450; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 8px 0; color: var(--ink);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 8px; }
.nav-drop > .nav-link svg { width: 8px; height: 8px; transition: transform .3s var(--ease); }
.drop-menu {
  position: absolute; top: calc(100% + 14px); left: -24px; min-width: 250px;
  background: var(--paper); border: 1px solid var(--line); padding: 14px 0;
  box-shadow: 0 24px 48px -24px rgba(15, 26, 43, .18);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drop:hover > .nav-link svg, .nav-drop:focus-within > .nav-link svg { transform: rotate(180deg); }
.drop-menu a { display: block; padding: 9px 24px; font-size: .86rem; color: var(--muted); transition: color .25s, padding .3s var(--ease); }
.drop-menu a:hover { color: var(--ink); padding-left: 30px; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  min-height: min(calc(100svh - var(--header-h)), 900px);
  background: var(--paper);
}
.hero-copy {
  align-self: center;
  padding: clamp(56px, 7vw, 96px) clamp(32px, 5vw, 80px) clamp(56px, 7vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.hero-copy .display { margin-bottom: 28px; }
.hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.35; color: var(--ink); margin-bottom: 14px; }
.hero-caps { font-size: .9rem; letter-spacing: .04em; color: var(--muted); max-width: 32em; margin-bottom: 40px; }
.hero-note { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; letter-spacing: .06em; color: var(--muted); max-width: 30em; }
.hero-note strong { font-weight: 500; color: var(--ink); }
.hero-media { position: relative; overflow: hidden; background: var(--stone); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }

/* Page hero (inner pages) */
.page-hero { padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 14em; }
.page-hero .lead { margin-top: 28px; }
.crumbs { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 10px; color: var(--gold); }

.page-banner { position: relative; aspect-ratio: 21 / 8; max-height: 560px; width: 100%; overflow: hidden; background: var(--stone); }
.page-banner img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Media frames & reveal ---------- */
.frame { position: relative; overflow: hidden; background: var(--stone); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
a:hover .frame img, .frame:hover img { transform: scale(1.035); }
.ar-45 { aspect-ratio: 4 / 5; }
.ar-54 { aspect-ratio: 5 / 4; }
.ar-11 { aspect-ratio: 1 / 1; }
.ar-32 { aspect-ratio: 3 / 2; }
.ar-169 { aspect-ratio: 16 / 9; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* Clip the image, not the observed container — IntersectionObserver treats a
   fully clipped target as invisible, so it would never reveal. */
.reveal-img > img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease), transform 1.4s var(--ease); }
.reveal-img.is-in > img { clip-path: inset(0 0 0 0); }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .reveal-img > img { clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-img > img { clip-path: none !important; transition: none !important; }
  .frame img { transition: none; }
}

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(36px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.collection { grid-column: span 2; display: block; }
.collection--lead { grid-column: span 3; }
.collection .frame { aspect-ratio: 4 / 5; }
.collection--lead .frame { aspect-ratio: 5 / 4; }
.collection-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 20px; }
.collection-num { font-size: .7rem; letter-spacing: .2em; color: var(--gold-text); margin-bottom: 6px; display: block; }
.collection-title { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.collection-desc { font-size: .88rem; color: var(--muted); margin-top: 6px; }
.collection-arrow { flex: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.collection:hover .collection-arrow { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

/* ---------- One-partner process ---------- */
.process { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.process-step { position: relative; }
.process-step .frame { aspect-ratio: 1 / 1; }
.process-step-label { display: block; padding-top: 16px; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; line-height: 1.5; }
.process-step-label b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.05rem; letter-spacing: .04em; color: var(--gold-text); margin-bottom: 2px; }
.process-promise { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.1rem, 1.6vw, 1.4rem); font-style: italic; }
.process-promise span { display: inline-flex; align-items: center; gap: 40px; }
.process-promise span + span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-left: -22px; margin-right: -18px; }

/* Numbered line steps (text only) */
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.bg-navy .steps { border-top-color: var(--line-dark); }
.step { position: relative; padding: 32px 24px 0 0; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.step-num { font-size: .7rem; letter-spacing: .2em; color: var(--gold-text); display: block; margin-bottom: 10px; }
.bg-navy .step-num { color: var(--gold-soft); }
.step-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); }
.bg-navy .step p { color: var(--on-navy-muted); }

/* ---------- Stats band ---------- */
.stats-intro { max-width: 46em; margin: 0 auto clamp(48px, 6vw, 72px); text-align: center; font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.65rem); line-height: 1.5; color: var(--on-navy); }
.stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stat { padding: 8px 24px; text-align: center; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; }
.stat-num { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: .02em; color: var(--on-navy); white-space: nowrap; }
.stat-num small { font-size: .5em; letter-spacing: .12em; margin-left: 4px; }
.stat-label { margin-top: 10px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-soft); }
.stats--light .stat { border-left-color: var(--line); }
.stats--light .stat-num { color: var(--navy); }
.stats--light .stat-label { color: var(--gold-text); }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.split--wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.split--reverse > :first-child { order: 2; }
.split-copy .h2 { margin-bottom: 24px; }
.split-copy .lead { margin-bottom: 36px; }

/* ---------- Finish library ---------- */
.finish-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-bottom: 40px; }
.finish { padding: 22px 0; border-top: 1px solid var(--line); }
.finish-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; }
.finish-desc { font-size: .88rem; color: var(--muted); margin-top: 4px; }
.finish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 48px; }
.finish-grid .finish { padding: 32px 0 36px; }
.finish-grid .finish-num { font-size: .7rem; letter-spacing: .2em; color: var(--gold-text); display: block; margin-bottom: 14px; }
.finish-grid .finish-name { font-size: 1.6rem; }

/* ---------- Primary + secondary systems ---------- */
.systems { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: end; }
.systems figure:first-child .frame { aspect-ratio: 4 / 5; }
.systems .frame { aspect-ratio: 3 / 4; }
.systems figcaption { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 14px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 36px; }
.tag { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; padding: 9px 16px; border: 1px solid var(--line); color: var(--ink); }
.bg-navy .tag { border-color: var(--line-dark); color: var(--on-navy); }

/* ---------- Capability list ---------- */
.cap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 8px 0 40px; }
.cap-list li { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.cap-list li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); transform: translateY(-3px); }
.bg-navy .cap-list li { border-bottom-color: var(--line-dark); }

/* Four pillars */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 36px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-num { font-size: .7rem; letter-spacing: .2em; color: var(--gold-text); display: block; margin-bottom: 18px; }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; margin-bottom: 12px; }
.pillar p { font-size: .92rem; color: var(--muted); }
.pillar ul { margin-top: 14px; }
.pillar li { font-size: .88rem; color: var(--muted); padding: 6px 0; border-top: 1px solid var(--line); }
.bg-navy .pillars, .bg-navy .pillar + .pillar { border-color: var(--line-dark); }
.bg-navy .pillar p { color: var(--on-navy-muted); }

/* ---------- CTA band ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
.cta-media { position: relative; overflow: hidden; }
.cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-copy { align-self: center; padding: clamp(64px, 8vw, 120px) max(var(--gutter), calc((100vw - var(--max)) / 2)) clamp(64px, 8vw, 120px) clamp(40px, 6vw, 96px); }
.cta-copy .h2 { margin-bottom: 24px; }
.cta-copy .lead { margin-bottom: 20px; }
.cta-copy .cta-hint { font-size: .9rem; color: var(--on-navy-muted); margin-bottom: 40px; max-width: 34em; padding-left: 18px; border-left: 1px solid var(--gold-soft); }

/* ---------- Products ---------- */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.filter-btn { min-height: 42px; padding: 0 18px; font-size: .72rem; font-weight: 450; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line); color: var(--muted); transition: all .3s var(--ease); }
.filter-btn:hover { color: var(--ink); border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(16px, 2vw, 28px); }
.product-card { display: flex; flex-direction: column; }
.product-card[hidden] { display: none; }
.product-card .frame { aspect-ratio: 4 / 5; }
.product-card--type .frame { display: grid; place-items: center; background: var(--ivory); border: 1px solid var(--line); }
.product-card--type .frame span { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-style: italic; color: var(--gold-text); line-height: 1.3; text-align: center; padding: 0 24px; }
.product-card--type .frame span::before, .product-card--type .frame span::after { content: ""; display: block; width: 32px; height: 1px; background: var(--gold); margin: 18px auto; }
.product-body { padding-top: 20px; }
.product-cat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.product-name { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; margin: 6px 0 8px; }
.product-desc { font-size: .9rem; color: var(--muted); }
.product-enquire { margin-top: 16px; align-self: flex-start; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 48px 0; color: var(--muted); }

/* ---------- Industries ---------- */
.industry { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.industry + .industry { margin-top: clamp(80px, 10vw, 140px); }
.industry:nth-of-type(even) > :first-child { order: 2; }
.industry .h2 { margin-bottom: 20px; }
.industry .lead { margin-bottom: 28px; }
.also-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.also-card { padding: clamp(32px, 4vw, 48px); background: var(--paper); border: 1px solid var(--line); }
.also-card .h3 { margin: 6px 0 14px; }
.also-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(48px, 7vw, 112px); align-items: start; }
.contact-block { padding: 26px 0; border-top: 1px solid var(--line); }
.contact-block:last-child { border-bottom: 1px solid var(--line); }
.contact-label { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 10px; display: block; }
.contact-block p { font-size: .98rem; }
.contact-block a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-block a:hover { border-bottom-color: var(--gold); }
.contact-block .contact-person { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
.form-panel { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 56px); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 400; letter-spacing: .08em; text-transform: none; }
.input {
  width: 100%; min-height: 50px; padding: 12px 0; font-size: 1rem; font-weight: 350;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.input:focus { outline: none; border-bottom-color: var(--navy); }
.input::placeholder { color: #8F877B; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%236B655C'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; padding-right: 24px; }
textarea.input { min-height: 96px; resize: vertical; }
input[type="file"].input { padding: 14px 0; font-size: .88rem; color: var(--muted); }
input[type="file"].input::file-selector-button { margin-right: 14px; padding: 8px 14px; border: 1px solid var(--line); background: var(--ivory); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.field.has-error .input { border-bottom-color: #9C3D2E; }
.field-error { font-size: .78rem; color: #9C3D2E; min-height: 0; }
.more-details { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 4px; }
.more-details summary { list-style: none; cursor: pointer; display: flex; gap: 8px; align-items: center; padding: 16px 0; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.more-details summary::-webkit-details-marker { display: none; }
.more-details summary .plus { position: relative; width: 12px; height: 12px; margin-left: auto; flex: none; }
.more-details summary .opt { color: var(--muted); font-weight: 400; letter-spacing: .08em; text-transform: none; font-size: .8rem; }
.more-details summary .plus::before, .more-details summary .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.more-details summary .plus::after { transform: rotate(90deg); }
.more-details[open] summary .plus::after { transform: rotate(0); }
.more-details .form-grid { padding: 8px 0 12px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 14px; margin-top: 6px; }
.form-note { font-size: .8rem; color: var(--muted); }
.form-success { text-align: center; padding: 24px 0; }
.form-success .h3 { margin: 16px 0 12px; }
.form-success p { color: var(--muted); max-width: 30em; margin: 0 auto 28px; }
.form-success .mark { width: 56px; height: 56px; margin: 0 auto; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-text); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 26, 43, .55); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal-dialog { position: relative; width: 100%; max-width: 720px; max-height: calc(100svh - 40px); overflow-y: auto; overscroll-behavior: contain; background: var(--paper); padding: clamp(32px, 5vw, 60px); transform: translateY(16px); transition: transform .5s var(--ease); }
.modal.is-open .modal-dialog { transform: none; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; display: grid; place-items: center; }
.modal-close svg { width: 16px; height: 16px; }
.modal-dialog .h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin-bottom: 14px; }
.modal-dialog .lead { font-size: .98rem; margin-bottom: 32px; }
body.is-locked { overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); padding: clamp(72px, 8vw, 112px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; padding-bottom: clamp(56px, 6vw, 80px); border-bottom: 1px solid var(--line-dark); }
.footer-brand p { margin-top: 24px; color: var(--on-navy-muted); font-size: .92rem; max-width: 24em; }
.footer-heritage { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--on-navy); max-width: 22em; line-height: 1.45; }
.footer-title { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 22px; font-weight: 500; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { font-size: .92rem; color: var(--on-navy-muted); transition: color .3s; }
.footer-links a:hover { color: var(--on-navy); }
.footer-contact p { font-size: .9rem; color: var(--on-navy-muted); }
.footer-contact p + p { margin-top: 10px; }
.footer-contact strong { color: var(--on-navy); font-weight: 450; }
.footer-contact a:hover { color: var(--on-navy); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; font-size: .78rem; color: var(--on-navy-muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 96px 0; }
.notfound .display { margin: 12px 0 20px; }
.notfound .lead { margin: 0 auto 36px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .nav .btn { display: none; }
  .process { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .stat:nth-child(4) { border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar:nth-child(3) { border-left: 0; padding-left: 0; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 90;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 16px var(--gutter) 40px; background: var(--paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > .nav-link, .nav-drop > .nav-link { font-family: var(--serif); font-size: 1.6rem; letter-spacing: .06em; padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .nav-link::after { display: none; }
  .nav-drop > .nav-link svg { display: none; }
  .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 6px 0 10px; min-width: 0; background: transparent; }
  .drop-menu a { padding: 8px 0 8px 16px; }
  .drop-menu a:hover { padding-left: 20px; }
  .nav .btn { display: inline-flex; margin-top: 28px; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px var(--gutter) 48px; }
  .hero-media { position: relative; aspect-ratio: 4 / 5; max-height: 76svh; }
  .hero-note { margin-top: 36px; }

  .section-head { grid-template-columns: 1fr; }
  .section-head .lead { justify-self: start; }
  .collections { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collection, .collection--lead { grid-column: span 1; }
  .collection--lead .frame, .collection .frame { aspect-ratio: 4 / 5; }
  .collection:last-child { grid-column: 1 / -1; }
  .collection:last-child .frame { aspect-ratio: 16 / 10; }

  .split, .split--wide-media, .industry, .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .form-panel { order: -1; }
  .split--reverse > :first-child, .industry:nth-of-type(even) > :first-child { order: 0; }
  .cta { grid-template-columns: 1fr; }
  .cta-media { aspect-ratio: 16 / 10; }
  .cta-copy { padding: 64px var(--gutter); }
  .systems { grid-template-columns: 1fr 1fr; }
  .systems figure:first-child { grid-column: 1 / -1; }
  .systems figure:first-child .frame { aspect-ratio: 16 / 10; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 3px; }
  .bg-navy .steps { border-left-color: var(--line-dark); }
  .step { padding: 0 0 32px 28px; }
  .step::before { top: 8px; left: -4px; }
  .also-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .process { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; scrollbar-width: none; }
  .process::-webkit-scrollbar { display: none; }
  .process-step { flex: 0 0 44%; scroll-snap-align: start; }
  .process-promise { flex-direction: column; align-items: center; gap: 6px; }
  .process-promise span + span::before { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { border-left: 0; padding: 0 8px; }
  .stat:last-child { grid-column: 1 / -1; }
  .collections { grid-template-columns: 1fr; }
  .collection:last-child .frame, .collection .frame, .collection--lead .frame { aspect-ratio: 4 / 5; }
  .finish-list, .cap-list, .finish-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; }
  .btn { white-space: normal; text-align: center; }
  .actions .btn { width: 100%; }
  .page-banner { aspect-ratio: 4 / 3; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-dialog { max-height: 94svh; }
}
