/* LOJO 乐橘 · Industrial Visual Management — site v2 */

:root {
  --ink: #0c0d0f;
  --graphite: #16181b;
  --graphite-2: #1f2226;
  --paper: #f3f2ee;
  --paper-2: #e8e6e0;
  --white: #ffffff;
  --muted: #8b9098;
  --muted-dark: #5d626a;
  --line-dark: rgba(255, 255, 255, .12);
  --line-light: rgba(12, 13, 15, .12);
  --signal: #ffc20e;
  --signal-ink: #1a1400;
  --orange: #f08300;

  --max: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
  --header-h: 76px;

  --f-sans: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --f-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--signal); color: var(--signal-ink); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--signal); }
.on-dark .eyebrow { color: var(--muted); }

.display {
  font-size: clamp(40px, 7.2vw, 112px);
  line-height: 1.04; letter-spacing: -.02em; font-weight: 700;
}
.h1 { font-size: clamp(34px, 4.6vw, 68px); line-height: 1.12; letter-spacing: -.015em; font-weight: 700; }
.h2 { font-size: clamp(26px, 3vw, 44px); line-height: 1.2; letter-spacing: -.01em; font-weight: 700; }
.h3 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.4; font-weight: 700; }
.lead { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.75; color: var(--muted-dark); max-width: 46em; }
.on-dark .lead { color: #b9bdc4; }
.small { font-size: 14px; color: var(--muted-dark); }
.on-dark .small { color: var(--muted); }
.en { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mark { color: var(--signal); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  height: 54px; padding: 0 28px;
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  border: 1px solid currentColor; border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  cursor: pointer; background: transparent;
}
.btn .arrow { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .35s var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 28px; }
.btn-signal { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.btn-signal:hover { background: var(--white); border-color: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink:hover { background: transparent; color: var(--ink); }

.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.text-link:hover { color: var(--orange); }
.on-dark .text-link:hover { color: var(--signal); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .logo-light { display: none; }
.brand .brand-tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .7; padding-left: 16px; border-left: 1px solid currentColor; line-height: 1.3; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav a { font-size: 15px; position: relative; padding: 6px 0; opacity: .85; transition: opacity .25s; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--signal); }
.nav .nav-cta { margin-left: 8px; height: 42px; padding: 0 20px; display: inline-flex; align-items: center; background: var(--signal); color: var(--signal-ink); font-weight: 600; opacity: 1; }
.nav .nav-cta:hover { background: var(--white); }
.nav .nav-cta::after { display: none; }

.site-header.is-solid, .site-header.is-light { background: rgba(243, 242, 238, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line-light); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); }
.site-header.is-solid .logo-dark, .site-header.is-light .logo-dark { display: none; }
.site-header.is-solid .logo-light, .site-header.is-light .logo-light { display: block; }
.site-header.is-solid .nav .nav-cta:hover, .site-header.is-light .nav .nav-cta:hover { background: var(--ink); color: var(--white); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; color: var(--white); background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(12,13,15,.78) 0%, rgba(12,13,15,.45) 45%, rgba(12,13,15,0) 75%),
  linear-gradient(180deg, rgba(12,13,15,.55) 0%, rgba(12,13,15,.1) 30%, rgba(12,13,15,.5) 70%, rgba(12,13,15,.94) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-body { position: relative; width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 8vh, 96px); }
.hero .eyebrow { color: rgba(255,255,255,.75); }
.hero h1 { margin-top: 28px; max-width: 12em; }
.hero .lead { margin-top: 28px; color: rgba(255,255,255,.78); max-width: 36em; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: clamp(48px, 8vh, 88px); padding-top: 22px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hero-meta div { font-size: 14px; color: rgba(255,255,255,.7); }
.hero-meta strong { display: block; font-size: clamp(20px, 1.8vw, 28px); color: var(--white); font-weight: 700; letter-spacing: -.01em; margin-bottom: 4px; }

.ai-tag {
  position: absolute; z-index: 2; right: 14px; bottom: 12px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .08em;
  color: rgba(255,255,255,.62); background: rgba(12,13,15,.42); padding: 3px 8px;
}
.hero .ai-tag { top: calc(var(--header-h) + 14px); bottom: auto; right: var(--gutter); }

/* Lane line — the signature: a safety-yellow floor marking */
.lane { height: 6px; background: var(--signal); width: 100%; }
.lane-thin { height: 2px; background: var(--signal); width: 64px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: calc(var(--header-h) + clamp(64px, 12vh, 140px)) 0 clamp(56px, 9vh, 110px); position: relative; overflow: hidden; }
.page-hero.has-image { min-height: 78vh; display: flex; align-items: flex-end; }
.page-hero .bg { position: absolute; inset: 0; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.page-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,13,15,.6), rgba(12,13,15,.35) 40%, rgba(12,13,15,.95)); }
.page-hero .wrap { position: relative; width: 100%; }
.page-hero h1 { margin-top: 26px; max-width: 14em; }
.page-hero .lead { margin-top: 26px; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vw, 168px) 0; position: relative; }
.section.tight { padding: clamp(56px, 8vw, 104px) 0; }
.section.dark, .on-dark { background: var(--ink); color: var(--white); }
.section.graphite { background: var(--graphite); color: var(--white); }
.section.white { background: var(--white); }

.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .h1, .sec-head .h2 { margin-top: 20px; }
.sec-head .lead { justify-self: end; }
.sec-index { font-family: var(--f-mono); font-size: 13px; color: var(--muted); letter-spacing: .1em; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); align-items: start; }
.split.reverse { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }

