/* ============================================================
   DYUKNOCK — Dima Textile / Dyuknock (Pvt) Ltd
   Design system taken from the company logo:
   charcoal + green from the DYU logo, bronze from its frame. Garment-label
   vernacular: hang tags, woven labels, stitch lines, spec tables.
   Layout: editorial, left-aligned; light paper sections broken
   by charcoal bands.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Colour — from the DYU logo: charcoal field, green mark, bronze frame */
  --char-950: #111213;
  --char-900: #1B1C1E;
  --char-800: #26282A;
  --green: #4CC24B;
  --green-hi: #7EDC7C;
  --green-ink: #2A7F29;   /* green dark enough for text on light grey */
  --green-deep: #06180C;  /* text on green buttons */
  --bronze: #B08A5E;
  --paper: #EEEFEC;
  --paper-2: #E2E4E0;
  --card: #F8F8F6;
  --ink: #151617;
  --muted: #595E5B;
  --line: rgba(21, 22, 23, 0.13);
  --line-strong: rgba(21, 22, 23, 0.24);
  --on-dark: #F1F1EF;
  --on-dark-muted: #A6A9A7;
  --line-dark: rgba(241, 241, 239, 0.12);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Shape & motion */
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 68px;
  --container: 1220px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.4);

  color-scheme: light;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--green); color: var(--green-deep); }

:focus-visible {
  outline: 2px solid var(--green-ink);
  outline-offset: 3px;
  border-radius: 3px;
}
.band-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--green); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.02;
  font-weight: 800;
  font-stretch: 78%;
  text-wrap: balance;
}

section[id], div[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

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

/* ---------- Layout utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(16px, clamp(1.25rem, 4vw, 2.25rem), env(safe-area-inset-left, 0px));
  padding-right: max(16px, clamp(1.25rem, 4vw, 2.25rem), env(safe-area-inset-right, 0px));
}

.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.section-alt { background: var(--paper-2); }

.band-dark {
  background: var(--char-900);
  color: var(--on-dark);
}

.section-head { margin-bottom: clamp(2.5rem, 5vw, 3.75rem); max-width: 62ch; }
.split-head {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.kicker,
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 28px;
  border-top: 1.5px dashed currentColor;
}
.band-dark .kicker, .eyebrow { color: var(--green); }

.section-title {
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.2rem);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-sub {
  color: var(--muted);
  max-width: 58ch;
  margin-top: 1.1rem;
  font-size: 1.1rem;
}
.band-dark .section-sub { color: var(--on-dark-muted); }

.accent { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 20px; height: 20px; }
.btn-lg { padding: 0.95rem 1.7rem; font-size: 0.98rem; }
.btn-block { width: 100%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }

.btn-accent { background: var(--green); color: var(--green-deep); }
.btn-accent:hover { background: var(--green-hi); }

.btn-dark { background: var(--char-900); color: var(--on-dark); }
.btn-dark:hover { background: var(--char-800); }

.btn-line { border: 1.5px solid var(--line-dark); color: var(--on-dark); }
.btn-line:hover { border-color: var(--green); color: var(--green-hi); }

/* ---------- Header ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 101;
  background: var(--char-950);
}

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 100;
  background: rgba(17, 18, 19, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}

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

.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px; }
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--bronze);
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--on-dark);
}
.brand-text em { font-style: normal; color: var(--green); }
.brand-text small {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  color: var(--on-dark-muted);
  margin-top: 0.3rem;
}

.site-nav { display: flex; align-items: center; gap: 1.7rem; }
.site-nav > a:not(.btn) {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  position: relative;
  padding-block: 0.45rem;
  transition: color 0.2s;
}
.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  border-top: 1.5px dashed var(--green);
  transition: right 0.3s var(--ease-out);
}
.site-nav > a:not(.btn):hover,
.site-nav > a.active { color: var(--on-dark); }
.site-nav > a.active::after,
.site-nav > a:not(.btn):hover::after { right: 0; }
.site-nav .nav-cta { padding: 0.55rem 1.1rem; font-size: 0.84rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--on-dark);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(700px 520px at 85% 30%, rgba(76, 194, 75, 0.07), transparent 70%),
    var(--char-900);
}
/* faint knit texture */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M0 0 L6 6 L12 0' fill='none' stroke='%23ffffff' stroke-opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(3rem, 1.4rem + 6.4vw, 6.6rem);
  font-stretch: 72%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.92;
}

