/* =========================================================
   UNION AUMAN PARFUMS — unionaumanparfums.com
   Design system: cream paper / ink / champagne gold
   ========================================================= */

:root {
  --cream: #f7f3ec;
  --cream-2: #efe7d9;
  --paper: #fbf8f2;
  --ink: #14110e;
  --ink-2: #241f19;
  --ink-soft: #3a3329;
  --muted: #776c5b;
  --gold: #b08a46;
  --gold-deep: #8c6b31;
  --gold-soft: #d9c39a;
  --line: rgba(20, 17, 14, 0.14);
  --line-gold: rgba(176, 138, 70, 0.32);
  --max: 1220px;
  --pad: clamp(20px, 5vw, 56px);
  --serif: "Cormorant Garamond", "Georgia", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 0;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.35rem); line-height: 1.03; }
h2 { font-size: clamp(1.9rem, 3.1vw, 2.9rem); line-height: 1.12; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.25; }
h4 { font-size: 1.05rem; }

em, .it { font-style: italic; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}

.lead {
  font-size: clamp(1.02rem, 1.25vw, 1.15rem);
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 60ch;
}

.small { font-size: 0.86rem; line-height: 1.65; color: var(--muted); }
.tiny { font-size: 0.76rem; line-height: 1.6; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(20, 17, 14, 0.35); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }

.btn--light { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn--outline-light { background: transparent; border-color: rgba(247, 243, 236, 0.45); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--line-gold);
  padding-bottom: 6px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow::after { content: "→"; font-size: 0.95em; }
.link-arrow:hover { gap: 15px; color: var(--gold-deep); border-color: var(--gold-deep); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 12px 30px -22px rgba(20, 17, 14, 0.55); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.16rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.brand-sub {
  font-size: 0.5rem;
  letter-spacing: 0.42em;
  color: var(--gold-deep);
  margin-top: 4px;
  padding-left: 1px;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 28px); }
.nav a.nav-link {
  position: relative;
  font-size: 0.685rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}
.nav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav a.nav-link:hover { color: var(--ink); }
.nav a.nav-link:hover::after,
.nav a.nav-link.is-active::after { width: 100%; }
.nav a.nav-link.is-active { color: var(--ink); }

.nav .btn { padding: 12px 18px; font-size: 0.64rem; letter-spacing: 0.16em; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { content: ""; left: 0; top: -7px; }
.nav-toggle span::after { content: ""; left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: min(78vh, 740px);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 96px) clamp(24px, 5vw, 76px) clamp(56px, 8vw, 96px) max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad)));
}
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 26px; }
.hero-media { position: relative; overflow: hidden; background: var(--cream-2); }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.hero-cap {
  position: absolute;
  left: 26px;
  bottom: 24px;
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(20, 17, 14, 0.62);
  background: rgba(247, 243, 236, 0.82);
  padding: 7px 12px;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

/* page hero (inner pages) */
.page-hero {
  padding: clamp(56px, 7vw, 92px) 0 clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { max-width: 22ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: end;
}

.breadcrumb {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb span { color: var(--gold); margin: 0 8px; }

/* ---------- stats ---------- */
.stats {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: clamp(28px, 3.4vw, 44px) 26px;
  border-left: 1px solid rgba(20, 17, 14, 0.1);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 118px) 0; }
.section--tight { padding: clamp(48px, 5.5vw, 78px) 0; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--dark { background: var(--ink); color: rgba(247, 243, 236, 0.76); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--cream); }
.section--dark .eyebrow { color: var(--gold-soft); }
.section--dark .lead { color: rgba(247, 243, 236, 0.74); }
.section--dark .small, .section--dark .tiny { color: rgba(247, 243, 236, 0.5); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(38px, 4.6vw, 62px);
}
.section-head h2 { max-width: 18ch; }
.section-head p { margin: 0; }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- two-line cards ---------- */
.lines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 30px);
}
.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 46px);
  transition: border-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.line-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
  box-shadow: 0 26px 50px -40px rgba(20, 17, 14, 0.6);
}
.line-card .tag {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}
.line-card h3 { margin-bottom: 14px; }
.line-card p { color: var(--ink-soft); }
.line-card .spec {
  margin: 22px 0 26px;
  border-top: 1px solid var(--line);
}
.line-card .spec li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(20, 17, 14, 0.07);
  font-size: 0.82rem;
}
.line-card .spec li b { font-weight: 400; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.68rem; }
.line-card .spec li span { color: var(--ink); text-align: right; }
.line-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- feature list ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature {
  background: var(--cream);
  padding: clamp(26px, 3vw, 40px);
}
.feature .num {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.feature h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; margin-bottom: 10px; }
.feature p { margin: 0; font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ---------- split media ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; object-fit: cover; }
.split-media figcaption {
  margin-top: 12px;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.split-copy h2 { margin-bottom: 22px; }

/* ---------- steps ---------- */
.steps { counter-reset: step; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 76px 1fr 1.2fr;
  gap: clamp(18px, 3vw, 44px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.step-num {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
  letter-spacing: 0.14em;
}
.step h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; }
.step p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* ---------- product grid ---------- */
.sku-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(238px, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
}
.sku {
  position: relative;
  display: block;
  background: #0a0908;
  overflow: hidden;
}
.sku img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.5s var(--ease);
}
.sku:hover img { transform: scale(1.035); opacity: 0.92; }
.sku-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px 17px;
  border-top: 1px solid rgba(217, 195, 154, 0.22);
}
.sku-meta h4 {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.09em;
  color: var(--cream);
  text-transform: uppercase;
}
.sku-meta span {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}
.sku--plain {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  min-height: 100%;
}
.sku--plain h4 { color: var(--ink); font-size: 1.15rem; text-transform: none; letter-spacing: 0; }
.sku--plain p { margin: 10px 0 0; font-size: 0.84rem; color: var(--muted); }

