/* Velin landing — shared CSS + three directions */
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }

.velin-prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .velin-prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .velin-prod-grid { grid-template-columns: 1fr; } }
.velin-prod-card { display:flex; flex-direction:column; border:1px solid var(--line); border-radius:20px; overflow:hidden; background:var(--bg); transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s cubic-bezier(.2,.8,.2,1), border-color .35s; cursor:pointer; }
.velin-prod-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px -24px color-mix(in oklch, var(--ink) 32%, transparent); border-color: color-mix(in oklch, var(--accent) 30%, var(--line)); }
.velin-prod-img { position:relative; aspect-ratio: 1/1; overflow:hidden; padding: 22px; border-radius: 20px; background: radial-gradient(circle at 50% 55%, color-mix(in oklch, var(--surface) 85%, transparent) 0%, color-mix(in oklch, var(--bg) 70%, transparent) 70%); }
.velin-prod-img img { width:100%; height:100%; object-fit: contain; display:block; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.velin-prod-card:hover .velin-prod-img img { transform: scale(1.06); }
.velin-prod-code { display:inline-block; padding:3px 8px; border-radius:4px; background: color-mix(in oklch, var(--bg) 85%, transparent); font: 500 10px/1 'JetBrains Mono', monospace; letter-spacing: 0.1em; color: var(--accent-deep); }

.velin-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 56px; flex-wrap: wrap; }
.velin-page-btn { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 500 14px/1 'Be Vietnam Pro', sans-serif; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; }
.velin-page-btn:hover:not(:disabled) { background: var(--surface); border-color: var(--fg); }
.velin-page-btn[data-active="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.velin-page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.velin-page-gap { min-width: 24px; text-align: center; color: var(--muted); font: 500 14px/1 'JetBrains Mono', monospace; }

/* ── Intro (fires on page load) ─────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  @keyframes intro-up    { from { opacity: 0; transform: translateY(32px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
  @keyframes intro-fade  { from { opacity: 0; } to { opacity: 1; } }
  @keyframes intro-scale { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
  @keyframes intro-nav   { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
  @keyframes intro-chip  { from { opacity: 0; transform: translateY(-14px) rotate(-6deg); } to { opacity: 1; transform: none; } }

  .intro      { opacity: 0; animation: intro-up    .9s  cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .intro-art  { opacity: 0; animation: intro-scale 1.2s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(var(--i, 0) * 110ms + 240ms); }
  .intro-nav  { opacity: 0; animation: intro-nav   .6s  cubic-bezier(.2,.8,.2,1) forwards; }
  .intro-chip { opacity: 0; animation: intro-chip  .7s  cubic-bezier(.2,.8,.2,1) forwards; animation-delay: 900ms; }
}

/* ── Scroll reveal ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
  .reveal.is-visible { opacity: 1; transform: none; }
  .reveal[data-stagger] { transition-delay: calc(var(--i, 0) * 55ms); }
}

/* ── Product detail modal ───────────────────────────────────────── */
.pd-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: color-mix(in oklch, var(--ink) 55%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .22s ease;
}
.pd-backdrop.is-open { opacity: 1; }
.pd-panel {
  position: relative; width: min(960px, 100%); max-height: calc(100vh - 48px);
  overflow: auto; background: var(--bg); color: var(--fg);
  border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 40px 80px -30px color-mix(in oklch, var(--ink) 55%, transparent);
  transform: translateY(28px) scale(.97); opacity: 0;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.pd-backdrop.is-open .pd-panel { transform: none; opacity: 1; }
.pd-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--fg); cursor: pointer; display: grid; place-items: center; font-size: 18px; transition: background .15s, transform .15s; }
.pd-close:hover { background: var(--surface); transform: rotate(90deg); }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px; }
@media (max-width: 720px) { .pd-grid { grid-template-columns: 1fr; padding: 28px; gap: 24px; } }
.pd-img { aspect-ratio: 1/1; border-radius: 20px; overflow: hidden; padding: 32px;
  background: radial-gradient(circle at 50% 55%, color-mix(in oklch, var(--surface) 88%, transparent) 0%, color-mix(in oklch, var(--bg) 65%, transparent) 72%);
  display: grid; place-items: center;
}
.pd-img img { width: 100%; height: 100%; object-fit: contain; }
.pd-brand { font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.pd-title { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: -.02em; line-height: 1.05; margin: 10px 0 18px; }
.pd-desc { color: var(--muted); line-height: 1.6; font-size: 15px; margin: 0 0 24px; }
.pd-spec { display: grid; grid-template-columns: 110px 1fr; gap: 10px 16px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; font-size: 13px; }
.pd-spec dt { font: 500 11px/1.4 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pd-spec dd { margin: 0; color: var(--fg); }
.pd-variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.pd-variants button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 500 12px/1 inherit; cursor: pointer; transition: all .2s cubic-bezier(.2,.8,.2,1); }
.pd-variants button:hover { border-color: var(--accent); }
.pd-variants button.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
body.pd-open { overflow: hidden; }
.velin-prod-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.velin-prod-body h3 { margin: 0; font-size: 22px; letter-spacing: -0.01em; }
.velin-prod-meta { display:flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Theme tokens ---------- */
:root {
  --beige-bg: oklch(0.95 0.018 85);
  --beige-surface: oklch(0.91 0.025 82);
  --beige-fg: oklch(0.24 0.012 60);
  --beige-muted: oklch(0.50 0.018 70);
  --beige-accent: oklch(0.74 0.06 78);
  --beige-accent-deep: oklch(0.55 0.07 68);
  --beige-ochre: oklch(0.78 0.10 80);
  --beige-ink: oklch(0.20 0.01 60);
  --beige-line: oklch(0.84 0.025 75);
}

[data-theme="beige"] {
  --bg: var(--beige-bg); --surface: var(--beige-surface); --fg: var(--beige-fg);
  --muted: var(--beige-muted); --accent: var(--beige-accent);
  --accent-deep: var(--beige-accent-deep); --ochre: var(--beige-ochre);
  --ink: var(--beige-ink); --line: var(--beige-line);
}
[data-theme="terracotta"] {
  --bg: oklch(0.94 0.022 88); --surface: oklch(0.90 0.028 85); --fg: oklch(0.24 0.012 60);
  --muted: oklch(0.48 0.02 60); --accent: oklch(0.62 0.15 45);
  --accent-deep: oklch(0.48 0.14 40); --ochre: oklch(0.72 0.12 75);
  --ink: oklch(0.18 0.01 60); --line: oklch(0.82 0.03 70);
}
[data-theme="harvest"] {
  --bg: oklch(0.92 0.035 82); --surface: oklch(0.88 0.048 78); --fg: oklch(0.24 0.015 65);
  --muted: oklch(0.50 0.03 65); --accent: oklch(0.68 0.14 65);
  --accent-deep: oklch(0.52 0.13 55); --ochre: oklch(0.78 0.11 90);
  --ink: oklch(0.20 0.015 65); --line: oklch(0.82 0.04 78);
}
[data-theme="olive"] {
  --bg: oklch(0.92 0.035 95); --surface: oklch(0.88 0.045 100); --fg: oklch(0.22 0.015 100);
  --muted: oklch(0.48 0.02 100); --accent: oklch(0.55 0.10 115);
  --accent-deep: oklch(0.38 0.08 115); --ochre: oklch(0.70 0.11 95);
  --ink: oklch(0.18 0.015 100); --line: oklch(0.82 0.035 95);
}
[data-theme="ink"] {
  --bg: oklch(0.18 0.01 60); --surface: oklch(0.24 0.015 60); --fg: oklch(0.96 0.02 80);
  --muted: oklch(0.68 0.02 75); --accent: oklch(0.72 0.15 55);
  --accent-deep: oklch(0.62 0.15 50); --ochre: oklch(0.82 0.12 85);
  --ink: oklch(0.96 0.02 80); --line: oklch(0.32 0.015 60);
}
[data-theme="citrus"] {
  --bg: oklch(0.92 0.04 92); --surface: oklch(0.88 0.058 88); --fg: oklch(0.22 0.02 60);
  --muted: oklch(0.48 0.03 70); --accent: oklch(0.76 0.17 55);
  --accent-deep: oklch(0.58 0.18 40); --ochre: oklch(0.86 0.18 95);
  --ink: oklch(0.20 0.02 55); --line: oklch(0.82 0.048 85);
}
[data-theme="berry"] {
  --bg: oklch(0.92 0.035 345); --surface: oklch(0.88 0.058 345); --fg: oklch(0.22 0.02 350);
  --muted: oklch(0.48 0.03 340); --accent: oklch(0.58 0.22 10);
  --accent-deep: oklch(0.42 0.18 5); --ochre: oklch(0.72 0.16 40);
  --ink: oklch(0.20 0.03 350); --line: oklch(0.82 0.04 345);
}
[data-theme="meadow"] {
  --bg: oklch(0.92 0.035 138); --surface: oklch(0.88 0.058 138); --fg: oklch(0.22 0.02 140);
  --muted: oklch(0.48 0.03 140); --accent: oklch(0.58 0.18 145);
  --accent-deep: oklch(0.42 0.16 145); --ochre: oklch(0.78 0.15 90);
  --ink: oklch(0.20 0.03 145); --line: oklch(0.82 0.04 138);
}
[data-theme="sky"] {
  --bg: oklch(0.92 0.035 225); --surface: oklch(0.88 0.048 225); --fg: oklch(0.22 0.02 240);
  --muted: oklch(0.48 0.03 235); --accent: oklch(0.62 0.16 245);
  --accent-deep: oklch(0.44 0.16 250); --ochre: oklch(0.76 0.15 80);
  --ink: oklch(0.20 0.03 240); --line: oklch(0.82 0.04 225);
}

.serif { font-family: 'Instrument Serif', 'Times New Roman', serif; font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 400; }
.sans { font-family: 'Be Vietnam Pro', system-ui, sans-serif; }

.page { min-height: 100vh; background: var(--bg); color: var(--fg); overflow-x: hidden; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Be Vietnam Pro', sans-serif; font-weight: 500; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s, color .15s;
  text-decoration: none;
}
.btn-primary { background: oklch(0.70 0.20 45); color: oklch(0.99 0.005 80); box-shadow: 0 6px 20px -8px oklch(0.62 0.22 40 / 0.55); }
.btn-primary:hover { background: oklch(0.62 0.22 40); transform: translateY(-1px); box-shadow: 0 10px 24px -8px oklch(0.62 0.22 40 / 0.7); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { transform: translateY(-1px); }

/* Placeholder */
.ph { position: relative; overflow: hidden; background: var(--surface); border-radius: 12px; isolation: isolate; }
.ph:not(.ph--image)::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    135deg, transparent 0 14px,
    color-mix(in oklch, var(--accent) 14%, transparent) 14px 15px
  );
  z-index: 0;
}
.ph--image img { display: block; }
.ph-label {
  position: absolute; left: 14px; bottom: 12px; z-index: 1;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  padding: 4px 8px; border-radius: 4px;
  backdrop-filter: blur(4px);
}
.ph-tag {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em;
  color: var(--accent-deep);
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  padding: 4px 8px; border-radius: 4px; text-transform: uppercase;
}

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px);
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.nav-logo { font-family: 'Instrument Serif', serif; font-size: 28px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; }
.nav-logo-mark { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { font-size: 14px; color: var(--fg); text-decoration: none; opacity: .75; transition: opacity .15s; }
.nav-link:hover { opacity: 1; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 560px) { .lang-trigger span:first-of-type { display: none; } }

/* Footer */
.footer { padding: 80px 0 40px; border-top: 1px solid var(--line); margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.footer-col a { display: block; color: var(--fg); text-decoration: none; font-size: 14px; margin-bottom: 8px; opacity: .8; cursor: pointer; }
.footer-col a:hover { opacity: 1; }
.footer-bottom { display: flex; justify-content: center; align-items: center; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   DIRECTION 1 — Editorial / Bold & Appetizing
   ============================================================ */
.ed-hero { padding: 64px 0 80px; }
.ed-hero-inner { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 60px; align-items: end; }
.ed-hero-copy .eyebrow { margin-bottom: 28px; display: block; }
.ed-hero-title { font-family: 'Instrument Serif', serif; font-size: clamp(44px, 6.8vw, 104px); line-height: 0.96; margin: 0 0 32px; letter-spacing: -0.02em; }
.ed-hero-title em { font-style: italic; color: var(--accent); }
.ed-hero-lede { font-size: 19px; line-height: 1.55; max-width: 520px; color: var(--muted); margin: 0 0 36px; }
.ed-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ed-hero-meta { display: flex; gap: 48px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.ed-hero-meta > div { display: flex; flex-direction: column; gap: 4px; }
.ed-hero-meta strong { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 40px; line-height: 1; }
.ed-hero-meta span { font-size: 12px; color: var(--muted); }
.ed-hero-art { position: relative; }
.ed-hero-chip {
  position: absolute; bottom: 24px; left: -24px; z-index: 2;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 20px; display: flex; gap: 14px; align-items: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.ed-hero-chip .mono { font-size: 10px; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }
.ed-hero-chip .serif { font-size: 20px; }
.ed-hero--centered { padding: 48px 0 80px; }
.ed-hero--overlay { padding: 0; position: relative; }
.ed-hero--overlay .ph { border-radius: 0; }
.ed-hero-overlay-copy { position: absolute; inset: auto 0 60px 0; }
.ed-hero-overlay-copy .eyebrow { color: color-mix(in oklch, var(--bg) 80%, transparent); display:block; margin-bottom:24px; }
.ed-hero-overlay-copy .ed-hero-title { color: var(--bg); }
.ed-hero-overlay-copy .ed-hero-title em { color: var(--ochre); }
@media (max-width: 900px) { .ed-hero-inner { grid-template-columns: 1fr; gap: 48px; } }

.ed-marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; background: color-mix(in oklch, var(--accent) 6%, var(--bg)); }
.ed-marquee-track { display: flex; animation: ed-scroll 40s linear infinite; white-space: nowrap; }
.ed-marquee-row { display: flex; gap: 32px; padding-right: 32px; align-items: center; font-size: 36px; }
.ed-marquee-row .serif { font-style: italic; color: var(--accent-deep); }
.ed-marquee-row span:not(.serif) { color: var(--muted); font-size: 14px; }
@keyframes ed-scroll { from { transform: translateX(0); } to { transform: translateX(-33.33%); } }

.ed-section { padding: 140px 0; scroll-margin-top: 88px; }
section[id] { scroll-margin-top: 88px; }
.ed-sec-head { max-width: 820px; margin-bottom: 56px; }
.ed-sec-head .eyebrow { display: block; margin-bottom: 20px; }
.ed-sec-head h2 { font-family: 'Instrument Serif', serif; font-size: clamp(36px, 4.6vw, 72px); line-height: 1; margin: 0 0 20px; letter-spacing: -0.02em; }
.ed-sec-note { font-size: 17px; color: var(--muted); max-width: 600px; margin: 0; line-height: 1.5; }

.ed-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ed-cat-card { cursor: pointer; text-decoration: none; color: inherit; display: block; transition: transform .3s; }
.ed-cat-card:hover { transform: translateY(-3px); }
.ed-cat-card-body { padding: 18px 4px 4px; }
.ed-cat-card-body h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 28px; margin: 0 0 4px; letter-spacing: -0.01em; }
.ed-cat-card-body p { margin: 0; color: var(--muted); font-size: 14px; }
.ed-cat-card--lg { grid-column: span 2; grid-row: span 2; }
.ed-cat-card--lg .ed-cat-card-body { padding-top: 28px; }
.ed-cat-card--lg .ed-cat-card-body h3 { font-size: clamp(36px, 4vw, 56px); line-height: 1; margin-bottom: 10px; }
.ed-cat-card--lg .ed-cat-card-body p { font-size: 16px; line-height: 1.5; max-width: 520px; }
.ed-cat-card--lg .ed-cat-card-body .eyebrow { display: block; margin-bottom: 12px; }
@media (max-width: 980px) {
  .ed-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .ed-cat-card--lg { grid-column: span 2; grid-row: auto; }
}

.ed-cat-grid-uniform { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px) { .ed-cat-grid-uniform { grid-template-columns: repeat(2, 1fr); } }

.ed-cat-list { border-top: 1px solid var(--line); }
.ed-cat-row { display: grid; grid-template-columns: 56px 1fr 2fr 140px 40px; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: center; text-decoration: none; color: inherit; cursor: pointer; transition: padding .2s ease, background .2s ease; }
.ed-cat-row:hover { padding-left: 16px; padding-right: 16px; background: var(--surface); }
.ed-cat-row-n { color: var(--muted); font-size: 12px; }
.ed-cat-row h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 36px; margin: 0; line-height: 1; }
.ed-cat-row p { margin: 0; color: var(--muted); font-size: 15px; }
.ed-cat-row-count { font-size: 12px; color: var(--muted); }
.ed-cat-row-arrow { font-family: 'Instrument Serif', serif; font-size: 24px; color: var(--accent); text-align: right; }

.ed-cat-filter-demo { margin-top: 48px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.ed-cat-filter-demo .eyebrow { display: block; margin-bottom: 12px; }
.ed-cat-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.ed-cat-filter { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 13px; cursor: pointer; color: var(--fg); font-family: inherit; transition: background .25s cubic-bezier(.2,.8,.2,1), color .25s cubic-bezier(.2,.8,.2,1), border-color .25s cubic-bezier(.2,.8,.2,1), transform .15s ease; }
.ed-cat-filter:hover { transform: translateY(-1px); }
.ed-cat-filter:hover { border-color: var(--fg); }
.ed-cat-filter.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

.ed-process { background: var(--surface); }
.ed-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.ed-process-item { padding: 28px; background: var(--bg); border-radius: 16px; border: 1px solid var(--line); position: relative; }
.ed-process-step { font-family: 'Instrument Serif', serif; font-size: 48px; color: var(--accent); line-height: 1; display: block; margin-bottom: 24px; }
.ed-process-item h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 26px; margin: 0 0 10px; }
.ed-process-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.ed-process-arrow { position: absolute; right: -18px; top: 52px; color: var(--accent); font-size: 24px; z-index: 1; }
@media (max-width: 900px) { .ed-process-grid { grid-template-columns: repeat(2, 1fr); } .ed-process-arrow { display: none; } }

.ed-quality-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ed-quality-copy .eyebrow { display: block; margin-bottom: 20px; }
.ed-quality-copy h2 { font-family: 'Instrument Serif', serif; font-size: clamp(36px, 4.4vw, 68px); line-height: 1.02; margin: 0 0 24px; letter-spacing: -0.02em; }
.ed-quality-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 20px; }
.ed-quality-copy strong { color: var(--fg); font-weight: 500; }
.ed-quality-art { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ed-quality-art .ph:nth-child(2) { transform: translateY(40px); }
@media (max-width: 900px) { .ed-quality-grid { grid-template-columns: 1fr; gap: 40px; } }

.ed-testimonials { background: var(--ink); color: var(--bg); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ed-testimonials .eyebrow { color: color-mix(in oklch, var(--bg) 70%, transparent); }
.ed-testimonials .ed-sec-head h2 { color: var(--bg); }
.ed-test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ed-test { margin: 0; padding: 32px; border: 1px solid color-mix(in oklch, var(--bg) 20%, transparent); border-radius: 20px; display: flex; flex-direction: column; gap: 24px; }
.ed-test blockquote { font-family: 'Instrument Serif', serif; margin: 0; font-size: 24px; line-height: 1.3; }
.ed-test figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.ed-test figcaption .ph { width: 44px !important; height: 44px !important; flex: 0 0 44px; border-radius: 50%; }
.ed-test figcaption strong { display: block; font-size: 15px; }
.ed-test figcaption span { font-size: 13px; color: color-mix(in oklch, var(--bg) 70%, transparent); }
@media (max-width: 900px) { .ed-test-grid { grid-template-columns: 1fr; } }

.ed-faq-grid { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 80px; align-items: start; }
.ed-faq-grid .eyebrow { display: block; margin-bottom: 20px; }
.ed-faq-grid h2 { font-family: 'Instrument Serif', serif; font-size: clamp(36px, 4.4vw, 64px); margin: 0 0 20px; line-height: 1.02; letter-spacing: -0.02em; }
.ed-faq-grid > div > p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; max-width: 320px; }
.ed-faq-list { border-top: 1px solid var(--line); }
.ed-faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.ed-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ed-faq-list summary::-webkit-details-marker { display: none; }
.ed-faq-list summary .serif { font-size: 22px; }
.ed-faq-toggle { font-family: 'Instrument Serif', serif; font-size: 32px; color: var(--accent); line-height: 0.7; }
.ed-faq-list details p { margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 680px; }
@media (max-width: 900px) { .ed-faq-grid { grid-template-columns: 1fr; gap: 32px; } }

.ed-contact { background: var(--ink); color: var(--bg); }
.ed-contact .eyebrow { color: color-mix(in oklch, var(--bg) 70%, transparent); display: block; margin-bottom: 20px; }
.ed-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.ed-contact h2 { font-family: 'Instrument Serif', serif; color: var(--bg); font-size: clamp(44px, 5vw, 72px); line-height: 1; margin: 0 0 24px; letter-spacing: -0.02em; }
.ed-contact > .container > div > p { color: color-mix(in oklch, var(--bg) 75%, transparent); font-size: 17px; line-height: 1.6; max-width: 440px; margin: 0 0 40px; }
.ed-contact-details { display: flex; flex-direction: column; gap: 20px; }
.ed-contact-details > div { display: flex; flex-direction: column; gap: 4px; }
.ed-contact-details .mono { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in oklch, var(--bg) 60%, transparent); }
.ed-contact-details strong { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 24px; color: var(--bg); }
.ed-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px; border: 1px solid color-mix(in oklch, var(--bg) 20%, transparent); border-radius: 20px; }
.ed-contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.ed-contact-form label span { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in oklch, var(--bg) 70%, transparent); }
.ed-contact-form input, .ed-contact-form select {
  background: transparent; border: none; border-bottom: 1px solid color-mix(in oklch, var(--bg) 30%, transparent);
  padding: 10px 0; color: var(--bg); font-family: inherit; font-size: 15px;
}
.ed-contact-form input::placeholder { color: color-mix(in oklch, var(--bg) 40%, transparent); }
.ed-contact-form input:focus, .ed-contact-form select:focus { outline: none; border-bottom-color: var(--accent); }
.ed-contact-wide { grid-column: span 2; }
@media (max-width: 900px) { .ed-contact-grid { grid-template-columns: 1fr; gap: 40px; } .ed-contact-form { grid-template-columns: 1fr; } .ed-contact-wide { grid-column: auto; } }