.hero-sub {
  margin-top: 1.6rem;
  max-width: 50ch;
  color: var(--on-dark-muted);
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.18rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1.5px dashed var(--line-dark);
}
.hero-facts dt,
.figures dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.hero-facts dd {
  margin-top: 0.3rem;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--on-dark);
}

/* Hero visual + hang tag */
.hero-visual {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 460px);
}
.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.hang-tag {
  position: absolute;
  left: -2.6rem;
  bottom: 2.2rem;
  width: 172px;
  padding: 1.6rem 1rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 6px 6px 10px 10px;
  clip-path: polygon(22% 0, 78% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
  box-shadow: var(--shadow);
  transform: rotate(-5deg);
  transform-origin: 50% 0;
  animation: tag-sway 6s ease-in-out infinite;
  text-align: center;
}
.tag-hole {
  position: absolute;
  top: 0.6rem;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--char-900);
  box-shadow: inset 0 0 0 2px var(--bronze);
}
.hang-tag img { width: 72px; height: 72px; margin: 0.4rem auto 0.5rem; border-radius: 4px; }
.tag-brand {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tag-spec {
  margin-top: 0.7rem;
  padding-top: 0.6rem;
  border-top: 1px dashed var(--line-strong);
  display: grid;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.tag-spec div { display: flex; justify-content: space-between; gap: 0.4rem; }
.tag-spec dt { color: var(--muted); }

@keyframes tag-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(-2deg); }
}

/* ---------- Woven tape strip ---------- */
.tape {
  overflow: hidden;
  background: var(--green);
  color: var(--green-deep);
  border-block: 2px dashed rgba(6, 24, 12, 0.35);
  outline: 3px solid var(--green);
}
.tape-track {
  display: flex;
  width: max-content;
  animation: tape-run 48s linear infinite;
}
.tape span {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0.85rem 0 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tape span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--char-900);
}
@keyframes tape-run { to { transform: translateX(-50%); } }

/* ---------- Our work ---------- */
.tabs {
  display: inline-flex;
  padding: 4px;
  gap: 4px;
  border-radius: calc(var(--radius) + 4px);
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.tab {
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}
.tab span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  margin-left: 0.3rem;
  opacity: 0.7;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--char-900); color: var(--on-dark); }

.panel-note {
  max-width: 64ch;
  color: var(--muted);
  margin-bottom: 2rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
.work-item { margin: 0; min-width: 0; }
.work-item .zoom {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-2);
  cursor: zoom-in;
}
.work-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease-out);
}
.work-grid-square .work-item img { aspect-ratio: 1; object-position: center; }
.work-item .zoom:hover img { transform: scale(1.035); }
.work-item figcaption {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Range ---------- */
.range-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: stretch;
}
.range-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.range-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}
.range-card > div { padding: 1.3rem 1.3rem 1.5rem; }
.range-card h3,
.range-group h3 {
  font-size: 1.45rem;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}
.range-card p { color: var(--muted); font-size: 0.97rem; }