/* ---------- tables ---------- */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.doc-table th {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 16px 14px 0;
  border-bottom: 1px solid var(--line);
}
.doc-table td {
  padding: 15px 16px 15px 0;
  border-bottom: 1px solid rgba(20, 17, 14, 0.08);
  vertical-align: top;
  color: var(--ink-soft);
}
.doc-table td:first-child { color: var(--ink); width: 42%; }
.doc-table tr:hover td { background: rgba(176, 138, 70, 0.05); }

/* ---------- families ---------- */
.families {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.family { background: var(--paper); padding: 26px 28px; }
.family h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 400; margin-bottom: 8px; }
.family p { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* ---------- cta band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: rgba(247, 243, 236, 0.72);
  overflow: hidden;
}
.cta-band .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.24;
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(56px, 7vw, 92px) 0;
}
.cta-inner h2 { color: var(--cream); max-width: 20ch; }
.cta-inner p { margin: 18px 0 0; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cta-note { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(247, 243, 236, 0.45); }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(247, 243, 236, 0.55);
  padding: clamp(48px, 6vw, 76px) 0 30px;
  font-size: 0.84rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: clamp(26px, 4vw, 52px);
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 40px; height: 40px; opacity: 0.95; }
.footer-brand .brand-name { color: var(--cream); }
.site-footer h5 {
  margin: 0 0 16px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: var(--cream); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  padding-top: 26px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(247, 243, 236, 0.38);
}
.footer-bottom a { color: rgba(247, 243, 236, 0.55); }

