/* =========================================================
   METHODIC INTERNATIONAL — SHARED DESIGN SYSTEM
   Visual concept: the garment "tech pack" / spec sheet —
   dashed stitch-lines, registration corner marks, tape-measure
   gold, mono spec labels. Built for a Sialkot, Pakistan cut &
   sew manufacturer speaking to international brand founders.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Color — light, professional B2B palette. True white (not warm
     cream) as the base, deep ink-navy as the working accent, with
     a brass/rivet gold reserved for small signature marks (spec
     dots, corner registration ticks) — a nod to indigo dye + brass
     hardware, the two materials that define workwear. */
  --bg: #ffffff;
  --bg-alt: #f2f3ef;           /* cool panel grey, not cream */
  --bg-raised: #e8eae4;
  --line: #dcded8;             /* stitch-line grey, light */
  --line-soft: #e7e8e3;
  --text: #14161a;             /* ink */
  --text-dim: #52565c;
  --text-faint: #83868c;
  --accent: #1a3566;           /* ink-navy — primary interactive color */
  --accent-dim: #e7ecf4;       /* pale navy tint for hover/active bg */
  --accent-ink: #ffffff;       /* text on accent */
  --gold: #b9862f;             /* brass — signature marks only */
  --danger: #b23b2a;

  /* Type */
  --font-display: "Big Shoulders Display", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  /* Scale */
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.75rem, 1.5rem + 1vw, 2.25rem);
  --step-3: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  --step-4: clamp(3.25rem, 2.4rem + 4vw, 5.5rem);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  animation: page-enter 0.45s var(--ease) both;
  transition: opacity 0.22s var(--ease);
}
@keyframes page-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
body.page-leave { opacity: 0; }

/* Native cross-document transitions where supported — harmless no-op elsewhere */
@view-transition {
  navigation: auto;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { color: var(--text-dim); max-width: 62ch; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Page transitions ---------- */
body {
  animation: page-fade-in 0.45s var(--ease) both;
}
@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
body.is-transitioning {
  opacity: 0;
  transition: opacity 0.22s var(--ease);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.spec-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.5em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.btn-primary:hover { background: transparent; color: var(--accent); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- Stitch divider (signature motif) ---------- */
.stitch {
  border: none;
  border-top: 1px dashed var(--line);
  margin: 0;
}

.stitch-section {
  position: relative;
}
.stitch-section::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  border-top: 1px dashed var(--line);
}

/* ---------- Registration corner marks ---------- */
.reg-frame {
  position: relative;
}
.reg-frame::before,
.reg-frame::after,
.reg-frame .reg-tl,
.reg-frame .reg-br {
  content: "";
}
.reg-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
  opacity: 0.8;
}
.reg-corner.tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.reg-corner.tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.reg-corner.bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.reg-corner.br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-img {
  height: 42px;
  width: auto;
  display: block;
}
.logo span { color: var(--gold); }
.logo small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
}

.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 2rem var(--gutter);
    gap: 1.6rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .nav-links a { font-size: 1rem; }
  .nav-links.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle { display: inline-flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-block: clamp(4rem, 10vw, 8rem) clamp(3rem, 8vw, 6rem);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 10%;
  width: 480px;
  height: 480px;
  border: 1px dashed var(--line);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}
.hero h1 {
  margin-block: 1rem 1.4rem;
  max-width: 14ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

/* ---------- Hero visual: technical garment diagram ---------- */
.hero-visual {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem);
}
.garment-diagram { width: 100%; height: auto; display: block; }
.garment-diagram .g-fill { fill: var(--bg); }
.garment-diagram .g-line { stroke: var(--text); stroke-width: 2; }
.garment-diagram .g-dash {
  stroke: var(--text-faint);
  stroke-width: 1;
  stroke-dasharray: 4 4;
  fill: none;
}
.garment-diagram .g-gold-fill { fill: var(--gold); }
.garment-diagram .g-accent {
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
}
.garment-diagram text {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: var(--text-dim);
  letter-spacing: 0.03em;
}

.hero-tag-overlay {
  position: absolute;
  left: 1.4rem;
  bottom: 1.4rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  max-width: 190px;
}
.hero-tag-overlay .tag-title {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.65rem;
  display: block;
  margin-bottom: 0.6rem;
}
.hero-tag-overlay dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.35rem 0.8rem;
}
.hero-tag-overlay dt { color: var(--text-faint); text-transform: uppercase; }
.hero-tag-overlay dd { color: var(--text); text-align: right; }