.range-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--char-900);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
}
.range-group h3 { color: var(--green); font-size: 1.1rem; letter-spacing: 0.08em; }
.range-group ul { list-style: none; padding: 0; }
.range-group li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px dashed var(--line-dark);
}
.range-group li span { font-weight: 600; }
.range-group li small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  text-align: right;
}
.range-foot { margin-top: auto; color: var(--on-dark-muted); font-size: 0.95rem; }
.range-foot a { color: var(--green-hi); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Private label ---------- */
.label-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.label-visual { margin: 0; }
.label-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}
.label-visual figcaption {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.trim-list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.trim-list li {
  position: relative;
  padding: 0.85rem 1rem 0.85rem 2.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.96rem;
}
/* little woven-label tab */
.trim-list li::before {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 50%;
  width: 0.75rem;
  height: 1.05rem;
  margin-top: -0.52rem;
  border-radius: 2px;
  background: var(--char-900);
  box-shadow: inset 0 0 0 2px var(--char-900), inset 0 0 0 3px var(--green);
}

.sub-title {
  margin-top: clamp(4rem, 8vw, 6rem);
  margin-bottom: 1.6rem;
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  text-transform: uppercase;
}
.deco-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.deco {
  padding: 1.5rem 1.4rem 1.6rem 0;
  border-right: 1px dashed var(--line-strong);
}
.deco + .deco { padding-left: 1.4rem; }
.deco:last-child { border-right: 0; }
.deco-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--green-ink);
}
.deco h4 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.4rem;
  text-transform: uppercase;
}
.deco p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Model table ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
}
.model-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.97rem;
}
.model-table th,
.model-table td {
  padding: 1rem 1.1rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.model-table tbody tr:last-child > * { border-bottom: 0; }
.model-table thead th {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}
.model-table tbody th {
  text-align: left;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-size: 1.3rem;
  font-weight: 800;
  white-space: nowrap;
}
.model-table thead th:first-child { text-align: left; }
.model-table .col-note { text-align: left; color: var(--muted); max-width: 30ch; }
.model-table thead .col-note { color: var(--muted); }
.model-table tbody tr:hover { background: rgba(76, 194, 75, 0.07); }

i.yes, i.no {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  vertical-align: middle;
}
i.yes { background: var(--green); box-shadow: 0 0 0 3px rgba(76, 194, 75, 0.2); }
i.no { border: 1.5px solid var(--line-strong); }
.part {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  background: rgba(76, 194, 75, 0.16);
  color: var(--char-800);
}
.table-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.table-key span { display: inline-flex; align-items: center; gap: 0.5rem; }

/* ---------- Process ---------- */
.process {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.step {
  position: relative;
  padding: 1.6rem 1.4rem 1.8rem 0;
  border-bottom: 1px dashed var(--line-strong);
}
.step:not(:nth-child(3n + 1)) { padding-left: 1.4rem; border-left: 1px dashed var(--line-strong); }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--green-ink);
  letter-spacing: 0.08em;
}
.step h3 {
  margin: 0.45rem 0 0.4rem;
  font-size: 1.45rem;
  text-transform: uppercase;
}
.step p { color: var(--muted); font-size: 0.95rem; }
.gate {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--char-900);
  color: var(--green-hi);
}

/* ---------- Capacity ---------- */
.capacity-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.strengths {
  list-style: none;
  padding: 0;
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1.6rem;
}
.strengths li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--on-dark);
  font-size: 0.97rem;
}
.strengths li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.9rem;
  border-top: 2px dashed var(--green);
}

.vision {
  margin-top: 2.6rem;
  padding-left: 1.2rem;
  border-left: 2px solid var(--green);
}
.vision p {
  font-size: 1.05rem;
  color: var(--on-dark);
  max-width: 52ch;
}
.vision cite {
  display: block;
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.figures {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-dark);
}
.figures > div {
  padding: 1.3rem 0 1.3rem;
  border-bottom: 1px solid var(--line-dark);
}
.figures > div:nth-child(odd):not(.figure-lg) { padding-left: 1.4rem; border-left: 1px solid var(--line-dark); }
.figure-lg { grid-column: 1 / -1; }
.figures dd {
  font-family: var(--font-display);
  font-stretch: 72%;
  font-weight: 900;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  line-height: 1;
  margin-top: 0.4rem;
  font-variant-numeric: tabular-nums;
}
.figure-lg dd { font-size: clamp(5rem, 3rem + 7vw, 8.5rem); color: var(--green); }
.figures sup { font-size: 0.45em; vertical-align: top; color: var(--green); }