/* Statement */
.statement { font-size: clamp(26px, 3.4vw, 52px); line-height: 1.32; font-weight: 700; letter-spacing: -.01em; max-width: 22em; }
.statement em { font-style: normal; color: var(--muted); }
.on-dark .statement em, .dark .statement em { color: #6f747c; }

/* Drivers (why now) */
.drivers { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.driver { padding: 40px 32px 48px 0; border-right: 1px solid var(--line-dark); }
.driver + .driver { padding-left: 32px; }
.driver:last-child { border-right: 0; }
.driver .date { font-family: var(--f-mono); font-size: 13px; color: var(--signal); letter-spacing: .06em; }
.driver h3 { margin-top: 18px; }
.driver p { margin-top: 14px; color: #a9aeb5; font-size: 15px; }
.driver .src { margin-top: 18px; font-size: 12px; color: var(--muted-dark); }

/* Modules grid */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.module { padding: 40px 36px 44px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); position: relative; transition: background .4s var(--ease); min-height: 300px; display: flex; flex-direction: column; }
.module:hover { background: var(--white); }
.module .num { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.module h3 { margin-top: 48px; }
.module .en { margin-top: 6px; }
.module p { margin-top: 16px; font-size: 15px; color: var(--muted-dark); }
.module::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 3px; background: var(--signal); transition: width .5s var(--ease); }
.module:hover::before { width: calc(100% + 1px); }

/* Media frames */
.frame { position: relative; overflow: hidden; background: var(--graphite); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.frame.r-169 { aspect-ratio: 16 / 9; }
.frame.r-43 { aspect-ratio: 4 / 3; }
.frame.r-45 { aspect-ratio: 4 / 5; }
.frame.r-219 { aspect-ratio: 21 / 9; }
.caption { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted-dark); }
.on-dark .caption, .dark .caption { color: var(--muted); }

.mosaic { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(12px, 1.4vw, 24px); }
.mosaic .m-a { grid-column: span 7; }
.mosaic .m-b { grid-column: span 5; }
.mosaic .m-full { grid-column: 1 / -1; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { padding: 0 28px 0 0; position: relative; }
.step::before { content: ""; display: block; height: 2px; background: var(--line-dark); margin-bottom: 32px; }
.step::after { content: ""; position: absolute; left: 0; top: -3px; width: 8px; height: 8px; background: var(--signal); }
.step .num { font-family: var(--f-mono); font-size: 13px; color: var(--signal); letter-spacing: .1em; }
.step h3 { margin-top: 14px; }
.step .en { margin-top: 4px; }
.step p { margin-top: 16px; font-size: 15px; color: #a9aeb5; }
.step ul { margin-top: 18px; font-size: 14px; color: #c9ccd1; }
.step li { padding: 8px 0; border-top: 1px solid var(--line-dark); }

/* Feature case */
.feature-case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); background: var(--graphite); color: var(--white); }
.feature-case .frame { min-height: 520px; height: 100%; }
.feature-case .body { padding: clamp(36px, 4.4vw, 72px); display: flex; flex-direction: column; }
.feature-case h3 { font-size: clamp(24px, 2.4vw, 36px); line-height: 1.25; margin-top: 22px; }
.feature-case p { margin-top: 18px; color: #b0b4bb; }
.feature-case .spec { margin-top: auto; padding-top: 36px; }

/* Spec list */
.spec { display: grid; grid-template-columns: 1fr; }
.spec div { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-light); font-size: 15px; }
.on-dark .spec div, .dark .spec div, .feature-case .spec div, .graphite .spec div { border-top-color: var(--line-dark); }
.spec dt, .spec .k { color: var(--muted); font-size: 13px; padding-top: 2px; }
.todo { display: inline-block; font-family: var(--f-mono); font-size: 12px; color: var(--signal); border: 1px dashed rgba(255,194,14,.6); padding: 1px 8px; }
.section:not(.dark):not(.graphite) .todo { color: #8a6400; border-color: #c99a00; background: #fff7d6; }

/* Extensions */
.ext { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.ext li { padding: 32px 28px 36px 0; border-right: 1px solid var(--line-light); }
.ext li + li { padding-left: 28px; }
.ext li:last-child { border-right: 0; }
.ext h3 { font-size: 19px; }
.ext p { margin-top: 10px; font-size: 14px; color: var(--muted-dark); }

/* CTA band */
.cta-band { background: var(--signal); color: var(--signal-ink); padding: clamp(64px, 9vw, 128px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -8%; top: 0; bottom: 0; width: 40%; background: repeating-linear-gradient(-45deg, rgba(12,13,15,.07) 0 22px, transparent 22px 44px); pointer-events: none; }
.cta-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.cta-band .eyebrow { color: rgba(26,20,0,.7); }
.cta-band .eyebrow::before { background: var(--ink); }
.cta-band h2 { margin-top: 22px; }
.cta-band p { margin-top: 18px; font-size: 17px; max-width: 34em; }
.cta-band .contact-quick { justify-self: end; text-align: right; }
.cta-band .tel { display: block; font-size: clamp(30px, 3.4vw, 52px); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.cta-band .tel-note { margin-top: 10px; font-size: 14px; opacity: .75; }
.cta-band .btn { margin-top: 28px; }

/* Lists */
.check-list li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid var(--line-light); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 14px; height: 2px; background: var(--signal); }
.on-dark .check-list li, .dark .check-list li, .graphite .check-list li { border-top-color: var(--line-dark); }

.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }

/* Service detail blocks */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 112px); padding: clamp(56px, 7vw, 96px) 0; border-top: 1px solid var(--line-light); }
.svc:first-of-type { border-top: 0; padding-top: 0; }
.svc .num { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.svc h2 { margin-top: 16px; }
.svc .en { margin-top: 8px; }
.svc .lead { margin-top: 22px; }
.svc .std { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--f-mono); font-size: 12px; padding: 5px 10px; border: 1px solid var(--line-light); color: var(--muted-dark); }
.on-dark .chip, .dark .chip { border-color: var(--line-dark); color: #b9bdc4; }

/* 5S table */
.five-s { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 2px solid var(--ink); }
.five-s li { padding: 22px 18px 26px 0; border-right: 1px solid var(--line-light); }
.five-s li + li { padding-left: 18px; }
.five-s li:last-child { border-right: 0; }
.five-s .k { font-size: 26px; font-weight: 700; }
.five-s .k small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); font-weight: 400; margin-left: 6px; letter-spacing: .1em; }
.five-s p { margin-top: 12px; font-size: 14px; color: var(--muted-dark); }
.five-s .vm { margin-top: 14px; font-size: 13px; padding-top: 12px; border-top: 1px dashed var(--line-light); color: var(--ink); }

.confidential { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 32px; align-items: baseline; padding: 28px 32px; margin-bottom: clamp(56px, 7vw, 104px); background: var(--white); border-left: 3px solid var(--signal); }
.confidential p { font-size: 15px; color: var(--muted-dark); }
@media (max-width: 900px) { .confidential { grid-template-columns: 1fr; gap: 12px; padding: 22px 22px; } }

/* Case list */
.case-list { display: grid; gap: clamp(64px, 8vw, 120px); }
.case { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.case:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.case:nth-child(even) .case-media { order: 2; }
.case .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.case h2 { margin-top: 18px; }
.case p { margin-top: 18px; color: var(--muted-dark); }
.case .spec { margin-top: 28px; }

/* Article */
.article { max-width: 760px; }
.article h2 { font-size: clamp(22px, 2vw, 30px); margin: 64px 0 18px; line-height: 1.3; }
.article h3 { font-size: 19px; margin: 36px 0 12px; }
.article p { margin: 0 0 18px; color: #2c2f34; font-size: 17px; line-height: 1.9; }
.article ul { margin: 0 0 22px; }
.article ul li { position: relative; padding: 6px 0 6px 24px; font-size: 16.5px; line-height: 1.8; color: #2c2f34; }
.article ul li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--signal); }
.article .note { margin: 32px 0; padding: 22px 26px; background: var(--white); border-left: 3px solid var(--signal); font-size: 15px; color: var(--muted-dark); }
.article-meta { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 24px; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 15px; }
.article th, .article td { text-align: left; padding: 12px 14px 12px 0; border-top: 1px solid var(--line-light); vertical-align: top; }
.article th { font-size: 13px; color: var(--muted); font-weight: 400; }

.post-list li { border-top: 1px solid var(--line-light); }
.post-list li:last-child { border-bottom: 1px solid var(--line-light); }
.post-list a { display: grid; grid-template-columns: 9em minmax(0, 1fr) auto; gap: 32px; align-items: baseline; padding: 36px 0; transition: padding .4s var(--ease); }
.post-list a:hover { padding-left: 16px; }
.post-list .date { font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.post-list h3 { font-size: clamp(20px, 1.8vw, 26px); }
.post-list p { margin-top: 8px; color: var(--muted-dark); font-size: 15px; }

/* About */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.facts li { padding: 32px 24px 8px 0; }
.facts strong { display: block; font-size: clamp(32px, 3.6vw, 56px); line-height: 1; letter-spacing: -.02em; }
.facts span { display: block; margin-top: 14px; font-size: 14px; color: #a9aeb5; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.principles li { border-top: 2px solid var(--ink); padding-top: 24px; }
.principles p { margin-top: 12px; color: var(--muted-dark); font-size: 15px; }

/* Contact form */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--muted-dark); }
.field label b { color: #c0392b; font-weight: 400; margin-left: 2px; }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid rgba(12,13,15,.3); background: transparent; padding: 10px 0 12px;
  font-size: 17px; outline: none; border-radius: 0; transition: border-color .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); box-shadow: 0 2px 0 var(--signal); }
.options { display: flex; flex-wrap: wrap; gap: 10px; }
.options label { cursor: pointer; }
.options input { position: absolute; opacity: 0; pointer-events: none; }
.options span { display: inline-block; padding: 9px 16px; border: 1px solid rgba(12,13,15,.2); font-size: 14px; color: var(--ink); transition: all .25s; }
.options input:checked + span { background: var(--ink); color: var(--white); border-color: var(--ink); }
.options input:focus-visible + span { outline: 2px solid var(--signal); }
.form-note { font-size: 13px; color: var(--muted-dark); grid-column: 1 / -1; }

.contact-card { background: var(--ink); color: var(--white); padding: clamp(32px, 3.6vw, 56px); }
.contact-card .tel { font-size: clamp(28px, 2.6vw, 40px); font-weight: 700; display: block; margin-top: 10px; letter-spacing: -.01em; }
.contact-card dl { margin-top: 32px; }
.contact-card dl div { display: grid; grid-template-columns: 6em 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-dark); font-size: 15px; }
.contact-card dt { color: var(--muted); font-size: 13px; padding-top: 2px; }
.contact-card dd { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b9bdc4; padding: clamp(72px, 8vw, 120px) 0 36px; font-size: 14px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 48px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.site-footer .brand img { height: 30px; }
.site-footer .slogan { margin-top: 28px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; color: var(--white); font-weight: 700; max-width: 14em; }
.site-footer h4 { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 20px; }
.site-footer li { padding: 5px 0; }
.site-footer a:hover { color: var(--signal); }
.site-footer .bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--muted-dark); }

