:root {
  --ink: #11100e;
  --ink-soft: #1a1815;
  --ivory: #f2eee4;
  --ivory-deep: #e6dfd2;
  --paper: #f8f5ed;
  --red: #c43b28;
  --red-deep: #9f2a1c;
  --muted: #625d56;
  --line-dark: rgba(242, 238, 228, .16);
  --line-light: rgba(17, 16, 14, .16);
  --content: 1240px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", "Noto Sans Mono CJK SC", monospace;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  color: var(--ivory);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--red); color: #fff; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .65rem 1rem;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, height .25s ease;
}
.site-header.scrolled {
  height: 66px;
  background: rgba(17, 16, 14, .92);
  border-color: var(--line-dark);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; font-weight: 700; letter-spacing: .05em; }
.brand-mark { width: 31px; height: 31px; position: relative; display: inline-block; transform: rotate(45deg); }
.brand-mark i { position: absolute; display: block; width: 14px; height: 14px; border: 2px solid currentColor; }
.brand-mark i:nth-child(1) { inset: 0 auto auto 0; }
.brand-mark i:nth-child(2) { inset: auto 0 0 auto; background: var(--red); border-color: var(--red); }
.brand-mark i:nth-child(3) { inset: 3px 3px auto auto; width: 8px; height: 8px; border: 0; background: currentColor; }
.brand-name { font-size: .92rem; }
.site-nav { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 3.2rem); }
.site-nav a { position: relative; color: rgba(242, 238, 228, .66); font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; transition: color .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.5rem; height: 1px; background: var(--red); transition: right .2s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ivory); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem 0; color: inherit; cursor: pointer; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: 9rem var(--pad) 6.5rem;
  isolation: isolate;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; width: 52vw; aspect-ratio: 1; right: -22vw; top: -30vw; border: 1px solid var(--line-dark); border-radius: 50%; box-shadow: 0 0 0 7vw rgba(255,255,255,.012), 0 0 0 14vw rgba(255,255,255,.01); z-index: -1; }
.hero-grid, .project-grid { position: absolute; z-index: -2; inset: 0; opacity: .2; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, #000, transparent 75%); }
.hero-copy { max-width: 760px; }
.eyebrow, .section-kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.8rem; color: rgba(242,238,228,.62); }
.eyebrow span { width: 28px; height: 1px; background: var(--red); }
.hero h1 { margin-bottom: 1.8rem; font-size: clamp(3.3rem, 6.7vw, 7.6rem); line-height: .98; letter-spacing: -.07em; font-weight: 700; }
.hero h1 span { color: var(--red); position: relative; white-space: nowrap; }
.hero-lead { max-width: 630px; color: rgba(242, 238, 228, .68); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.7rem; }
.button { min-height: 51px; display: inline-flex; align-items: center; justify-content: center; gap: 2.2rem; padding: .85rem 1.3rem; border: 1px solid transparent; font-family: var(--mono); font-size: .79rem; font-weight: 700; letter-spacing: .05em; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: #fff; }
.button-primary:hover { background: #d44732; }
.button-ghost { border-color: var(--line-dark); color: var(--ivory); }
.button-ghost:hover { border-color: rgba(242,238,228,.5); background: rgba(255,255,255,.04); }

.hero-visual { width: 100%; max-width: 620px; justify-self: end; }
.visual-frame { border: 1px solid var(--line-dark); background: rgba(20, 19, 17, .7); box-shadow: 0 28px 80px rgba(0,0,0,.25); }
.visual-head, .visual-foot { min-height: 55px; display: flex; align-items: center; padding: 0 1.2rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .07em; color: rgba(242,238,228,.64); }
.visual-head { justify-content: space-between; border-bottom: 1px solid var(--line-dark); }
.status { display: flex; align-items: center; gap: .5rem; }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(196,59,40,.15); }
.visual-stage { position: relative; aspect-ratio: 1.22; min-height: 350px; overflow: hidden; }
.visual-stage::before, .visual-stage::after { content: ""; position: absolute; background: var(--line-dark); }
.visual-stage::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.visual-stage::after { top: 50%; left: 0; right: 0; height: 1px; }
.orbit { position: absolute; inset: 14%; border: 1px solid rgba(242,238,228,.18); border-radius: 50%; }
.orbit-two { inset: 29%; border-style: dashed; animation: spin 20s linear infinite; }
.core { position: absolute; z-index: 2; left: 50%; top: 50%; width: 108px; aspect-ratio: 1; transform: translate(-50%,-50%) rotate(45deg); display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--red); box-shadow: 0 20px 50px rgba(196,59,40,.18); }
.core b, .core small { transform: rotate(-45deg); }
.core b { font-size: 1.15rem; }
.core small { font-family: var(--mono); font-size: .58rem; opacity: .7; }
.node { position: absolute; display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem; background: var(--ink-soft); border: 1px solid var(--line-dark); font-family: var(--mono); font-size: .68rem; }
.node span { color: var(--red); }
.node-a { left: 9%; top: 22%; }
.node-b { right: 7%; top: 29%; }
.node-c { left: 21%; bottom: 12%; }
.visual-foot { justify-content: space-between; border-top: 1px solid var(--line-dark); }
.visual-foot i { height: 1px; flex: 1; margin: 0 .65rem; background: var(--line-dark); }
.scroll-cue { position: absolute; bottom: 1.7rem; left: var(--pad); display: flex; align-items: center; gap: .8rem; font-family: var(--mono); font-size: .65rem; color: rgba(242,238,228,.64); letter-spacing: .1em; }
.scroll-cue i { position: relative; width: 40px; height: 1px; background: rgba(242,238,228,.3); overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: translateX(-100%); animation: scan 2.2s ease-in-out infinite; }

