/* ============================================
   Hupsin Dyeing — Modern Minimal Stylesheet
   ============================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #fafaf8;
  --color-ink: #0a0a0a;
  --color-ink-soft: #555555;
  --color-ink-muted: #888888;
  --color-line: #e8e8e6;
  --color-accent: #1a1a1a;
  --color-accent-soft: #f1f0ec;

  /* Brand color — sampled from the HS logo blue */
  --color-brand: #304098;
  --color-brand-dark: #283680;

  --font-en: 'Inter', system-ui, -apple-system, sans-serif;
  --font-zh: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --font-stack: var(--font-en), var(--font-zh);

  --container: 1200px;
  --radius: 4px;
  --transition: 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

html[lang="zh"] {
  --font-stack: var(--font-zh), var(--font-en);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-stack);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.65; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 0.95rem; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 16px;
}

.lead { font-size: 1.1rem; color: var(--color-ink-soft); max-width: 680px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--color-brand); color: white; }
.btn-primary:hover { background: var(--color-brand-dark); opacity: 1; }
.btn-ghost { background: transparent; color: var(--color-ink); border-color: var(--color-line); }
.btn-ghost:hover { background: var(--color-accent-soft); opacity: 1; }
.btn-light { background: white; color: var(--color-ink); }
.btn-light:hover { background: var(--color-accent-soft); opacity: 1; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

.link-arrow {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 12px;
  border-bottom: 1px solid var(--color-ink);
  padding-bottom: 2px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}

/* Header + top bar break out of the 1200px container — logo sits at the screen edge */
.top-bar .container,
.site-header .container {
  max-width: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.logo { display: flex; align-items: center; flex-shrink: 0; min-width: 0; }
.logo-img {
  display: block;
  height: 44px;
  width: auto;
  flex-shrink: 0;
  max-width: none;
}
.footer-brand .logo-img { height: 48px; margin-left: -29px; }
@media (max-width: 600px) {
  .logo-img { height: 30px; }
  .footer-brand .logo-img { height: 40px; margin-left: -24px; }
}

.site-nav ul { display: flex; gap: 32px; }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}
.site-nav a:hover { color: var(--color-ink); opacity: 1; }
.site-nav a[aria-current="page"] { color: var(--color-ink); font-weight: 600; }

/* ===== Fabric mega-menu (header dropdown) ===== */
.site-nav .has-mega { display: flex; align-items: center; gap: 4px; }
.mega-toggle {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  color: var(--color-ink-soft);
  line-height: 0;
}
.mega-toggle svg { width: 14px; height: 14px; transition: transform var(--transition); }
.mega-toggle:hover { color: var(--color-ink); }
.has-mega.mega-open .mega-toggle svg { transform: rotate(180deg); }

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  z-index: 200;
  animation: mega-fade 0.18s ease;
}
.mega-panel[hidden] { display: none; }
@keyframes mega-fade {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 36px 24px 40px;
}
.mega-col-head {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-line);
}
.mega-col-head:hover { opacity: 1; color: var(--color-brand-dark); }
.mega-col ul { display: flex; flex-direction: column; gap: 2px; }
.mega-col li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  font-size: 0.92rem;
  color: var(--color-ink);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.mega-col li a:hover { background: var(--color-accent-soft); color: var(--color-brand); opacity: 1; }
.mega-count {
  font-size: 0.7rem;
  color: var(--color-ink-muted);
  background: var(--color-accent-soft);
  border-radius: 999px;
  padding: 1px 8px;
  font-variant-numeric: tabular-nums;
}
.mega-col li a:hover .mega-count { background: #fff; }

/* Mobile / tablet (<=1024px): accordion inside the hamburger menu */
@media (max-width: 1024px) {
  .site-nav .has-mega { flex-wrap: wrap; }
  .mega-panel {
    position: static;
    flex: 0 0 100%;
    width: 100%;
    box-shadow: none;
    border: 0;
    animation: none;
    background: var(--color-bg-alt);
    border-radius: 8px;
    margin-top: 10px;
  }
  .mega-grid { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
}

/* ===== Fabric construction detail page (fabric-<slug>.html) ===== */
.fp-hero { padding-top: 56px; padding-bottom: 24px; border-bottom: none; }
.fp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-ink-muted);
  margin-bottom: 20px;
}
.fp-breadcrumb a { color: var(--color-ink-muted); }
.fp-breadcrumb a:hover { color: var(--color-brand); opacity: 1; }
.fp-breadcrumb .fp-current { color: var(--color-ink); font-weight: 500; }
.fp-hero h1 { margin: 6px 0 14px; }
.fp-sub { color: var(--color-ink-soft); max-width: 620px; font-variant-numeric: tabular-nums; }
.fp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

