/* =====================================================================
   XUÂN THU GROUP — B2B Manufacturing Site
   Design system built from the official Xuân Thu Brand Guidelines (v1.0, 2025)
   ===================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Oateria";
  src: url("../fonts/BTOateria-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Commons Pro";
  src: url("../fonts/TT_Commons_Pro_Medium.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "TT Commons Pro";
  src: url("../fonts/TT_Commons_Pro_DemiBold.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Brand tokens ---------- */
:root {
  /* Primary */
  --orange: #E76228;
  --orange-deep: #C44E1C;
  --beige: #FFF7E9;
  --beige-deep: #F4E9D4;

  /* Secondary palette */
  --yellow: #FFE180;
  --green: #C6EDC6;
  --blue: #71CED3;
  --lilac: #C6D8FF;
  --pink: #FFC5C9;

  /* Neutrals */
  --ink: #2A2018;
  --ink-soft: #5C5347;
  --line: #E7DECB;
  --white: #ffffff;

  /* Type */
  --font-display: "Oateria", "TT Commons Pro", sans-serif;
  --font-body: "TT Commons Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Radius — brand design language: soft, rounded ("nhiều góc bo tròn") */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --r-xl: 48px;
  --r-pill: 999px;

  /* Layout */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --nav-h: 76px;

  --shadow-sm: 0 4px 18px rgba(42, 32, 24, 0.06);
  --shadow-md: 0 18px 48px rgba(42, 32, 24, 0.10);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--beige);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink-soft); line-height: 1.5; }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.eyebrow.center::before { display: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
section { position: relative; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-sm { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 60ch; }
.measure-sm { max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95em 1.7em;
  border-radius: var(--r-pill);
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--orange); color: var(--beige); box-shadow: 0 8px 22px rgba(231,98,40,0.28); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(231,98,40,0.34); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--beige); transform: translateY(-2px); }
.btn-light { background: var(--beige); color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 1.05em 2em; font-size: 1.05rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 247, 233, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav {
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .brand-tag {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--orange);
  padding-left: 12px; margin-left: 4px; border-left: 1px solid var(--line);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 500; font-size: 0.98rem;
  padding: 0.6em 0.95em; border-radius: var(--r-pill);
  color: var(--ink); transition: background 0.25s, color 0.25s;
}
.nav-links a:hover { background: var(--beige-deep); }
.nav-links a.active { color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn { padding: 0.7em 1.3em; font-size: 0.95rem; }

.nav-mobile { display: none; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform 0.3s, opacity 0.3s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 0.5em; }
.hero h1 .accent { color: var(--orange); }
.hero .lead { margin-bottom: 1.8em; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.hero-badge {
  position: absolute; left: -22px; bottom: 28px;
  background: var(--beige); border-radius: var(--r-md);
  padding: 16px 22px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 14px;
}
.hero-badge .num { font-family: var(--font-display); font-size: 2.2rem; color: var(--orange); line-height: 1; }
.hero-badge .lbl { font-size: 0.85rem; font-weight: 600; line-height: 1.2; max-width: 12ch; }

/* trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--beige); }
.trust .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 40px; padding-block: 26px; }
.trust .trust-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.trust .trust-items { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.trust .trust-items span { font-weight: 600; color: var(--ink); font-size: 0.95rem; }

/* ---------- Generic blocks ---------- */
.section-head { max-width: 64ch; }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin: 0.3em 0 0.45em; }

/* Stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 3vw, 36px); }
.stat .num { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 4rem); color: var(--orange); line-height: 0.9; }
.stat .lbl { margin-top: 0.5em; font-weight: 500; color: var(--ink-soft); font-size: 0.98rem; }

/* Card grid */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .ico {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--beige); color: var(--orange);
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
.card p { font-size: 0.98rem; }

/* tinted card variants */
.card.tint-orange { background: var(--orange); border-color: var(--orange); color: var(--beige); }
.card.tint-orange p { color: rgba(255,247,233,0.85); }
.card.tint-orange .ico { background: rgba(255,247,233,0.18); color: var(--beige); }
.card.tint-beige { background: var(--beige-deep); border-color: transparent; }
.card.tint-blue { background: var(--blue); border-color: transparent; }
.card.tint-yellow { background: var(--yellow); border-color: transparent; }
.card.tint-green { background: var(--green); border-color: transparent; }

/* Pill tags */
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.5em 1.1em; border-radius: var(--r-pill);
  background: var(--white); border: 1px solid var(--line);
  font-weight: 500; font-size: 0.95rem;
}
.pill.solid { background: var(--ink); color: var(--beige); border-color: var(--ink); }

/* Split feature (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.flip .split-media { order: 2; }
.split-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); width: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 0.5em; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 26px); counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line); position: relative;
}
.step .step-no {
  font-family: var(--font-display); font-size: 1.1rem; color: var(--orange);
  width: 44px; height: 44px; border-radius: var(--r-pill);
  background: var(--beige); display: grid; place-items: center; margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.4em; }
.step p { font-size: 0.95rem; }

/* Spec list */
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.spec { background: var(--beige); padding: clamp(22px, 2.6vw, 30px); }
.spec dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.5em; }
.spec dd { font-weight: 500; font-size: 1.08rem; color: var(--ink); }
.spec dd small { display: block; color: var(--ink-soft); font-weight: 400; font-size: 0.92rem; margin-top: 0.3em; }

