:root {
  --ink: #151515;
  --ink-soft: #2d2d2a;
  --paper: #f1eee7;
  --paper-light: #faf9f5;
  --paper-deep: #ded8cb;
  --signal: #c8442f;
  --signal-dark: #9f2f20;
  --white: #fff;
  --muted: #67645e;
  --line: rgba(21, 21, 21, .18);
  --line-light: rgba(255, 255, 255, .22);
  --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-label: ui-monospace, "SFMono-Regular", "Roboto Mono", monospace;
  --gutter: clamp(24px, 7.7vw, 34px);
  --section-y: 80px;
  --header-h: 68px;
  --radius-sm: 7px;
  --radius-pill: 999px;
  --shadow: 0 24px 80px rgba(21, 21, 21, .15);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e5e1d8; color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.8; }
body, button, a { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, summary { font: inherit; }
h1, h2, h3, p, dl, dd, blockquote, figure { margin: 0; }
ol, ul { margin: 0; padding: 0; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: anywhere; }

.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-150%); background: var(--white); padding: 10px 14px; }
.skip-link:focus { transform: none; }
.container { width: 100%; padding-inline: var(--gutter); }
.site-shell { min-height: 100vh; }
.phone-frame { position: relative; width: 100%; margin: 0 auto; background: var(--paper-light); overflow: clip; }
.side-col { display: none; }

.site-header { position: sticky; z-index: 50; top: 0; height: var(--header-h); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; border-bottom: 1px solid var(--line); background: rgba(250, 249, 245, .94); padding-inline: 18px; backdrop-filter: blur(16px); }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-decoration: none; }
.brand__mark { width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; position: relative; }
.brand__mark::after { content: ""; position: absolute; top: 50%; right: -5px; width: 12px; height: 1px; background: var(--signal); transform: rotate(-38deg); }
.site-nav { position: relative; }
.site-nav summary { min-width: 58px; min-height: 44px; display: grid; place-items: center; gap: 3px; cursor: pointer; font-family: var(--font-label); font-size: 9px; letter-spacing: .08em; list-style: none; }
.site-nav summary::-webkit-details-marker { display: none; }
.menu-lines, .menu-lines::after { width: 20px; height: 1px; display: block; background: currentColor; }
.menu-lines { position: relative; }
.menu-lines::after { content: ""; position: absolute; top: 5px; left: 0; }
.site-nav[open] .menu-lines { transform: rotate(45deg); }
.site-nav[open] .menu-lines::after { top: 0; transform: rotate(90deg); }
.site-nav__panel { position: absolute; top: 55px; right: -70px; width: min(330px, calc(100vw - 32px)); border: 1px solid var(--line-light); background: var(--ink); color: var(--white); padding: 10px 18px 18px; box-shadow: var(--shadow); }
.site-nav__panel a { min-height: 52px; display: grid; grid-template-columns: 38px 1fr; align-items: center; border-bottom: 1px solid var(--line-light); text-decoration: none; font-size: 14px; }
.site-nav__panel a span { color: #d87867; font-family: var(--font-label); font-size: 10px; }
.header-cta { min-height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--ink); border-radius: var(--radius-pill); padding-inline: 15px; font-size: 12px; font-weight: 700; text-decoration: none; }