.light-section { color: var(--ink); background: var(--ivory); }
.intro, .method, .about { position: relative; padding: clamp(6rem, 11vw, 10rem) var(--pad); }
.intro { display: grid; grid-template-columns: minmax(320px, .9fr) 1.1fr; gap: clamp(3rem, 9vw, 9rem); }
.section-index { position: absolute; left: var(--pad); top: 2rem; font-family: var(--mono); color: var(--muted); font-size: .65rem; letter-spacing: .1em; }
.section-kicker { color: var(--red-deep); margin-bottom: 1.5rem; }
.section-kicker.light { color: #d95946; }
.intro h2, .method h2, .about h2, .section-head h2, .project-head h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4.6vw, 5rem); line-height: 1.12; letter-spacing: -.055em; }
.intro-body > p { max-width: 690px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: #49443e; line-height: 2; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 4rem; border-top: 1px solid var(--line-light); }
.principles div { padding: 1.3rem 0; border-bottom: 1px solid var(--line-light); }
.principles span { display: block; margin-bottom: .4rem; font-family: var(--mono); font-size: .66rem; color: var(--red-deep); }
.principles strong { font-size: .92rem; }

.capabilities, .scenarios, .project-start { position: relative; padding: clamp(6rem, 10vw, 9rem) var(--pad); }
.section-head { max-width: var(--content); margin: 0 auto clamp(3.5rem, 7vw, 6rem); display: grid; grid-template-columns: 1.2fr .6fr; align-items: end; gap: 5rem; }
.section-head > p { max-width: 470px; margin: 0 0 .35rem; color: rgba(242,238,228,.58); }
.service-list { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); border-left: 1px solid var(--line-dark); }
.service-card { min-height: 480px; display: flex; flex-direction: column; position: relative; padding: 1.35rem; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); transition: background .25s ease, transform .25s ease; }
.service-card:hover { background: rgba(255,255,255,.025); transform: translateY(-4px); }
.service-number { font-family: var(--mono); font-size: .65rem; color: rgba(242,238,228,.62); }
.service-icon { position: relative; width: 60px; height: 60px; margin: 4.5rem 0 3.5rem; }
.service-icon i { position: absolute; width: 38px; height: 38px; border: 1px solid var(--red); }
.service-icon i:first-child { top: 0; left: 0; }
.service-icon i:last-child { right: 0; bottom: 0; background: rgba(196,59,40,.15); }
.icon-stack i { width: 44px; height: 16px; left: 0; transform: skewX(-30deg); }
.icon-stack i:nth-child(1) { top: 0; }
.icon-stack i:nth-child(2) { top: 18px; left: 7px; }
.icon-stack i:nth-child(3) { top: 36px; left: 14px; background: rgba(196,59,40,.15); }
.icon-data { display: flex; align-items: end; gap: 5px; }
.icon-data i { position: static; width: 12px; border: 0; background: var(--red); }
.icon-data i:nth-child(1) { height: 24px; opacity: .45; }
.icon-data i:nth-child(2) { height: 42px; opacity: .7; }
.icon-data i:nth-child(3) { height: 58px; }
.icon-loop i { width: 58px; height: 58px; border-radius: 50%; border: 1px dashed var(--red); background: none; }
.icon-loop i::after { content: ""; position: absolute; right: -2px; top: 25px; width: 8px; height: 8px; transform: rotate(45deg); background: var(--red); }
.service-card h3 { margin-bottom: 1rem; font-size: 1.45rem; }
.service-card p { color: rgba(242,238,228,.58); font-size: .9rem; }
.service-card ul { display: flex; flex-wrap: wrap; gap: .4rem .8rem; margin-top: auto; list-style: none; font-family: var(--mono); font-size: .65rem; color: rgba(242,238,228,.64); }
.service-card li::before { content: "/"; margin-right: .3rem; color: var(--red); }
.accent-card { background: var(--red); }
.accent-card:hover { background: #ca402d; }
.accent-card .service-number, .accent-card p, .accent-card ul { color: rgba(255,255,255,.72); }
.accent-card li::before { color: var(--ink); }
.accent-card .service-icon i { border-color: #fff; }
.accent-card .icon-loop i::after { background: #fff; }

.method-layout { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(3rem, 8vw, 8rem); }
.method-intro { position: sticky; top: 8.5rem; align-self: start; }
.method-intro > p:last-child { max-width: 440px; margin-top: 2rem; color: #625c54; }
.timeline { list-style: none; border-top: 1px solid var(--line-light); }
.timeline li { min-height: 155px; display: grid; grid-template-columns: 52px 1fr auto; gap: 1.5rem; align-items: center; border-bottom: 1px solid var(--line-light); }
.timeline > li > span { font-family: var(--mono); font-size: .7rem; color: var(--red-deep); align-self: start; margin-top: 2rem; }
.timeline h3 { margin-bottom: .45rem; font-size: 1.3rem; }
.timeline p { max-width: 500px; margin: 0; font-size: .88rem; color: #676159; }
.timeline em { padding: .35rem .65rem; border: 1px solid var(--line-light); font-family: var(--mono); font-size: .63rem; font-style: normal; color: var(--muted); }

.scenarios { background: #171512; }
.section-head.compact { margin-bottom: 3rem; }
.scenario-shell { max-width: var(--content); margin: 0 auto; border: 1px solid var(--line-dark); background: var(--ink); box-shadow: 0 40px 90px rgba(0,0,0,.18); }
.tab-list { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-dark); }
.tab-list button { position: relative; min-height: 72px; padding: 1rem; border: 0; border-right: 1px solid var(--line-dark); background: transparent; color: rgba(242,238,228,.64); cursor: pointer; font-size: .84rem; }
.tab-list button:last-child { border-right: 0; }
.tab-list button::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; background: var(--red); transition: right .25s ease; }
.tab-list button[aria-selected="true"] { color: var(--ivory); background: rgba(255,255,255,.025); }
.tab-list button[aria-selected="true"]::after { right: 0; }
.tab-panel { min-height: 490px; display: grid; grid-template-columns: .9fr 1.1fr; }
.tab-panel[hidden] { display: none; }
.panel-copy { padding: clamp(2rem, 5vw, 5rem); }
.panel-code { font-family: var(--mono); font-size: .65rem; letter-spacing: .1em; color: var(--red); }
.panel-copy h3 { margin: 2.2rem 0 1.3rem; font-size: clamp(2rem, 3.5vw, 3.5rem); line-height: 1.16; letter-spacing: -.04em; }
.panel-copy p { max-width: 520px; color: rgba(242,238,228,.58); }
.panel-copy ul { margin-top: 2.2rem; list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.panel-copy li { padding: .38rem .65rem; border: 1px solid var(--line-dark); font-family: var(--mono); font-size: .66rem; color: rgba(242,238,228,.62); }
.panel-graphic { position: relative; min-height: 380px; overflow: hidden; background-color: #1d1b18; background-image: linear-gradient(rgba(242,238,228,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(242,238,228,.055) 1px, transparent 1px); background-size: 48px 48px; }
.axis { position: absolute; background: rgba(242,238,228,.28); }
.axis-x { left: 14%; right: 12%; bottom: 17%; height: 1px; }
.axis-y { top: 12%; bottom: 17%; left: 14%; width: 1px; }
.plot { position: absolute; width: 18px; height: 18px; transform: rotate(45deg); background: var(--red); box-shadow: 0 0 0 8px rgba(196,59,40,.11); }
.p1 { left: 22%; bottom: 29%; }
.p2 { left: 40%; bottom: 45%; }
.p3 { left: 60%; bottom: 53%; }
.p4 { right: 18%; top: 20%; }
.panel-graphic > span { position: absolute; bottom: 10%; font-family: var(--mono); font-size: .6rem; color: rgba(242,238,228,.4); }
.panel-graphic > span:first-of-type { left: 14%; }
.panel-graphic > span:last-of-type { right: 12%; }
.flow-graphic { display: flex; align-items: center; justify-content: space-around; padding: 0 13%; }
.flow-line { position: absolute; left: 15%; right: 15%; height: 1px; background: var(--red); }
.flow-graphic i { z-index: 1; width: 42px; height: 42px; border: 1px solid var(--red); background: #1d1b18; transform: rotate(45deg); }
.flow-graphic i:nth-of-type(2) { width: 58px; height: 58px; background: var(--red); }
.evolve-graphic { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.evolve-graphic div { width: 18%; aspect-ratio: 1; border: 1px solid rgba(242,238,228,.35); }
.evolve-graphic div:nth-child(2) { width: 24%; border-color: var(--red); background: rgba(196,59,40,.15); }
.evolve-graphic div:nth-child(3) { width: 31%; border-color: var(--red); background: var(--red); }

.about-grid { max-width: var(--content); margin: 0 auto; display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 9rem); }
.large-copy { font-size: clamp(1.35rem, 2.2vw, 2.2rem); line-height: 1.65; letter-spacing: -.025em; }
.about-copy > p:nth-child(2) { max-width: 760px; color: #5e5851; }
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 4rem; background: var(--line-light); border: 1px solid var(--line-light); }
.value-row div { padding: 1.5rem; background: var(--ivory); }
.value-row i { display: block; width: 15px; height: 15px; margin-bottom: 3rem; background: var(--red); transform: rotate(45deg); }
.value-row h3 { margin-bottom: .3rem; font-size: 1rem; }
.value-row span { font-size: .75rem; color: var(--muted); }

.project-start { overflow: hidden; }
.project-grid { opacity: .13; mask-image: linear-gradient(to bottom, #000, transparent 72%); }
.project-head { max-width: var(--content); margin: 0 auto 4rem; }
.project-head h2 span { color: var(--red); }
.project-head > p:last-child { margin: 1.5rem 0 0; color: rgba(242,238,228,.58); }
.brief-form { max-width: var(--content); margin: 0 auto; border-top: 1px solid var(--line-dark); }
.brief-form fieldset { margin: 0; padding: 2.2rem 0; border: 0; border-bottom: 1px solid var(--line-dark); }
.brief-form legend { display: block; width: 100%; padding: 0; margin-bottom: 1.15rem; }
.brief-form legend span, .form-field > label span { margin-right: 1rem; font-family: var(--mono); font-size: .66rem; color: var(--red); }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.choice-grid label { cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; pointer-events: none; }
.choice-grid span { min-height: 48px; display: flex; align-items: center; justify-content: center; padding: .5rem; border: 1px solid var(--line-dark); font-size: .78rem; color: rgba(242,238,228,.58); transition: background .2s ease, border-color .2s ease, color .2s ease; }
.choice-grid label:hover span { border-color: rgba(242,238,228,.42); color: var(--ivory); }
.choice-grid input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.choice-grid input:focus-visible + span { outline: 2px solid var(--ivory); outline-offset: 3px; }
.form-field { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; position: relative; padding: 2.2rem 0; border-bottom: 1px solid var(--line-dark); }
.form-field textarea { width: 100%; resize: vertical; min-height: 108px; padding: 1rem; border: 1px solid var(--line-dark); border-radius: 0; background: rgba(255,255,255,.025); color: var(--ivory); caret-color: var(--red); }
.form-field textarea::placeholder { color: rgba(242,238,228,.3); }
.form-field textarea:focus { border-color: var(--red); outline: none; }
.form-field small { position: absolute; right: .8rem; bottom: 2.55rem; font-family: var(--mono); font-size: .6rem; color: rgba(242,238,228,.62); }
.form-submit { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-top: 2rem; }
.form-submit p { margin: 0; display: flex; align-items: center; gap: .6rem; font-size: .68rem; color: rgba(242,238,228,.64); }
.form-submit p i { width: 6px; height: 6px; border-radius: 50%; background: #669b68; }
.brief-result { max-width: var(--content); margin: 2rem auto 0; padding: 2rem; border: 1px solid var(--red); display: flex; align-items: end; justify-content: space-between; gap: 2rem; background: rgba(196,59,40,.07); }
.brief-result[hidden] { display: none; }
.result-label { font-family: var(--mono); font-size: .62rem; color: #e1604d; }
.brief-result h3 { margin: .8rem 0 .4rem; }
.brief-result p { margin: 0; color: rgba(242,238,228,.68); }
.button-outline { background: transparent; color: var(--ivory); border-color: rgba(242,238,228,.35); white-space: nowrap; }
.button-outline:hover { border-color: var(--ivory); }
.project-end { max-width: var(--content); margin: 7rem auto 0; padding-top: 1.8rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; align-items: center; }
.project-end > a:last-child { display: flex; gap: 1rem; font-family: var(--mono); font-size: .68rem; color: rgba(242,238,228,.52); }
.end-brand .brand-name { font-size: .78rem; }
.end-brand .brand-mark { width: 25px; height: 25px; transform: rotate(45deg) scale(.8); }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1); }
[data-reveal].revealed { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0%, 10% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(330px, .72fr); gap: 2.5rem; }
  .hero h1 { font-size: clamp(3.4rem, 6.9vw, 5.8rem); }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 400px; }
  .service-icon { margin: 3rem 0 2.5rem; }
  .method-layout, .about-grid { grid-template-columns: 1fr 1.35fr; gap: 4rem; }
}

@media (max-width: 820px) {
  .site-header { height: 68px; }
  .menu-toggle { display: flex; align-items: center; gap: .8rem; }
  .menu-label { font-family: var(--mono); font-size: .7rem; }
  .menu-icon { display: block; position: relative; width: 24px; height: 15px; }
  .menu-icon i { position: absolute; left: 0; width: 24px; height: 1px; background: currentColor; transition: transform .2s ease, top .2s ease; }
  .menu-icon i:first-child { top: 3px; }
  .menu-icon i:last-child { top: 11px; }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { top: 7px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { top: 7px; transform: rotate(-45deg); }
  .site-nav { position: fixed; inset: 68px 0 0; padding: 3rem var(--pad); display: flex; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .site-nav.open { visibility: visible; opacity: 1; transform: none; }
  .site-nav a { padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .site-nav a::after { bottom: -1px; }
  .hero { grid-template-columns: 1fr; align-content: center; padding-top: 8.2rem; }
  .hero-copy { max-width: 700px; }
  .hero-visual { max-width: 550px; justify-self: stretch; }
  .visual-stage { min-height: 330px; }
  .scroll-cue { display: none; }
  .intro { grid-template-columns: 1fr; gap: 2.7rem; }
  .section-head { grid-template-columns: 1fr; gap: 1.8rem; }
  .method-layout, .about-grid { grid-template-columns: 1fr; }
  .method-intro { position: static; }
  .tab-panel { grid-template-columns: 1fr; }
  .panel-graphic { min-height: 320px; }
  .brief-form fieldset, .form-field { grid-template-columns: 1fr; }
  .brief-form legend { display: block; }
}

@media (max-width: 560px) {
  :root { --pad: 1.15rem; }
  .brand-name { font-size: .82rem; }
  .hero { min-height: auto; padding-top: 7.4rem; padding-bottom: 5.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero h1 span { white-space: normal; }
  .hero-lead { font-size: .96rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .visual-stage { min-height: 285px; }
  .visual-head, .visual-foot { padding: 0 .8rem; }
  .visual-foot { font-size: .58rem; }
  .core { width: 84px; }
  .node { font-size: .6rem; }
  .node-a { left: 4%; }
  .node-b { right: 3%; }
  .node-c { left: 13%; }
  .intro, .method, .about, .capabilities, .scenarios, .project-start { padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .intro h2, .method h2, .about h2, .section-head h2, .project-head h2 { font-size: clamp(2.3rem, 11vw, 3.5rem); }
  .principles { grid-template-columns: 1fr; }
  .principles div { display: flex; align-items: center; justify-content: space-between; }
  .principles span { margin: 0; }
  .service-list { grid-template-columns: 1fr; }
  .service-card { min-height: 360px; }
  .timeline li { grid-template-columns: 36px 1fr; gap: .8rem; padding: 1.6rem 0; }
  .timeline li > span { margin-top: .25rem; }
  .timeline em { grid-column: 2; justify-self: start; }
  .tab-list { grid-template-columns: 1fr; }
  .tab-list button { min-height: 55px; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .tab-list button:last-child { border-bottom: 0; }
  .panel-copy { padding: 2rem 1.2rem; }
  .panel-graphic { min-height: 270px; }
  .value-row { grid-template-columns: 1fr; }
  .value-row div { display: grid; grid-template-columns: 32px 70px 1fr; align-items: center; gap: 1rem; padding: 1rem; }
  .value-row i { margin: 0; }
  .value-row h3 { margin: 0; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
  .form-submit, .brief-result { align-items: stretch; flex-direction: column; }
  .project-end { align-items: flex-start; gap: 1.2rem; }
  .end-brand .brand-name { max-width: 190px; line-height: 1.5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