/* woven label */
.woven {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 2px, transparent 2px 4px),
    var(--char-950);
  border: 1px solid var(--bronze);
  border-radius: 4px;
  outline: 1.5px dashed rgba(76, 194, 75, 0.5);
  outline-offset: -7px;
  text-align: center;
}
.woven p { font-size: 0.86rem; color: var(--on-dark-muted); }
.woven-head {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-hi) !important;
  font-size: 0.88rem !important;
  margin-bottom: 0.35rem;
}
.woven-no {
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  color: var(--on-dark) !important;
}

/* ---------- Factory gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 230px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-2);
}
.gallery-item .zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--paper);
  color: var(--ink);
  pointer-events: none;
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px dashed var(--line-strong); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 1.1rem;
  color: var(--green-ink);
  transition: transform 0.25s var(--ease-out), background 0.25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--char-900); color: var(--green-hi); border-color: var(--char-900); }
.faq-item p { padding: 0 2.5rem 1.3rem 0; color: var(--muted); max-width: 64ch; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

/* the business card */
.card-biz {
  margin-top: 2.2rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(400px 260px at 100% 0%, rgba(76, 194, 75, 0.1), transparent 70%),
    var(--char-900);
  color: var(--on-dark);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.4rem 1.6rem;
  align-items: start;
}
.card-emblem { width: 112px; height: 112px; border-radius: var(--radius); border: 1px solid var(--bronze); }
.card-biz dl { display: grid; gap: 1rem; min-width: 0; }
.card-biz dt {
  font-family: var(--font-display);
  font-stretch: 100%;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.card-biz dd { display: flex; flex-direction: column; margin-top: 0.15rem; }
.card-biz dd a {
  padding-block: 0.15rem;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}
.card-biz dd a:hover { color: var(--green-hi); }
.card-biz .btn { grid-column: 1 / -1; }

/* Quote form */
.quote-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow);
}
.quote-form h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.form-row { margin-bottom: 1.1rem; min-width: 0; }
.form-row label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 48px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.75rem 0.95rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #8A958E; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(76, 194, 75, 0.2);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--green-ink) 50%), linear-gradient(135deg, var(--green-ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}
.form-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-note { margin-top: 0.9rem; font-size: 0.85rem; color: var(--muted); text-align: center; }
.form-note.is-error { color: #A23B2A; }

/* ---------- Footer ---------- */
.site-footer { background: var(--char-950); color: var(--on-dark); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
.footer-brand { display: flex; gap: 1.2rem; align-items: flex-start; }
.footer-brand img { width: 88px; height: 88px; flex: none; border-radius: var(--radius); border: 1px solid var(--bronze); }
.footer-brand p { color: var(--on-dark-muted); font-size: 0.95rem; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.6rem;
}
.footer-col a { color: var(--on-dark-muted); font-size: 0.95rem; padding: 0.45rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--on-dark); }
.footer-col p { color: var(--on-dark-muted); font-size: 0.92rem; margin-top: 0.45rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px dashed var(--line-dark);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--on-dark-muted);
}