.fp-gallery-sec { padding-top: 32px; border-bottom: none; }
.fp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.fp-photo {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.10), inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.fp-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  position: relative;
  z-index: 2;
}

.fp-more-sec { background: var(--color-bg-alt); }
.fp-more-sec h2 { font-size: 1.3rem; margin-bottom: 24px; }
.fp-more {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.fp-more-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-ink);
  transition: border-color var(--transition), transform var(--transition), color var(--transition);
}
.fp-more-card:hover { border-color: var(--color-brand); color: var(--color-brand); transform: translateY(-2px); opacity: 1; }
.fp-more-card .mega-count { background: var(--color-accent-soft); }
@media (max-width: 600px) {
  .fp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ===== Fabric category intro page (polyester.html / tc.html / cvc.html / cotton.html) ===== */
.container.narrow { max-width: 760px; }
.cat-hero { border-bottom: none; padding: 0; }
.cat-hero--photo, .cat-hero--brand {
  min-height: 360px;
  padding: 64px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.cat-hero--brand { background: linear-gradient(135deg, var(--color-brand), var(--color-brand-dark)); }
.cat-hero .container { max-width: 760px; }
.cat-hero--photo .eyebrow, .cat-hero--brand .eyebrow { color: rgba(255, 255, 255, 0.82); }
.cat-hero--photo h1, .cat-hero--brand h1 { color: #fff; }
.cat-hero--photo .lead, .cat-hero--brand .lead { color: rgba(255, 255, 255, 0.92); margin-left: auto; margin-right: auto; }

/* Sticky category sub-bar — freezes below the navbar on scroll, shows current category + construction */
.cat-stickybar {
  position: sticky;
  top: 71px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}
/* --csb-p: scroll progress 0 (big, at top) -> 1 (compact, docked under navbar), set by JS.
   Defaults to 1 so the bar is compact even if JS is disabled. */
.cat-stickybar-inner { display: flex; align-items: center; gap: 10px; height: calc(64px - var(--csb-p, 1) * 16px); font-size: calc(1.4rem - var(--csb-p, 1) * 0.5rem); will-change: height, font-size; }
.csb-cat { font-weight: 700; color: var(--color-ink); letter-spacing: -0.01em; }
.csb-sep { color: var(--color-ink-muted); }
.csb-con { color: var(--color-brand); font-weight: 700; letter-spacing: -0.01em; }
/* navbar (73) + docked bar (48) + the 16px the bar collapses mid-scroll + breathing room */
#cat-colours { scroll-margin-top: 146px; }
@media (max-width: 600px) { .cat-stickybar-inner { height: calc(50px - var(--csb-p, 1) * 8px); font-size: calc(1.05rem - var(--csb-p, 1) * 0.23rem); } }
@media (max-width: 380px) { .cat-stickybar { top: 59px; } }
.cat-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.cat-hero-copy h1 { margin: 8px 0 16px; }
.cat-hero-img img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 16px; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.10); display: block;
}
.cat-what { border-bottom: none; padding-top: 24px; }
.cat-what h2 { margin-bottom: 16px; }
.cat-what p { color: var(--color-ink-soft); font-size: 1.05rem; }
.cat-proc { background: var(--color-bg-alt); }
.cat-proc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-proc-card { background: #fff; border: 1px solid var(--color-line); border-radius: 14px; overflow: hidden; }
.cat-proc-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.cat-proc-body { padding: 18px 18px 22px; }
.cat-proc-step { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-brand); font-weight: 600; margin-bottom: 8px; }
.cat-proc-card h3 { font-size: 1rem; margin-bottom: 6px; }
.cat-proc-card p { font-size: 0.88rem; color: var(--color-ink-soft); line-height: 1.5; }
@media (max-width: 1024px) {
  .cat-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .cat-proc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cat-proc-grid { grid-template-columns: 1fr; }
}

/* ===== Construction page: guided flow + progressive colour reveal ===== */
.fp-desc { color: var(--color-ink-soft); font-size: 1.05rem; max-width: 640px; margin: 0 0 18px; }
.fp-guide { display: flex; flex-wrap: wrap; gap: 22px; margin: 0 0 28px; padding: 0; list-style: none; }
.fp-guide li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--color-ink-soft); }
.fp-guide-n {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--color-brand); color: #fff;
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 600; flex-shrink: 0;
}
.fp-colours-head { margin-bottom: 18px; }
.fp-colours-head h2 { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.fp-grid--limited .fp-photo:nth-child(n+13) { display: none; }
.fp-showall {
  margin: 26px auto 0;
  display: block;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--color-ink);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
  font-variant-numeric: tabular-nums;
}
.fp-showall:hover { border-color: var(--color-brand); color: var(--color-brand); }
.fp-showall[hidden] { display: none; }