.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: grid; align-items: end; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: 60% center; }
.hero__shade { background: linear-gradient(180deg, rgba(21,21,21,.08) 0%, rgba(21,21,21,.3) 42%, rgba(21,21,21,.92) 100%), linear-gradient(90deg, rgba(21,21,21,.62), transparent 88%); }
.hero__content { position: relative; z-index: 2; padding-block: 82px 72px; }
.eyebrow { color: var(--muted); font-family: var(--font-label); font-size: 11px; font-weight: 700; line-height: 1.3; letter-spacing: .14em; }
.eyebrow--light { color: rgba(255,255,255,.74); }
.eyebrow--signal { color: #dc6d5b; }
.hero h1 { max-width: 8em; margin-top: 28px; font-size: clamp(42px, 12vw, 58px); font-weight: 800; line-height: 1.16; letter-spacing: -.055em; }
.hero h1 span { position: relative; z-index: 1; }
.hero h1 span::after { content: ""; position: absolute; z-index: -1; right: -.05em; bottom: .04em; left: -.05em; height: .22em; background: var(--signal); transform: rotate(-1deg); }
.hero__lead { max-width: 29em; margin-top: 28px; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.9; }
.hero__actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: var(--radius-pill); padding: 13px 22px; font-size: 14px; font-weight: 700; text-decoration: none; transition: transform 160ms var(--ease), background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button--signal { background: var(--signal); color: var(--white); }
.button--signal:hover { background: var(--signal-dark); }
.button--dark { background: var(--ink); color: var(--white); }
.button--wide { width: 100%; }
.text-link { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; font-size: 13px; }
.text-link--light { color: var(--white); }

.fact-strip { background: var(--paper); }
.fact-strip dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.fact-strip dl > div { min-width: 0; padding: 21px 10px; text-align: center; }
.fact-strip dl > div + div { border-left: 1px solid var(--line); }
.fact-strip dt { color: var(--muted); font-family: var(--font-label); font-size: 10px; letter-spacing: .06em; }
.fact-strip dd { margin-top: 4px; font-family: var(--font-label); font-size: 11px; font-weight: 700; }

.section { position: relative; padding-block: var(--section-y); }
.section--ink { background: var(--ink); color: var(--white); }
.section--paper { background: var(--paper); }
.specimen::before { content: attr(data-index) " / MATERIAL"; position: absolute; top: 28px; right: 13px; color: var(--muted); font-family: var(--font-label); font-size: 10px; letter-spacing: .1em; writing-mode: vertical-rl; }
.specimen::after { content: ""; position: absolute; top: 0; right: 24px; width: 2px; height: 42px; background: var(--signal); transform-origin: top; }
.section h2, .contact h2 { max-width: 9em; margin-top: 18px; font-size: clamp(34px, 9.5vw, 44px); font-weight: 800; line-height: 1.28; letter-spacing: -.045em; }
.section-intro { margin-top: 28px; color: var(--muted); font-size: 16px; line-height: 1.9; }

.manifesto { min-height: 610px; display: grid; align-items: center; }
.manifesto h2 { font-size: clamp(40px, 11vw, 52px); }
.manifesto__lead { max-width: 28em; margin-top: 36px; color: rgba(255,255,255,.7); line-height: 1.9; }
.manifesto__rule { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 10px; margin-top: 56px; color: rgba(255,255,255,.72); font-family: var(--font-label); font-size: 10px; letter-spacing: .07em; }
.manifesto__rule i { height: 1px; background: var(--line-light); position: relative; }
.manifesto__rule i::after { content: ""; position: absolute; top: -2px; right: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--signal); }

.architecture { background: var(--paper-light); }
.module-list { margin-top: 54px; list-style: none; border-top: 1px solid var(--ink); }
.module-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; border-bottom: 1px solid var(--line); padding-block: 17px; }
.module-list li > span { color: var(--signal); font-family: var(--font-label); font-size: 11px; }
.module-list strong { font-size: 19px; }
.module-list p { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.7; }

.quote-bridge { min-height: 540px; position: relative; display: grid; align-items: end; overflow: hidden; background: var(--paper-deep); padding: 66px var(--gutter); }
.quote-bridge__visual { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; color: transparent; font-size: 96px; font-weight: 900; line-height: .82; letter-spacing: -.09em; -webkit-text-stroke: 1px rgba(21,21,21,.2); transform: rotate(-6deg) scale(1.1); }
.quote-bridge__visual span:nth-child(2) { color: var(--signal); -webkit-text-stroke: 0; mix-blend-mode: multiply; }
.quote-bridge blockquote { position: relative; z-index: 1; border-top: 1px solid var(--ink); padding-top: 24px; }
.quote-bridge blockquote p { max-width: 8em; font-size: 34px; font-weight: 800; line-height: 1.35; letter-spacing: -.04em; }
.quote-bridge footer { margin-top: 22px; font-family: var(--font-label); font-size: 9px; letter-spacing: .1em; }