/* Floating call (mobile) */
.float-call { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .modules { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .five-s { grid-template-columns: repeat(3, 1fr); }
  .five-s li:nth-child(3n) { border-right: 0; }
  .five-s li:nth-child(4) { padding-left: 0; }
  .five-s li:nth-child(n+4) { border-top: 1px solid var(--line-light); }
  .ext { grid-template-columns: repeat(2, 1fr); }
  .ext li:nth-child(2) { border-right: 0; }
  .ext li:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line-light); }
  .ext li:nth-child(4) { border-top: 1px solid var(--line-light); }
  .site-footer .top { grid-template-columns: 1fr 1fr 1fr; }
  .site-footer .top > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .brand .brand-tag { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); color: var(--white);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 24px var(--gutter);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .35s var(--ease);
  }
  .nav a { font-size: 22px; padding: 16px 0; width: 100%; border-bottom: 1px solid var(--line-dark); opacity: 1; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--signal); }
  .nav .nav-cta { margin: 28px 0 0; height: 54px; width: 100%; justify-content: center; font-size: 17px; border: 0; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open .site-header { background: var(--ink); color: var(--white); box-shadow: none; }
  .nav-open .site-header .logo-dark { display: block; }
  .nav-open .site-header .logo-light { display: none; }

  .hero-meta { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .hero .ai-tag { top: auto; bottom: 10px; right: 10px; }
  .sec-head, .split, .split.reverse, .feature-case, .cta-band .wrap, .svc, .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .sec-head .lead { justify-self: start; }
  .case:nth-child(even) .case-media { order: 0; }
  .sticky { position: static; }
  .drivers { grid-template-columns: 1fr; }
  .driver, .driver + .driver { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .feature-case .frame { min-height: 280px; }
  .cta-band .contact-quick { justify-self: start; text-align: left; }
  .mosaic .m-a, .mosaic .m-b { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; }
  .deliverables { grid-template-columns: 1fr; }
  .post-list a { grid-template-columns: 1fr; gap: 8px; }
  .float-call {
    display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 56px; height: 56px;
    align-items: center; justify-content: center; background: var(--signal); color: var(--signal-ink);
    box-shadow: 0 8px 24px rgba(0,0,0,.25); border-radius: 50%;
  }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .modules, .process, .ext, .five-s { grid-template-columns: 1fr; }
  .module { min-height: 0; padding: 32px 24px; }
  .module h3 { margin-top: 24px; }
  .ext li, .ext li + li, .five-s li, .five-s li + li { padding: 24px 0; border-right: 0; border-top: 1px solid var(--line-light); }
  .form { grid-template-columns: 1fr; }
  .site-footer .top { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; justify-content: space-between; }
  .spec div { grid-template-columns: 5.5em 1fr; }
}