/* ---------- Capabilities marquee ---------- */
.marquee-strip {
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  overflow: hidden;
  padding-block: 1rem;
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.marquee-track span::after {
  content: "—";
  color: var(--gold);
}
.marquee-track span:last-child::after { content: none; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =========================================================
   SECTION SCAFFOLDING
   ========================================================= */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.section-head h2 { margin-top: 0.6rem; max-width: 16ch; }
.section-head p { margin-top: 0.6rem; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   CATEGORY GRID ("What We Manufacture")
   ========================================================= */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.category-arrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.category-card:hover .category-arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 880px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   WHY METHODIC — differentiators
   ========================================================= */
.diff-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px dashed var(--line);
}
.diff-item {
  padding: 1.8rem 1.4rem 1.8rem 0;
  border-right: 1px dashed var(--line);
}
.diff-item:last-child { border-right: none; }
.diff-item .spec-tag { display: block; margin-bottom: 0.9rem; }
.diff-item h4 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  letter-spacing: 0;
}
.diff-item p { font-size: 0.92rem; }

@media (max-width: 880px) {
  .diff-list { grid-template-columns: 1fr 1fr; }
  .diff-item { border-bottom: 1px dashed var(--line); padding-block: 1.6rem; }
}
@media (max-width: 560px) {
  .diff-list { grid-template-columns: 1fr; }
}

.why-cta { margin-top: 2.4rem; }

/* =========================================================
   PROCESS TIMELINE
   ========================================================= */
.process {
  position: relative;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--line);
  z-index: 0;
}
.process-step { position: relative; z-index: 1; }
.process-dot {
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.process-step h4 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
}
.process-step p { font-size: 0.86rem; }

@media (max-width: 880px) {
  .process-track { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .process-track::before { display: none; }
}
@media (max-width: 560px) {
  .process-track { grid-template-columns: 1fr; }
}

/* =========================================================
   SERVICES TEASER
   ========================================================= */
.services-teaser {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.services-list { display: flex; flex-direction: column; }
.services-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.services-list li:first-child { border-top: 1px dashed var(--line); }
.services-list .spec-tag { color: var(--text-faint); }

@media (max-width: 880px) {
  .services-teaser { grid-template-columns: 1fr; }
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  text-align: center;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
}
.cta-banner h2 { max-width: none; margin-bottom: 1.4rem; }
.cta-banner .btn-row { justify-content: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding-block: 3.5rem 2rem;
  background: var(--bg-alt);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a, .footer-col address {
  font-size: 0.9rem;
  color: var(--text-dim);
  text-decoration: none;
  font-style: normal;
}
.footer-col a:hover { color: var(--accent); }
.footer-brand p { font-size: 0.88rem; margin-top: 0.9rem; max-width: 32ch; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}
.social-row { display: flex; gap: 1rem; }
.social-row a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  text-decoration: none;
}
.social-row a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   INTERIOR PAGE COMPONENTS (About, and future content pages)
   ========================================================= */

/* Split text/media layout — order follows source order, so
   put the image markup first or second depending on desired
   reading rhythm. */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) {
  .split-section { grid-template-columns: 1fr; }
}

/* Honest image placeholder — used until real photography is
   supplied. Never a broken <img>, always a labeled box. */
.image-placeholder {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.image-placeholder span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-faint);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  max-width: 24ch;
  line-height: 1.7;
}

/* 6-up differentiator grid (About page) — reuses .diff-item
   text styles, laid out as a fully bordered 3-column grid. */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed var(--line);
  border-left: 1px dashed var(--line);
}
.value-grid .diff-item {
  border-right: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 1.8rem 1.5rem;
}
@media (max-width: 880px) {
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .value-grid { grid-template-columns: 1fr; }
}

