/* ==========================================================================
   MONDO PROMO SP Z O O
   Design direction: "Cutting table"
   A textile workroom: cutting-mat green, chalk white, measuring-tape yellow.
   Bricolage Grotesque for headings, Instrument Sans for text.
   The one memorable moment is the hero: fabric swatches laid on a cutting
   mat above a measuring-tape strip. Everything else stays quiet.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --chalk: #F3F5F1;
  --sage: #E3EAE3;
  --green: #1F3A31;
  --green-2: #2F5445;
  --green-deep: #14281F;
  --yellow: #F2C230;
  --stone: #55655E;
  --text-soft: #3A4D45;
  --line: rgba(31, 58, 49, .18);
  --line-light: rgba(243, 245, 241, .22);
  --error: #B3321F;

  --radius: 3px;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 9vw, 136px);
  --header-h: 76px;

  --font-head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--green);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-stretch: 88%;
  line-height: 1.05;
  letter-spacing: -.02em;
}

h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.02rem; letter-spacing: -.005em; }

p, dl, dd, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--yellow); }
[tabindex="-1"]:focus { outline: none; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section-y); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 12px 18px; background: var(--yellow); color: var(--green);
  font-weight: 600; border-radius: var(--radius); text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px;
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-head); font-stretch: 92%; font-weight: 700; font-size: 1.05rem;
  text-decoration: none; text-align: center; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--yellow); border-color: var(--yellow); color: var(--green); }
.btn--primary:hover { background: var(--green); border-color: var(--green); color: var(--yellow); }
.btn--outline { border-color: var(--green); color: var(--green); }
.btn--outline:hover { background: var(--green); color: var(--chalk); }
.btn--dark { background: var(--green); border-color: var(--green); color: var(--chalk); }
.btn--dark:hover { background: var(--yellow); border-color: var(--yellow); color: var(--green); }
.btn--small { min-height: 46px; padding: 0 22px; font-size: .98rem; }

.text-link {
  display: inline-block; font-weight: 600;
  text-decoration: underline; text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px; text-underline-offset: 5px;
  transition: text-decoration-color .2s;
}
.text-link:hover { text-decoration-color: var(--green); }
.on-dark .text-link:hover { text-decoration-color: var(--chalk); }

.inline-link {
  padding: 0; border: 0; background: none;
  text-decoration: underline; text-decoration-color: var(--yellow);
  text-decoration-thickness: 2px; text-underline-offset: 4px;
  font-weight: 600; text-align: left;
}
.inline-link:hover { text-decoration-color: currentColor; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--chalk);
  border-bottom: 1px solid transparent;
  transition: border-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-mark .mark-bg { fill: var(--mark-bg, var(--green)); }
.brand-mark .mark-fg { stroke: var(--mark-fg, var(--yellow)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--font-head); font-stretch: 88%; font-weight: 800;
  font-size: 1.28rem; letter-spacing: -.015em;
}
.brand-text small { margin-top: 5px; font-size: .74rem; letter-spacing: .02em; opacity: .7; }

.primary-nav { display: flex; align-items: center; gap: 36px; }
.nav-list { display: flex; gap: 30px; }
.nav-link {
  position: relative; display: inline-block; padding: 8px 0;
  font-weight: 500; font-size: .98rem; text-decoration: none;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px;
  background: var(--yellow); transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

/* scroll progress, drawn as a short length of tape under the header */
.progress {
  position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px;
  background: var(--yellow); transform: scaleX(var(--p, 0)); transform-origin: left;
  pointer-events: none;
}

.nav-toggle {
  display: none; position: relative; width: 46px; height: 46px;
  border: 1.5px solid var(--green); border-radius: var(--radius); background: transparent;
}
.nav-toggle .bars {
  position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px;
  background: var(--green); transition: background .2s;
}
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px;
  background: var(--green); transition: transform .25s;
}
.nav-toggle .bars::before { top: -7px; }
.nav-toggle .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 5. Fabric swatches (CSS only, no image downloads) ---------- */
.swatch { position: relative; border-radius: 2px; }
.swatch::after {
  content: ""; position: absolute; inset: 8px; pointer-events: none;
  border: 1.5px dashed var(--stitch, rgba(255, 255, 255, .55)); border-radius: 1px;
}