/* ---------- Skip link / progress / float ---------- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 200;
  background: var(--green);
  color: var(--green-deep);
  font-weight: 600;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 6px 6px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.scroll-progress {
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  height: 2px;
  width: 0;
  background: var(--green);
  z-index: 150;
  pointer-events: none;
}

.wa-float {
  position: fixed;
  right: calc(1.1rem + env(safe-area-inset-right, 0px));
  bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--char-900);
  border: 1.5px solid var(--green);
  color: var(--green);
  box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease-out);
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-3px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.75rem, 3vw, 2.5rem);
  background: rgba(12, 13, 14, 0.95);
  color: var(--on-dark);
  opacity: 0;
  transition: opacity 0.25s;
}
.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 0.9rem; min-width: 0; }
.lb-img {
  max-width: min(1000px, 100%);
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lb-caption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  text-align: center;
}
.lb-close {
  position: absolute;
  top: calc(0.75rem + env(safe-area-inset-top, 0px));
  right: calc(1rem + env(safe-area-inset-right, 0px));
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: var(--on-dark-muted);
}
.lb-nav {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-dark);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--on-dark);
  transition: border-color 0.2s, color 0.2s;
}
.lb-close:hover, .lb-nav:hover { color: var(--green-hi); border-color: var(--green); }
.lb-nav[hidden] { visibility: hidden; display: block; }

/* ---------- Reveal (only when JS is running) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.8s var(--ease-out);
}
.js .reveal.visible { opacity: 1; transform: none; }

/* Hero load sequence */
.hero-copy > *, .hero-visual {
  animation: rise 0.9s var(--ease-out) both;
}
.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-visual { animation-delay: 0.2s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav { gap: 1.2rem; }
  .range-grid { grid-template-columns: 1fr 1fr; }
  .range-list { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; }
  .range-foot { grid-column: 1 / -1; }
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--char-950);
    border-bottom: 1px solid var(--line-dark);
    padding: 0.5rem max(1.4rem, env(safe-area-inset-right, 0px)) 1.4rem max(1.4rem, env(safe-area-inset-left, 0px));
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease-out), opacity 0.25s, visibility 0.3s;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav > a:not(.btn) {
    padding: 0.95rem 0.2rem;
    border-bottom: 1px dashed var(--line-dark);
    font-size: 1.05rem;
  }
  .site-nav > a:not(.btn)::after { display: none; }
  .site-nav .nav-cta { margin-top: 1rem; padding: 0.9rem; }
  .site-header.nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }

  .hero-grid,
  .label-grid,
  .capacity-grid,
  .contact-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(100%, 420px); }
  .hang-tag { left: -1rem; }
  .deco-grid { grid-template-columns: 1fr 1fr; }
  .deco:nth-child(2) { border-right: 0; }
  .deco:nth-child(3) { padding-left: 0; }
  .deco:nth-child(-n + 2) { border-bottom: 1px dashed var(--line-strong); }
  .process { grid-template-columns: 1fr 1fr; }
  .step:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 1.4rem; border-left: 1px dashed var(--line-strong); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .hero-facts { grid-template-columns: 1fr; gap: 0.9rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hang-tag { width: 140px; left: -0.4rem; bottom: 1.2rem; padding-top: 1.4rem; }
  .hang-tag img { width: 48px; height: 48px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding-inline: 0.6rem; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .range-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .range-card > div { padding: 1rem; }
  .range-card h3 { font-size: 1.15rem; }
  .range-card p { font-size: 0.88rem; }
  .range-list { grid-template-columns: 1fr; }
  .trim-list { grid-template-columns: 1fr; }
  .deco-grid { grid-template-columns: 1fr; }
  .deco, .deco + .deco { padding: 1.3rem 0; border-right: 0; border-bottom: 1px dashed var(--line-strong); }
  .process { grid-template-columns: 1fr; }
  .step:nth-child(n) { padding: 1.3rem 0; border-left: 0; }
  .strengths { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 0.6rem; }
  .gallery-wide { grid-column: span 2; }
  .card-biz { grid-template-columns: 1fr; }
  .card-emblem { width: 84px; height: 84px; }
  .form-split { grid-template-columns: 1fr; }
  .model-table { min-width: 0; font-size: 0.9rem; }
  .model-table th, .model-table td { padding: 0.85rem 0.4rem; }
  .model-table thead th { font-size: 0.6rem; letter-spacing: 0.06em; }
  .model-table tbody th { font-size: 1.05rem; padding-left: 0.9rem; white-space: normal; }
  .model-table .col-note { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .lightbox { grid-template-columns: 1fr; }
  .lb-nav { position: absolute; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
  .lb-prev { left: 1rem; }
  .lb-next { right: 1rem; }
  .lb-img { max-height: 70vh; }
}

@media (max-width: 380px) {
  .brand-text { font-size: 1rem; }
  .range-grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .tape-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .tape-track span:nth-child(n + 10) { display: none; }
}
