/* ==========================================================================
   Dalal Industries — 3D site
   Deep loom-green and brass on cream, classic serif headings, 3D throughout.
   ========================================================================== */
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 500; font-style: italic; font-display: swap; src: url(../fonts/playfair-display-latin-500-italic.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/playfair-display-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/dm-sans-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/dm-sans-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/dm-sans-latin-600-normal.woff2) format("woff2"); }

:root {
  --green: #16301F;
  --green-2: #2a221c;
  --green-3: #3a2f25;
  --brass: #C29B5C;          /* decorative + text on green (6.1:1) */
  --brass-ink: #855F27;      /* brass for small text on cream (5.0:1) */
  --cream: #F7F3EC;
  --cream-2: #EFE8DC;
  --paper: #FFFFFF;
  --ink: #15201A;
  --ink-2: #47524B;
  --muted: #5F6A63;
  --line: rgba(21, 32, 26, .10);
  --line-2: rgba(21, 32, 26, .16);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1260px;
  --gutter: clamp(20px, 4vw, 48px);
  --r-lg: 24px; --r-md: 16px; --r-sm: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 80px;
  --shadow: 0 30px 60px -30px rgba(23, 19, 15, .35), 0 8px 20px -12px rgba(23, 19, 15, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); color-scheme: light; }