/* 3-up values row (Quality / Transparency / Timelines) */
.values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px dashed var(--line);
}
.values-row .diff-item {
  border-right: 1px dashed var(--line);
  padding: 1.8rem 1.5rem 1.8rem 0;
}
.values-row .diff-item:last-child { border-right: none; }
@media (max-width: 880px) {
  .values-row { grid-template-columns: 1fr; }
  .values-row .diff-item {
    border-right: none;
    border-bottom: 1px dashed var(--line);
    padding: 1.6rem 0;
  }
  .values-row .diff-item:last-child { border-bottom: none; }
}

/* Simple content prose (Our Story body copy etc.) */
.prose p { margin-bottom: 1.2rem; max-width: 60ch; }
.prose p:last-child { margin-bottom: 0; }

/* 7-step process variant (Manufacturing page) */
.process-track.cols-7 { grid-template-columns: repeat(7, 1fr); }
@media (max-width: 1080px) {
  .process-track.cols-7 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 880px) {
  .process-track.cols-7 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .process-track.cols-7 { grid-template-columns: 1fr; }
}

/* Service capability blocks (Manufacturing page) */
.service-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px dashed var(--line);
  align-items: start;
}
.service-block:first-of-type { border-top: none; padding-top: 0; }
.service-photo {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--line);
  overflow: hidden;
  margin-top: 0.5rem;
  padding: 8px;
  position: relative;
}
.service-photo::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px dashed var(--gold);
  opacity: 0.6;
  pointer-events: none;
  z-index: 2;
}
.service-photo-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-photo .reg-corner {
  width: 16px;
  height: 16px;
  z-index: 3;
}
.service-photo .reg-corner.tl { top: 2px; left: 2px; }
.service-photo .reg-corner.tr { top: 2px; right: 2px; }
.service-photo .reg-corner.bl { bottom: 2px; left: 2px; }
.service-photo .reg-corner.br { bottom: 2px; right: 2px; }
.service-photo-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding: 0.3rem 0.6rem;
}
.service-block .eyebrow { margin-bottom: 1rem; }
.service-block h2 { max-width: none; margin-bottom: 1.1rem; }
.spec-list {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 1.7rem 1.9rem;
}
.spec-list h4 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.spec-list ul { display: flex; flex-direction: column; gap: 0.7rem; }
.spec-list li {
  font-size: 0.92rem;
  color: var(--text-dim);
  padding-left: 1.2rem;
  position: relative;
}
.spec-list li::before {
  content: "—";
  color: var(--gold);
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
}
@media (max-width: 880px) {
  .service-block { grid-template-columns: 1fr; }
}

/* Service index / table of contents */
.service-index {
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.service-index ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.service-index a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-right: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  text-decoration: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.service-index li:nth-child(3n) a { border-right: none; }
.service-index a:hover { color: var(--text); background: var(--bg-alt); }
.service-index a span { color: var(--gold); font-size: 0.75rem; }
@media (max-width: 880px) {
  .service-index ul { grid-template-columns: repeat(2, 1fr); }
  .service-index li:nth-child(3n) a { border-right: 1px dashed var(--line); }
  .service-index li:nth-child(2n) a { border-right: none; }
}
@media (max-width: 560px) {
  .service-index ul { grid-template-columns: 1fr; }
  .service-index li a { border-right: none; }
}

/* FAQ */
.faq-list { border-top: 1px dashed var(--line); }
.faq-item {
  border-bottom: 1px dashed var(--line);
  padding-block: 1.8rem;
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 1rem;
}
.faq-item .q-mark {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.85rem;
}
.faq-item h3 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin-bottom: 0.6rem;
}
.faq-item p { font-size: 0.94rem; }

/* MOQ callout */
.moq-box {
  border: 1px dashed var(--line);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background: var(--bg-alt);
}
.moq-box h3 { margin-bottom: 0.9rem; }
.moq-box p { max-width: 68ch; }

/* Product category blocks (Products page) */
.product-category {
  border-top: 1px dashed var(--line);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.product-category:first-of-type { border-top: none; padding-top: 0; }
.product-category .eyebrow { margin-bottom: 1rem; }
.product-category h2 { max-width: none; margin-bottom: 1rem; }
.product-category .prose { margin-bottom: 1.8rem; }
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 640px;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: start;
}
.product-category-footer {
  margin-top: 1.8rem;
}
.product-category:nth-of-type(even) {
  background: var(--bg-alt);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
}
.product-category-head {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1rem;
}
.product-category-head h2 { margin-bottom: 0; }
.product-category .eyebrow { margin-bottom: 0.3rem; }
.product-category.is-hidden { display: none; }