/* CTA band */
.cta-band {
  background: var(--orange); color: var(--beige);
  border-radius: var(--r-xl); padding: clamp(44px, 6vw, 80px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: var(--beige); margin-bottom: 0.4em; }
.cta-band p { color: rgba(255,247,233,0.88); max-width: 52ch; margin: 0 auto 1.8em; font-size: 1.15rem; }
.cta-band .deco { position: absolute; border-radius: 50%; opacity: 0.16; background: var(--beige); }
.cta-band .deco.d1 { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta-band .deco.d2 { width: 200px; height: 200px; bottom: -90px; left: -50px; }

/* Brand portfolio cards */
.brand-card { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; display: flex; align-items: flex-end; }
.brand-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.brand-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,14,8,0.78) 0%, rgba(20,14,8,0.15) 55%, rgba(20,14,8,0) 100%); }
.brand-card:hover img { transform: scale(1.05); }
.brand-card .brand-body { position: relative; z-index: 2; padding: clamp(26px, 3vw, 38px); color: var(--beige); }
.brand-card .brand-body h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 0.3em; }
.brand-card .brand-body p { color: rgba(255,255,255,0.86); font-size: 0.98rem; }
.brand-card .brand-kicker { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.7em; }

.store-loc a { color: var(--orange); font-weight: 600; }
.store-loc a:hover { text-decoration: underline; }

/* ===================== PRESS & PR ===================== */
.press-strip { display: flex; flex-wrap: wrap; gap: 1.1rem 2.6rem; align-items: center; justify-content: center; }
.press-strip a { font-family: var(--font-display); font-size: clamp(1.1rem, 2.4vw, 1.55rem); color: var(--ink); opacity: 0.5; transition: opacity 0.25s var(--ease), color 0.25s var(--ease); }
.press-strip a:hover { opacity: 1; color: var(--orange); }

.press-quote { position: relative; max-width: 860px; margin: 0 auto; text-align: center; }
.pq-track { position: relative; min-height: 300px; display: grid; }
.pq-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pq-slide.active { opacity: 1; visibility: visible; transform: none; }
.pq-mark { font-family: var(--font-display); font-size: 3.4rem; line-height: 0.5; color: var(--orange); margin-bottom: 1.1rem; }
.pq-text { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.34; color: var(--ink); }
.pq-cite { margin-top: 1.5rem; font-size: 0.95rem; color: var(--ink-soft); }
.pq-cite b { color: var(--orange); font-weight: 700; }
.pq-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.2rem; }
.pq-dot { width: 9px; height: 9px; border-radius: var(--r-pill); background: var(--line); border: none; cursor: pointer; padding: 0; transition: width 0.3s var(--ease), background 0.3s var(--ease); }
.pq-dot.on { background: var(--orange); width: 26px; }