/* ============================================================
   DIRECTION 2 — Farm-to-Table / earthy, warm, organic
   ============================================================ */
.fm-page { }
.fm-hero { padding: 80px 0 120px; position: relative; }
.fm-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.fm-hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: color-mix(in oklch, var(--accent) 12%, var(--bg)); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 32px; }
.fm-hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.fm-hero-title { font-family: 'Instrument Serif', serif; font-size: clamp(48px, 7vw, 108px); line-height: 0.96; margin: 0 0 28px; letter-spacing: -0.02em; }
.fm-hero-title em { font-style: italic; color: var(--accent-deep); }
.fm-hero-lede { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 520px; margin: 0 0 36px; }
.fm-hero-art { position: relative; height: 620px; }
.fm-hero-photo-a { position: absolute; top: 0; left: 0; width: 65%; height: 55%; border-radius: 200px 200px 20px 20px; overflow: hidden; }
.fm-hero-photo-a .ph { border-radius: inherit; height: 100%; aspect-ratio: auto; }
.fm-hero-photo-b { position: absolute; bottom: 0; right: 0; width: 55%; height: 60%; border-radius: 20px 20px 200px 200px; overflow: hidden; }
.fm-hero-photo-b .ph { border-radius: inherit; height: 100%; aspect-ratio: auto; }
.fm-hero-stamp { position: absolute; top: 50%; left: 55%; transform: translate(-50%, -50%); width: 160px; height: 160px; border-radius: 50%; background: var(--accent); color: var(--bg); display: grid; place-items: center; text-align: center; padding: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.fm-hero-stamp .serif { font-style: italic; font-size: 20px; line-height: 1.2; }
.fm-hero-stamp .mono { font-size: 9px; letter-spacing: 0.2em; margin-top: 8px; display: block; opacity: 0.85; }
@media (max-width: 900px) { .fm-hero-inner { grid-template-columns: 1fr; } .fm-hero-art { height: 480px; } }

.fm-section { padding: 120px 0; }
.fm-sec-head { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: end; margin-bottom: 64px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.fm-sec-head h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(40px, 5.4vw, 80px); line-height: 1; margin: 12px 0 0; letter-spacing: -0.02em; }
.fm-sec-head h2 em { font-style: italic; color: var(--accent-deep); }
.fm-sec-head-note { justify-self: end; text-align: right; max-width: 360px; color: var(--muted); font-size: 16px; line-height: 1.5; }

.fm-cat-asymmetric { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.fm-cat-tile { position: relative; cursor: pointer; text-decoration: none; color: inherit; overflow: hidden; border-radius: 20px; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: var(--surface); transition: transform .3s; }
.fm-cat-tile:hover { transform: translateY(-4px); }
.fm-cat-tile::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, transparent 0 14px, color-mix(in oklch, var(--accent) 14%, transparent) 14px 15px); z-index: 0; }
.fm-cat-tile > * { position: relative; z-index: 1; }
.fm-cat-tile h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 36px; margin: 0 0 4px; letter-spacing: -0.01em; }
.fm-cat-tile p { margin: 0; font-size: 14px; color: var(--muted); }
.fm-cat-tile .mono { position: absolute; top: 16px; right: 18px; font-size: 10px; letter-spacing: 0.12em; color: var(--accent-deep); }
.fm-cat-tile--w6 { grid-column: span 6; min-height: 380px; }
.fm-cat-tile--w4 { grid-column: span 4; }
.fm-cat-tile--w8 { grid-column: span 8; }
.fm-cat-tile--w3 { grid-column: span 3; min-height: 240px; }
@media (max-width: 900px) { .fm-cat-asymmetric > * { grid-column: span 12 !important; } }