.swatch--denim {
  background-color: #3C5A86;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.10) 0 2px, transparent 2px 6px),
    repeating-linear-gradient(45deg, rgba(0,0,0,.10) 0 1px, transparent 1px 4px);
}
.swatch--brick {
  background-color: #B5482B;
  background-image: repeating-linear-gradient(90deg,
    transparent 0 22px, rgba(255,255,255,.28) 22px 26px, transparent 26px 36px, rgba(0,0,0,.14) 36px 38px);
}
.swatch--oat {
  --stitch: rgba(31, 58, 49, .32);
  background-color: #D2C6AC;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.30) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(90,70,40,.10) 0 1px, transparent 1px 4px);
}
.swatch--herring {
  background-color: #39424A;
  background-image:
    linear-gradient(135deg, rgba(255,255,255,.13) 25%, transparent 25%),
    linear-gradient(225deg, rgba(255,255,255,.13) 25%, transparent 25%),
    linear-gradient(315deg, rgba(255,255,255,.13) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,.13) 25%, transparent 25%);
  background-size: 20px 20px;
  background-position: -10px 0, -10px 0, 0 0, 0 0;
}
.swatch--check {
  --stitch: rgba(31, 58, 49, .35);
  background-color: #DCE7DE;
  background-image:
    linear-gradient(90deg, rgba(47,84,69,.38) 50%, transparent 50%),
    linear-gradient(rgba(47,84,69,.38) 50%, transparent 50%);
  background-size: 36px 36px;
}
.swatch--olive {
  background-color: #6E7A52;
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.10) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px);
}
.swatch--waffle {
  --stitch: rgba(31, 58, 49, .35);
  background-color: #ECEADF;
  background-image:
    linear-gradient(rgba(31,58,49,.12) 2px, transparent 2px),
    linear-gradient(90deg, rgba(31,58,49,.12) 2px, transparent 2px);
  background-size: 14px 14px;
}

.swatch-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  padding: 3px 10px; border-radius: 2px;
  background: var(--chalk); color: var(--green);
  font-size: .78rem; font-weight: 600; line-height: 1.5;
}

/* ---------- 6. Hero ---------- */
.hero { padding-top: clamp(36px, 5vw, 80px); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
  padding-bottom: clamp(56px, 7vw, 104px);
}

.hero-kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 26px; font-weight: 600; font-size: .98rem;
}
.hero-kicker::before {
  content: ""; width: 30px; height: 12px;
  background: var(--yellow); border: 1.5px solid var(--green);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.7vw, 5.2rem);
  font-weight: 800; line-height: .97; letter-spacing: -.035em;
}