/* Tone groups on construction pages (Dark / Medium / Light) */
.fp-group-head { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-brand); font-weight: 600; margin: 30px 0 14px; }
.fp-group-head:first-of-type { margin-top: 0; }
.fp-group-n { background: var(--color-accent-soft); color: var(--color-ink-muted); border-radius: 999px; padding: 1px 9px; font-size: 0.72rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* Category "Shop the lineup" — small horizontal carousel of cards */
/* .fabric-cat prefix raises specificity over the generic `.section { padding:100px }` rule that
   appears later in the file — keeps the lineup tucked tight under the sticky bar. */
.fabric-cat .cat-lineup { padding: 20px 0 14px; border-bottom: none; }
.fabric-cat .cat-lineup .section-head { text-align: left; max-width: none; margin: 0 0 8px; }
/* line-height 1.15 (global) clips tall CJK glyphs ("选购布种") against the box top; give this heading room to fully contain the ink */
.fabric-cat .cat-lineup .section-head h2 { line-height: 1.45; }
/* overflow-x:auto forces overflow-y to clip too, which cut the active card's outline (offset 2px + width 2px).
   Pad 8px so the outline fits, then pull back with a matching negative margin so cards stay aligned to the container edge. */
.lineup-scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 8px 14px; margin: -8px -8px 0; scrollbar-width: thin; }
.lineup-scroll::-webkit-scrollbar { height: 6px; }
.lineup-scroll::-webkit-scrollbar-thumb { background: var(--color-line); border-radius: 3px; }
.lineup-card { flex: 0 0 150px; scroll-snap-align: start; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; font-family: inherit; }
.lineup-img { width: 150px; height: 150px; object-fit: cover; border-radius: 12px; background: var(--color-bg-alt); display: block; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color 0.15s ease, transform 0.15s ease; }
.lineup-card:hover .lineup-img { transform: translateY(-2px); }
.lineup-card.is-active .lineup-img { outline-color: var(--color-brand); }
/* reserve 2 lines so 1-line and 2-line names align (keeps the count row even across cards) */
.lineup-name { display: block; font-size: 0.85rem; font-weight: 600; line-height: 1.25; min-height: 2.5em; margin-top: 10px; color: var(--color-ink); }
.lineup-card.is-active .lineup-name { color: var(--color-brand); }
.lineup-count { display: block; font-size: 0.72rem; color: var(--color-ink-muted); margin-top: 2px; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  .lineup-card { flex-basis: 128px; }
  .lineup-img { width: 128px; height: 128px; }
}

/* Inline colours panel (revealed when a lineup card is clicked — no page switch) */
.fabric-cat .cat-colours-sec { padding: 14px 0 64px; border-bottom: none; }
.cat-colours-sec .fp-desc { margin-top: 4px; }

/* ===== Homepage "Who We Are" teaser ===== */
.who-home-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.who-home-inner h2 { margin-top: 8px; }
.who-home-inner .lead { max-width: none; margin: 16px 0 24px; color: var(--color-ink-soft); }

/* ===== Scroll reveal (content fades + rises into view; armed by JS only on below-fold blocks) ===== */
.reveal-init { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; will-change: opacity, transform; }
.reveal-init.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1 !important; transform: none !important; transition: none !important; }
  .faq-item[open] > p, .sustain-report[open] .sustain-report-img { animation: none !important; }
}

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  background: none;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.lang-toggle .lang-divider { color: var(--color-ink-muted); }
html[lang="en"] .lang-zh { color: var(--color-ink-muted); }
html[lang="zh"] .lang-en { color: var(--color-ink-muted); }
html[lang="en"] .lang-en,
html[lang="zh"] .lang-zh { color: var(--color-ink); font-weight: 700; }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 4px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--color-ink);
  transition: transform var(--transition);
}

/* ===== Hero Video (full-width, above hero) ===== */
.hero-video {
  background: #000;
  border-bottom: 1px solid var(--color-line);
}
.hero-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
}
.hero-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 100px;
  border-bottom: 1px solid var(--color-line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: 1.05rem;
  color: var(--color-ink-soft);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}
.hero-stats > div { display: flex; flex-direction: column; gap: 4px; }
.hero-stats strong { font-size: 1.8rem; font-weight: 500; letter-spacing: -0.02em; }
.hero-stats span { font-size: 0.82rem; color: var(--color-ink-muted); }

.hero-visual { position: relative; }

/* ===== Image Placeholders ===== */
.image-placeholder, .hero-image-placeholder {
  background: var(--color-accent-soft);
  border: 1px dashed #d4d2cc;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-ink-muted);
  font-size: 0.85rem;
  padding: 24px;
  aspect-ratio: 4 / 5;
}
.hero-image-placeholder { aspect-ratio: 4 / 5; min-height: 480px; }
.image-placeholder.tall { aspect-ratio: 3 / 4; min-height: 480px; }