.fm-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fm-cat-grid .fm-cat-tile { min-height: 320px; }
@media (max-width: 820px) { .fm-cat-grid { grid-template-columns: repeat(2, 1fr); } }

.fm-cat-circles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.fm-cat-circle { display: flex; flex-direction: column; align-items: center; text-align: center; cursor: pointer; text-decoration: none; color: inherit; }
.fm-cat-circle .ph { width: 240px; height: 240px; border-radius: 50%; aspect-ratio: auto; transition: transform .3s; }
.fm-cat-circle:hover .ph { transform: scale(1.03) rotate(-2deg); }
.fm-cat-circle h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 32px; margin: 24px 0 4px; }
.fm-cat-circle p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .fm-cat-circles { grid-template-columns: repeat(2, 1fr); } .fm-cat-circle .ph { width: 180px; height: 180px; } }

.fm-process { background: var(--surface); border-top-left-radius: 80px; border-top-right-radius: 80px; }
.fm-process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.fm-process-item { text-align: left; position: relative; }
.fm-process-num { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 120px; line-height: 0.8; color: var(--accent); opacity: 0.5; margin: 0 0 16px; }
.fm-process-item h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 28px; margin: 0 0 10px; }
.fm-process-item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .fm-process-flow { grid-template-columns: repeat(2, 1fr); } }