.lead {
  max-width: 56ch; margin-top: 28px;
  font-size: 1.15rem; color: var(--text-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-points {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero-points li { display: flex; flex-direction: column; gap: 2px; padding-right: 16px; }
.hero-points li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.hero-points strong { font-family: var(--font-head); font-stretch: 92%; font-size: 1.1rem; letter-spacing: -.01em; }
.hero-points span { font-size: .92rem; color: var(--stone); line-height: 1.45; }

/* cutting mat */
.mat {
  position: relative; overflow: hidden;
  aspect-ratio: 1 / 1.08; min-height: 380px;
  background-color: var(--green);
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
  border-radius: var(--radius);
}
.mat-scale {
  position: absolute; display: flex; justify-content: space-between;
  font-size: .72rem; line-height: 1; color: rgba(243, 245, 241, .65);
}
.mat-scale--x { top: 12px; left: 36px; right: 20px; }
.mat-scale--y { top: 44px; bottom: 20px; left: 12px; flex-direction: column; }

.cut {
  position: absolute; z-index: 1;
  transform: rotate(var(--r, 0deg));
  box-shadow: 0 14px 20px -10px rgba(0, 0, 0, .55);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  animation: lay .95s cubic-bezier(.2, .8, .2, 1) backwards;
  animation-delay: calc(.14s * var(--i, 1));
}
.cut:hover { transform: rotate(var(--r, 0deg)) translateY(-6px); }
.cut--1 { left: 9%; top: 12%; width: 46%; height: 50%; }
.cut--2 { right: 7%; top: 8%; width: 36%; height: 34%; }
.cut--3 { left: 43%; top: 53%; width: 35%; height: 30%; z-index: 2; }
.cut--4 { left: 7%; bottom: 6%; width: 30%; height: 24%; }
.cut--3::before { /* pin */
  content: ""; position: absolute; z-index: 2; top: 10px; left: 50%;
  width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: var(--yellow); border: 2px solid var(--green);
}

@keyframes lay {
  from { opacity: 0; transform: translateY(-34px) rotate(calc(var(--r, 0deg) * 2.5)); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }
}

/* measuring-tape strip */
.tape {
  position: relative; background: var(--yellow); color: var(--green);
  padding: 40px 0 36px;
}
.tape::before, .tape::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px;
  background-image:
    repeating-linear-gradient(90deg, var(--green) 0 2px, transparent 2px 50px),
    repeating-linear-gradient(90deg, var(--green) 0 1px, transparent 1px 10px);
  background-size: 100% 100%, 100% 50%;
  background-repeat: no-repeat;
}
.tape::before { top: 0; }
.tape::after { bottom: 0; transform: scaleY(-1); }

.tape-list { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 36px; }
.tape-list a {
  font-family: var(--font-head); font-stretch: 90%; font-weight: 700; font-size: 1.12rem;
  letter-spacing: -.01em; text-decoration: none;
  background: linear-gradient(var(--green), var(--green)) left bottom / 0 2px no-repeat;
  transition: background-size .25s;
}
.tape-list a:hover { background-size: 100% 2px; }

/* ---------- 7. Section heads (shared) ---------- */
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(24px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head p { max-width: 50ch; font-size: 1.1rem; color: var(--text-soft); }

/* ---------- 8. About ---------- */
.about-top {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.statement { max-width: 46ch; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.5; }

.about-body {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.about-text p { max-width: 64ch; color: var(--text-soft); }
.about-text p + p { margin-top: 1.3em; }

.care-label {
  position: relative; padding: 36px 32px 28px;
  background: #fff; border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line), 0 22px 40px -28px rgba(31, 58, 49, .55);
}
.care-label::before {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1.5px dashed rgba(31, 58, 49, .3); border-radius: 2px;
}
.care-label h3 { font-size: 1.55rem; font-weight: 800; }
.care-sub { margin: 4px 0 20px; font-size: .92rem; color: var(--stone); }
.care-label dl > div {
  display: grid; grid-template-columns: 96px 1fr; gap: 12px;
  padding: 13px 0; border-top: 1px dashed var(--line);
}
.care-label dt { font-size: .86rem; color: var(--stone); }
.care-label dd { font-weight: 500; overflow-wrap: anywhere; }

.principles {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px);
}
.principle { padding-top: 20px; border-top: 4px solid var(--yellow); }
.principle h3 { margin-bottom: 10px; font-size: 1.45rem; }
.principle p { font-size: 1rem; color: var(--text-soft); }

.swatchbook { margin-top: clamp(56px, 7vw, 96px); }
.swatchbook-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  align-items: end; gap: 10px;
  height: clamp(220px, 26vw, 340px);
}
.fan {
  height: var(--h, 100%);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.fan:hover { transform: translateY(-10px); }
.swatchbook figcaption { margin-top: 14px; font-size: .92rem; color: var(--stone); }

/* ---------- 9. Products (tabs) ---------- */
.products { background: var(--sage); }

.catalog {
  display: grid; grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}

.tablist { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tab {
  display: flex; align-items: center; gap: 16px; width: 100%;
  padding: 20px 8px 20px 18px; border: 0; border-bottom: 1px solid var(--line);
  background: none; text-align: left;
  font-family: var(--font-head); font-stretch: 92%; font-weight: 600;
  font-size: 1.22rem; line-height: 1.2; letter-spacing: -.01em;
  position: relative; transition: background-color .2s, padding .2s;
}
.tab::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 6px;
  background: var(--yellow); transform: scaleY(0); transform-origin: center;
  transition: transform .25s;
}
.tab:hover { background: rgba(255, 255, 255, .45); }
.tab[aria-selected="true"] { background: #fff; font-weight: 800; }
.tab[aria-selected="true"]::before { transform: scaleY(1); }

.chip { flex: none; width: 30px; height: 30px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(31, 58, 49, .25); }

.panels { min-width: 0; }
.panel {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: clamp(24px, 4vw, 56px); align-items: stretch;
  padding: clamp(28px, 4vw, 52px); background: #fff; border-radius: var(--radius);
  animation: panel-in .45s ease;
}
.panel[hidden] { display: none; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.panel h3 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); font-weight: 800; letter-spacing: -.025em; }
.panel-summary { margin-top: 16px; max-width: 58ch; color: var(--text-soft); }
.panel-lists {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px; margin: 32px 0; padding-top: 28px; border-top: 1px solid var(--line);
}
.panel-lists h4 { margin-bottom: 12px; }
.ticks li { position: relative; padding-left: 24px; font-size: .98rem; line-height: 1.5; }
.ticks li + li { margin-top: 8px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 10px; height: 10px;
  background: var(--yellow); border: 1.5px solid var(--green);
}
.panel-visual { min-height: 300px; align-self: stretch; }

/* ---------- 10. Process ---------- */
.steps {
  position: relative; display: grid; grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.steps::before { /* stitched line behind the step markers */
  content: ""; position: absolute; top: 23px; left: 23px; right: 0;
  border-top: 2px dashed rgba(31, 58, 49, .4);
}
.step { position: relative; }
.step-node {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 26px;
  border: 2px solid var(--green); border-radius: 50%;
  background: var(--yellow); color: var(--green);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 0 0 8px var(--chalk);
}
.step h3 { margin-bottom: 10px; font-size: 1.3rem; }
.step p { font-size: .98rem; color: var(--text-soft); }

.note-bar {
  margin-top: clamp(48px, 6vw, 80px); padding: 24px 28px;
  border-left: 6px solid var(--yellow); background: var(--sage);
  max-width: 78ch; color: var(--text-soft);
}

/* ---------- 11. Why us ---------- */
.why { background: var(--green); color: var(--chalk); }
.why .section-head p { color: rgba(243, 245, 241, .8); }

.ledger {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light);
}
.ledger-cell {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 290px; padding: clamp(26px, 3vw, 40px);
  border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
  transition: background-color .25s;
}
.ledger-cell:hover { background: rgba(255, 255, 255, .05); }
.ledger-feature { grid-column: span 2; }
.ledger-cell h3 { margin-bottom: 12px; font-size: 1.5rem; }
.ledger-feature h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; letter-spacing: -.025em; }
.ledger-cell p { max-width: 46ch; color: rgba(243, 245, 241, .82); }

.icon {
  width: 34px; height: 34px; fill: none; stroke: var(--yellow);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.mini-swatches { display: flex; gap: 8px; }
.mini-swatches span { width: 54px; height: 34px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }

/* ---------- 12. FAQ ---------- */
.faq-grid {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 112px); align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-intro p { margin: 20px 0 24px; max-width: 34ch; color: var(--text-soft); }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative; display: block; padding: 26px 56px 26px 0; list-style: none; cursor: pointer;
  font-family: var(--font-head); font-stretch: 92%; font-weight: 700; font-size: 1.3rem;
  line-height: 1.25; letter-spacing: -.01em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 18px; height: 2.5px;
  margin-top: -1px; background: var(--green); transition: transform .25s;
}
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0deg); }
.faq-list summary:hover { color: var(--green-2); }
.faq-answer { max-width: 62ch; padding: 0 56px 28px 0; color: var(--text-soft); animation: panel-in .35s ease; }

/* ---------- 13. Contact ---------- */
.contact { background: var(--sage); }
.contact-grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 96px); align-items: start;
}
.contact-lead { max-width: 44ch; margin: 22px 0 40px; font-size: 1.12rem; color: var(--text-soft); }