/* Category icons — small technical line-art marks */
.cat-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--text);
}
.cat-icon .ci-line {
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cat-icon .ci-accent {
  stroke: var(--gold);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
}

/* Category filter tabs */
.category-tabs {
  position: sticky;
  top: 65px;
  z-index: 40;
  background: var(--bg);
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.category-tabs-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-block: 0.8rem;
  scrollbar-width: none;
}
.category-tabs-scroll::-webkit-scrollbar { display: none; }
.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.cat-tab .cat-icon { width: 18px; height: 18px; color: currentColor; }
.cat-tab .cat-icon .ci-line { stroke-width: 3; }
.cat-tab:hover { border-color: var(--accent); color: var(--text); }
.cat-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

/* Product photo grid — featured + honest placeholders */
.product-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.product-photos .image-placeholder {
  aspect-ratio: 4 / 3;
  margin: 0;
}
.product-photos .image-placeholder.featured {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
}

/* =========================================================
   BLOG INDEX
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.2rem);
}
@media (max-width: 980px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}
.blog-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.blog-card:nth-child(2) { transition-delay: 0.06s; }
.blog-card:nth-child(3) { transition-delay: 0.12s; }
.blog-card:nth-child(4) { transition-delay: 0.18s; }
.blog-card:nth-child(5) { transition-delay: 0.24s; }
.blog-card:nth-child(6) { transition-delay: 0.3s; }
.blog-card-body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-body .spec-tag { display: block; margin-bottom: 0.8rem; }
.blog-card-body h3 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 0.8rem;
}
.blog-card-body h3 a { text-decoration: none; color: var(--text); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-card-body p { font-size: 0.92rem; flex: 1; }
.read-more {
  margin-top: 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
}
.read-more:hover { text-decoration: underline; }
.badge-soon {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-faint);
  border: 1px dashed var(--line);
  padding: 0.3rem 0.6rem;
  display: inline-block;
  width: fit-content;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.pagination a, .pagination span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--text-dim);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination [aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.pagination .pg-disabled {
  color: var(--text-faint);
  opacity: 0.5;
  cursor: not-allowed;
}

/* =========================================================
   BLOG ARTICLE (single post)
   ========================================================= */
.article-meta {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 1rem;
}
.article-toc {
  border: 1px dashed var(--line);
  background: var(--bg-alt);
  padding: 1.5rem 1.7rem;
  margin-block: 2.5rem;
}
.article-toc h2 {
  text-transform: uppercase;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-bottom: 0.9rem;
  max-width: none;
}
.article-toc ol {
  list-style: decimal;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.article-toc a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.94rem;
}
.article-toc a:hover { color: var(--accent); }
.article-body { max-width: 68ch; }
.article-body h2 {
  max-width: none;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  font-size: var(--step-2);
}
.article-body p { max-width: 68ch; margin-bottom: 1.2rem; }
.article-body ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  padding-left: 1.3rem;
  list-style: disc;
  color: var(--text-dim);
}
.share-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: 2.5rem;
  padding-block: 1.5rem;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.share-row span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.share-row a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
}
.share-row a:hover { color: var(--accent); border-color: var(--accent); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .related-grid { grid-template-columns: 1fr; }
}
.related-card {
  border: 1px solid var(--line);
  padding: 1.4rem 1.5rem;
  display: block;
  text-decoration: none;
}
.related-card .spec-tag { display: block; margin-bottom: 0.7rem; }
.related-card h4 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0;
  color: var(--text);
  line-height: 1.35;
}
.related-card:hover h4 { color: var(--accent); }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.process-track.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) {
  .process-track.cols-3 { grid-template-columns: 1fr; }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 980px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}
.form-field .required-mark { color: var(--gold); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 2px;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field .field-error {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--danger);
  display: none;
}
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: var(--danger);
}
.form-field.has-error .field-error { display: block; }

.form-success {
  border: 1px dashed var(--gold);
  background: var(--bg-alt);
  padding: clamp(2rem, 5vw, 2.8rem);
  text-align: center;
  display: none;
}
.form-success.is-visible { display: block; }
.form-success h3 { margin-bottom: 0.8rem; }
#quote-form.is-hidden { display: none; }