.fm-story-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.fm-story-copy h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(40px, 5vw, 72px); line-height: 1.02; margin: 24px 0; letter-spacing: -0.02em; }
.fm-story-copy h2 em { font-style: italic; color: var(--accent-deep); }
.fm-story-copy p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 16px; }
.fm-story-art { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 620px; }
.fm-story-art > *:nth-child(1) { grid-row: span 2; }
.fm-story-art .ph { height: 100%; aspect-ratio: auto; }
.fm-story-art .ph:nth-child(1) { border-radius: 200px 20px 20px 200px; }
.fm-story-art .ph:nth-child(2) { border-radius: 20px; }
.fm-story-art .ph:nth-child(3) { border-radius: 20px 20px 200px 20px; }
@media (max-width: 900px) { .fm-story-wrap { grid-template-columns: 1fr; } .fm-story-art { height: 520px; } }

.fm-test-rail { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.fm-test-rail > * { scroll-snap-align: start; }
.fm-test-card { flex: 0 0 420px; padding: 36px; background: var(--bg); border: 1px solid var(--line); border-radius: 28px; display: flex; flex-direction: column; gap: 28px; }
.fm-test-card blockquote { font-family: 'Instrument Serif', serif; margin: 0; font-size: 26px; line-height: 1.3; letter-spacing: -0.01em; }
.fm-test-card figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.fm-test-card figcaption .ph { width: 56px !important; height: 56px !important; flex: 0 0 56px; border-radius: 50%; aspect-ratio: auto; }
.fm-test-card strong { display: block; font-size: 15px; }
.fm-test-card span { font-size: 13px; color: var(--muted); }

.fm-faq-list { max-width: 920px; margin: 0 auto; }
.fm-faq-list details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.fm-faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.fm-faq-list summary::-webkit-details-marker { display: none; }
.fm-faq-list summary .serif { font-size: 24px; font-family: 'Instrument Serif', serif; }
.fm-faq-list .toggle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-family: 'Instrument Serif', serif; font-size: 20px; color: var(--accent); }
.fm-faq-list details[open] .toggle { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.fm-faq-list p { margin: 16px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 680px; }

.fm-contact { padding: 100px 0; background: linear-gradient(180deg, var(--bg) 0%, color-mix(in oklch, var(--accent) 8%, var(--bg)) 100%); }
.fm-contact-card { max-width: 1100px; margin: 0 auto; padding: 64px; background: var(--bg); border: 1px solid var(--line); border-radius: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; box-shadow: 0 30px 80px rgba(0,0,0,0.06); }
.fm-contact-card h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; margin: 24px 0; letter-spacing: -0.02em; }
.fm-contact-card h2 em { font-style: italic; color: var(--accent-deep); }
.fm-contact-card p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0 0 32px; }
.fm-contact-details { display: flex; flex-direction: column; gap: 18px; }
.fm-contact-details > div { display: flex; align-items: center; gap: 14px; }
.fm-contact-details .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: 0 0 10px; }
.fm-contact-details strong { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 20px; }
.fm-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fm-contact-form label { display: flex; flex-direction: column; gap: 8px; }
.fm-contact-form label span { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.fm-contact-form input, .fm-contact-form select, .fm-contact-form textarea {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--fg); font-family: inherit; font-size: 15px;
}
.fm-contact-form input:focus, .fm-contact-form select:focus, .fm-contact-form textarea:focus { outline: none; border-color: var(--accent); }
.fm-contact-wide { grid-column: span 2; }
@media (max-width: 900px) { .fm-contact-card { grid-template-columns: 1fr; padding: 40px; } .fm-contact-form { grid-template-columns: 1fr; } .fm-contact-wide { grid-column: auto; } }