.contact-details > div { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-details > div:last-child { border-bottom: 1px solid var(--line); }
.contact-details dt { margin-bottom: 4px; font-size: .88rem; color: var(--stone); }
.contact-details dd { font-family: var(--font-head); font-stretch: 92%; font-weight: 600; font-size: 1.3rem; line-height: 1.35; letter-spacing: -.01em; }
.contact-details dd a { text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.contact-details dd .text-link { margin-top: 6px; font-family: var(--font-body); font-size: 1rem; }

.form-sheet {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: calc(clamp(28px, 4vw, 52px) + 14px) clamp(24px, 4vw, 52px) clamp(28px, 4vw, 52px);
  box-shadow: 0 1px 0 var(--line);
}
.form-sheet::before { /* tape strip on top edge of the sheet */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px;
  border-radius: var(--radius) var(--radius) 0 0;
  background-color: var(--yellow);
  background-image:
    repeating-linear-gradient(90deg, var(--green) 0 2px, transparent 2px 50px),
    repeating-linear-gradient(90deg, var(--green) 0 1px, transparent 1px 10px);
  background-size: 100% 100%, 100% 50%;
  background-repeat: no-repeat;
}
.form-title { margin-bottom: 28px; font-size: 1.8rem; font-weight: 800; letter-spacing: -.025em; }

.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--stone); }