/* ---------- floating whatsapp ---------- */
.fab {
  position: fixed;
  right: clamp(14px, 2.4vw, 26px);
  bottom: clamp(14px, 2.4vw, 26px);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid rgba(217, 195, 154, 0.35);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 18px 36px -22px rgba(0, 0, 0, 0.75);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.fab:hover { background: #1f6f54; transform: translateY(-2px); }
.fab svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.63rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 300;
  border-radius: 0;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form-field textarea { min-height: 128px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-note { margin-top: 14px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.contact-list { border-top: 1px solid var(--line); }
.contact-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.contact-row dt {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 4px;
}
.contact-row dd { margin: 0; color: var(--ink); }
.contact-row dd a:hover { color: var(--gold-deep); }

/* ---------- notes / quotes ---------- */
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.42;
  color: var(--ink);
  border-left: 1px solid var(--gold);
  padding-left: clamp(20px, 2.6vw, 32px);
  margin: 0;
}
.pull-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.note-box {
  border: 1px solid var(--line-gold);
  background: rgba(176, 138, 70, 0.05);
  padding: 22px 26px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.note-box strong { font-weight: 500; color: var(--ink); }

/* ---------- grid panels ---------- */
.array-plate {
  background: var(--paper);
  padding: clamp(14px, 2.6vw, 34px);
  border: 1px solid var(--line);
}
.array-plate img { width: 100%; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.panel { background: var(--paper); padding: clamp(24px, 3vw, 34px); }
.panel h4 {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--ink);
}
.panel p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.section--dark .grid-3 { background: rgba(247, 243, 236, 0.14); border-color: rgba(247, 243, 236, 0.14); }
.section--dark .panel { background: var(--ink); }
.section--dark .panel h4 { color: var(--cream); }
.section--dark .panel p { color: rgba(247, 243, 236, 0.58); }

.plain-list { margin-top: 16px; border-top: 1px solid rgba(20, 17, 14, 0.08); }
.plain-list li {
  position: relative;
  padding: 9px 0 9px 16px;
  border-bottom: 1px solid rgba(20, 17, 14, 0.06);
  font-size: 0.84rem;
  color: var(--ink-soft);
}
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 1px;
  background: var(--gold);
}
.plain-list b { font-weight: 500; color: var(--ink); }
.plain-list--lg li { font-size: 0.9rem; padding: 13px 0 13px 18px; line-height: 1.65; }
.section--dark .plain-list { border-color: rgba(247, 243, 236, 0.14); }
.section--dark .plain-list li { border-color: rgba(247, 243, 236, 0.1); color: rgba(247, 243, 236, 0.72); }

.stack-list { border-top: 1px solid var(--line); margin-top: 6px; }
.stack-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.stack-list h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--ink);
}
.stack-list p { margin: 0; font-size: 0.88rem; color: var(--muted); }

.spec-list { border-top: 1px solid var(--line); margin-top: 6px; }
.spec-list li {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.spec-list b {
  font-weight: 400;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}
.spec-list span { color: var(--ink); }

.doc-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(247, 243, 236, 0.14);
  border: 1px solid rgba(247, 243, 236, 0.14);
}
.doc-card { background: var(--ink); padding: clamp(22px, 2.6vw, 30px); }
.doc-card h4 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 8px;
}
.doc-card p { margin: 0; font-size: 0.83rem; color: rgba(247, 243, 236, 0.55); }

.cluster-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 243, 236, 0.16);
}
.cluster-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 300;
  line-height: 1;
  color: var(--gold-soft);
}
.cluster-stats span {
  display: block;
  margin-top: 7px;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 243, 236, 0.45);
}

.entity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(247, 243, 236, 0.14);
  border: 1px solid rgba(247, 243, 236, 0.14);
}
.entity { background: var(--ink); padding: clamp(24px, 3vw, 38px); }
.entity h4 {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--cream);
  margin-bottom: 12px;
}
.entity .eyebrow { margin-bottom: 12px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.contact-layout aside h5 {
  margin: 0 0 4px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* ---------- reveal animation ---------- */
/* if JS is unavailable, never hide content */
.no-js .reveal,
html.no-js .reveal { opacity: 1; transform: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sku img, .line-card { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 14px; }
  .nav a.nav-link { font-size: 0.63rem; letter-spacing: 0.1em; }
  .nav .btn { display: none; }
  .footer-top { grid-template-columns: 1.3fr 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: clamp(46px, 9vw, 64px) var(--pad); order: 1; }
  .hero-media { order: 2; }
  .hero-media img { min-height: 0; height: clamp(320px, 62vw, 460px); }
  .page-hero--split { grid-template-columns: 1fr; align-items: start; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .lines { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split-media { order: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(20, 17, 14, 0.1); }
  .families { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .doc-cards { grid-template-columns: 1fr 1fr; }
  .entity-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .cluster-stats { gap: 12px; }
  .cta-inner { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; }
  .step p { grid-column: 2; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 78px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px var(--pad) 26px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(20, 17, 14, 0.7);
    transform: translateY(-6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
    max-height: calc(100vh - 78px);
    overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a.nav-link {
    padding: 15px 0;
    border-bottom: 1px solid rgba(20, 17, 14, 0.08);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
  }
  .nav a.nav-link::after { display: none; }
  .nav .btn { display: inline-flex; margin-top: 20px; justify-content: center; }
  .nav-toggle { display: block; }
  .header-inner { min-height: 66px; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .families { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .doc-cards { grid-template-columns: 1fr; }
  .spec-list li { grid-template-columns: 100px 1fr; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; width: 100%; }
  .doc-table th { display: none; }
  .doc-table tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  .doc-table td { border: 0; padding: 2px 0; }
  .doc-table td:first-child { width: 100%; font-weight: 400; }
  .fab { padding: 11px 15px; font-size: 0.6rem; }
  .fab span { display: none; }
  .hero-cap { left: 14px; bottom: 14px; }
}