/* Real photos in hero + about — same shape as placeholders, image cropped to fit */
.hero-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  min-height: 480px;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  min-height: 480px;
}

/* ===== Trust Bar ===== */
.trust-bar {
  padding: 14px 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-line);
}
.trust-bar p { font-size: 0.78rem; }
.trust-tags span { padding: 4px 12px; font-size: 0.74rem; }
.trust-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.trust-bar p { font-size: 0.85rem; color: var(--color-ink-muted); margin-right: auto; }
.trust-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.trust-tags span {
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--color-ink-soft);
}

/* ===== Fabric marquee (auto-scrolling SKU ticker) ===== */
.fabric-marquee {
  padding: 26px 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}
.fabric-marquee .fm-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 32px;
}
.fm-label {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.25;
  color: var(--color-ink);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
  cursor: pointer;
}
.fm-label .fm-l1 {
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  font-weight: 800;
}
.fm-label .fm-l2 {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 2px;
}
.fm-label:hover {
  color: var(--color-primary, #304098);
}
.fm-label:hover .fm-l2 {
  opacity: 0.95;
}
.fm-em-dash {
  flex-shrink: 0;
  color: var(--color-ink-muted);
  opacity: 0.5;
  font-size: 0.9rem;
}
.fm-track-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}
.fm-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: fm-scroll 60s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.fabric-marquee:hover .fm-track { animation-play-state: paused; }
.fm-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  white-space: nowrap;
  color: var(--color-ink-soft);
  letter-spacing: 0.03em;
  margin-right: 56px; /* spacing via margin (not flex gap) so -50% loops seamlessly */
}
.fm-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.fm-item b {
  color: var(--color-ink);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-feature-settings: "tnum" 1;
}
.fm-name {
  font-weight: 600;
  color: var(--color-ink);
  letter-spacing: 0.05em;
}
.fm-sep {
  color: var(--color-ink-muted);
  opacity: 0.55;
}
.fm-spec {
  color: var(--color-ink-soft);
}
.fm-gsm {
  color: var(--color-ink-soft);
  font-feature-settings: "tnum" 1;
}
@keyframes fm-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 720px) {
  .fabric-marquee .fm-inner { padding-left: 16px; gap: 12px; }
  .fm-label { font-size: 0.65rem; letter-spacing: 0.14em; }
  .fm-em-dash { display: none; }
  .fm-track { animation-duration: 45s; }
  .fm-item { font-size: 0.74rem; margin-right: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .fm-track { animation: none; }
  .fm-track-wrap { overflow-x: auto; }
}

/* ===== Sections ===== */
.section { padding: 100px 0; border-bottom: 1px solid var(--color-line); }
.section-head { text-align: center; margin-bottom: 64px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head .lead { margin: 16px auto 0; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { color: var(--color-ink-soft); margin-bottom: 16px; }
.about-image {
  position: relative;
  margin: 40px auto 0;
  max-width: 880px;
}
.about-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}
.about-image-caption {
  margin-top: 16px;
}
.about-image-caption {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-ink-muted);
  letter-spacing: 0.04em;
  text-align: center;
  font-style: italic;
}
.checklist { margin-top: 24px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--color-ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--color-ink);
  border-bottom: 2px solid var(--color-ink);
  transform: rotate(-45deg);
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
}
.service-card {
  background: white;
  padding: 0 0 32px;
  transition: background var(--transition);
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--color-line);
}
.service-card:hover { background: var(--color-accent-soft); }
.service-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.service-card:hover .service-image img { transform: scale(1.04); }
.service-card .service-num,
.service-card h3,
.service-card p { padding-left: 28px; padding-right: 28px; }
.service-num {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  letter-spacing: 0.1em;
  margin-top: 24px;
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--color-ink-soft); font-size: 0.95rem; }

/* ===== Products ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card .product-image { margin-bottom: 20px; overflow: hidden; border-radius: 12px; }
.product-card .image-placeholder { aspect-ratio: 1; }
.product-card .product-cover {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-cover { transform: scale(1.04); }
.product-card h3 { margin-bottom: 8px; }
.product-card p { color: var(--color-ink-soft); font-size: 0.95rem; margin-bottom: 18px; }
.quick-view-btn {
  background: transparent;
  border: 1px solid var(--color-ink);
  color: var(--color-ink);
  padding: 8px 18px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  font-family: inherit;
  font-weight: 600;
}
.quick-view-btn:hover {
  background: var(--color-ink);
  color: white;
}

/* ===== Fabric Quick-View Modal ===== */
.qv-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qv-modal[hidden] { display: none; }
.qv-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 40, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: qv-fade-in 0.22s ease;
}
.qv-panel {
  position: relative;
  background: white;
  border-radius: 16px;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 36px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  animation: qv-pop-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.qv-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-ink-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
}
.qv-close:hover { background: var(--color-bg-alt); color: var(--color-ink); }
.qv-head { margin-bottom: 24px; }
.qv-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.qv-title { font-size: 1.6rem; margin: 0 0 8px; }
.qv-sub { color: var(--color-ink-soft); font-size: 0.9rem; }
.qv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-line);
}
.qv-tab {
  border: 1px solid var(--color-line);
  background: white;
  color: var(--color-ink-soft);
  padding: 8px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}