.press-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.press-card { display: flex; flex-direction: column; gap: 0.7rem; }
.press-meta { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--ink-soft); }
.press-outlet { font-weight: 700; color: var(--orange); letter-spacing: 0.01em; }
.press-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.press-card h3 { font-size: 1.1rem; line-height: 1.32; }
.press-card .vert-link { margin-top: auto; font-size: 0.95rem; }

.email-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.email-card h3 { font-size: 1.1rem; }
.email-card .ico { margin-bottom: 16px; }
.email-card p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.3rem; }
.email-card .mail { display: inline-block; margin-top: 0.8rem; color: var(--orange); font-weight: 600; word-break: break-word; }
.email-card .mail:hover { text-decoration: underline; }
@media (max-width: 820px) { .press-grid, .email-cards { grid-template-columns: 1fr; } }

/* Language menu (EN / VI / TH / ZH) */
.lang { position: relative; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: 6px; z-index: 120; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s; }
body.lang-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu li { list-style: none; }
.lang-menu button { display: block; width: 100%; text-align: left; padding: 0.55em 0.85em; border-radius: var(--r-sm); font: inherit; font-weight: 500; font-size: 0.95rem; color: var(--ink); background: none; border: none; cursor: pointer; }
.lang-menu button:hover { background: var(--beige-deep); }
.lang-menu button.on { color: var(--orange); font-weight: 600; }
.lang-toggle .caret { font-size: 0.7em; opacity: 0.7; }

/* Language toggle */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 38px; padding: 0 0.7em;
  border-radius: var(--r-pill); border: 1.5px solid var(--line);
  font-family: var(--font-body); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.06em; color: var(--ink); background: transparent;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.lang-toggle:hover { background: var(--beige-deep); border-color: var(--ink); }

/* Vertical / division cards (home) */
.vert { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.vert:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.vert-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.vert-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.vert:hover .vert-media img { transform: scale(1.05); }
.vert-tag { position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--orange); color: var(--beige); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.45em 0.9em; border-radius: var(--r-pill); }
.vert-body { padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; }
.vert-body h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
.vert-body p { font-size: 0.98rem; margin-bottom: 1.2em; }
.vert-link { margin-top: auto; font-weight: 600; color: var(--orange); display: inline-flex; align-items: center; gap: 0.5em; }
.vert-link svg { width: 1em; height: 1em; transition: transform 0.35s var(--ease); }
.vert-link:hover svg, .vert:hover .vert-link svg { transform: translateX(4px); }
.vert-list { margin-bottom: 1.2em; }
.vert-list li { font-size: 0.94rem; font-weight: 500; color: var(--ink); padding: 5px 0 5px 22px; position: relative; }
.vert-list li::before { content: ""; position: absolute; left: 0; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); }

/* Tier rows (wholesale curation) */
.tier { display: grid; grid-template-columns: 220px 1fr; gap: clamp(16px, 3vw, 40px); padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.tier:last-child { border-bottom: none; }
.tier-label h3 { font-size: 1.3rem; }
.tier-label .tier-kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.4em; }
.tier-body p { margin-bottom: 0.9em; }

/* Channel cards (manufacturing: new vs established brand) */
.channel { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 3.2vw, 40px); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.channel:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.channel.feature-channel { background: var(--ink); color: var(--beige); border-color: var(--ink); }
.channel.feature-channel p, .channel.feature-channel .ch-list li { color: rgba(255,247,233,0.82); }
.channel.feature-channel .ch-tag { background: rgba(255,247,233,0.16); color: var(--beige); }
.channel.feature-channel .ch-list li::before { color: var(--yellow); }
.ch-tag { align-self: flex-start; background: var(--beige-deep); color: var(--orange); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.45em 0.95em; border-radius: var(--r-pill); margin-bottom: 18px; }
.channel h3 { font-size: 1.7rem; margin-bottom: 0.35em; }
.channel .ch-sub { font-weight: 600; color: var(--orange); margin-bottom: 0.8em; }
.channel.feature-channel .ch-sub { color: var(--yellow); }
.channel p { margin-bottom: 1.1em; }
.ch-list { margin-bottom: 1.4em; }
.ch-list li { font-size: 0.96rem; padding: 6px 0 6px 24px; position: relative; color: var(--ink-soft); }
.ch-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.channel .btn { margin-top: auto; align-self: flex-start; }

