/* =========================================================
   Wall Moulding — static site styles
   Elegant, warm, brand-appropriate design system
   ========================================================= */

:root {
  --ink:        #1d1a16;
  --charcoal:   #2c2823;
  --muted:      #6f665a;
  --soft:       #8b8171;
  --brass:      #a8843b;
  --brass-dk:   #8a6b2c;
  --brass-lt:   #c6a768;
  --cream:      #f7f2e9;
  --paper:      #fffdf8;
  --line:       #e6ddcd;
  --line-dk:    #d6cab4;
  --white:      #ffffff;

  --serif: "Cormorant Garamond", "Hoefler Text", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 3px;
  --shadow: 0 18px 50px -24px rgba(29, 26, 22, .45);
  --shadow-sm: 0 6px 20px -12px rgba(29, 26, 22, .35);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-dk); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.65rem); }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #efe7d8; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--white); }
.section--cream { background: var(--cream); }

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brass);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--brass); display: inline-block; }
.section--ink .eyebrow { color: var(--brass-lt); }
.section--ink .eyebrow::before { background: var(--brass-lt); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--muted); max-width: 62ch; }
.section--ink .lede { color: #cbc0ac; }
.center { text-align: center; }
.center .eyebrow, .center .lede { margin-inline: auto; }
.center .lede { max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .84rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .95rem 1.9rem; border-radius: var(--radius);
  border: 1px solid var(--ink); background: var(--ink); color: var(--white);
  cursor: pointer; transition: all .25s var(--ease);
}
.btn:hover { background: var(--brass-dk); border-color: var(--brass-dk); color: var(--white); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--brass { background: var(--brass); border-color: var(--brass); }
.btn--brass:hover { background: var(--brass-dk); border-color: var(--brass-dk); }
.btn--light { background: transparent; color: #f3ead9; border-color: rgba(243,234,217,.5); }
.btn--light:hover { background: #f3ead9; color: var(--ink); border-color: #f3ead9; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.center .btn-row { justify-content: center; }

.link-arrow { font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5rem; }
.link-arrow::after { content: "\2192"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,242,233,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand-logo { height: 56px; width: auto; display: block; }
@media (max-width: 560px){ .brand-logo { height: 48px; } }
.brand-mark { display: block; }
.brand-text { line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: .04em; display: block; }
.brand-sub { font-family: var(--sans); font-size: .58rem; letter-spacing: .34em; text-transform: uppercase; color: var(--soft); display: block; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: .3rem;
  font-family: var(--sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--charcoal);
  padding: .7rem .85rem; border-radius: var(--radius);
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--brass-dk); }
.nav-item.has-menu > .nav-link::after { content: "\25be"; font-size: .6rem; color: var(--soft); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .2s var(--ease);
}
.nav-item.has-menu:hover .submenu, .nav-item.has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .6rem .8rem; border-radius: var(--radius);
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; color: var(--charcoal);
}
.submenu a:hover { background: var(--cream); color: var(--brass-dk); }
.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); white-space: nowrap; }
.header-phone span { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--soft); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-dk); border-radius: var(--radius); width: 46px; height: 42px; cursor: pointer; padding: 0; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: .25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #f1e8d8; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(168,132,59,.22), transparent 60%),
    linear-gradient(180deg, #221f1a 0%, #1a1712 100%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.hero h1 { color: var(--white); margin-bottom: .35em; }
.hero h1 .accent { color: var(--brass-lt); font-style: italic; }
.hero .lede { color: #d3c8b3; font-size: clamp(1.05rem, 1.6vw, 1.3rem); margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stat .n { font-family: var(--serif); font-size: 2.4rem; font-weight: 700; color: var(--brass-lt); line-height: 1; }
.hero-stat .l { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #b4a992; margin-top: .4rem; }

/* framed art motif for hero visual */
.hero-frame { position: relative; justify-self: center; width: 100%; max-width: 420px; aspect-ratio: 4/5; }
.frame-outer {
  position: absolute; inset: 0; border-radius: 2px;
  background: linear-gradient(135deg, #caa96a, #8a6b2c 45%, #d9bd80 70%, #7d5f26);
  padding: clamp(14px, 3.5vw, 26px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 2px 4px rgba(255,255,255,.35);
}
.frame-mat { position: absolute; inset: clamp(14px,3.5vw,26px); background: #ece3d2; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); padding: clamp(16px,4vw,30px); }
.frame-art {
  position: absolute; inset: clamp(30px,7.5vw,56px);
  background:
    linear-gradient(160deg, #3a3630, #26221d),
    repeating-linear-gradient(45deg, rgba(168,132,59,.08) 0 12px, transparent 12px 24px);
  display: flex; align-items: flex-end; padding: 1.4rem;
}
.frame-art span { font-family: var(--serif); font-style: italic; color: var(--brass-lt); font-size: 1.15rem; }

/* ---------- generic grid ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* feature cards */
.feature {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--line-dk); }
.feature .ic { width: 46px; height: 46px; margin-bottom: 1.1rem; color: var(--brass); }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: var(--muted); font-size: .96rem; margin-bottom: 0; }

/* split content */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--wide-text { grid-template-columns: 1.15fr .85fr; }
.media-frame {
  background: linear-gradient(135deg, #c3a469, #8a6b2c 50%, #b59450);
  padding: clamp(12px, 2.5vw, 20px); border-radius: 2px; box-shadow: var(--shadow);
}
.media-frame > .inner {
  aspect-ratio: 4/3; background: #ece3d2; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; color: var(--muted);
  background-image:
    radial-gradient(circle at 30% 30%, rgba(168,132,59,.12), transparent 40%),
    linear-gradient(160deg, #efe7d6, #e3d8c2);
}
.media-frame .inner .k { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); font-style: italic; }

/* stat band */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat-cell { background: var(--paper); padding: 2rem 1.4rem; text-align: center; }
.stat-cell .n { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--brass-dk); line-height: 1; }
.stat-cell .l { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; }

/* page hero (interior) */
.page-hero { background: var(--ink); color: #efe7d8; padding-block: clamp(3rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 85% 0%, rgba(168,132,59,.18), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #cfc4af; }
.breadcrumb { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #b0a690; margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--brass-lt); }
.breadcrumb span { color: #756c5c; margin-inline: .5rem; }

/* prose */
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; color: var(--brass-dk); }
.prose p, .prose li { color: var(--charcoal); }
.prose > p:first-of-type { font-size: 1.15rem; color: var(--muted); }

/* callout / note */
.note { background: var(--paper); border-left: 3px solid var(--brass); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin: 1.5rem 0; }
.note strong { color: var(--ink); }
.note p:last-child { margin-bottom: 0; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; background: var(--paper); font-size: .95rem; }
table.data th, table.data td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
table.data th { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); background: var(--cream); }
table.data tr:last-child td { border-bottom: 0; }
table.data td.price { font-family: var(--serif); font-size: 1.15rem; color: var(--brass-dk); font-weight: 600; }

/* ---------- products / collections grid ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; align-items: center; }
.filter-bar .fl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); font-weight: 600; margin-right: .5rem; }
.chip {
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  padding: .5rem 1rem; border-radius: 100px; border: 1px solid var(--line-dk);
  background: var(--paper); color: var(--charcoal); cursor: pointer; transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--brass); color: var(--brass-dk); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--white); }

.collection-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.moulding-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.moulding-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.swatch { aspect-ratio: 1/1; position: relative; display: flex; align-items: center; justify-content: center; background: #ece3d2; }
/* frame profile rendered with nested borders */
.swatch .profile { width: 74%; height: 74%; border-radius: 2px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.08); position: relative; }
.swatch .profile::after { content: ""; position: absolute; inset: 22%; background: #ece3d2; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
/* real product photo */
.swatch img { width: 100%; height: 100%; object-fit: cover; display: block; background: #fff; }
.moulding-card .swatch { background: #fff; }
.mc-num { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); font-weight: 700; }
.count-note { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--soft); font-weight: 600; margin-bottom: 1.5rem; }
.count-note b { color: var(--brass-dk); }
.mc-body { padding: .95rem 1.1rem 1.2rem; }
.mc-name { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.mc-meta { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); margin-top: .25rem; }

/* swatch color fills */
.f-black   { background: linear-gradient(135deg,#2a2a2a,#111); }
.f-gold    { background: linear-gradient(135deg,#d9bd80,#9c7a2f); }
.f-silver  { background: linear-gradient(135deg,#e6e6e6,#a9a9a9); }
.f-bronze  { background: linear-gradient(135deg,#9c6f3f,#5f3d1f); }
.f-espresso{ background: linear-gradient(135deg,#5a4635,#2f231a); }
.f-white   { background: linear-gradient(135deg,#fdfdfb,#e2ddd2); }
.f-woodtone{ background: linear-gradient(135deg,#b98a54,#7a5227); }
.f-gray    { background: linear-gradient(135deg,#9a978f,#5f5c55); }
.f-red     { background: linear-gradient(135deg,#9e3b2f,#6d251c); }
.f-blue    { background: linear-gradient(135deg,#3f5d78,#25384b); }

/* ---------- team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1.1rem; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--white); background: linear-gradient(135deg, var(--brass-lt), var(--brass-dk)); box-shadow: inset 0 2px 6px rgba(255,255,255,.3); }
.member h3 { font-size: 1.3rem; margin-bottom: .1rem; }
.member .role { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-dk); font-weight: 600; margin-bottom: .8rem; }
.member .bio { font-size: .92rem; color: var(--muted); margin-bottom: 0; }

/* ---------- distributor list ---------- */
.dist-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.dist { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.dist h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.dist .loc { font-size: .9rem; color: var(--muted); }
.dist .tel { font-family: var(--serif); font-size: 1.2rem; color: var(--brass-dk); font-weight: 600; margin-top: .5rem; display: inline-block; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.8rem; margin-bottom: 1.2rem; }
.contact-card .lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--soft); font-weight: 600; margin-bottom: .4rem; }
.contact-card .val { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.contact-card .val a { color: var(--ink); }
.contact-card .val a:hover { color: var(--brass-dk); }

form.wm-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--charcoal); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem; border: 1px solid var(--line-dk); border-radius: var(--radius);
  background: var(--white); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(168,132,59,.15); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, #221f1a, #14110d); color: #efe7d8; border-radius: var(--radius); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 50% -20%, rgba(168,132,59,.28), transparent 65%); }
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: #d3c8b3; margin: 0 auto 2rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #b7ac97; padding-block: clamp(3rem,6vw,4.5rem) 2rem; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand-name { color: var(--white); font-size: 1.6rem; }
.footer-brand .brand-sub { color: var(--brass-lt); }
.footer-brand p { margin-top: 1rem; color: #9a9082; max-width: 30ch; }
.footer-col h4 { font-family: var(--sans); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: #b7ac97; }
.footer-col a:hover { color: var(--white); }
.footer-contact .fc-item { margin-bottom: 1rem; }
.footer-contact .fc-item .k { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #7d7362; display: block; margin-bottom: .2rem; }
.footer-contact .fc-item a, .footer-contact .fc-item span { color: #e4dccc; font-size: 1rem; }
.social { display: flex; gap: .7rem; margin-top: 1.2rem; }
.social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #b7ac97; }
.social a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-size: .82rem; color: #877d6c; }
.footer-bottom a { color: #a89e8c; }

/* ---------- reveal animation ----------
   Content is visible by default; only when JS is present (html.js) do we
   hide-then-reveal on scroll, so the site never shows blank sections. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 860px) {
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 0 auto; width: min(340px, 86vw);
    background: var(--paper); flex-direction: column; align-items: stretch;
    padding: 1.2rem; gap: 0; border-left: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateX(105%); transition: transform .3s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { padding: 1rem .5rem; font-size: .85rem; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 .6rem 1rem; min-width: 0; background: transparent;
  }
  .nav-item.has-menu > .nav-link::after { margin-left: auto; }
  .hero-inner, .split, .split--wide-text, .contact-grid { grid-template-columns: 1fr; }
  .hero-frame { max-width: 320px; order: -1; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .dist-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .team-grid, .dist-grid, .collection-grid, .field-row { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