.adapt { background: var(--paper-light); }
.adapt-map { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; border: 1px solid var(--line); }
.adapt-map > div { min-width: 0; padding: 24px 18px; }
.adapt-map > div + div { border-left: 1px solid var(--line); background: var(--ink); color: var(--white); }
.adapt-map__label { color: var(--signal); font-family: var(--font-label); font-size: 9px; letter-spacing: .08em; }
.adapt-map ul { margin-top: 24px; list-style: none; }
.adapt-map li { border-top: 1px solid currentColor; padding-block: 12px; font-size: 13px; }
.translation-map { position: relative; display: grid; gap: 1px; margin-top: 52px; overflow: hidden; background: var(--ink); color: var(--white); padding: 28px 24px; }
.translation-map::before { content: ""; position: absolute; top: 50%; right: -12%; left: -12%; height: 2px; background: var(--signal); transform: rotate(-16deg); }
.translation-map p { position: relative; z-index: 1; min-height: 76px; display: grid; align-content: center; gap: 5px; border-bottom: 1px solid var(--line-light); }
.translation-map p:last-child { border-bottom: 0; }
.translation-map span { color: #dc6d5b; font-family: var(--font-label); font-size: 10px; letter-spacing: .08em; }
.translation-map strong { font-size: 20px; letter-spacing: -.02em; }
.translation-note { display: grid; grid-template-columns: 110px 1fr; gap: 14px; border-bottom: 1px solid var(--line); padding-block: 14px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.translation-note span { color: var(--signal); font-family: var(--font-label); font-size: 10px; }

.quality-score { display: grid; grid-template-columns: 1fr 1.25fr; align-items: end; gap: 18px; margin-top: 54px; border-bottom: 1px solid var(--ink); padding-bottom: 22px; }
.quality-score > p { display: flex; align-items: flex-start; font-family: var(--font-label); line-height: .8; }
.quality-score strong { font-size: 72px; letter-spacing: -.09em; }
.quality-score > p span { color: var(--signal); font-size: 18px; }
.quality-score > div { display: grid; gap: 3px; }
.quality-score b { font-family: var(--font-label); font-size: 11px; }
.quality-score small { color: var(--muted); font-size: 11px; }
.quality-list { margin-top: 10px; }
.quality-list > div { display: grid; grid-template-columns: 84px 1fr; align-items: center; border-bottom: 1px solid var(--line); padding-block: 18px; }
.quality-list dt { color: var(--muted); font-family: var(--font-label); font-size: 9px; }
.quality-list dd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.quality-list strong { font-family: var(--font-label); font-size: 22px; }
.quality-list span { color: var(--muted); font-size: 12px; }
.quality-note { margin-top: 30px; border-left: 3px solid var(--signal); padding-left: 16px; color: var(--muted); font-size: 13px; }

.process { background: var(--paper-light); }
.timeline { margin-top: 54px; list-style: none; position: relative; }
.timeline::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 21px; width: 1px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px; min-height: 118px; }
.timeline li > span { z-index: 1; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper-light); color: var(--signal); font-family: var(--font-label); font-size: 10px; }
.timeline h3 { padding-top: 8px; font-size: 19px; }
.timeline p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.faq-list { margin-top: 48px; border-top: 1px solid var(--line-light); }
.faq-list details { border-bottom: 1px solid var(--line-light); }
.faq-list summary { min-height: 74px; display: grid; grid-template-columns: 38px 1fr; align-items: center; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #dc6d5b; font-family: var(--font-label); font-size: 10px; }
.faq-list details p { padding: 0 0 26px 38px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.9; }

.contact { background: var(--signal); color: var(--white); padding-block: 84px; }
.contact .eyebrow { color: rgba(255,255,255,.74); }
.contact > .container > p:not(.eyebrow) { margin-top: 28px; color: rgba(255,255,255,.82); }
.contact .button { margin-top: 38px; }
.footer { background: var(--paper-light); padding-block: 64px 136px; }
.footer .container { display: grid; gap: 18px; }
.footer__brand { font-size: 26px; font-weight: 900; letter-spacing: -.04em; }
.footer p:not(.footer__brand) { color: var(--muted); font-size: 11px; line-height: 1.75; }

.fixed-cta { position: fixed; z-index: 60; right: 0; bottom: 0; left: 0; width: min(100%, 430px); min-height: 76px; display: grid; grid-template-columns: 1fr 52px; align-items: center; gap: 14px; margin-inline: auto; border-top: 1px solid rgba(255,255,255,.2); background: rgba(21,21,21,.96); color: var(--white); padding: 10px 14px 10px 20px; box-shadow: 0 -12px 40px rgba(21,21,21,.18); backdrop-filter: blur(16px); }
.fixed-cta span { display: grid; font-size: 13px; font-weight: 700; line-height: 1.35; }
.fixed-cta small { color: rgba(255,255,255,.55); font-family: var(--font-label); font-size: 8px; font-weight: 500; letter-spacing: .12em; }
.fixed-cta a { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: var(--white); font-size: 20px; text-decoration: none; }

:focus-visible { outline: 3px solid #f4a092; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@supports (animation-timeline: view()) {
  .specimen::after {
    animation: rail-draw linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 35%;
  }
  @keyframes rail-draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .phone-frame { max-width: 620px; box-shadow: var(--shadow); }
}

@media (min-width: 1100px) {
  body { overflow-x: hidden; }
  .site-shell { display: grid; grid-template-columns: minmax(0,1fr) 430px minmax(0,1fr); }
  .phone-frame { width: 430px; box-shadow: var(--shadow); }
  .side-col { min-width: 0; height: 100vh; display: grid; align-items: center; position: sticky; top: 0; padding: 44px; }
  .side-col--left { justify-items: center; }
  .side-left__inner { width: min(100%, 360px); height: min(76vh, 660px); position: relative; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--line); padding-left: 26px; }
  .side-code, .side-note { color: var(--muted); font-family: var(--font-label); font-size: 10px; line-height: 1.8; letter-spacing: .1em; }
  .side-title { position: absolute; top: 50%; left: 50%; color: transparent; font-size: clamp(62px, 7vw, 116px); font-weight: 900; line-height: .8; letter-spacing: -.09em; -webkit-text-stroke: 1px rgba(21,21,21,.22); transform: translate(-50%, -50%) rotate(-90deg); }
  .side-col--right { justify-items: start; }
  .side-card { width: min(100%, 320px); border-top: 3px solid var(--signal); background: rgba(250,249,245,.8); padding: 30px; }
  .side-card h2 { margin-top: 16px; font-size: 27px; line-height: 1.4; letter-spacing: -.04em; }
  .side-card dl { margin-top: 34px; border-top: 1px solid var(--line); }
  .side-card dl > div { display: grid; grid-template-columns: 82px 1fr; border-bottom: 1px solid var(--line); padding-block: 13px; }
  .side-card dt { color: var(--muted); font-family: var(--font-label); font-size: 8px; }
  .side-card dd { font-size: 11px; font-weight: 700; }
  .side-card .button { margin-top: 28px; }
}

@media (max-width: 370px) {
  :root { --gutter: 22px; }
  .header-cta { padding-inline: 12px; }
  .hero h1 { font-size: 40px; }
  .adapt-map { grid-template-columns: 1fr; }
  .adapt-map > div + div { border-top: 1px solid var(--line); border-left: 0; }
}