@media (pointer: fine) { html { overscroll-behavior: none; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
h1, h2, h3, .h1 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
::selection { background: #E8D8B8; color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 8px; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--green); color: #fff; text-decoration: none; transform: translateY(-160%); transition: transform .25s var(--ease); }
.skip:focus-visible { transform: none; }

/* shared 3D stage: sits above content, draws only inside placeholder boxes */
.stage3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 40; pointer-events: none; }
body.menu-open .stage3d { visibility: hidden; }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-ink); }
.eyebrow--light { color: var(--brass); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; font: 500 15.5px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .35s var(--ease), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .35s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn .i { transition: transform .35s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn--gold { background: var(--brass); color: #1A1408; }
.btn--gold:hover { background: #D3AE70; transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(194, 155, 92, .9); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-2); transform: translateY(-1px); box-shadow: 0 14px 28px -14px rgba(23, 19, 15, .7); }
.btn--light { background: #fff; color: var(--green); }
.btn--light:hover { background: var(--cream); transform: translateY(-1px); }
.btn--outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.round { width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); color: #fff; transition: background-color .2s ease, border-color .2s ease, transform .35s var(--ease); }
.round:hover { background: rgba(255,255,255,.18); border-color: #fff; }
.round:active { transform: scale(.95); }
.round--dark { border-color: var(--line-2); background: #fff; color: var(--green); }
.round--dark:hover { background: var(--green); color: #fff; border-color: var(--green); }
.round .i-play { display: none; }
.round[aria-pressed="true"] .i-pause { display: none; }
.round[aria-pressed="true"] .i-play { display: block; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h); display: flex; flex-direction: column; justify-content: center; transition: background-color .35s ease, box-shadow .35s ease, height .35s var(--ease), transform .45s var(--ease); }
.nav__inner { display: flex; align-items: center; gap: 28px; }
.nav__brand { position: relative; display: block; }
.nav__brand img { height: 38px; width: auto; transition: opacity .3s ease; }
.nav__brand .logo-dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; gap: 2px; margin-left: auto; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font-size: 15px; text-decoration: none; color: rgba(255,255,255,.88); transition: color .2s ease, background-color .2s ease; }
.nav__links a:hover, .nav__links a.is-current { color: #fff; background: rgba(255,255,255,.12); }
.nav.is-solid { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(23, 19, 15,.35); height: 70px; }
.nav.is-solid .logo-dark { opacity: 1; }
.nav.is-solid .logo-light { opacity: 0; }
.nav.is-solid .nav__links a { color: var(--ink-2); }
.nav.is-solid .nav__links a:hover, .nav.is-solid .nav__links a.is-current { color: var(--green); background: rgba(23, 19, 15,.07); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__toggle { display: none; }
.menu { display: none; }
@media (max-width: 1020px) {
  .nav__links, .nav__cta { display: none; }
  .nav__inner { justify-content: space-between; }
  .nav__toggle { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 999px; border: 0; background: var(--brass); cursor: pointer; }
  .nav__toggle span { display: block; width: 18px; height: 1.6px; background: #1A1408; border-radius: 2px; transition: transform .35s var(--ease); }
  .nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .menu:not([hidden]) { display: flex; flex-direction: column; position: fixed; inset: 0; z-index: -1; padding: calc(var(--nav-h) + 20px) var(--gutter) 40px; background: var(--green); overscroll-behavior: contain; overflow-y: auto; animation: menu-in .45s var(--ease); }
  .menu a:not(.btn) { padding: 16px 0; font-family: var(--serif); font-size: 30px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .menu .btn { margin-top: 28px; }
  body.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.menu-open .nav .logo-dark { opacity: 0; }
  body.menu-open .nav .logo-light { opacity: 1; }
}
@keyframes menu-in { from { opacity: 0; } }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: 1fr auto; padding-top: var(--nav-h); color: #fff; overflow: hidden; background: #DCD6CA; }
.hero__cloth, .hero__fallback, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__cloth { z-index: -3; opacity: 0; transition: opacity 1.2s ease; }
.hero__cloth.is-ready { opacity: 1; }
.hero__fallback { z-index: -4; background: url(../images/mill/loom-hall-1600.webp) center / cover; }
.hero__shade { z-index: -1; background:
  linear-gradient(180deg, rgba(11, 9, 8, .55) 0%, rgba(11, 9, 8, 0) 18%),
  linear-gradient(90deg, rgba(11, 9, 8, .88) 0%, rgba(11, 9, 8, .70) 32%, rgba(11, 9, 8, .18) 62%, rgba(11, 9, 8, 0) 80%),
  linear-gradient(0deg, rgba(11, 9, 8, .55) 0%, rgba(11, 9, 8, 0) 30%); }
.hero__inner { align-self: center; padding-block: 40px 20px; }
.hero__slides { display: grid; max-width: 700px; margin-top: 22px; }
.hero__slide { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .8s var(--ease), transform .8s var(--ease), visibility 0s linear .8s; }
.hero__slide.is-on { opacity: 1; transform: none; visibility: visible; transition: opacity .9s var(--ease) .15s, transform .9s var(--ease) .15s, visibility 0s; }
.hero h1, .hero .h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(42px, 5.6vw, 80px); line-height: 1.04; letter-spacing: -.015em; }
.hero h1 em, .hero .h1 em { font-style: italic; color: var(--brass); }
.hero__slide p:not(.h1) { margin-top: 22px; max-width: 54ch; font-size: clamp(16px, 1.25vw, 18.5px); color: rgba(255,255,255,.84); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .eyebrow { color: var(--brass); }
.hero__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 34px; }
.hero__count { display: flex; align-items: center; gap: 16px; font-family: var(--serif); font-size: 18px; color: rgba(255,255,255,.7); }
.hero__now { font-size: 40px; color: #fff; font-variant-numeric: tabular-nums; }
.hero__line { display: block; width: 90px; height: 2px; background: rgba(255,255,255,.25); border-radius: 2px; overflow: hidden; }
.hero__line b { display: block; height: 100%; width: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.hero__line b.run { animation: progress var(--dur, 7s) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero__ctrls { display: flex; gap: 10px; }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.7); text-decoration: none; }
.hero__scroll::after { content: ""; width: 1px; height: 38px; background: linear-gradient(#fff, transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
[data-enter] { animation: enter 1.1s var(--ease) both; }
@keyframes enter { from { opacity: .001; transform: translateY(18px); } }
@media (max-width: 760px) {
  .hero__shade { background: linear-gradient(0deg, rgba(11, 9, 8,.92) 0%, rgba(11, 9, 8,.72) 55%, rgba(11, 9, 8,.25) 100%); }
  .hero__inner { align-self: end; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero__now { font-size: 30px; }
  .hero__line { width: 50px; }
}

/* ---------- section scaffolding ---------- */
section:not(.hero) { padding-block: clamp(80px, 10vw, 140px); position: relative; }
h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: -.01em; color: var(--green); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 60px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { margin-top: 12px; }
.section-head > p:not(.eyebrow) { color: var(--ink-2); font-size: 18px; max-width: 54ch; }
.section-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head--center p:not(.eyebrow) { max-width: 60ch; }
@media (max-width: 820px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- tilt (3D on pointer) ---------- */
.tilt { transform-style: preserve-3d; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); will-change: transform; }
.tilt.is-tilting { transition: transform .12s linear, box-shadow .6s var(--ease); }
.tilt__pop { transform: translateZ(50px); }
.tilt::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.22), transparent 45%); opacity: 0; transition: opacity .4s ease; }
.tilt.is-tilting::after { opacity: 1; }

/* ---------- collections ---------- */
.collections { background: var(--paper); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.split + .split { margin-top: clamp(80px, 10vw, 140px); }
.split--rev .split__img { order: 2; }
.split__img { position: relative; margin: 0; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.split__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.split__tag { position: absolute; left: 22px; bottom: 22px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--green); font-size: 14px; font-weight: 500; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.3); }
.split__text h3 { margin-top: 12px; font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 4vw, 56px); line-height: 1.05; color: var(--green); }
.split__text p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 18px; max-width: 50ch; }
.split__text .btn { margin-top: 30px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev .split__img { order: 0; } }

/* ---------- about ---------- */
.about { background: var(--cream); }
.about__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__img { position: relative; margin: 0; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.about__img > img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--r-lg); }
.about__text h2 { margin-top: 12px; }
.about__text p:not(.eyebrow) { margin-top: 18px; color: var(--ink-2); font-size: 17.5px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.features li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); font-weight: 500; font-size: 15.5px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.features li:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(23, 19, 15,.35); }
.features__ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--green); color: var(--brass); }

/* 3D coin badge */
.coin { position: absolute; right: -34px; bottom: -34px; width: 168px; height: 168px; perspective: 800px; }
.coin__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: coin 9s cubic-bezier(.6,0,.4,1) infinite; }
.coin__face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: radial-gradient(circle at 30% 25%, #3a3029, var(--green) 70%); border: 3px solid var(--brass); box-shadow: 0 0 0 7px rgba(194,155,92,.22), 0 24px 40px -16px rgba(0,0,0,.5); color: #fff; }
.coin__face img { width: 96px; height: auto; }
.coin__face span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
.coin__face b { font-family: var(--serif); font-weight: 500; font-size: 40px; line-height: 1; }
.coin__back { transform: rotateY(180deg); }
@keyframes coin { 0%, 40% { transform: rotateY(0); } 50%, 90% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .coin { right: 12px; bottom: -40px; width: 140px; height: 140px; } .coin__face img { width: 80px; } }

.metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(80px, 9vw, 120px); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.metrics div { padding: 30px 22px; text-align: center; border-right: 1px solid var(--line); }
.metrics div:last-child { border-right: 0; }
.metrics dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-ink); }
.metrics dd { margin-top: 8px; font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); } .metrics div { border-bottom: 1px solid var(--line); } .metrics div:nth-child(2n) { border-right: 0; } .metrics div:last-child { grid-column: span 2; border-bottom: 0; } }