/* ============================================================
   DIRECTION 3 — Industrial / Logistics-forward
   ============================================================ */
.in-page { background: var(--bg); }
.in-top-bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 40px; background: var(--ink); color: var(--bg); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; }
.in-top-bar > div { display: flex; gap: 24px; align-items: center; }
.in-top-bar .dot { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.72 0.18 140); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }

.in-hero { padding: 64px 0 80px; position: relative; }
.in-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.in-hero-meta-row { display: grid; grid-template-columns: repeat(4, auto); gap: 24px; margin-bottom: 32px; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.in-hero-meta-row > div > strong { display: block; color: var(--fg); font-family: 'Be Vietnam Pro', sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 500; margin-top: 4px; }
.in-hero-title { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(52px, 7.6vw, 120px); line-height: 0.95; margin: 0 0 28px; letter-spacing: -0.025em; }
.in-hero-title em { font-style: italic; color: var(--accent); }
.in-hero-lede { font-size: 18px; line-height: 1.55; color: var(--muted); max-width: 520px; margin: 0 0 36px; }
.in-hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; padding: 28px; background: var(--surface); border-radius: 16px; border: 1px solid var(--line); }
.in-hero-stats > div > strong { display: block; font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 44px; line-height: 1; margin-bottom: 6px; letter-spacing: -0.02em; }
.in-hero-stats > div > span { font-size: 12px; color: var(--muted); font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; text-transform: uppercase; }