.qv-tab:hover {
  border-color: var(--color-ink);
  color: var(--color-ink);
}
.qv-tab.is-active {
  background: var(--color-ink);
  color: white;
  border-color: var(--color-ink);
}
.qv-swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.qv-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.qv-swatch-color {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08), inset 0 0 0 1px rgba(0,0,0,0.06);
}
.qv-swatch-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 1px 3px rgba(0,0,0,0.10), inset 0 0 0 1px rgba(0,0,0,0.06);
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.qv-swatch-photo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  z-index: 2;
  position: relative;
}
.qv-swatch-name {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--color-ink-soft);
}
.qv-tab-count {
  display: inline-block;
  margin-left: 4px;
  padding: 1px 6px;
  font-size: 0.65rem;
  background: rgba(0,0,0,0.06);
  border-radius: 999px;
  color: inherit;
  opacity: 0.7;
}
.qv-tab.is-active .qv-tab-count {
  background: rgba(255,255,255,0.18);
  opacity: 1;
}
.qv-foot {
  border-top: 1px solid var(--color-line);
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.qv-foot p { color: var(--color-ink-soft); font-size: 0.88rem; margin: 0; }
@keyframes qv-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes qv-pop-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
body.qv-open { overflow: hidden; }

/* ===== Blog Detail Modal ===== */
.blog-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.blog-modal[hidden] { display: none; }
.blog-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 40, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: qv-fade-in 0.22s ease;
}
.blog-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  width: min(820px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 56px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  animation: qv-pop-in 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.blog-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--color-ink-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s;
  z-index: 2;
}
.blog-modal-close:hover { background: var(--color-bg-alt); color: var(--color-ink); }
.blog-modal-head {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-line);
}
.blog-modal-meta {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 12px;
  font-weight: 600;
}
.blog-modal-title {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.01em;
}
.blog-modal-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-ink-soft);
}
.blog-modal-body p {
  margin: 0 0 18px;
}
.blog-modal-body h3 {
  margin: 32px 0 14px;
  font-size: 1.15rem;
  color: var(--color-ink);
  letter-spacing: -0.005em;
}
.blog-modal-body h4 {
  margin: 24px 0 8px;
  font-size: 0.95rem;
  color: var(--color-ink);
  letter-spacing: 0.02em;
}
.blog-modal-body strong {
  color: var(--color-ink);
}
.blog-modal-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.blog-modal-body ul li {
  margin-bottom: 6px;
}
.blog-modal-body iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  border: 0;
  margin: 8px 0 22px;
  display: block;
}
.blog-modal-foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  display: flex;
  justify-content: flex-end;
}
body.blog-open { overflow: hidden; }
@media (max-width: 600px) {
  .blog-modal { padding: 12px; }
  .blog-modal-content { padding: 32px 22px 22px; border-radius: 14px; }
  .blog-modal-title { font-size: 1.4rem; }
  .blog-modal-body { font-size: 0.95rem; }
}