.contact-side-card {
  border: 1px solid var(--line);
  padding: 1.7rem 1.8rem;
  margin-bottom: 1.6rem;
}
.contact-side-card h4 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: 1rem;
}
.contact-side-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.contact-side-card li {
  font-size: 0.92rem;
  color: var(--text-dim);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
}
.contact-side-card li a { color: var(--accent); text-decoration: none; }
.contact-side-card li a:hover { text-decoration: underline; }

/* =========================================================
   PRODUCT IMAGE SLIDER + DETAIL (Products page)
   ========================================================= */
.product-slider {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.product-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s var(--ease);
}
.product-slider-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.product-slider-slide span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 26ch;
  line-height: 1.7;
}
.product-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
  padding: 0;
}
.product-slider-btn:hover { border-color: var(--accent); color: var(--accent); }
.product-slider-btn.prev { left: 0.8rem; }
.product-slider-btn.next { right: 0.8rem; }
.product-slider-dots {
  position: absolute;
  bottom: 0.9rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.product-slider-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--text-faint);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.product-slider-dots button.is-active { background: var(--gold); border-color: var(--gold); }
.product-slider-counter {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.85);
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--line);
}

.quick-specs {
  border: 1px dashed var(--line);
  background: var(--bg-alt);
  padding: 1.2rem 1.4rem;
  margin-top: 1rem;
}
.quick-specs dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
}
.quick-specs dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.quick-specs dd {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text);
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

/* =========================================================
   HOMEPAGE PHOTO SECTIONS
   ========================================================= */
.hero-photo {
  aspect-ratio: 4 / 5;
  margin: 0;
}
@media (max-width: 880px) {
  .hero-photo { aspect-ratio: 16 / 10; }
}

/* =========================================================
   ROTATING BANNER SLIDER (full-width, auto-advancing)
   ========================================================= */
.banner-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--bg-alt);
}
@media (max-width: 880px) {
  .banner-slider { aspect-ratio: 4 / 3; }
}
.banner-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s var(--ease);
}
.banner-slide {
  flex: 0 0 100%;
  position: relative;
}
.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 26, 0.8) 0%, rgba(20, 22, 26, 0.1) 48%, transparent 68%);
}
.banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.5rem, 5vw, 3.2rem);
  z-index: 2;
}
.banner-caption .eyebrow { color: var(--gold); }
.banner-caption .eyebrow::before { background: var(--gold); }
.banner-caption h2 {
  color: #fff;
  max-width: none;
  margin-block: 0.6rem 0.9rem;
}
.banner-caption p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 46ch;
  margin-bottom: 1.2rem;
}
.banner-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(20, 22, 26, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  padding: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.banner-slider-btn:hover { background: rgba(20, 22, 26, 0.65); border-color: var(--gold); }
.banner-slider-btn.prev { left: 1rem; }
.banner-slider-btn.next { right: 1rem; }
.banner-slider-dots {
  position: absolute;
  bottom: 1.3rem;
  right: 1.5rem;
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}
.banner-slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.banner-slider-dots button.is-active { background: var(--gold); border-color: var(--gold); }

/* =========================================================
   PHOTO-FORWARD CATEGORY TILES
   ========================================================= */
.category-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: var(--bg-alt);
}
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
.category-card:hover img { transform: scale(1.06); }
.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 22, 26, 0.88) 0%, rgba(20, 22, 26, 0.15) 50%, transparent 72%);
  z-index: 1;
}
.category-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem 1.4rem 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.category-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
}
.category-card h4 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0;
  color: #fff;
}