/* Numbered how-it-works row */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.howto .ht { display: flex; gap: 14px; align-items: flex-start; }
.howto .ht .ht-no { flex-shrink: 0; width: 38px; height: 38px; border-radius: var(--r-pill); background: var(--orange); color: var(--beige); font-family: var(--font-display); display: grid; place-items: center; font-size: 1.05rem; }
.howto .ht h4 { font-size: 1.08rem; margin-bottom: 0.2em; }
.howto .ht p { font-size: 0.92rem; }

/* ODM builder running summary */
.build-summary { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }
.build-summary .bchip { display: inline-flex; align-items: center; gap: 7px; padding: 0.45em 1.05em; border-radius: var(--r-pill); background: var(--beige); border: 1px solid var(--line); font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); transition: background 0.25s, color 0.25s, border-color 0.25s; }
.build-summary .bchip .bnum { width: 18px; height: 18px; border-radius: 50%; background: var(--line); color: var(--white); font-size: 0.72rem; display: grid; place-items: center; }
.build-summary .bchip.set { background: var(--orange); color: var(--beige); border-color: var(--orange); }
.build-summary .bchip.set .bnum { background: rgba(255,247,233,0.25); color: var(--beige); }
.quiz-result .r-rows { max-width: 460px; margin: 0 auto; text-align: left; }
.quiz-result .r-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.quiz-result .r-row:last-child { border-bottom: none; }
.quiz-result .r-row .r-k { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.quiz-result .r-row .r-v { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); text-align: right; }

/* Assortment quiz */
.quiz { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); max-width: 880px; margin-inline: auto; box-shadow: var(--shadow-sm); }
.quiz-progress { display: flex; gap: 8px; justify-content: center; margin-bottom: 28px; }
.quiz-dot { width: 34px; height: 4px; border-radius: 3px; background: var(--line); transition: background 0.3s; }
.quiz-dot.on { background: var(--orange); }
.quiz-step { display: none; }
.quiz-step.active { display: block; animation: quizIn 0.4s var(--ease); }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.quiz-q { text-align: center; margin-bottom: 24px; }
.quiz-q .q-step { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); }
.quiz-q h3 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin-top: 0.35em; }
.quiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.quiz-opt { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--beige); cursor: pointer; font: inherit; transition: border-color 0.2s, background 0.2s, transform 0.2s, box-shadow 0.2s; }
.quiz-opt:hover { border-color: var(--orange); background: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.quiz-opt .qi { width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--r-sm); background: var(--white); display: grid; place-items: center; color: var(--orange); }
.quiz-opt:hover .qi { background: var(--beige); }
.quiz-opt .qi svg { width: 24px; height: 24px; }
.quiz-opt b { display: block; font-size: 1.04rem; }
.quiz-opt small { color: var(--ink-soft); font-size: 0.88rem; }
.quiz-back { display: block; margin: 20px auto 0; background: none; border: none; color: var(--ink-soft); font: inherit; font-weight: 500; cursor: pointer; }
.quiz-back:hover { color: var(--orange); }
.quiz-result { text-align: center; }
.quiz-result .eyebrow { justify-content: center; }
.quiz-result h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0.45em 0 0.9em; }
.quiz-result .r-label { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 10px; }
.quiz-result .pills { justify-content: center; }
@media (max-width: 600px) { .quiz-options { grid-template-columns: 1fr; } }