.in-dashboard { padding: 24px; border-radius: 24px; background: var(--ink); color: var(--bg); font-family: 'JetBrains Mono', monospace; display: flex; flex-direction: column; gap: 16px; }
.in-dash-header { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in oklch, var(--bg) 60%, transparent); border-bottom: 1px solid color-mix(in oklch, var(--bg) 15%, transparent); padding-bottom: 12px; }
.in-dash-live { display: flex; align-items: center; gap: 8px; }
.in-dash-live .dot { width: 8px; height: 8px; border-radius: 50%; background: oklch(0.74 0.18 140); animation: pulse 2s infinite; }
.in-dash-map { background: color-mix(in oklch, var(--bg) 8%, var(--ink)); border-radius: 12px; aspect-ratio: 16/9; position: relative; overflow: hidden; border: 1px solid color-mix(in oklch, var(--bg) 12%, transparent); }
.in-dash-map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in oklch, var(--bg) 8%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklch, var(--bg) 8%, transparent) 1px, transparent 1px); background-size: 40px 40px; }
.in-dash-pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 30%, transparent); }
.in-dash-route { position: absolute; height: 2px; background: color-mix(in oklch, var(--accent) 50%, transparent); transform-origin: left center; }
.in-dash-rows { display: grid; gap: 8px; }
.in-dash-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; padding: 10px 12px; background: color-mix(in oklch, var(--bg) 6%, transparent); border-radius: 8px; align-items: center; font-size: 11px; }
.in-dash-row .tag { padding: 2px 8px; border-radius: 999px; font-size: 10px; letter-spacing: 0.08em; }
.in-dash-row .tag.ok { background: color-mix(in oklch, oklch(0.74 0.18 140) 25%, transparent); color: oklch(0.86 0.18 140); }
.in-dash-row .tag.trn { background: color-mix(in oklch, var(--accent) 25%, transparent); color: var(--accent); }
.in-dash-row .tag.qu { background: color-mix(in oklch, var(--ochre) 25%, transparent); color: var(--ochre); }
.in-dash-row .route { color: color-mix(in oklch, var(--bg) 80%, transparent); }
.in-dash-row .temp { color: color-mix(in oklch, var(--bg) 60%, transparent); font-size: 10px; }
@media (max-width: 900px) { .in-hero-inner { grid-template-columns: 1fr; } }