/* =========================================================
   CLIENT TILES — text-only, animated (no photos).
   Used for "Who We Work With" on the About page, decoupled
   from .category-card so it never inherits the photo-tile look.
   ========================================================= */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.client-tile {
  background: var(--bg);
  padding: 2rem 1.6rem;
  text-decoration: none;
  color: var(--text);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  min-height: 170px;
  overflow: hidden;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background 0.25s var(--ease);
}
.client-tile:nth-child(2) { transition-delay: 0.08s; }
.client-tile:nth-child(3) { transition-delay: 0.16s; }
.client-tile:nth-child(4) { transition-delay: 0.24s; }
.client-tile:nth-child(5) { transition-delay: 0.32s; }
.client-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
  z-index: 0;
}
.client-tile:hover::before { transform: scaleX(1); }
.client-tile:hover { color: var(--accent-ink); }
.client-tile .client-num,
.client-tile h4,
.client-tile .client-arrow {
  position: relative;
  z-index: 1;
}
.client-tile .client-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}
.client-tile:hover .client-num { transform: translateX(4px); }
.client-tile h4 {
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0;
  margin-top: auto;
}
.client-tile .client-arrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: currentColor;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.client-tile:hover .client-arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 880px) {
  .client-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .client-grid { grid-template-columns: 1fr; }
}

.factory-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 560px;
}
.factory-gallery .image-placeholder {
  margin: 0;
  height: 100%;
  aspect-ratio: auto;
}
.factory-gallery .g-large {
  grid-row: 1 / 3;
}
@media (max-width: 880px) {
  .factory-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }
  .factory-gallery .image-placeholder { aspect-ratio: 4 / 3; height: auto; }
  .factory-gallery .g-large { grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .factory-gallery { grid-template-columns: 1fr; }
}

.slide-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  height: 100%;
  justify-content: center;
}
.slide-illustration svg {
  width: auto;
  height: 85%;
  max-height: 190px;
}
.slide-illustration .slide-caption {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.placeholder-main {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.placeholder-body {
  padding-block: 6rem;
}
.placeholder-body .eyebrow { margin-bottom: 1.2rem; }
.placeholder-body h1 { max-width: 20ch; margin-bottom: 1.2rem; }
.placeholder-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
  border: 1px dashed var(--line);
  display: inline-block;
  padding: 0.8rem 1.2rem;
  margin-top: 1.5rem;
}

/* utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =========================================================
   LOOKBOOK GRID (Products page — 15 example styles per category)
   ========================================================= */
.lookbook-head {
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}
.lookbook-head .eyebrow { margin-bottom: 0.6rem; }
.lookbook-note {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
  max-width: 62ch;
  margin-top: 0.6rem;
}
.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1rem, 2vw, 1.4rem);
}
@media (max-width: 980px) {
  .lookbook-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .lookbook-grid { grid-template-columns: repeat(2, 1fr); }
}
.lookbook-card {
  background: var(--bg);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.lookbook-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(20, 22, 26, 0.1);
  border-color: var(--accent);
}
.lookbook-thumb {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.lookbook-thumb span {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.lookbook-card-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}
.lookbook-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gold);
}
.lookbook-label {
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.3;
}
.lookbook-arrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  margin-top: auto;
}
.lookbook-card:hover .lookbook-arrow { color: var(--accent); }

/* =========================================================
   PRODUCT DETAIL PAGE
   ========================================================= */
.product-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 880px) {
  .product-detail-hero { grid-template-columns: 1fr; }
}

/* Main image + clickable thumbnail gallery */
.pd-gallery-main {
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-bottom: 0.9rem;
}
.pd-gallery-main span {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.7;
  max-width: 26ch;
}
.pd-gallery-thumbs {
  display: flex;
  gap: 0.8rem;
}
.pd-thumb-btn {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: var(--bg-alt);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  transition: border-color 0.2s var(--ease);
}
.pd-thumb-btn span {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  color: var(--text-faint);
  text-transform: uppercase;
  line-height: 1.3;
}
.pd-thumb-btn:hover { border-color: var(--text-dim); }
.pd-thumb-btn.is-active { border-color: var(--accent); }

/* Specifications table */
.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.88rem;
}
.pd-specs-table tr { border-bottom: 1px solid var(--line-soft); }
.pd-specs-table tr:nth-child(even) { background: var(--bg-alt); }
.pd-specs-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-faint);
  font-weight: 500;
  padding: 0.7rem 0.9rem;
  width: 40%;
}
.pd-specs-table td {
  padding: 0.7rem 0.9rem;
  color: var(--text);
}
.product-detail-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-faint);
  margin-bottom: 1rem;
}
.product-detail-breadcrumb a { color: var(--text-faint); text-decoration: none; }
.product-detail-breadcrumb a:hover { color: var(--accent); }
.product-detail-lookbook-note {
  border: 1px dashed var(--line);
  background: var(--bg-alt);
  padding: 1rem 1.2rem;
  font-size: 0.86rem;
  color: var(--text-dim);
  margin-block: 1.5rem;
}
#pd-loading {
  padding-block: 4rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-faint);
}
#pd-content.is-hidden, #pd-notfound.is-hidden { display: none; }