/* ===== Fabric Lightbox (enlarged swatch view) ===== */
.qv-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.qv-lightbox[hidden] { display: none; }
.qv-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  animation: qv-fade-in 0.18s ease;
}
.qv-lightbox-figure {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  animation: qv-pop-in 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.qv-lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  display: block;
}
.qv-lightbox-caption {
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.qv-lightbox-close,
.qv-lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.12);
  color: white;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, transform 0.18s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  font-family: inherit;
}
.qv-lightbox-close:hover,
.qv-lightbox-nav:hover {
  background: rgba(255,255,255,0.22);
}
.qv-lightbox-close {
  top: 18px;
  right: 18px;
  font-size: 1.8rem;
}
.qv-lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.qv-lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
.qv-lightbox-prev:hover { transform: translateY(-50%) translateX(-2px); }
.qv-lightbox-next:hover { transform: translateY(-50%) translateX(2px); }
@media (max-width: 600px) {
  .qv-lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.5rem; }
  .qv-lightbox-nav { width: 40px; height: 40px; font-size: 1.1rem; }
  .qv-lightbox-prev { left: 10px; }
  .qv-lightbox-next { right: 10px; }
}
@media (max-width: 600px) {
  .qv-panel { padding: 28px 22px 22px; border-radius: 14px; }
  .qv-swatches { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .qv-title { font-size: 1.3rem; }
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: white;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item:hover { border-color: var(--color-ink-muted); }
.faq-item[open] {
  border-color: var(--color-ink);
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  border-radius: 11px;
  transition: background 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}
.faq-item[open] summary { border-radius: 11px 11px 0 0; }
.faq-item summary:hover { background: var(--color-bg-alt); }
.faq-item summary:active { background: var(--color-accent-soft); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-ink-muted);
  transition: transform 0.25s ease, color 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
  display: inline-block;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--color-brand);
}
.faq-item p {
  padding: 0 24px 20px;
  margin: 0;
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
/* fade + rise the answer in when the item opens (native <details> is otherwise instant) */
.faq-item[open] > p { animation: faqReveal 0.32s ease both; }
@keyframes faqReveal { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .faq-item summary { padding: 14px 18px; font-size: 0.95rem; }
  .faq-item p { padding: 0 18px 16px; font-size: 0.9rem; }
}

/* ===== CTA Band ===== */
.cta-band {
  background: var(--color-brand);
  color: white;
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.7); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy > p { color: var(--color-ink-soft); margin-bottom: 32px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; }
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line);
}
.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  padding-top: 2px;
}

.contact-form {
  background: var(--color-bg-alt);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}
.contact-form h3 { margin-bottom: 24px; font-size: 1.4rem; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-ink-soft);
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
  color: var(--color-ink);
  transition: border-color var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-brand);
}
.contact-form button { width: 100%; margin-top: 8px; }
.contact-form button:disabled { opacity: 0.6; cursor: wait; }

/* ===== Form status messages (success / error / pending) ===== */
.form-status {
  font-size: 0.88rem;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius);
  display: none;
}
.form-status.is-pending,
.form-status.is-success,
.form-status.is-error { display: block; }
.form-status.is-pending { background: var(--color-accent-soft); color: var(--color-ink-soft); }
.form-status.is-success { background: #e8f5ec; color: #1b6b3a; border: 1px solid #c6e6cf; }
.form-status.is-error { background: #fdecec; color: #8a1f1f; border: 1px solid #f5c6c6; }

.newsletter-form .form-status {
  flex-basis: 100%;
  margin-top: 8px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-bg-alt);
  padding: 64px 0 24px;
  border-top: 1px solid var(--color-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-line);
}
.footer-tag { margin-top: 16px; color: var(--color-ink-muted); font-size: 0.9rem; }
.site-footer h4 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-muted);
  margin-bottom: 16px;
}
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer ul li, .site-footer ul a {
  font-size: 0.9rem;
  color: var(--color-ink-soft);
}
.footer-bottom {
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--color-ink-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-image-placeholder { min-height: 320px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .site-nav { display: none; }
  .site-nav.open {
    display: block;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--color-line);
    padding: 24px;
    max-height: calc(100vh - 72px);   /* expanded Fabric mega can be tall — let it scroll */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .site-nav.open ul { flex-direction: column; gap: 16px; }
  .menu-toggle { display: flex; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
}

@media (max-width: 600px) {
  .services-grid,
  .products-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-stats strong { font-size: 1.4rem; }
  .contact-form { padding: 24px; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .header-actions .btn { display: none; }
}

@media (max-width: 420px) {
  .logo-img { height: 26px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 10px; }
  .lang-toggle { padding: 5px 9px; font-size: 0.72rem; }
}

@media (max-width: 380px) {
  .logo-img { height: 22px; }
  .header-inner { height: 60px; gap: 8px; }
  .site-nav.open { top: 60px; max-height: calc(100vh - 60px); }
}

/* ============================================
   NEW SECTIONS — added in v2
   ============================================ */

/* ===== Top Contact Bar ===== */
.top-bar {
  background: var(--color-brand);
  color: rgba(255,255,255,0.92);
  font-size: 0.8rem;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.top-contact { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.top-contact a, .top-hours { color: rgba(255,255,255,0.85); }
.top-contact a:hover { color: white; opacity: 1; }
.top-social { display: flex; gap: 4px; }
.top-social a {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: white;
  transition: background var(--transition);
}
.top-social a:hover { background: rgba(255,255,255,0.2); opacity: 1; }
.top-social a svg { width: 14px; height: 14px; }

/* ===== Reviews ===== */
.reviews { background: var(--color-bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: white;
  padding: 32px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.review-card .stars {
  color: #d4a017;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 16px;
}
.review-card p {
  color: var(--color-ink-soft);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 20px;
  font-style: italic;
}
.review-card.placeholder-review p {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-ink-muted);
}
.review-author { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--color-line); }
.review-author strong { font-size: 0.92rem; }
.review-author span { font-size: 0.8rem; color: var(--color-ink-muted); }

/* ===== Leadership ===== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.leader-card { text-align: center; }
.leader-photo-wrap {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-accent-soft);
  margin: 0 auto 24px;
}
.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.leader-card h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.leader-role {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== Process Gallery ===== */
.process-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-gallery figure {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.process-gallery figcaption {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-ink);
  text-align: center;
}
.image-placeholder.square { aspect-ratio: 1; min-height: 0; }

/* Real photos in the process gallery — same 1:1 square as placeholders */
.process-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* ===== Sustainability (solar + wastewater + numbers + pillars) ===== */
.sustainability { background: var(--color-bg-alt); }

/* Pledge tagline ("dye well, dye responsibly.") */
.sustain-pledge {
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-brand);
  font-weight: 500;
  margin-top: 18px;
  letter-spacing: 0.01em;
}

/* Hard energy numbers */
.sustain-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 40px 32px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  margin-bottom: 12px;
}
.sustain-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  border-right: 1px solid var(--color-line);
  padding-right: 24px;
}
.sustain-stat:last-child { border-right: none; padding-right: 0; }
.sustain-stat strong {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-brand);
  line-height: 1;
}
.sustain-stat-unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-ink-muted);
  margin-left: 4px;
  letter-spacing: 0;
}
.sustain-stat span:not(.sustain-stat-unit) {
  font-size: 0.82rem;
  color: var(--color-ink-soft);
  line-height: 1.35;
}
.sustain-stats-footnote {
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  text-align: center;
  margin-bottom: 56px;
  font-style: italic;
}