.in-section { padding: 120px 0; }
.in-section-dense { padding: 80px 0; }
.in-sec-head { display: grid; grid-template-columns: 200px 1fr auto; gap: 48px; align-items: end; margin-bottom: 56px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.in-sec-head .n { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; padding-top: 12px; }
.in-sec-head h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(36px, 4.6vw, 64px); line-height: 1; margin: 0; letter-spacing: -0.02em; }
.in-sec-head .n strong { display: block; color: var(--fg); font-size: 14px; letter-spacing: 0; text-transform: none; font-family: 'Be Vietnam Pro', sans-serif; margin-top: 6px; font-weight: 500; }
.in-sec-head .link { justify-self: end; }
@media (max-width: 820px) { .in-sec-head { grid-template-columns: 1fr; gap: 16px; } }

.in-cat-table { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.in-cat-thead { display: grid; grid-template-columns: 60px 2fr 2fr 1fr 1fr 120px 60px; gap: 16px; padding: 14px 20px; background: var(--surface); font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.in-cat-trow { display: grid; grid-template-columns: 60px 2fr 2fr 1fr 1fr 120px 60px; gap: 16px; padding: 22px 20px; border-bottom: 1px solid var(--line); align-items: center; transition: background .15s; cursor: pointer; }
.in-cat-trow:last-child { border-bottom: none; }
.in-cat-trow:hover { background: var(--surface); }
.in-cat-trow .code { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }
.in-cat-trow .name { font-family: 'Instrument Serif', serif; font-size: 24px; }
.in-cat-trow .sub { color: var(--muted); font-size: 14px; }
.in-cat-trow .temp { font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.in-cat-trow .skus { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); }
.in-cat-trow .status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: color-mix(in oklch, oklch(0.74 0.18 140) 15%, transparent); color: oklch(0.42 0.14 140); }
.in-cat-trow .status .dot { width: 6px; height: 6px; border-radius: 50%; background: oklch(0.62 0.18 140); }
.in-cat-trow .arrow { font-family: 'Instrument Serif', serif; font-size: 22px; color: var(--accent); text-align: right; }
@media (max-width: 900px) {
  .in-cat-thead { display: none; }
  .in-cat-trow { grid-template-columns: 1fr; padding: 16px 20px; gap: 6px; }
}

.in-cat-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.in-cat-card-in { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); cursor: pointer; transition: border-color .2s; display: flex; flex-direction: column; gap: 20px; }
.in-cat-card-in:hover { border-color: var(--accent); }
.in-cat-card-in .head { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.in-cat-card-in .code { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--muted); }
.in-cat-card-in h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 30px; margin: 0; }
.in-cat-card-in p { margin: 0; color: var(--muted); font-size: 14px; }
.in-cat-card-in .specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }
.in-cat-card-in .specs strong { display: block; color: var(--fg); font-family: 'Be Vietnam Pro', sans-serif; font-size: 13px; letter-spacing: 0; margin-top: 2px; font-weight: 500; }
@media (max-width: 820px) { .in-cat-card-grid { grid-template-columns: 1fr; } }

.in-cat-visual { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.in-cat-visual .ph { aspect-ratio: 1/1; border-radius: 10px; }
.in-cat-visual .ph .ph-label { font-size: 11px; }
.in-cat-visual .ph-big { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
@media (max-width: 820px) { .in-cat-visual { grid-template-columns: repeat(3, 1fr); } .in-cat-visual .ph-big { grid-column: span 3; } }

.in-process { background: var(--surface); }
.in-process-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.in-process-step { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); position: relative; }
.in-process-step .code { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 16px; }
.in-process-step h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 24px; margin: 0 0 10px; }
.in-process-step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.in-process-step .progress { position: absolute; top: 0; left: 0; height: 2px; background: var(--accent); border-radius: 14px 0 0 0; }
@media (max-width: 900px) { .in-process-flow { grid-template-columns: repeat(2, 1fr); } }

.in-coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.in-coverage-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.in-coverage-item { display: grid; grid-template-columns: 140px 1fr 80px 24px; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: center; }
.in-coverage-item .name { font-family: 'Instrument Serif', serif; font-size: 28px; font-weight: 400; }
.in-coverage-item .code { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.1em; }
.in-coverage-item .meta { color: var(--muted); font-size: 14px; }
.in-coverage-item .freq { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--fg); padding: 4px 10px; background: var(--surface); border-radius: 999px; justify-self: end; }
.in-coverage-item .arrow { color: var(--accent); }
.in-coverage-map { position: relative; aspect-ratio: 4/3; background: var(--ink); border-radius: 20px; overflow: hidden; padding: 28px; color: var(--bg); }
.in-coverage-map::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in oklch, var(--bg) 10%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in oklch, var(--bg) 10%, transparent) 1px, transparent 1px); background-size: 40px 40px; }
.in-coverage-map .title { position: relative; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em; color: color-mix(in oklch, var(--bg) 60%, transparent); }
.in-coverage-map .city { position: absolute; display: flex; align-items: center; gap: 8px; font-size: 12px; font-family: 'JetBrains Mono', monospace; }
.in-coverage-map .city::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 30%, transparent); }
@media (max-width: 900px) { .in-coverage { grid-template-columns: 1fr; } }