/* Store directory cards */
.store-card { display: flex; flex-direction: column; }
.store-card .store-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.store-card .store-head h3 { font-size: 1.2rem; }
.store-card .store-head .ico-sm { width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--beige); color: var(--orange); display: grid; place-items: center; flex-shrink: 0; }
.store-card .store-head .ico-sm svg { width: 20px; height: 20px; }
.store-loc { padding: 10px 0; border-bottom: 1px solid var(--line); }
.store-loc:last-child { border-bottom: none; }
.store-loc b { display: block; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.store-loc small { color: var(--ink-soft); font-size: 0.9rem; }

/* Partner wall (text names, not logos) — interactive */
.partner-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.partner-cell { background: var(--white); display: grid; place-items: center; text-align: center; padding: 30px 16px; min-height: 116px; transition: background 0.3s; cursor: pointer; border: none; width: 100%; font: inherit; position: relative; }
.partner-cell:hover { background: var(--beige); }
.partner-cell span { font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); line-height: 1.05; }
.partner-cell::after { content: ""; position: absolute; bottom: 14px; left: 50%; width: 18px; height: 2px; background: var(--orange); border-radius: 2px; transform: translateX(-50%) scaleX(0); transition: transform 0.3s var(--ease); }
.partner-cell:hover::after, .partner-cell.active::after { transform: translateX(-50%) scaleX(1); }
.partner-cell.active { background: var(--orange); }
.partner-cell.active span { color: var(--beige); }
.partner-cell.active::after { background: var(--beige); }
.partner-panel { margin-top: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); }
.partner-panel h3 { font-size: 1.4rem; margin-bottom: 0.5em; }
.partner-panel .loc-city { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); margin: 16px 0 2px; }
.partner-panel .loc { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.partner-panel .loc:last-child { border-bottom: none; }
.partner-panel .loc svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.partner-panel .loc b { font-weight: 600; color: var(--ink); }
.partner-panel .loc small { display: block; color: var(--ink-soft); font-size: 0.92rem; }
.partner-panel .loc-note { color: var(--ink-soft); }
.partner-hint { text-align: center; font-size: 0.86rem; color: var(--ink-soft); margin-top: 14px; }
@media (max-width: 900px) { .partner-wall { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .partner-wall { grid-template-columns: repeat(2, 1fr); } }

/* Pillars (responsibility) */
.pillar { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 36px); }
.pillar .pico { width: 54px; height: 54px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: 18px; color: var(--orange); background: var(--beige); }
.pillar .pico svg { width: 28px; height: 28px; }
.pillar h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
.pillar p { font-size: 0.96rem; margin-bottom: 0.8em; }
.pillar ul li { font-size: 0.94rem; color: var(--ink-soft); padding: 4px 0 4px 20px; position: relative; }
.pillar ul li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }

/* Footer */
.site-footer { background: var(--ink); color: var(--beige); padding-top: clamp(56px, 7vw, 96px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 56px; }
.site-footer img.f-logo { height: 30px; margin-bottom: 20px; }
.site-footer p { color: rgba(255,247,233,0.66); font-size: 0.96rem; }
.footer-col h4 { font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,247,233,0.5); margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(255,247,233,0.8); padding: 6px 0; transition: color 0.25s; font-size: 0.98rem; }
.footer-col a:hover { color: var(--orange); }
.footer-contact a { color: var(--beige); font-weight: 500; }
.footer-bottom { border-top: 1px solid rgba(255,247,233,0.12); padding-block: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom p { font-size: 0.88rem; color: rgba(255,247,233,0.5); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: var(--r-pill); background: rgba(255,247,233,0.1); display: grid; place-items: center; transition: background 0.25s; }
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 18px; height: 18px; fill: var(--beige); }