.sustain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sustain-cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.sustain-cell img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.sustain-cell:hover img { transform: scale(1.03); }
.sustain-cell figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  z-index: 2;
}
.sustain-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
  z-index: 1;
}
.sustain-cell--feature {
  grid-column: span 3;
}
.sustain-cell--feature img { aspect-ratio: 21 / 9; }
/* Portrait-oriented photos in landscape cells: keep subject centered */
.sustain-cell--tall img { object-position: center 50%; }

/* Environmental commitments — 4 pillar cards */
.sustain-pillars { margin-top: 64px; }
.sustain-pillars h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 32px;
  color: var(--color-ink);
}
.sustain-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sustain-pillar {
  background: white;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  text-align: center;
  transition: all var(--transition);
}
.sustain-pillar:hover {
  border-color: var(--color-brand);
  transform: translateY(-2px);
}
.sustain-pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(48, 64, 152, 0.08);
  color: var(--color-brand);
  display: grid;
  place-items: center;
}
.sustain-pillar-icon svg { width: 24px; height: 24px; }
.sustain-pillar h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-ink);
}
.sustain-pillar p {
  font-size: 0.86rem;
  color: var(--color-ink-soft);
  line-height: 1.55;
}

/* Full report details/summary */
.sustain-report {
  margin-top: 56px;
  text-align: center;
}
.sustain-report summary {
  cursor: pointer;
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-ink-soft);
  background: white;
  list-style: none;
  transition: all var(--transition);
}
.sustain-report summary::-webkit-details-marker { display: none; }
.sustain-report summary:hover { border-color: var(--color-brand); color: var(--color-brand); }
.sustain-report summary:active { transform: scale(0.97); }
.sustain-report summary::after { content: " ▾"; display: inline-block; opacity: 0.6; transition: transform 0.3s ease; }
.sustain-report[open] summary::after { transform: rotate(180deg); }
/* fade + rise the report infographic in when opened */
.sustain-report[open] .sustain-report-img { animation: reportReveal 0.5s ease both; }
@keyframes reportReveal { from { opacity: 0; transform: translateY(-10px) scale(0.99); } to { opacity: 1; transform: none; } }
.sustain-report-img {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 32px auto 0;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
}

/* ===== Safety First (ERT / CPR / Fire drills) ===== */
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.safety-cell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
}
.safety-cell img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.safety-cell:hover img { transform: scale(1.03); }
.safety-cell figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  z-index: 2;
}
.safety-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
  z-index: 1;
}
.safety-cell--feature {
  grid-column: span 2;
}
.safety-cell--feature img { aspect-ratio: 21 / 9; }

