/* =========================================================
   Oswal Finishing Mills — public site
   Layout language follows the Fabiflex textile theme
   (uppercase Rajdhani headings, eyebrow labels, title bars,
   boxed features, dark footer) in the OFM logo colours.
   ========================================================= */

@font-face { font-family: "Rajdhani"; font-weight: 500; font-display: swap; src: url("../fonts/rajdhani-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 600; font-display: swap; src: url("../fonts/rajdhani-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-weight: 700; font-display: swap; src: url("../fonts/rajdhani-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 400; font-display: swap; src: url("../fonts/noto-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/noto-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 500; font-display: swap; src: url("../fonts/noto-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 600; font-display: swap; src: url("../fonts/noto-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans"; font-weight: 700; font-display: swap; src: url("../fonts/noto-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Logo colours */
  --maroon: #540503;          /* logo maroon */
  --maroon-600: #6e0a07;      /* hover */
  --maroon-400: #9c2a22;      /* accents on dark */
  --maroon-50: #f7ecea;       /* tints */
  --black: #120c0b;           /* logo black, warmed */
  --dark: #1b1110;            /* dark sections & footer */
  --dark-2: #241816;

  --ink: #1d1615;
  --muted: #675c59;
  --line: #e6dfdc;
  --paper: #ffffff;
  --bg: #f7f4f2;

  --font-head: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --font-body: "Noto Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 32px);
  --section: clamp(64px, 8vw, 110px);
  --shadow: 0 18px 40px -18px rgba(27, 17, 16, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); }
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--black); letter-spacing: .005em; }
ul { margin: 0; padding: 0; list-style: none; }
.icon { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 3px solid var(--maroon-400); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--maroon); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tint { background: var(--bg); }
.section--dark { background: var(--dark); color: #d9cfcc; }
.section--dark h2, .section--dark h3 { color: #fff; }

/* ---------- Eyebrow + titles (Fabiflex "GET INFORMED ◢") ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--maroon); margin-bottom: 10px; }
.eyebrow::after { content: ""; width: 0; height: 0; border-left: 9px solid transparent; border-bottom: 9px solid currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: #e08f86; }
.title { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; }
.title--sm { font-size: clamp(26px, 3vw, 36px); }
.lead { font-size: 17px; color: var(--muted); max-width: 640px; }
.section--dark .lead { color: #c9bcb9; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: 48px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { margin: 0 auto; }

/* ---------- Buttons (corner notch like Fabiflex) ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; padding: 14px 28px; border: 2px solid transparent; border-radius: 3px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; line-height: 1.2; }
.btn::after { content: ""; position: absolute; right: 4px; bottom: 4px; border-left: 7px solid transparent; border-bottom: 7px solid rgba(255, 255, 255, .55); }
.btn--primary { background: var(--maroon); color: #fff; }
.btn--primary:hover { background: var(--maroon-600); }
.btn--dark { background: var(--black); color: #fff; }
.btn--dark:hover { background: var(--maroon); }
.btn--light { background: #fff; color: var(--black); }
.btn--light::after { border-bottom-color: var(--maroon); }
.btn--light:hover { background: var(--maroon-50); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: #fff; color: var(--black); }
.btn--outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn--outline::after { border-bottom-color: var(--maroon); }
.btn--outline:hover { background: var(--maroon); color: #fff; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--maroon); font-size: 15px; }
.link-arrow:hover { gap: 12px; }
.link-arrow .icon { transition: transform .2s; }

/* ---------- Topbar ---------- */
.topbar { background: var(--black); color: #cfc3c0; font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.topbar__list li { display: flex; align-items: center; gap: 8px; }
.topbar__list .icon { color: #e08f86; width: 15px; height: 15px; }
.topbar__right { display: flex; align-items: center; gap: 4px; }
.topbar__right a { display: grid; place-items: center; width: 34px; height: 44px; color: #cfc3c0; }
.topbar__right a:hover { color: #fff; }
.topbar__cta { background: var(--maroon); color: #fff !important; width: auto !important; padding: 0 18px; font-family: var(--font-head); font-weight: 700; letter-spacing: .05em; text-transform: uppercase; display: flex !important; gap: 8px; }
.topbar__cta:hover { background: var(--maroon-600); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 var(--line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--black); padding: 30px 12px; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 22px; height: 2px; background: var(--maroon); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__link:hover, .nav__link.is-active { color: var(--maroon); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--black); cursor: pointer; }
.nav-toggle .icon { width: 30px; height: 30px; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: var(--dark); flex-direction: column; align-items: stretch; gap: 0; padding: 90px 28px 28px; transform: translateX(100%); transition: transform .3s; z-index: 60; overflow-y: auto; }
  .nav.is-open { transform: none; box-shadow: -20px 0 60px rgba(0, 0, 0, .4); }
  .nav__link { color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav__link::after { display: none; }
  .nav__link.is-active, .nav__link:hover { color: #e08f86; }
  .nav__cta { margin: 24px 0 0; }
  .nav__close { position: absolute; top: 22px; right: 22px; color: #fff; }
  .topbar__list li:nth-child(n+2) { display: none; }
}
@media (min-width: 1081px) { .nav__close { display: none; } }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Hero slider ---------- */
.hero { position: relative; min-height: clamp(560px, 86vh, 780px); color: #fff; overflow: hidden; background: var(--dark); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero__slide.is-active img { transform: scale(1); }
.hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 12, 11, .92) 0%, rgba(18, 12, 11, .72) 45%, rgba(84, 5, 3, .25) 100%); }
.hero__content { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; padding-bottom: 90px; }
.hero__text { max-width: 720px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #f0b2aa; margin-bottom: 16px; }
.hero__kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.hero h1 { color: #fff; font-size: clamp(40px, 6.4vw, 80px); text-transform: uppercase; line-height: 1; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #e9a097; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: #e8dedb; max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { position: absolute; z-index: 3; right: var(--gutter); bottom: 130px; display: flex; flex-direction: column; gap: 10px; }
.hero__dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.hero__dot.is-active { background: #fff; }
.hero__text > * { animation: rise .9s both; }
.hero__text > *:nth-child(2) { animation-delay: .1s; }
.hero__text > *:nth-child(3) { animation-delay: .2s; }
.hero__text > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Highlight boxes overlapping hero (Fabiflex style) */
.highlights { position: relative; z-index: 5; margin-top: -90px; }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; box-shadow: var(--shadow); }
.highlight { position: relative; padding: 34px 28px 30px; border-right: 1px solid var(--line); transition: background .25s, color .25s; }
.highlight:last-child { border-right: 0; }
.highlight__icon { width: 58px; height: 58px; display: grid; place-items: center; background: var(--maroon-50); color: var(--maroon); border-radius: 50%; margin-bottom: 18px; transition: background .25s, color .25s; }
.highlight__icon .icon { width: 26px; height: 26px; }
.highlight h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 6px; transition: color .25s; }
.highlight p { font-size: 14.5px; color: var(--muted); margin: 0; transition: color .25s; }
.highlight:hover { background: var(--maroon); }
.highlight:hover h3, .highlight:hover p { color: #fff; }
.highlight:hover .highlight__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.highlight::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--black); transition: width .3s; }
.highlight:hover::before { width: 100%; }
@media (max-width: 900px) { .highlights__grid { grid-template-columns: 1fr 1fr; } .highlight:nth-child(2) { border-right: 0; } .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .highlights__grid { grid-template-columns: 1fr; } .highlight { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- Split / about blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }
.media-stack { position: relative; padding: 0 0 50px 50px; }
.media-stack__main { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.media-stack__sub { position: absolute; left: 0; bottom: 0; width: 48%; aspect-ratio: 1; object-fit: cover; border: 8px solid #fff; box-shadow: var(--shadow); }
.media-stack::before { content: ""; position: absolute; right: -16px; top: -16px; width: 55%; height: 55%; border: 6px solid var(--maroon); z-index: -1; }
.badge-years { position: absolute; right: 22px; bottom: 76px; background: var(--maroon); color: #fff; padding: 20px 22px; text-align: center; box-shadow: var(--shadow); }
.badge-years strong { display: block; font-family: var(--font-head); font-size: 46px; line-height: 1; }
.badge-years span { font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 30px; }
.check-box { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); background: #fff; font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--black); }
.check-box .icon { color: var(--maroon); width: 22px; height: 22px; }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }
.tick-list li { display: flex; gap: 12px; padding: 7px 0; }
.tick-list .icon { color: var(--maroon); margin-top: 5px; }
.section--dark .tick-list .icon { color: #e08f86; }

/* ---------- Stats band ---------- */
.stats { background: var(--maroon) url("../images/site/dyeing-hall.jpg") center/cover; position: relative; color: #fff; }
.stats::before { content: ""; position: absolute; inset: 0; background: rgba(84, 5, 3, .92); }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 48px 20px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .16); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(38px, 5vw, 56px); line-height: 1; }
.stat span { display: block; margin-top: 10px; font-family: var(--font-head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #f3d6d2; font-size: 15px; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .16); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.service-card { position: relative; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card__img { aspect-ratio: 16/10; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 28px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card__num { position: absolute; z-index: 2; top: 0; right: 0; background: var(--maroon); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; padding: 10px 16px; }
.service-card h3 { font-size: 24px; text-transform: uppercase; }
.service-card p { color: var(--muted); font-size: 15px; flex: 1; }

.feature { padding: 32px 28px; background: #fff; border: 1px solid var(--line); position: relative; transition: border-color .25s, box-shadow .25s; }
.feature:hover { border-color: transparent; box-shadow: var(--shadow); }
.feature__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--maroon); color: #fff; margin-bottom: 20px; position: relative; }
.feature__icon::after { content: ""; position: absolute; right: -6px; bottom: -6px; border-left: 10px solid transparent; border-bottom: 10px solid var(--black); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 21px; text-transform: uppercase; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.section--dark .feature { background: var(--dark-2); border-color: rgba(255, 255, 255, .08); }
.section--dark .feature p { color: #c9bcb9; }

.finish-chip { display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-family: var(--font-head); font-weight: 700; font-size: 18px; color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.finish-chip .icon { width: 26px; height: 26px; color: #e08f86; }

/* ---------- Machinery table ---------- */
.machines { border-top: 2px solid var(--black); }
.machine { display: grid; grid-template-columns: 60px 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.machine__num { font-family: var(--font-head); font-weight: 700; font-size: 28px; color: var(--maroon); }
.machine h3 { font-size: 21px; margin: 0 0 2px; text-transform: uppercase; }
.machine p { margin: 0; color: var(--muted); font-size: 14.5px; }
.machine__make { font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 14px; background: var(--maroon-50); color: var(--maroon); padding: 6px 12px; white-space: nowrap; }
@media (max-width: 560px) { .machine { grid-template-columns: 44px 1fr; } .machine__make { grid-column: 2; justify-self: start; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery a { position: relative; overflow: hidden; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.07); }
.gallery a::after { content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; background: linear-gradient(transparent, rgba(18, 12, 11, .85)); color: #fff; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.gallery .is-wide { grid-column: span 2; }
.gallery .is-tall { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(10, 6, 6, .92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 86vh; width: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox button { position: absolute; top: 18px; right: 18px; background: none; border: 0; color: #fff; cursor: pointer; }
.lightbox button .icon { width: 34px; height: 34px; }

/* ---------- Page title bar ---------- */
.titlebar { position: relative; padding: clamp(80px, 11vw, 140px) 0 clamp(70px, 9vw, 110px); background: var(--dark) center/cover no-repeat; color: #fff; text-align: center; }
.titlebar::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(18, 12, 11, .78), rgba(18, 12, 11, .86)); }
.titlebar::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 90px; height: 5px; background: var(--maroon-400); }
.titlebar .wrap { position: relative; }
.titlebar h1 { color: #fff; font-size: clamp(38px, 5.4vw, 64px); text-transform: uppercase; margin-bottom: 12px; }
.crumbs { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 10px; font-size: 15px; color: #e3d8d5; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { color: #e08f86; }

/* ---------- Leadership ---------- */
.person { background: #fff; border: 1px solid var(--line); text-align: center; padding: 36px 26px 32px; }
.person__avatar { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 40px; border: 6px solid var(--maroon-50); }
.person__avatar--memorial { background: var(--black); }
.person h3 { font-size: 23px; text-transform: uppercase; margin-bottom: 2px; }
.person__role { font-family: var(--font-head); font-weight: 700; color: var(--maroon); letter-spacing: .06em; text-transform: uppercase; font-size: 14px; margin-bottom: 12px; }
.person p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 30px; }
.timeline li::before { content: ""; position: absolute; left: -32px; top: 6px; width: 16px; height: 16px; background: var(--maroon); border: 4px solid var(--maroon-50); border-radius: 50%; }
.timeline strong { font-family: var(--font-head); font-size: 26px; color: var(--maroon); display: block; line-height: 1.1; }
.timeline h3 { font-size: 20px; text-transform: uppercase; margin: 4px 0 4px; }
.timeline p { color: var(--muted); margin: 0; font-size: 15px; }

/* ---------- Mission/vision boxes ---------- */
.mv { padding: 40px 36px; color: #fff; position: relative; overflow: hidden; }
.mv--maroon { background: var(--maroon); }
.mv--dark { background: var(--dark); }
.mv h3 { color: #fff; font-size: 28px; text-transform: uppercase; }
.mv p { color: rgba(255, 255, 255, .85); margin: 0; }
.mv .icon { position: absolute; right: -10px; bottom: -14px; width: 130px; height: 130px; opacity: .1; }

/* ---------- Compliance strip ---------- */
.compliance { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 0; border: 1px solid var(--line); background: #fff; }
.compliance div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compliance small { display: block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-size: 13px; }
.compliance strong { font-family: var(--font-head); font-size: 19px; color: var(--black); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black) url("../images/site/ehwa-stenter.jpg") center/cover; position: relative; color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(84, 5, 3, .95), rgba(18, 12, 11, .88)); }
.cta-band .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; padding-top: 64px; padding-bottom: 64px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); text-transform: uppercase; margin: 0 0 6px; }
.cta-band p { margin: 0; color: #f0dcd8; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Video card ---------- */
.video-card { position: relative; max-width: 360px; margin: 0 auto; border: 10px solid #fff; box-shadow: var(--shadow); background: #000; }
.video-card video { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.video-card figcaption { position: absolute; left: -10px; right: -10px; bottom: -10px; background: var(--maroon); color: #fff; padding: 12px 16px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: 14.5px; margin-bottom: 6px; color: var(--black); }
.field label .opt { font-weight: 500; color: var(--muted); text-transform: none; letter-spacing: 0; }
.input, .select, .textarea { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: 13px 15px; transition: border-color .2s, background .2s; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--maroon); background: #fff; box-shadow: 0 0 0 3px rgba(84, 5, 3, .12); }
.textarea { min-height: 140px; resize: vertical; }
.field .error { color: #b42318; font-size: 13.5px; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 16px 18px; border-left: 4px solid; margin-bottom: 22px; display: flex; gap: 12px; align-items: flex-start; }
.alert--ok { background: #ecf7ef; border-color: #1f7a3a; color: #14532d; }
.alert--err { background: #fdeceb; border-color: #b42318; color: #7a1a12; }

.contact-items { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 18px; padding: 22px; background: #fff; border: 1px solid var(--line); }
.contact-item__icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; background: var(--maroon); color: #fff; }
.contact-item__icon .icon { width: 22px; height: 22px; }
.contact-item h3 { font-size: 18px; text-transform: uppercase; margin: 0 0 4px; }
.contact-item p, .contact-item a { margin: 0; color: var(--muted); font-size: 15px; }
.contact-item a:hover { color: var(--maroon); }
.map { border: 0; width: 100%; height: 420px; display: block; filter: grayscale(.25); }

/* ---------- Verify ---------- */
.verify-box { max-width: 760px; margin: 0 auto; }
.verify-form { display: flex; gap: 0; }
.verify-form .input { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; border-right: 0; background: #fff; }
.verify-form .btn { border-radius: 0 3px 3px 0; }
@media (max-width: 560px) { .verify-form { flex-direction: column; gap: 10px; } .verify-form .input { border-right: 1px solid var(--line); } }
.result { margin-top: 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.result__head { display: flex; align-items: center; gap: 16px; padding: 22px 26px; color: #fff; }
.result__head .icon { width: 40px; height: 40px; }
.result__head h2 { color: #fff; margin: 0; font-size: 26px; text-transform: uppercase; }
.result__head p { margin: 0; opacity: .9; font-size: 14.5px; }
.result--valid .result__head { background: #1f6b37; }
.result--revoked .result__head, .result--missing .result__head { background: #9b1c14; }
.result__body { padding: 8px 26px 22px; }
.result dl { display: grid; grid-template-columns: 200px 1fr; margin: 0; }
.result dt, .result dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.result dt { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-size: 14.5px; }
.result dd { font-weight: 500; }
@media (max-width: 560px) { .result dl { grid-template-columns: 1fr; } .result dt { border: 0; padding-bottom: 0; } }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; padding: 26px 24px; background: #fff; border: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; font-size: 40px; color: var(--maroon-50); position: absolute; right: 18px; top: 8px; -webkit-text-stroke: 1px var(--maroon); }
.steps h3 { font-size: 20px; text-transform: uppercase; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 26px; text-transform: uppercase; margin-top: 1.6em; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--maroon); text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #bfb2af; font-size: 15px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--maroon) 0 30%, var(--black) 30%); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 80px var(--gutter) 56px; }
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-top: 56px; padding-bottom: 40px; } .footer__top > :first-child, .footer__top > :last-child { grid-column: 1 / -1; } .footer h3 { font-size: 18px; margin-bottom: 14px; } .footer__bottom .wrap { flex-direction: column; align-items: flex-start; } .footer { padding-bottom: 76px; } }
.footer__logo img { height: 62px; width: auto; margin-bottom: 20px; }
.footer h3 { color: #fff; font-size: 20px; text-transform: uppercase; margin-bottom: 20px; letter-spacing: .03em; }
.footer__links li { padding: 5px 0; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.footer__links a .icon { width: 14px; height: 14px; color: var(--maroon-400); }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 12px; padding: 6px 0; }
.footer__contact .icon { color: #e08f86; margin-top: 5px; }
.footer__verify { margin-top: 20px; padding: 18px; border: 1px solid rgba(255, 255, 255, .12); }
.footer__verify p { margin: 0 0 10px; font-size: 14px; }
.footer__social { display: flex; gap: 8px; margin-top: 18px; }
.footer__social a { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); }
.footer__social a:hover { background: var(--maroon); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 13.5px; }
.footer__bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer__bottom nav { display: flex; gap: 18px; }

.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.wa-float .icon { width: 28px; height: 28px; }
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--black); color: #fff; border: 0; display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--maroon); }
.to-top .icon { transform: rotate(-90deg); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s ease-out, transform .45s ease-out; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-4 { margin-top: 32px; } .center { text-align: center; }
.note { font-size: 13.5px; color: var(--muted); }
@media (min-width: 1081px) { .nav__cta { display: none; } }
@media (max-width: 640px) { .topbar__list { display: none; } .topbar__inner { justify-content: flex-end; } }

/* ---------- Intern photo wall ---------- */
.photo-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.photo-wall a { display: block; aspect-ratio: 4 / 5; padding: 7px; background: #fff; border: 1px solid var(--line); border-bottom: 3px solid var(--maroon); box-shadow: 0 10px 24px -14px rgba(27, 17, 16, .45); transition: border-color .25s, box-shadow .25s, transform .25s; }
.photo-wall a.is-wide { grid-column: span 2; aspect-ratio: auto; position: relative; }
.photo-wall a.is-wide .ph { position: absolute; inset: 7px; width: auto; height: auto; }
.photo-wall a:hover { border-color: var(--maroon); transform: translateY(-3px); box-shadow: 0 16px 30px -14px rgba(84, 5, 3, .45); }
.photo-wall .ph { display: block; width: 100%; height: 100%; overflow: hidden; }
.photo-wall img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .5s; }
.photo-wall a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .photo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .photo-wall a { padding: 4px; } .photo-wall a.is-wide { aspect-ratio: 8 / 5; } .photo-wall a.is-wide .ph { inset: 4px; } }

/* =========================================================
   HERO v2 – "re-dye the mill"
   ========================================================= */
.hx { position: relative; min-height: clamp(660px, 94vh, 900px); color: #fff; overflow: hidden; background: #0d0808; display: flex; align-items: center; isolation: isolate; }
.hx__bg { position: absolute; inset: 0; z-index: -1; }
.hx__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.35) contrast(1.08) brightness(.85); opacity: 0; transform: scale(1); transform-origin: 60% 50%; transition: opacity 1.8s ease; will-change: transform, opacity; }
.hx__photo.is-active { opacity: 1; animation: hxZoom 9s linear forwards; }
.hx__photo.is-prev { animation: hxZoomOut 9s linear -7s forwards; }
.hx__photo:nth-child(2) { transform-origin: 30% 60%; }
.hx__photo:nth-child(3) { transform-origin: 70% 40%; }
@keyframes hxZoom { from { transform: scale(1); } to { transform: scale(1.12); } }
@keyframes hxZoomOut { from { transform: scale(1); } to { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .hx__photo.is-active { animation: none; } }
.hx__shade { position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 85% 40%, transparent 0%, rgba(10,6,6,.35) 55%, rgba(10,6,6,.85) 100%),
    linear-gradient(90deg, rgba(10,6,6,.96) 0%, rgba(10,6,6,.82) 38%, rgba(10,6,6,.35) 70%, rgba(10,6,6,.55) 100%),
    linear-gradient(0deg, rgba(10,6,6,.9) 0%, transparent 30%); }
.hx__grain { position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22160%22%20height%3D%22160%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.9%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%20.55%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); opacity: .07; mix-blend-mode: overlay; pointer-events: none; }

.hx__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: 70px; padding-bottom: 150px; }
.hx__kicker { display: inline-flex; align-items: center; gap: 12px; padding: 8px 16px 8px 12px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); backdrop-filter: blur(6px); border-radius: 40px; font-family: var(--font-head); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #eadfdc; }
.hx__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--shade-tint); box-shadow: 0 0 0 4px color-mix(in srgb, var(--shade-tint) 30%, transparent); transition: background-color 1.4s; }
.hx__title { color: #fff; font-size: clamp(46px, 7.4vw, 108px); line-height: .9; text-transform: uppercase; letter-spacing: -.01em; margin: 28px 0 26px; }
.hx__line { display: block; overflow: hidden; }
.hx__title em { font-style: normal; position: relative; display: inline-block; }
.hx__title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; background: var(--shade-tint); transform-origin: left; animation: hxUnderline .7s .25s both cubic-bezier(.2,.8,.2,1); transition: background-color 1.4s; }
.hx__line--shade { color: var(--shade-tint); transition: color 1.4s ease; }
.hx__period { color: #fff; }
.hx__lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.7; color: #d9cdca; max-width: 590px; margin-bottom: 34px; }
.hx__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hx__cta { padding: 18px 32px; font-size: 17px; box-shadow: 0 18px 40px -16px rgba(84,5,3,.9); }
.hx__link { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 16px; color: #fff; }
.hx__play { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); position: relative; transition: background .25s, border-color .25s; }
.hx__play::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); animation: hxPulse 2.4s infinite; }
.hx__play .icon { width: 18px; height: 18px; margin-left: 3px; fill: currentColor; }
.hx__link:hover .hx__play { background: #fff; color: var(--black); border-color: #fff; }
.hx__trust { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); max-width: 590px; }
.hx__trust li { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: #cdbfbc; }
.hx__trust .icon { color: var(--shade-tint); transition: color 1.4s; width: 18px; height: 18px; }

/* Shade card */
.hx-card { position: relative; background: rgba(22, 14, 13, .55); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.hx-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: -1px; height: 3px; background: var(--shade-tint); transition: background-color 1.4s; }
.hx-card__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: #cdbfbc; margin-bottom: 16px; }
.hx-card__live { display: inline-flex; align-items: center; gap: 8px; color: #8fe0b0; letter-spacing: .08em; }
.hx-card__live i { width: 8px; height: 8px; border-radius: 50%; background: #4ad37f; box-shadow: 0 0 0 0 rgba(74,211,127,.6); animation: hxLive 1.8s infinite; }
.hx-card__swatch { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: var(--shade); transition: background-color 1.4s ease; box-shadow: inset 0 0 60px rgba(0,0,0,.45); }
.hx-card__knit { position: absolute; inset: -20%; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2214%22%20height%3D%2216%22%20viewBox%3D%220%200%2014%2016%22%3E%3Cg%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%222.2%22%3E%3Cpath%20d%3D%22M1.5%200.5%20C2.5%207%204.5%2011%207%2015%22%20stroke%3D%22rgba%280%2C0%2C0%2C.38%29%22/%3E%3Cpath%20d%3D%22M12.5%200.5%20C11.5%207%209.5%2011%207%2015%22%20stroke%3D%22rgba%280%2C0%2C0%2C.38%29%22/%3E%3Cpath%20d%3D%22M1.5%200.5%20C2.4%206%204%209.5%206.4%2013%22%20stroke%3D%22rgba%28255%2C255%2C255%2C.22%29%22%20stroke-width%3D%221.1%22/%3E%3Cpath%20d%3D%22M12.5%200.5%20C11.6%206%2010%209.5%207.6%2013%22%20stroke%3D%22rgba%28255%2C255%2C255%2C.14%29%22%20stroke-width%3D%221.1%22/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(115deg, rgba(255,255,255,.16) 0%, transparent 35%, rgba(0,0,0,.25) 70%, rgba(255,255,255,.08) 100%); background-size: 14px 16px, 100% 100%; transform: rotate(-4deg); animation: hxDrift 18s linear infinite; }
.hx-card__swatch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 30% 20%, rgba(255,255,255,.18), transparent 60%), linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.hx-card__label { position: absolute; left: 18px; bottom: 16px; z-index: 1; }
.hx-card__label strong { display: block; font-family: var(--font-head); font-size: 28px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.hx-card__label span { font-size: 13.5px; color: rgba(255,255,255,.82); }
.hx-card__hex { position: absolute; right: 14px; top: 12px; z-index: 1; font-family: ui-monospace, Consolas, monospace; font-size: 12px; letter-spacing: .08em; background: rgba(0,0,0,.35); padding: 4px 8px; }
.hx-card__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 16px; counter-reset: st; }
.hx-card__steps li { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); transition: color .4s; }
.hx-card__steps span { display: block; height: 4px; background: rgba(255,255,255,.14); margin-bottom: 8px; overflow: hidden; position: relative; }
.hx-card__steps span::after { content: ""; position: absolute; inset: 0; background: var(--shade-tint); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.8,.2,1), background-color 1.4s; }
.hx-card__steps li.is-done { color: #fff; }
.hx-card__steps li.is-done span::after { transform: scaleX(1); }
.hx-card__chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.hx-chip { aspect-ratio: 1; border: 2px solid rgba(255,255,255,.2); background: var(--c); cursor: pointer; padding: 0; position: relative; transition: transform .2s, border-color .2s; }
.hx-chip::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2214%22%20height%3D%2216%22%20viewBox%3D%220%200%2014%2016%22%3E%3Cg%20fill%3D%22none%22%20stroke-linecap%3D%22round%22%20stroke-width%3D%222.2%22%3E%3Cpath%20d%3D%22M1.5%200.5%20C2.5%207%204.5%2011%207%2015%22%20stroke%3D%22rgba%280%2C0%2C0%2C.38%29%22/%3E%3Cpath%20d%3D%22M12.5%200.5%20C11.5%207%209.5%2011%207%2015%22%20stroke%3D%22rgba%280%2C0%2C0%2C.38%29%22/%3E%3Cpath%20d%3D%22M1.5%200.5%20C2.4%206%204%209.5%206.4%2013%22%20stroke%3D%22rgba%28255%2C255%2C255%2C.22%29%22%20stroke-width%3D%221.1%22/%3E%3Cpath%20d%3D%22M12.5%200.5%20C11.6%206%2010%209.5%207.6%2013%22%20stroke%3D%22rgba%28255%2C255%2C255%2C.14%29%22%20stroke-width%3D%221.1%22/%3E%3C/g%3E%3C/svg%3E"); background-size: 7px 8px; opacity: .55; }
.hx-chip:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.6); }
.hx-chip.is-active { border-color: #fff; transform: translateY(-3px); box-shadow: 0 8px 18px -6px var(--c); }
.hx-card__note { margin: 14px 0 0; font-size: 13px; color: #a89996; }

.hx__scroll { position: absolute; left: 50%; bottom: 110px; width: 1px; height: 0; }
@keyframes hxUnderline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hxPulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes hxLive { 0% { box-shadow: 0 0 0 0 rgba(74,211,127,.6); } 100% { box-shadow: 0 0 0 10px rgba(74,211,127,0); } }
@keyframes hxDrift { from { background-position: 0 0, 0 0; } to { background-position: 0 160px, 0 0; } }
.hx__copy > * { animation: rise .5s both cubic-bezier(.2,.8,.2,1); }
.hx__copy > *:nth-child(2) { animation-delay: .04s; } .hx__copy > *:nth-child(3) { animation-delay: .08s; } .hx__copy > *:nth-child(4) { animation-delay: .12s; } .hx__copy > *:nth-child(5) { animation-delay: .16s; }
.hx-card { animation: hxCardIn .55s .08s both cubic-bezier(.2,.8,.2,1); }
@keyframes hxCardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .hx { min-height: 0; }
  .hx__inner { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 140px; }
  .hx-card { transform: none; max-width: 460px; animation-name: rise; }
  .hx__shade { background: linear-gradient(180deg, rgba(10,6,6,.85), rgba(10,6,6,.7) 50%, rgba(10,6,6,.95)); }
}
@media (max-width: 520px) {
  .hx__kicker { font-size: 11.5px; letter-spacing: .08em; }
  .hx__trust { gap: 8px 18px; }
  .hx-card__chips { gap: 7px; }
}

/* =========================================================
   Homepage "live" factory graphics
   ========================================================= */
/* Slowly rotating gear outlines */
.about-x, .flow-sec { position: relative; overflow: hidden; }
.deco-gear { position: absolute; width: 420px; height: 420px; color: var(--maroon); opacity: .06; pointer-events: none; animation: gearSpin 60s linear infinite; }
.deco-gear--a { right: -140px; top: -120px; }
.deco-gear--b { left: -160px; bottom: -170px; width: 480px; height: 480px; animation-direction: reverse; }
@keyframes gearSpin { to { transform: rotate(360deg); } }

/* Floating info chips on the About photos */
.float-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; background: #fff; padding: 12px 18px 12px 12px; box-shadow: 0 18px 40px -16px rgba(27,17,16,.45); border-left: 3px solid var(--maroon); animation: floatY 5s ease-in-out infinite; }
.float-chip strong { display: block; font-family: var(--font-head); font-size: 20px; line-height: 1; color: var(--black); }
.float-chip small { font-size: 12.5px; color: var(--muted); }
.float-chip__icon { width: 42px; height: 42px; display: grid; place-items: center; background: var(--maroon-50); color: var(--maroon); border-radius: 50%; }
.float-chip__icon--ok { background: #e5f4ea; color: #1f6b37; }
.float-chip__icon .icon { width: 22px; height: 22px; }
.float-chip--a { left: 18px; top: 26px; }
.float-chip--b { right: -14px; top: 30%; animation-delay: -2.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 560px) { .float-chip--b { right: 6px; } .float-chip { padding: 8px 12px 8px 8px; } .float-chip strong { font-size: 16px; } }

/* Check boxes with filled icon tiles */
.check-box__icon { width: 34px; height: 34px; flex: none; display: grid; place-items: center; background: var(--maroon); color: #fff; }
.check-box__icon .icon { width: 18px; height: 18px; color: #fff; }
.check-box { transition: border-color .2s, transform .2s; }
.check-box:hover { border-color: var(--maroon); transform: translateY(-2px); }

/* Scrolling ticker band */
.ticker { background: var(--black); color: #fff; overflow: hidden; border-top: 3px solid var(--maroon); }
.ticker__track { display: flex; width: max-content; animation: tickerMove 45s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { display: inline-flex; align-items: center; gap: 14px; padding: 20px 34px; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; position: relative; }
.ticker__item .icon { width: 24px; height: 24px; color: #e08f86; }
.ticker__item::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; background: var(--maroon-400); transform: translateY(-50%) rotate(45deg); }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* Stat icons */
.stat .stat__icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; letter-spacing: 0; }
.stat__icon .icon { width: 28px; height: 28px; }
.stat:hover .stat__icon { background: #fff; color: var(--maroon); }
.stat .stat__icon .icon { display: block; margin: 0; }
.stat__icon { transition: background .25s, color .25s; }

/* Process flow with animated thread */
.flow { list-style: none; padding: 0; margin: 0; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; counter-reset: none; }
.flow__line { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 36px; width: calc(100% - 100% / 6); height: 20px; overflow: visible; }
.flow__track { stroke: var(--line); stroke-width: 3; }
.flow__thread { stroke: var(--maroon); stroke-width: 3; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.6s cubic-bezier(.45,.05,.3,1); }
.flow.is-in .flow__thread { stroke-dashoffset: 0; }
.flow__step { position: relative; text-align: center; }
.flow__node { position: relative; z-index: 1; width: 92px; height: 92px; margin: -10px auto 18px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--line); color: var(--muted); transition: background .5s, border-color .5s, color .5s, transform .5s; transition-delay: calc(var(--i) * .42s); }
.flow__node .icon { width: 34px; height: 34px; }
.flow__node b { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: #fff; font-family: var(--font-head); font-size: 14px; }
.flow.is-in .flow__node { background: var(--maroon); border-color: var(--maroon); color: #fff; transform: scale(1.04); box-shadow: 0 0 0 8px var(--maroon-50); }
.flow__step h3 { font-size: 20px; text-transform: uppercase; margin-bottom: 6px; }
.flow__step p { font-size: 14px; color: var(--muted); margin: 0; }
/* a "dye drop" that travels the thread */
.flow::after { content: ""; position: absolute; top: 40px; left: calc(100% / 12); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--maroon); box-shadow: 0 0 0 6px rgba(84,5,3,.15); opacity: 0; }
.flow.is-in::after { animation: dropRun 6s 2.8s ease-in-out infinite; }
@keyframes dropRun { 0% { left: calc(100% / 12); opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: calc(100% - 100% / 12); opacity: 0; } }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr 1fr 1fr; row-gap: 36px; }
  .flow__line, .flow::after { display: none; }
}
@media (max-width: 560px) { .flow { grid-template-columns: 1fr 1fr; } .flow__node { width: 76px; height: 76px; } }
@media (prefers-reduced-motion: reduce) { .deco-gear, .ticker__track, .float-chip { animation: none; } }

/* =========================================================
   HERO – Lab dip card (replaces glass shade card)
   ========================================================= */
.ld { position: relative; background: #fbf8f4; color: var(--ink); padding: 22px 22px 20px; box-shadow: 0 50px 90px -30px rgba(0,0,0,.85), 0 2px 0 rgba(255,255,255,.6) inset; animation: hxCardIn .55s .08s both cubic-bezier(.2,.8,.2,1); }
.ld::before { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.4%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%20.9%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); opacity: .05; mix-blend-mode: multiply; pointer-events: none; }
.ld::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--maroon); }
.ld__head { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0 14px; border-bottom: 1px dashed #d8cfc9; }
.ld__brand { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--maroon); }
.ld__type { font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border: 1px solid #cfc5bf; padding: 3px 10px; }

.ld__swatches { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px 4px 8px; }
.ld__sw { margin: 0; position: relative; }
.ld__fabric { position: relative; aspect-ratio: 4 / 5; background: var(--shade); clip-path: polygon(0.00% 0.00%, 100.00% 0.00%, 100.00% 100.00%, 95.83% 96.00%, 91.67% 100.00%, 87.50% 96.00%, 83.33% 100.00%, 79.17% 96.00%, 75.00% 100.00%, 70.83% 96.00%, 66.67% 100.00%, 62.50% 96.00%, 58.33% 100.00%, 54.17% 96.00%, 50.00% 100.00%, 45.83% 96.00%, 41.67% 100.00%, 37.50% 96.00%, 33.33% 100.00%, 29.17% 96.00%, 25.00% 100.00%, 20.83% 96.00%, 16.67% 100.00%, 12.50% 96.00%, 8.33% 100.00%, 4.17% 96.00%, 0.00% 100.00%); transition: background-color 1.2s ease; box-shadow: inset 0 0 40px rgba(0,0,0,.25); overflow: hidden; }
.ld__fabric::before { content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(0deg, rgba(0,0,0,.10) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, rgba(255,255,255,.22) 0%, transparent 28%, rgba(0,0,0,.18) 55%, rgba(255,255,255,.08) 72%, rgba(0,0,0,.28) 100%); }
.ld__fabric::after { content: ""; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.4%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%20.9%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); opacity: .28; mix-blend-mode: overlay; }
.ld__staple { position: absolute; z-index: 2; top: -6px; left: 50%; width: 34px; height: 7px; margin-left: -17px; border-radius: 3px; background: linear-gradient(#e9e9ec, #9da0a6 60%, #c9cbd0); box-shadow: 0 2px 3px rgba(0,0,0,.35); }
.ld__sw figcaption { margin-top: 10px; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.ld__stamp { position: absolute; left: 50%; top: 46%; z-index: 3; transform: translate(-50%, -50%) rotate(-12deg); font-family: var(--font-head); font-weight: 700; font-size: 24px; letter-spacing: .22em; text-transform: uppercase; color: #17803a; padding: 6px 14px 4px 18px; border: 3px solid #17803a; border-radius: 6px; background: rgba(255,255,255,.94); box-shadow: 0 6px 18px -6px rgba(0,0,0,.45); opacity: .96; }
.ld__stamp::after { content: ""; position: absolute; inset: 0; opacity: .35 !important; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.4%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%20.9%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); opacity: .5; mix-blend-mode: screen; border-radius: 4px; }
.ld__stamp.is-stamping { animation: stampIn .55s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes stampIn { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-12deg) scale(2.2); } 60% { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(.94); } 100% { opacity: .96; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }

.ld__rows { margin: 10px 0 16px; border-top: 1px dashed #d8cfc9; }
.ld__rows div { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 9px 2px; border-bottom: 1px dashed #d8cfc9; align-items: center; }
.ld__rows dt { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ld__rows dd { margin: 0; font-weight: 600; font-size: 14.5px; color: var(--black); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ld__match { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #1f7a3a; background: #e5f4ea; padding: 3px 8px; }
.ld__match .icon { width: 13px; height: 13px; }

.ld__chips { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ld .hx-chip { aspect-ratio: 1; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; transition: transform .2s; filter: drop-shadow(0 3px 3px rgba(0,0,0,.25)); }
.ld .hx-chip::after { display: none; }
.ld .hx-chip span { position: absolute; inset: 0; background: var(--c); clip-path: polygon(0.00% 0.00%, 7.14% 6.00%, 14.29% 0.00%, 21.43% 6.00%, 28.57% 0.00%, 35.71% 6.00%, 42.86% 0.00%, 50.00% 6.00%, 57.14% 0.00%, 64.29% 6.00%, 71.43% 0.00%, 78.57% 6.00%, 85.71% 0.00%, 92.86% 6.00%, 100.00% 0.00%, 94.00% 7.14%, 100.00% 14.29%, 94.00% 21.43%, 100.00% 28.57%, 94.00% 35.71%, 100.00% 42.86%, 94.00% 50.00%, 100.00% 57.14%, 94.00% 64.29%, 100.00% 71.43%, 94.00% 78.57%, 100.00% 85.71%, 94.00% 92.86%, 100.00% 100.00%, 92.86% 94.00%, 85.71% 100.00%, 78.57% 94.00%, 71.43% 100.00%, 64.29% 94.00%, 57.14% 100.00%, 50.00% 94.00%, 42.86% 100.00%, 35.71% 94.00%, 28.57% 100.00%, 21.43% 94.00%, 14.29% 100.00%, 7.14% 94.00%, 0.00% 100.00%, 6.00% 92.86%, 0.00% 85.71%, 6.00% 78.57%, 0.00% 71.43%, 6.00% 64.29%, 0.00% 57.14%, 6.00% 50.00%, 0.00% 42.86%, 6.00% 35.71%, 0.00% 28.57%, 6.00% 21.43%, 0.00% 14.29%, 6.00% 7.14%); }
.ld .hx-chip span::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px), linear-gradient(150deg, rgba(255,255,255,.25), transparent 50%, rgba(0,0,0,.25)); }
.ld .hx-chip:hover { transform: translateY(-3px); }
.ld .hx-chip.is-active { transform: translateY(-5px); }
.ld .hx-chip.is-active::before { content: ""; position: absolute; left: 50%; bottom: -10px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--maroon); }
@media (max-width: 980px) { .ld { max-width: 440px; animation-name: rise; } }
@media (prefers-reduced-motion: reduce) { .ld__stamp.is-stamping { animation: none; } }

/* Framed photo (white mat + maroon edge + offset outline) */
.framed { position: relative; margin: 0 18px 18px 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-bottom: 4px solid var(--maroon); box-shadow: 0 24px 50px -24px rgba(27,17,16,.45); }
.framed::before { content: ""; position: absolute; z-index: -1; left: 18px; top: 18px; right: -18px; bottom: -18px; border: 2px solid var(--maroon); opacity: .35; }
.framed img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.framed--natural img { aspect-ratio: auto; }
*:has(> .framed) { position: relative; isolation: isolate; display: block; }

/* ---------- Floating buttons ---------- */
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1fa855; z-index: -1; animation: waPulse 2.2s ease-out infinite; }
.wa-float:hover { transform: scale(1.06); }
.wa-float { transition: transform .2s; }
.wa-float__tip { position: absolute; left: calc(100% + 12px); top: 50%; transform: translate(-6px, -50%); white-space: nowrap; background: #fff; color: var(--black); font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; font-size: 15px; padding: 7px 14px; box-shadow: 0 8px 22px -8px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.wa-float__tip::before { content: ""; position: absolute; left: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 0; border-right-color: #fff; }
.wa-float:hover .wa-float__tip { opacity: 1; transform: translate(0, -50%); }
@keyframes waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__track { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3; }
.to-top__bar { fill: none; stroke: #e08f86; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; transition: stroke-dashoffset .1s linear; }
.to-top .icon { position: relative; transform: rotate(-90deg); width: 20px; height: 20px; transition: transform .2s; }
.to-top:hover .icon { transform: rotate(-90deg) translateX(3px); }

/* ---------- Hero scroll cue ---------- */
.hx-scroll { position: absolute; right: 36px; top: 50%; transform: translateY(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; color: rgba(255,255,255,.75); }
.hx-scroll:hover { color: #fff; }
.hx-scroll__text { writing-mode: vertical-rl; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .4em; text-transform: uppercase; }
.hx-scroll__line { position: relative; width: 2px; height: 80px; background: rgba(255,255,255,.2); overflow: hidden; border-radius: 2px; }
.hx-scroll__line i { position: absolute; left: 0; top: -30px; width: 2px; height: 30px; background: var(--shade-tint); border-radius: 2px; animation: scrollRun 1.8s cubic-bezier(.6,0,.3,1) infinite; transition: background-color 1.4s; }
@keyframes scrollRun { 0% { top: -30px; } 100% { top: 80px; } }
@media (max-width: 1100px) { .hx-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before, .hx-scroll__line i { animation: none; } }
#next { scroll-margin-top: 110px; }

/* ---------- About: legacy (Then & Now) ---------- */
.legacy__grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.legacy__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(110px, 15vw, 200px); line-height: .85; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px var(--maroon); background: linear-gradient(180deg, transparent 55%, rgba(84,5,3,.12) 55%); -webkit-background-clip: text; background-clip: text; margin: 8px 0 12px; }
.legacy__caption { font-family: var(--font-head); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; color: var(--black); max-width: 340px; }
.legacy__tribute { position: relative; margin: 28px 0 0; padding: 22px 24px 22px 66px; background: #fff; border-left: 4px solid var(--maroon); box-shadow: 0 16px 34px -20px rgba(27,17,16,.4); }
.legacy__tribute .icon { position: absolute; left: 22px; top: 24px; width: 26px; height: 26px; color: var(--maroon); }
.legacy__tribute p { margin: 0; color: var(--muted); font-size: 15.5px; }
.legacy__tribute strong { color: var(--black); }
.legacy__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.legacy__col { background: #fff; border: 1px solid var(--line); padding: 30px 28px; position: relative; }
.legacy__col--now { background: var(--dark); border-color: var(--dark); color: #d9cdca; }
.legacy__col h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 18px; line-height: 1.25; }
.legacy__col--now h3 { color: #fff; }
.legacy__tag { display: block; width: max-content; margin-bottom: 10px; font-size: 12.5px; letter-spacing: .14em; padding: 4px 10px; background: var(--maroon-50); color: var(--maroon); }
.legacy__tag--now { background: var(--maroon); color: #fff; }
.legacy__col li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.legacy__col--now li { border-top-color: rgba(255,255,255,.1); }
.legacy__col li .icon { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--maroon); }
.legacy__col--now li .icon { color: #e08f86; }
.legacy__col li span { font-size: 14.5px; color: var(--muted); }
.legacy__col--now li span { color: #c9bcb9; }
.legacy__col li strong { display: block; font-family: var(--font-head); font-size: 17px; letter-spacing: .02em; text-transform: uppercase; color: var(--black); }
.legacy__col--now li strong { color: #fff; }
@media (max-width: 980px) { .legacy__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .legacy__cols { grid-template-columns: 1fr; } }

/* ---------- Products: framed fabric swatches ---------- */
.fab-frame { padding: 10px 10px 0; background: #fff; }
.fab { position: relative; aspect-ratio: 16 / 9; background-color: var(--c); background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22180%22%20height%3D%22180%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%221.4%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22/%3E%3CfeColorMatrix%20values%3D%220%200%200%200%201%20%200%200%200%200%201%20%200%200%200%200%201%20%200%200%200%20.9%200%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); background-blend-mode: soft-light; overflow: hidden; border-bottom: 4px solid var(--maroon); box-shadow: inset 0 0 50px rgba(0,0,0,.3); }
.fab::before { content: ""; position: absolute; inset: 0; }
.fab::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.2) 0%, transparent 30%, rgba(0,0,0,.18) 58%, rgba(255,255,255,.06) 75%, rgba(0,0,0,.28) 100%); }
.fab--jersey::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 3px), repeating-linear-gradient(0deg, rgba(0,0,0,.12) 0 1px, transparent 1px 3px); }
.fab--pique::before { background: radial-gradient(circle at 3px 3px, rgba(255,255,255,.16) 1.2px, transparent 1.6px) 0 0 / 6px 6px, radial-gradient(circle at 3px 3px, rgba(0,0,0,.25) 1.8px, transparent 2.2px) 3px 3px / 6px 6px; }
.fab--rib::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.14) 0 3px, rgba(0,0,0,.18) 3px 6px); }
.fab--tube::before { background: repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px), linear-gradient(90deg, rgba(0,0,0,.45) 0%, transparent 18%, transparent 82%, rgba(0,0,0,.45) 100%); }
.fab__label { position: absolute; z-index: 1; left: 14px; bottom: 12px; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9); background: rgba(0,0,0,.28); padding: 4px 10px; }
.service-card:hover .fab { filter: brightness(1.08); }
.fab { transition: filter .3s; }

/* ---------- Quality: credentials wall ---------- */
.creds { display: grid; grid-template-columns: .95fr 1.6fr; gap: 24px; align-items: stretch; }
.creds__iso { position: relative; background: var(--dark); color: #d9cdca; padding: 36px 34px 32px; overflow: hidden; display: flex; flex-direction: column; }
.creds__iso::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.16); pointer-events: none; }
.creds__iso::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--maroon-400); }
.seal { position: relative; width: 170px; height: 170px; margin-bottom: 24px; }
.seal svg { width: 100%; height: 100%; animation: gearSpin 40s linear infinite; }
.seal__ring { fill: none; stroke: #e08f86; stroke-width: 2; stroke-dasharray: 2 5; }
.seal__inner { fill: var(--maroon); stroke: #e08f86; stroke-width: 1.5; }
.seal__text { fill: #f3d6d2; font-family: var(--font-head); font-weight: 700; font-size: 14.5px; letter-spacing: 2.6px; }
.seal__core { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.seal__core .icon { width: 52px; height: 52px; }
.creds__kicker { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: #e08f86; }
.creds__iso h3 { color: #fff; font-size: 32px; text-transform: uppercase; margin: 6px 0 18px; }
.creds__iso dl { margin: auto 0 0; }
.creds__iso dl div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.1); }
.creds__iso dt { font-size: 13.5px; color: #a89996; }
.creds__iso dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 17px; letter-spacing: .06em; color: #fff; }
.creds__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cred { position: relative; background: #fff; border: 1px solid var(--line); padding: 26px 26px 24px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.cred::before { content: ""; position: absolute; inset: 8px; border: 1px dashed #e2d8d4; pointer-events: none; }
.cred::after { content: ""; position: absolute; right: 0; bottom: 0; border-left: 22px solid transparent; border-bottom: 22px solid var(--maroon); }
.cred:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cred__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.cred__icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--maroon); color: #fff; }
.cred__icon .icon { width: 24px; height: 24px; }
.cred__ok { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #1f6b37; background: #e5f4ea; padding: 4px 9px; }
.cred__ok .icon { width: 13px; height: 13px; }
.cred__label { font-family: var(--font-head); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.cred__value { font-family: var(--font-head); font-weight: 700; font-size: 22px; letter-spacing: .04em; color: var(--black); margin: 4px 0 6px; line-height: 1.2; word-break: break-word; }
.cred__note { font-size: 13.5px; color: var(--muted); margin-top: auto; }
@media (max-width: 980px) { .creds { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .creds__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Certificate – client's own design with the blanks filled in
   ========================================================= */
@font-face { font-family: "Oswald"; font-weight: 500; font-display: swap; src: url("../fonts/oswald-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Chorus"; font-display: swap; src: url("../fonts/texgyrechorus-mediumitalic.otf") format("opentype"); }
@font-face { font-family: "Tinos"; font-weight: 400; font-display: swap; src: url("../fonts/tinos-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Tinos"; font-weight: 700; font-display: swap; src: url("../fonts/tinos-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Arimo"; font-weight: 400; font-display: swap; src: url("../fonts/arimo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Arimo"; font-weight: 700; font-display: swap; src: url("../fonts/arimo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Carlito"; font-weight: 400; font-display: swap; src: url("../fonts/carlito-latin-400-normal.woff2") format("woff2"); }
.ofm-cert { position: relative; width: 100%; aspect-ratio: 2000 / 1413; container-type: inline-size; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -28px rgba(0,0,0,.45); user-select: none; }
.ofm-cert__bg, .ofm-cert__art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ofm-cert > div { position: absolute; color: #1f2740; white-space: nowrap; line-height: 1; }
/* pre-printed number box, re-printed in the same navy parallelogram */
.ofm-cert__no { left: 3.85%; top: 32.55%; width: 24.3%; height: 3.7%; background: #1f2740; clip-path: polygon(0 0, 100% 0, 97.4% 100%, 0 100%); display: flex; align-items: center; }
.ofm-cert__no span { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500; font-size: 1.7cqw; color: #fff; padding-left: 0.55cqw; letter-spacing: .01em; transform: translateY(.04cqw); }
.ofm-cert__name { left: 14.4%; width: 69.5%; bottom: calc(100% - 56.4%); text-align: center; font-family: "Chorus", "Times New Roman", serif; font-size: 4.6cqw; color: #1f2740; }
.ofm-cert__from, .ofm-cert__to { bottom: calc(100% - 66.15%); text-align: center; font-family: Arimo, Arial, sans-serif; font-weight: 700; font-size: 1.15cqw; }
.ofm-cert__from { left: 29.8%; width: 12.4%; }
.ofm-cert__to { left: 44.1%; width: 11.5%; }
.ofm-cert__mentor, .ofm-cert__partner { bottom: calc(100% - 81.6%); text-align: center; font-family: Arimo, Arial, sans-serif; font-weight: 700; font-size: 1.15cqw; }
.ofm-cert__mentor { left: 13.3%; width: 17.7%; }
.ofm-cert__partner { left: 66.1%; width: 17.8%; }
.ofm-cert__date { left: 39.5%; width: 17.9%; bottom: calc(100% - 86.9%); text-align: center; font-family: Arimo, Arial, sans-serif; font-weight: 700; font-size: 1.15cqw; }
.ofm-cert__void { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-14deg); font-family: var(--font-head); font-weight: 700; font-size: 9cqw; letter-spacing: .12em; text-transform: uppercase; color: rgba(180, 35, 24, .55) !important; border: .7cqw solid rgba(180, 35, 24, .5); padding: .6cqw 3cqw; border-radius: 1cqw; }
.ofm-cert__badge { left: 1.1%; top: 1.5%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3cqw; width: 8.4cqw; height: 8.4cqw; border-radius: 50%; background: #1f7a3a; color: #fff !important; box-shadow: 0 0 0 .5cqw rgba(255,255,255,.9), 0 1.2cqw 2.4cqw rgba(0,0,0,.35); transform: rotate(-10deg); }
.ofm-cert__badge svg { width: 3.2cqw; height: 3.2cqw; }
.ofm-cert__badge span { font-family: var(--font-head); font-weight: 700; font-size: 1.25cqw; letter-spacing: .12em; text-transform: uppercase; }
@media print { .ofm-cert { box-shadow: none; } }
.verify-ok { margin-top: 28px; }
.verify-ok__head { display: flex; align-items: center; gap: 22px; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.verify-ok__head h2 { margin: 0 0 4px; font-size: 26px; }
.verify-ok__head p { margin: 0; color: var(--muted, #555); }
.verify-ok__seal { flex: none; width: 92px; height: 92px; border-radius: 50%; background: #1f7a3a; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px #1f7a3a; }
.verify-ok__seal svg { width: 34px; height: 34px; }
.verify-ok__seal span { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 560px) { .verify-ok__head { flex-direction: column; text-align: center; } }

/* verify: number + name */
.verify-form--two { align-items: stretch; gap: 12px; }
.verify-form--two .verify-form__fields { flex: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; }
.verify-form--two label { display: block; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.verify-form--two .input { border-right: 1px solid var(--line); }
.verify-form--two .input--name { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 500; font-size: 17px; }
.verify-form--two .btn { border-radius: 3px; align-self: end; min-height: 56px; }
.verify-form--compact .input { font-size: 15px; }
.verify-form--compact .btn { min-height: 0; }
.verify-err { margin: 12px 0 0; color: #b42318; font-weight: 600; }
.verify-note { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.verify-note .icon { width: 16px; height: 16px; flex: none; }
@media (max-width: 760px) { .verify-form--two { flex-direction: column; } .verify-form--two .verify-form__fields { grid-template-columns: 1fr; } .verify-form--two .btn { align-self: stretch; } }
.verify-form--two .input { height: 58px; }
.verify-form--compact .input, .verify-form--compact .btn { height: 52px; }