/* Page hero (interior pages) */
.page-hero { background: var(--beige-deep); padding-block: clamp(56px, 8vw, 110px); position: relative; overflow: hidden; }
.page-hero .eyebrow { margin-bottom: 1em; }
.page-hero h1 { max-width: 16ch; margin-bottom: 0.45em; }
.page-hero .lead { max-width: 56ch; }
.page-hero .blob { position: absolute; border-radius: 46% 54% 60% 40% / 50% 42% 58% 50%; opacity: 0.5; filter: blur(2px); }
.page-hero .blob.b1 { width: 360px; height: 360px; background: var(--yellow); top: -120px; right: -60px; }
.page-hero .blob.b2 { width: 220px; height: 220px; background: var(--blue); bottom: -110px; right: 18%; opacity: 0.35; }

/* Values / icon list */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 36px); }
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .fico { flex-shrink: 0; width: 50px; height: 50px; border-radius: var(--r-md); background: var(--beige-deep); color: var(--orange); display: grid; place-items: center; }
.feature .fico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.feature p { font-size: 0.96rem; }

/* Timeline */
.timeline { position: relative; display: grid; gap: 8px; }
.tl-item { display: grid; grid-template-columns: 150px 1fr; gap: clamp(20px, 4vw, 56px); padding: 28px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: none; }
.tl-year { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--orange); line-height: 1; }
.tl-body h3 { font-size: 1.3rem; margin-bottom: 0.35em; }

/* Quote */
.quote { max-width: 24ch; }
.quote blockquote { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.1; color: var(--ink); }
.quote cite { display: block; margin-top: 1em; font-style: normal; font-weight: 600; font-size: 1rem; color: var(--orange); }
.quote cite span { display: block; color: var(--ink-soft); font-weight: 400; font-size: 0.92rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-info .ci-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-info .ci-item:last-child { border-bottom: none; }
.contact-info .ci-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--r-md); background: var(--beige-deep); color: var(--orange); display: grid; place-items: center; }
.contact-info .ci-ico svg { width: 22px; height: 22px; }
.contact-info .ci-item h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.3em; font-weight: 600; }
.contact-info .ci-item a, .contact-info .ci-item p { color: var(--ink); font-weight: 500; font-size: 1.05rem; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 3.5vw, 44px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 0; }
.field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.5em; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--beige); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 0.85em 1em; transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(231,98,40,0.14);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.86rem; color: var(--ink-soft); margin-top: 14px; }
.form-success { display: none; background: var(--green); border-radius: var(--r-md); padding: 16px 20px; font-weight: 600; color: #2e5e2e; margin-bottom: 18px; }
.form-success.show { display: block; }
.form-error { display: none; background: var(--pink); border-radius: var(--r-md); padding: 16px 20px; font-weight: 600; color: #7a2230; margin-bottom: 18px; }
.form-error.show { display: block; }
/* spam honeypot, hidden from humans */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Logo marquee */
.divisions-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Utility */
.bg-white { background: var(--white); }
.bg-beige-deep { background: var(--beige-deep); }
.bg-ink { background: var(--ink); color: var(--beige); }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { gap: 8px; }

  .nav-mobile {
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
    height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    background: var(--beige); padding: 28px var(--gutter);
    transform: translateX(100%); transition: transform 0.4s var(--ease);
    display: flex; flex-direction: column; gap: 6px; overflow-y: auto;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-mobile { transform: translateX(0); }
  .nav-mobile a { font-family: var(--font-display); font-size: 1.8rem; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-mobile .btn { font-family: var(--font-body); font-size: 1.05rem; margin-top: 18px; justify-content: center; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: auto; right: 18px; }

  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.flip .split-media { order: 0; }
  .split-media { max-width: 520px; }

  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .grid-3, .grid-4, .steps, .feature-list { grid-template-columns: 1fr 1fr; }
  .verts { grid-template-columns: 1fr; }
  .tier { grid-template-columns: 1fr; gap: 6px; }
  .howto { grid-template-columns: 1fr; gap: 18px; }
  .quote { max-width: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4, .steps, .feature-list, .specs, .field.row, .verts { grid-template-columns: 1fr; }
  .trust .wrap { flex-direction: column; align-items: flex-start; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 16px; display: inline-flex; }
  .cta-band { border-radius: var(--r-lg); }
}

/* Verticals grid */
.verts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