/* Mobile navigation: hide links from keyboard focus when collapsed. */
@media (max-width: 880px) {
  .nav-links:not(.is-open) { visibility: hidden; }
  .nav-links.is-open { visibility: visible; }
}

/* Phase 2: readable manufacturing service sections */
.service-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:1.25rem;margin:1.75rem 0 2rem}.service-detail-card{border:1px solid var(--border,#d9dee5);border-radius:12px;padding:1.5rem;background:var(--surface,#fff);color:var(--text,#1e293b)}.service-detail-card h3{margin-top:0;line-height:1.3}.service-detail-card p{line-height:1.75}.service-steps{padding-left:1.5rem;max-width:900px}.service-steps li{margin-bottom:1rem;line-height:1.75}.service-faq{padding:1rem 0;border-bottom:1px solid #cbd5e1;max-width:900px}.service-faq summary{cursor:pointer;font-weight:700}.service-faq p{line-height:1.75}.service-related{display:flex;flex-wrap:wrap;gap:.8rem 1.5rem;list-style:none;padding:0}.service-related a{text-decoration:underline}

/* Methodic homepage: editorial service tiles */
.mi-services-showcase{padding:clamp(58px,7vw,104px) 0;background:#f4f5f3;color:#181b1a}
.mi-services-heading{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:36px;align-items:end;margin-bottom:30px}
.mi-services-heading .eyebrow{display:block;color:#69766e;letter-spacing:.15em;font-size:12px;font-weight:750;margin-bottom:12px}
.mi-services-heading h2{color:#151b18;font-size:clamp(30px,3.4vw,48px);line-height:1.13;max-width:690px;margin:0;letter-spacing:-.035em}
.mi-services-heading>p{font-size:15px;line-height:1.75;color:#59635e;margin:0 0 4px}
.mi-service-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.mi-service-tile{min-width:0;background:#fff;border:1px solid #e2e7e2;border-radius:16px;overflow:hidden;box-shadow:0 5px 22px rgba(12,30,18,.035);transition:transform .2s ease,box-shadow .2s ease}
.mi-service-tile:hover{transform:translateY(-4px);box-shadow:0 14px 35px rgba(12,30,18,.12)}
.mi-service-tile-link{display:block;height:100%;text-decoration:none!important;color:inherit!important}
.mi-service-photo{position:relative;height:195px;overflow:hidden;background:#d9ded9}
.mi-service-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.mi-service-tile:hover .mi-service-photo img{transform:scale(1.045)}
.mi-service-number{position:absolute;top:14px;left:14px;border-radius:8px;background:rgba(255,255,255,.94);padding:7px 10px;font-size:12px;font-weight:800;color:#25312b}
.mi-service-copy{padding:22px 23px 24px;display:flex;flex-direction:column;min-height:196px}
.mi-service-copy h3{color:#19241e;font-size:clamp(19px,1.55vw,23px);line-height:1.25;margin:0 0 10px;letter-spacing:-.025em}
.mi-service-copy p{font-size:14px;line-height:1.65;color:#626d66;margin:0 0 20px}
.mi-service-action{margin-top:auto;font-size:13px;font-weight:800;color:#1b6a47;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e9ede9;padding-top:15px}
.mi-service-action span{font-size:20px;line-height:1}
.mi-services-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:25px;flex-wrap:wrap}
.mi-services-bottom>span{font-size:14px;color:#59635e}
@media(max-width:850px){.mi-service-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.mi-services-heading{grid-template-columns:1fr;gap:12px}}
@media(max-width:540px){.mi-service-tiles{grid-template-columns:1fr}.mi-service-photo{height:205px}.mi-service-copy{min-height:auto}.mi-services-showcase{padding:54px 0}.mi-services-bottom .btn{width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.mi-service-tile,.mi-service-photo img{transition:none}}