/* Reuse pillar styling for safety section */
.safety-pillars { margin-top: 64px; }
.safety-pillars h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 32px;
  color: var(--color-ink);
}
.safety-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.safety-pillar {
  background: var(--color-bg-alt);
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  text-align: center;
  transition: all var(--transition);
}
.safety-pillar:hover {
  border-color: var(--color-brand);
  transform: translateY(-2px);
}
.safety-pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(48, 64, 152, 0.08);
  color: var(--color-brand);
  display: grid;
  place-items: center;
}
.safety-pillar-icon svg { width: 24px; height: 24px; }
.safety-pillar h4 {
  font-size: 0.98rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--color-ink);
}
.safety-pillar p {
  font-size: 0.86rem;
  color: var(--color-ink-soft);
  line-height: 1.55;
}

/* ===== In the Industry (event photos) ===== */
.industry { background: var(--color-bg-alt); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.industry-cell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
}
.industry-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.industry-cell:hover img { transform: scale(1.03); }

/* ===== Group Companies ===== */
.group-companies { background: var(--color-bg-alt); }
.group-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.group-logo-slot {
  background: white;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  padding: 20px;
  transition: all var(--transition);
}
.group-logo-slot:hover {
  border-color: var(--color-brand);
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(48, 64, 152, 0.12);
}
.group-logo-slot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== Blog ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card { display: flex; flex-direction: column; }
.blog-card .image-placeholder { aspect-ratio: 16/10; margin-bottom: 16px; }
/* Push "Read more" link to the bottom of every blog card so they align across the row */
.blog-card .link-arrow {
  margin-top: auto;
  align-self: flex-start;
}
.blog-card .blog-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  display: block;
}
.blog-meta {
  display: flex;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-ink-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.blog-card h3 { margin-bottom: 8px; line-height: 1.3; }
.blog-card > p { color: var(--color-ink-soft); font-size: 0.95rem; margin-bottom: 12px; }

/* ===== Instagram Grid ===== */
.instagram { background: var(--color-bg-alt); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.ig-tile {
  aspect-ratio: 1;
  background: white;
  border: 1px dashed #d4d2cc;
  display: grid;
  place-items: center;
  color: var(--color-ink-muted);
  font-size: 0.75rem;
  transition: transform var(--transition);
}
.ig-tile:hover { transform: scale(1.03); }

/* ===== Newsletter ===== */
.newsletter-band {
  background: var(--color-bg-alt);
  padding: 64px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.newsletter-inner h2 { font-size: 1.6rem; margin-bottom: 6px; }
.newsletter-inner p { color: var(--color-ink-soft); font-size: 0.95rem; }
.newsletter-form { display: flex; gap: 8px; flex-grow: 1; max-width: 480px; }
.newsletter-form input {
  flex-grow: 1;
  padding: 12px 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
}
.newsletter-form input:focus { outline: none; border-color: var(--color-brand); }

/* ===== Footer Social ===== */
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  color: var(--color-ink-soft);
  background: white;
  transition: all var(--transition);
}
.footer-social a:hover {
  color: var(--color-ink);
  border-color: var(--color-ink);
  opacity: 1;
}
.footer-social a svg { width: 16px; height: 16px; }

/* ===== WhatsApp Float Button ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform var(--transition);
}
.wa-float:hover {
  transform: scale(1.08);
  opacity: 1;
}
.wa-float svg { width: 28px; height: 28px; }

/* ===== Map Embed ===== */
.map-embed {
  margin-top: 32px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-line);
  line-height: 0;
}
.map-embed iframe { display: block; width: 100%; }

/* ===== Responsive for new sections ===== */
@media (max-width: 900px) {
  .top-bar-inner { height: auto; padding: 8px 0; flex-direction: column; gap: 8px; }
  .top-contact { gap: 12px; font-size: 0.75rem; justify-content: center; }
  .top-hours { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-gallery { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .sustain-grid { grid-template-columns: 1fr; }
  .sustain-cell--feature { grid-column: span 1; }
  .sustain-cell--feature img { aspect-ratio: 16 / 9; }
  .sustain-stats { grid-template-columns: repeat(3, 1fr); }
  .sustain-stat { border-right: none; padding-right: 0; }
  .sustain-pillars-grid,
  .safety-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-grid { grid-template-columns: 1fr; }
  .safety-cell--feature { grid-column: span 1; }
  .safety-cell--feature img { aspect-ratio: 16 / 9; }
  .group-logos { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { max-width: 100%; width: 100%; }
}

@media (max-width: 600px) {
  .process-gallery { grid-template-columns: 1fr 1fr; }
  .group-logos { grid-template-columns: 1fr; max-width: 320px; }
  .newsletter-form { flex-direction: column; }
  .wa-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .sustain-stats { grid-template-columns: repeat(2, 1fr); padding: 24px 16px; gap: 16px; }
  .sustain-stat strong { font-size: 1.5rem; }
  .sustain-pillars-grid,
  .safety-pillars-grid { grid-template-columns: 1fr; }
}