.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 14px;
  font: inherit; color: var(--green);
  background-color: var(--chalk);
  border: 0; border-bottom: 2px solid var(--green); border-radius: 0;
  transition: background-color .2s, border-color .2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #7C8A84; }
.field input:hover, .field select:hover, .field textarea:hover { background-color: var(--sage); }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5 7 7.5l6-6' fill='none' stroke='%231F3A31' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}

.field.has-error input, .field.has-error textarea { border-bottom-color: var(--error); }
.field-error { color: var(--error); font-size: .9rem; font-weight: 500; line-height: 1.4; }
.field-error:empty { display: none; }

.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400 !important; font-size: .95rem !important; line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 18px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status.is-ok { color: var(--green-2); }
.form-note { margin-top: 18px; font-size: .88rem; line-height: 1.5; color: var(--stone); }
.form-sheet .btn { min-width: 200px; }

/* ---------- 14. Footer ---------- */
.site-footer { --mark-bg: var(--yellow); --mark-fg: var(--green); background: var(--green-deep); color: rgba(243, 245, 241, .82); padding-top: clamp(56px, 6vw, 88px); }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
  gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-brand .brand { color: var(--chalk); }
.footer-brand p { max-width: 34ch; margin-top: 20px; font-size: .98rem; }
.footer-heading { margin-bottom: 16px; font-size: 1.05rem; color: var(--yellow); letter-spacing: -.005em; }
.footer-col li + li { margin-top: 10px; }
.footer-col a, .footer-col .inline-link { text-decoration-color: transparent; transition: text-decoration-color .2s, color .2s; color: inherit; font-weight: 400; }
.footer-col a:hover, .footer-col .inline-link:hover { color: #fff; text-decoration-color: var(--yellow); }
.footer-col address { line-height: 1.7; }
.footer-activity { margin-top: 12px; font-size: .92rem; opacity: .8; }
.footer-bottom { padding-block: 24px; border-top: 1px solid var(--line-light); font-size: .9rem; opacity: .85; }

/* ---------- 15. Privacy dialog ---------- */
.dialog {
  width: min(680px, calc(100% - 32px)); max-height: min(88vh, 780px);
  padding: 0; border: 0; border-radius: var(--radius);
  background: #fff; color: var(--green); overflow: auto;
}
.dialog::backdrop { background: rgba(20, 40, 31, .65); }
.dialog-inner { padding: clamp(24px, 4vw, 44px); }
.dialog h2 { margin-bottom: 14px; font-size: 2rem; }
.dialog h3 { margin: 24px 0 6px; font-size: 1.15rem; }
.dialog p { color: var(--text-soft); font-size: 1rem; }
.dialog .btn { margin-top: 28px; }

/* ---------- 16. Scroll reveal (subtle, only on key blocks) ---------- */
.js .reveal {
  opacity: 0; transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 17. Responsive ---------- */
@media (max-width: 1100px) {
  .nav-list { gap: 22px; }
  .primary-nav { gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 28px;
    padding: 20px var(--gutter) 40px; overflow-y: auto;
    background: var(--chalk);
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .primary-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link {
    display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-head); font-stretch: 90%; font-weight: 700; font-size: 1.7rem; letter-spacing: -.02em;
  }
  .nav-link::after { display: none; }
  .primary-nav .btn { min-height: 54px; }

  .hero-grid { grid-template-columns: 1fr; }
  .mat { aspect-ratio: 1 / .95; }
  .section-head, .about-top, .about-body, .contact-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; gap: 18px; }
  .about-top { align-items: start; gap: 24px; }
  .principles { grid-template-columns: 1fr; gap: 32px; }

  .catalog { grid-template-columns: 1fr; gap: 24px; }
  .tablist {
    flex-direction: row; overflow-x: auto; border-top: 0; gap: 8px; padding-bottom: 6px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  .tab {
    flex: none; width: auto; padding: 14px 18px; border: 1.5px solid var(--line);
    border-radius: var(--radius); font-size: 1.05rem; scroll-snap-align: start; white-space: nowrap;
  }
  .tab::before { top: auto; bottom: -1.5px; left: -1.5px; right: -1.5px; width: auto; height: 5px; transform: scaleX(0); }
  .tab[aria-selected="true"]::before { transform: scaleX(1); }

  .panel { grid-template-columns: 1fr; }
  .panel-visual { order: -1; min-height: 170px; }

  .ledger { grid-template-columns: repeat(2, 1fr); }
  .ledger-feature { grid-column: span 2; }
  .ledger-cell { min-height: 240px; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
}

@media (max-width: 720px) {
  .hero-points { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .hero-points li, .hero-points li + li { padding: 0; border-left: 0; }
  .swatchbook-row { grid-template-columns: repeat(2, 1fr); height: auto; align-items: stretch; gap: 10px; }
  .fan { height: 120px; }
  .fan:last-child { grid-column: span 2; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps::before {
    display: block; top: 24px; bottom: 24px; left: 22px; right: auto; border-top: 0;
    border-left: 2px dashed rgba(31, 58, 49, .4);
  }
  .step { padding: 0 0 36px 70px; }
  .step:last-child { padding-bottom: 0; }
  .step-node { position: absolute; left: 0; top: 0; margin: 0; width: 44px; height: 44px; box-shadow: 0 0 0 6px var(--chalk); }
  .step h3 { padding-top: 8px; }
  .tape { padding: 38px 0 34px; }
  .tape-list { gap: 10px 24px; justify-content: flex-start; }
}

@media (max-width: 640px) {
  .ledger { grid-template-columns: 1fr; }
  .ledger-feature { grid-column: auto; }
  .ledger-cell { min-height: 0; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .panel-lists { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .care-label dl > div { grid-template-columns: 1fr; gap: 2px; }
  .btn { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .faq-list summary { font-size: 1.15rem; padding-right: 44px; }
  .faq-answer { padding-right: 0; }
}

/* ---------- 18. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