.in-test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.in-test-card-in { padding: 28px; border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 20px; background: var(--surface); }
.in-test-card-in .code { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.in-test-card-in blockquote { font-family: 'Instrument Serif', serif; margin: 0; font-size: 22px; line-height: 1.32; }
.in-test-card-in figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.in-test-card-in figcaption .ph { width: 40px !important; height: 40px !important; flex: 0 0 40px; border-radius: 50%; aspect-ratio: auto; }
.in-test-card-in strong { display: block; font-size: 14px; }
.in-test-card-in span { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) { .in-test-grid { grid-template-columns: 1fr; } }

.in-faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
.in-faq-grid .n { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; margin-bottom: 20px; }
.in-faq-grid h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1; margin: 0 0 20px; letter-spacing: -0.02em; }
.in-faq-grid p { color: var(--muted); font-size: 16px; line-height: 1.55; margin: 0; max-width: 320px; }
.in-faq-list-in { border-top: 1px solid var(--line); }
.in-faq-list-in details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.in-faq-list-in summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 40px 1fr 32px; gap: 16px; align-items: center; }
.in-faq-list-in summary::-webkit-details-marker { display: none; }
.in-faq-list-in .q-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--muted); }
.in-faq-list-in summary .q { font-family: 'Instrument Serif', serif; font-size: 22px; }
.in-faq-list-in summary .toggle { font-family: 'Instrument Serif', serif; font-size: 28px; color: var(--accent); text-align: right; }
.in-faq-list-in details p { margin: 14px 0 0 56px; color: var(--muted); font-size: 15px; line-height: 1.6; max-width: 640px; }
@media (max-width: 900px) { .in-faq-grid { grid-template-columns: 1fr; gap: 32px; } .in-faq-list-in details p { margin-left: 0; } }

.in-contact { background: var(--ink); color: var(--bg); }
.in-contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.in-contact h2 { font-family: 'Instrument Serif', serif; font-weight: 400; color: var(--bg); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; margin: 0 0 24px; letter-spacing: -0.02em; }
.in-contact .n { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.12em; color: color-mix(in oklch, var(--bg) 60%, transparent); text-transform: uppercase; margin-bottom: 24px; }
.in-contact > div > p { color: color-mix(in oklch, var(--bg) 75%, transparent); font-size: 16px; line-height: 1.6; margin: 0 0 32px; max-width: 460px; }
.in-contact-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.in-contact-specs > div { padding: 18px; border: 1px solid color-mix(in oklch, var(--bg) 20%, transparent); border-radius: 12px; }
.in-contact-specs .lab { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in oklch, var(--bg) 60%, transparent); display: block; margin-bottom: 8px; }
.in-contact-specs strong { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 22px; }
.in-contact-form-in { padding: 32px; background: color-mix(in oklch, var(--bg) 6%, transparent); border: 1px solid color-mix(in oklch, var(--bg) 18%, transparent); border-radius: 20px; display: grid; gap: 16px; }
.in-contact-form-in .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.in-contact-form-in label { display: flex; flex-direction: column; gap: 6px; }
.in-contact-form-in label span { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in oklch, var(--bg) 60%, transparent); }
.in-contact-form-in input, .in-contact-form-in select, .in-contact-form-in textarea {
  background: color-mix(in oklch, var(--bg) 4%, transparent);
  border: 1px solid color-mix(in oklch, var(--bg) 18%, transparent);
  border-radius: 10px; padding: 12px 14px; color: var(--bg); font-family: inherit; font-size: 14px;
}
.in-contact-form-in input:focus, .in-contact-form-in select:focus, .in-contact-form-in textarea:focus { outline: none; border-color: var(--accent); }
@media (max-width: 900px) { .in-contact-inner { grid-template-columns: 1fr; } .in-contact-form-in .row2 { grid-template-columns: 1fr; } }

/* Language switcher */
.lang-switcher { position: relative; }

.lang-trigger {
  appearance: none; -webkit-appearance: none;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 13px 8px 11px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 14px; font-weight: 500; line-height: 1;
  color: var(--fg); cursor: pointer;
  transition: border-color .15s, background .15s;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.lang-trigger:hover {
  background: var(--surface);
  border-color: var(--muted);
}
.lang-trigger > svg { color: var(--muted); flex-shrink: 0; }
.lang-trigger:hover > svg { color: var(--fg); }

.lang-chevron { color: var(--muted); flex-shrink: 0; transition: transform .2s ease; }
.lang-chevron--open { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 200;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px; padding: 6px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  min-width: 175px;
  animation: lang-in .18s cubic-bezier(.16,1,.3,1);
  transform-origin: top right;
}
@keyframes lang-in {
  from { opacity: 0; transform: scale(.94) translateY(-4px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

.lang-option {
  appearance: none; -webkit-appearance: none;
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 10px 12px; border-radius: 10px;
  border: none; background: transparent; cursor: pointer;
  transition: background .12s;
}
.lang-option:hover { background: var(--surface); }
.lang-option--active { background: var(--surface); }

.lang-option-label {
  flex: 1;
  font-family: 'Be Vietnam Pro', sans-serif; font-size: 14px; font-weight: 500;
  color: var(--fg); text-align: left;
}
.lang-option--active .lang-option-label { color: var(--accent-deep); }

.lang-option-code {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; font-weight: 400;
  letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase;
}
.lang-option--active .lang-option-code { color: var(--accent); }

.lang-option > svg { color: var(--accent); flex-shrink: 0; width: 13px; height: 13px; }
.lang-option:not(.lang-option--active) > svg { display: none; }
.lang-option:not(.lang-option--active) .lang-option-label { padding-left: 21px; }

/* Tweaks panel */
.tweaks-panel { position: fixed; bottom: 24px; right: 24px; z-index: 100; width: 320px; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); font-family: 'Be Vietnam Pro', sans-serif; overflow: hidden; }
.tweaks-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.tweaks-title { font-family: 'Instrument Serif', serif; font-size: 22px; }
.tweaks-body { padding: 18px; display: flex; flex-direction: column; gap: 18px; max-height: 70vh; overflow-y: auto; }
.tweak-group { display: flex; flex-direction: column; gap: 8px; }
.tweak-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tweak-options { display: flex; flex-wrap: wrap; gap: 6px; }
.tweak-chip { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--fg); font-size: 12px; cursor: pointer; font-family: inherit; transition: all .15s; }
.tweak-chip[data-active="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.tweak-chip:hover { border-color: var(--fg); }
.tweak-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.tweak-swatch { width: 32px; height: 32px; border-radius: 50%; cursor: pointer; border: 2px solid var(--line); padding: 0; transition: all .15s; }
.tweak-swatch[data-active="true"] { border-color: var(--fg); transform: scale(1.08); }