/* ---------- facilities: 3D coverflow reel ---------- */
.facilities { background: linear-gradient(180deg, #0b0908 0%, var(--green) 100%); color: #fff; overflow: hidden; }
.facilities h2 { color: #fff; }
.facilities .section-head > p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.reel { overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; perspective: 1400px; overscroll-behavior-x: contain; padding-block: 30px 40px; }
.reel::-webkit-scrollbar { display: none; }
.reel__track { display: flex; gap: 0; padding-inline: calc(50vw - 210px); width: max-content; transform-style: preserve-3d; }
.reel__card { position: relative; flex: none; width: 420px; aspect-ratio: 4 / 5; margin-inline: -30px; border-radius: 20px; overflow: hidden; scroll-snap-align: center; transform-style: preserve-3d; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); will-change: transform; background: #0b0908; }
.reel__card img { width: 100%; height: 100%; object-fit: cover; }
.reel__label { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(11, 9, 8, .62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); }
.reel__label b { display: block; font-family: var(--serif); font-weight: 500; font-size: 21px; }
.reel__label span { display: block; margin-top: 2px; font-size: 14px; color: rgba(255,255,255,.75); }
.reel__ctrls { display: flex; align-items: center; gap: 18px; }
.reel__bar { flex: 1; height: 2px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.reel__bar b { display: block; height: 100%; width: 0; background: var(--brass); }
@media (max-width: 600px) { .reel__card { width: 280px; margin-inline: -18px; } .reel__track { padding-inline: calc(50vw - 140px); } }

/* ---------- range: 3D ring carousel ---------- */
.range { background: var(--paper); overflow: hidden; }
.range__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.range__head h2 { margin-top: 12px; }
.range__head p:not(.eyebrow) { margin-top: 14px; color: var(--ink-2); max-width: 52ch; }
.range__ctrls { display: flex; gap: 10px; }
.ring { position: relative; height: 560px; perspective: 1300px; perspective-origin: 50% 30%; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.ring.is-drag { cursor: grabbing; }
.ring__track { position: absolute; left: 50%; top: 50px; width: 0; height: 0; transform-style: preserve-3d; }
.ring__card { position: absolute; left: -150px; top: 0; width: 300px; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -30px rgba(23, 19, 15,.45); border: 1px solid var(--line); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: filter .4s ease, opacity .4s ease; }
.ring__card img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; pointer-events: none; }
.ring__card div { padding: 16px 18px 18px; }
.ring__card h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--green); }
.ring__card p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.ring__floor { position: absolute; left: 50%; bottom: 30px; width: 70%; height: 60px; translate: -50% 0; background: radial-gradient(ellipse at center, rgba(23, 19, 15,.18), transparent 70%); pointer-events: none; }
@media (max-width: 700px) { .ring { height: 470px; } .ring__card { width: 240px; left: -120px; } .range__head { flex-direction: column; align-items: start; } }

/* ---------- constructions ---------- */
.constructions { background: var(--cream); }
.swatches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.swatch { background: #fff; border-radius: var(--r-md); border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.swatch:hover { transform: translateY(-4px); box-shadow: 0 24px 44px -26px rgba(23, 19, 15,.4); }
.swatch__view { aspect-ratio: 1 / .92; margin: 10px 10px 0; border-radius: 12px; background: radial-gradient(circle at 50% 40%, #FBF8F2, #E9E2D4); }
.swatch h3 { padding: 18px 20px 0; font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--green); }
.swatch p { padding: 6px 20px 22px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 1000px) { .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .swatches { gap: 16px; } .swatch h3 { font-size: 19px; padding: 14px 14px 0; } .swatch p { padding: 4px 14px 16px; font-size: 13.5px; } }

/* ---------- global ---------- */
.global { background: radial-gradient(80% 90% at 75% 50%, #2a221c 0%, var(--green) 55%, #0b0908 100%); color: #fff; overflow: hidden; }
.global__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: center; }
.global h2 { color: #fff; margin-top: 12px; }
.global__text p:not(.eyebrow) { margin-top: 18px; color: rgba(255,255,255,.78); font-size: 17.5px; max-width: 48ch; }
.ports { margin-top: 30px; display: grid; gap: 2px; }
.ports li { display: grid; gap: 2px; padding: 16px 0 16px 22px; border-top: 1px solid rgba(255,255,255,.12); position: relative; }
.ports li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 5px rgba(194,155,92,.2); }
.ports b { font-weight: 600; }
.ports span { color: rgba(255,255,255,.7); font-size: 15px; }
.global__view { aspect-ratio: 1; width: 100%; max-width: 640px; justify-self: center; cursor: grab; touch-action: pan-y; }
@media (max-width: 900px) { .global__grid { grid-template-columns: 1fr; } .global__view { max-width: 480px; } }

/* ---------- process ---------- */
.process { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.step { position: relative; border-radius: var(--r-md); overflow: visible; }
.step figure { margin: 0; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.step__body { position: relative; margin: -70px 14px 0; padding: 20px; border-radius: var(--r-sm); background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -24px rgba(23, 19, 15,.45); }
.step__n { font-family: var(--serif); font-size: 15px; color: var(--brass-ink); }
.step h3 { margin-top: 4px; font-size: 18px; font-weight: 600; color: var(--green); }
.step p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; } }
@media (max-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } .step figure { aspect-ratio: 4 / 3; } }

/* ---------- compliance ---------- */
.compliance { background: var(--cream); }
.certs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.certs li { position: relative; display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; gap: 10px; height: 168px; padding: 22px 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.certs img { max-height: 62px; width: auto; max-width: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.certs span { font-size: 13px; color: var(--muted); text-align: center; }
.certs li:hover img { transform: translateZ(40px) scale(1.05); }
@media (max-width: 1000px) { .certs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .certs li { height: 140px; } }

/* ---------- contact ---------- */
.contact { background: linear-gradient(160deg, var(--green) 0%, #0b0908 100%); color: #fff; }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact h2 { color: #fff; margin-top: 12px; }
.contact__text > p:not(.eyebrow) { margin-top: 18px; color: rgba(255,255,255,.78); font-size: 17.5px; max-width: 44ch; }
.contact__list { margin-top: 34px; }
.contact__list li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact__list .i { color: var(--brass); margin-top: 3px; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__list small { display: block; color: rgba(255,255,255,.6); font-size: 14px; }
.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 38px); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; font: 400 16px/1.4 var(--sans); color: var(--ink); background-color: var(--cream); border: 1px solid var(--line-2); border-radius: 12px; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2316301F' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #858C87; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-3); background-color: #fff; box-shadow: 0 0 0 4px rgba(44, 91, 63, .15); }
.field.has-error input, .field.has-error textarea { border-color: #B42318; }
.field__err { font-size: 13.5px; color: #B42318; }
.field__err:empty { display: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form__note { font-size: 14px; color: var(--muted); }
.form__note.is-ok { color: var(--green-3); font-weight: 500; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; } }

/* ---------- footer ---------- */
.footer { background: #0b0908; color: rgba(255,255,255,.72); padding: 76px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr 1.2fr 1fr; gap: 40px; }
.footer__brand img { height: 48px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 36ch; font-size: 15px; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.footer__social a:hover { background: var(--brass); color: #1A1408; border-color: var(--brass); }
.footer h3 { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { color: #fff; text-decoration: none; font-size: 15px; }
.footer ul a:hover { text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.totop { display: inline-flex; align-items: center; gap: 6px; font-size: 14px !important; }
.totop .i { width: 15px; height: 15px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- scroll reveal for headings (one per section, not every card) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .tilt { transform: none !important; }
}
