:root {
  --ink: #1c1b19;
  --ink-soft: #3b3934;
  --ivory: #f4efe3;
  --paper: #fbf8f0;
  --vermilion: #d4462f;
  --vermilion-dark: #a92e1e;
  --line: #1c1b19;
  --muted: #6f6a60;
  --max: 1200px;
  --shadow: 8px 8px 0 var(--ink);
  --sans: "Aptos", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(28,27,25,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,27,25,.035) 1px, transparent 1px),
    var(--ivory);
  background-size: 24px 24px;
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  background: var(--paper);
  border: 2px solid var(--ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--vermilion); outline-offset: 4px; }

.page-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section-pad { padding: 108px 0; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(244,239,227,.94);
  border-bottom: 2px solid var(--ink);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; fill: var(--ink); }
.brand-mark .brand-accent { fill: var(--vermilion); }
.brand-name { display: flex; align-items: baseline; gap: 8px; font-weight: 800; letter-spacing: .05em; }
.brand-name small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  position: relative;
  padding: 10px 14px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; background: var(--vermilion); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.hero { overflow: hidden; padding-top: 80px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(430px, .97fr); gap: clamp(48px, 7vw, 94px); align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .13em; }
.eyebrow > span { width: 30px; height: 2px; background: var(--vermilion); }
.eyebrow.light { color: #f8f1e5; }
.eyebrow.light > span { background: #f8f1e5; }
.hero h1 { max-width: 680px; margin-bottom: 30px; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.08; letter-spacing: -.055em; }
.hero h1 em, .principle-statement h2 em { color: var(--vermilion); font-style: normal; }
.hero-lead { max-width: 590px; margin-bottom: 36px; color: var(--ink-soft); font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 12px 20px; border: 2px solid var(--ink); border-radius: 0; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.button-primary { color: var(--paper); background: var(--ink); }
.button-primary:hover { color: var(--ink); background: var(--vermilion); }
.text-link { display: inline-flex; gap: 12px; padding: 10px 0; font-size: 14px; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--ink); }
.text-link span { color: var(--vermilion); }

.hero-bento { display: grid; grid-template-columns: 1fr .72fr; grid-template-rows: 306px 122px; gap: 14px; position: relative; }
.hero-bento::before { content: ""; position: absolute; inset: -17px 20% 17px -17px; border: 2px solid var(--ink); z-index: -1; }
.hero-card { border: 2px solid var(--ink); }
.hero-card-main { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; color: var(--paper); background: var(--ink); }
.hero-card-main h2 { margin: 0; font-size: 28px; line-height: 1.35; letter-spacing: -.03em; }
.card-index { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.card-kicker { margin-bottom: 8px; color: #bdb5a6; font-size: 12px; }
.orbit-art { position: relative; height: 175px; margin: 2px 0 12px; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-a { width: 174px; height: 108px; transform: translate(-50%,-50%) rotate(25deg); }
.orbit-b { width: 132px; height: 164px; transform: translate(-50%,-50%) rotate(-34deg); }
.orbit-dot { position: absolute; width: 10px; height: 10px; background: var(--vermilion); border-radius: 50%; box-shadow: 0 0 0 5px rgba(212,70,47,.18); }
.dot-a { left: 17%; top: 37%; }
.dot-b { right: 14%; bottom: 23%; background: var(--paper); box-shadow: none; }
.center-seal { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; transform: translate(-50%,-50%) rotate(6deg); color: var(--paper); background: var(--vermilion); border: 2px solid var(--paper); font-size: 26px; font-weight: 900; }
.hero-card-side { padding: 20px; color: var(--ink); background: var(--paper); box-shadow: 7px 7px 0 var(--vermilion); }
.hero-card-side .big-word { margin: 76px 0 4px; font-size: 34px; line-height: 1; font-weight: 900; letter-spacing: -.05em; }
.hero-card-side > p:last-child { margin: 0; color: var(--muted); font-size: 13px; }
.hero-card-note { padding: 18px; display: flex; gap: 12px; align-items: flex-start; background: var(--vermilion); }
.hero-card-note p { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.55; }
.note-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-top: 6px; background: var(--ink); border-radius: 50%; }

.marquee { overflow: hidden; border-block: 2px solid var(--ink); background: var(--paper); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 28px; padding: 12px 0; font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .12em; animation: marquee 35s linear infinite; }
.marquee-track i { color: var(--vermilion); font-size: 9px; font-style: normal; }

.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; margin-bottom: 54px; }
.section-heading h2, .scenario-intro h2, .faq-heading h2 { margin-bottom: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.18; letter-spacing: -.045em; }
.section-heading > p { max-width: 470px; margin-bottom: 6px; color: var(--muted); font-size: 16px; }
.service-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-auto-rows: minmax(270px, auto); gap: 18px; }
.service-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 280px; padding: 26px; background: var(--paper); border: 2px solid var(--ink); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translate(-4px,-4px); box-shadow: var(--shadow); }
.service-feature { grid-row: span 2; background: #e8dfcf; }
.service-dark { grid-column: span 2; color: var(--paper); background: var(--ink); }
.service-top { display: flex; align-items: flex-start; justify-content: space-between; }
.service-no { font-family: var(--mono); font-size: 12px; font-weight: 800; }
.service-top svg { width: 60px; fill: none; stroke: currentColor; stroke-width: 2; }
.service-feature .service-top svg { width: 100px; }
.service-card h3 { margin-bottom: 10px; font-size: 24px; line-height: 1.25; }
.service-card p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.service-dark p { color: #c9c0b2; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 5px 10px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 11px; }

.scenarios { color: var(--paper); background: var(--ink); border-block: 2px solid var(--ink); }
.scenario-layout { display: grid; grid-template-columns: .76fr 1.24fr; gap: 9vw; }
.scenario-intro { position: sticky; top: 126px; align-self: start; }
.scenario-intro > p:not(.eyebrow) { max-width: 420px; margin: 28px 0 34px; color: #bdb6aa; }
.button-light { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.button-light:hover { box-shadow: 5px 5px 0 var(--vermilion); }
.scenario-list { border-top: 1px solid #57534d; }
.scenario-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 26px; align-items: start; padding: 36px 0; border-bottom: 1px solid #57534d; }
.scenario-index { padding-top: 5px; color: var(--vermilion); font-family: var(--mono); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.scenario-row h3 { margin-bottom: 10px; font-size: 25px; }
.scenario-row p { max-width: 500px; margin: 0; color: #bdb6aa; }
.scenario-arrow { color: var(--vermilion); font-size: 28px; transition: transform .2s ease; }
.scenario-row:hover .scenario-arrow { transform: translateX(6px); }

.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 20px 0 0; padding: 0; list-style: none; }
.process-step { min-width: 0; padding-right: 22px; }
.step-number { font-family: var(--mono); font-size: 12px; font-weight: 900; }
.step-line { position: relative; height: 2px; margin: 22px 0 30px; background: #c7beae; }
.step-line i { position: absolute; left: 0; top: 50%; width: 14px; height: 14px; background: var(--vermilion); border: 2px solid var(--paper); outline: 2px solid var(--ink); transform: translateY(-50%) rotate(45deg); }
.process-step h3 { margin-bottom: 10px; font-size: 22px; }
.process-step p { max-width: 225px; margin: 0; color: var(--muted); font-size: 14px; }

.principles { padding-top: 0; background: var(--paper); }
.principles-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.principle-statement { position: relative; min-height: 520px; padding: 50px; overflow: hidden; color: var(--paper); background: var(--ink); border: 2px solid var(--ink); }
.principle-statement::after { content: ""; position: absolute; width: 250px; height: 250px; right: -80px; bottom: -80px; border: 42px solid var(--vermilion); border-radius: 50%; }
.corner-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; }
.principle-statement h2 { margin: 120px 0 0; font-size: clamp(46px, 5vw, 70px); line-height: 1.2; letter-spacing: -.05em; }
.statement-mark { position: absolute; right: 42px; top: 40px; color: var(--vermilion); font-size: 50px; }
.principle-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini-card { min-height: 250px; padding: 25px; background: var(--ivory); border: 2px solid var(--ink); }
.mini-card > span { font-family: var(--mono); font-size: 12px; font-weight: 900; }
.mini-card h3 { margin: 72px 0 8px; font-size: 22px; }
.mini-card p { margin: 0; color: var(--muted); font-size: 14px; }
.accent-card { background: var(--vermilion); }
.accent-card p { color: var(--ink); }

.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 9vw; }
.faq-heading > p:last-child { margin-top: 24px; color: var(--muted); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 2px solid var(--ink); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 4px; cursor: pointer; font-size: 18px; font-weight: 800; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { position: relative; flex: 0 0 auto; width: 22px; height: 22px; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--vermilion); transition: transform .2s ease; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.answer { overflow: hidden; }
.answer p { max-width: 640px; margin: -4px 42px 26px 4px; color: var(--muted); }

.closing { padding-top: 24px; }
.closing-card { min-height: 350px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px; position: relative; overflow: hidden; padding: 48px; color: var(--paper); background: var(--ink); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--vermilion); }
.closing-copy { position: relative; z-index: 1; }
.closing-copy h2 { margin-bottom: 18px; font-size: clamp(44px, 5vw, 68px); line-height: 1.1; letter-spacing: -.05em; }
.closing-copy > p:last-child { max-width: 560px; margin: 0; color: #bdb6aa; }
.button-accent { position: relative; z-index: 1; color: var(--ink); background: var(--vermilion); border-color: var(--paper); }
.button-accent:hover { background: var(--paper); box-shadow: 5px 5px 0 var(--vermilion); }
.closing-pattern { position: absolute; top: -120px; right: 2%; width: 420px; height: 420px; opacity: .18; transform: rotate(-14deg); }
.closing-pattern i { position: absolute; inset: calc(var(--n, 0) * 42px); border: 2px solid var(--paper); }
.closing-pattern i:nth-child(2) { --n: 1; }
.closing-pattern i:nth-child(3) { --n: 2; }
.closing-pattern i:nth-child(4) { --n: 3; background: var(--vermilion); }

.brief-dialog { width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--vermilion); }
.brief-dialog::backdrop { background: rgba(28,27,25,.76); backdrop-filter: blur(3px); }
.dialog-panel { position: relative; padding: 38px; }
.dialog-close { position: absolute; right: 18px; top: 15px; width: 40px; height: 40px; color: var(--ink); background: transparent; border: 0; font-size: 34px; line-height: 1; cursor: pointer; }
.dialog-panel h2 { margin-bottom: 28px; font-size: 32px; line-height: 1.25; }
.dialog-panel ol { margin: 0 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.dialog-panel li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ink); }
.dialog-panel li > span { color: var(--vermilion); font-family: var(--mono); font-size: 12px; font-weight: 900; }
.dialog-panel h3 { margin-bottom: 3px; font-size: 17px; }
.dialog-panel li p { margin: 0; color: var(--muted); font-size: 14px; }
.dialog-confirm { width: 100%; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-bento { max-width: 680px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-feature { grid-row: span 2; }
  .scenario-layout { gap: 6vw; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle-statement { min-height: 460px; }
  .faq-grid { gap: 6vw; }
}

@media (max-width: 760px) {
  .page-shell, .header-inner { width: min(calc(100% - 32px), var(--max)); }
  .section-pad { padding: 76px 0; }
  .header-inner { min-height: 68px; }
  .brand-name small { display: none; }
  .js .menu-toggle { display: flex; align-items: center; gap: 10px; padding: 9px 0 9px 12px; background: transparent; border: 0; cursor: pointer; font-size: 13px; font-weight: 800; }
  .menu-icon { width: 24px; height: 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
  .menu-icon i { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .js .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(4px) rotate(45deg); }
  .js .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { gap: 2px; }
  .site-nav a { padding-inline: 9px; font-size: 13px; }
  .js .site-nav { position: absolute; left: -2px; right: -2px; top: 100%; display: grid; padding: 10px 16px 18px; background: var(--ivory); border: 2px solid var(--ink); border-top: 0; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .js .site-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
  .js .site-nav a { padding: 12px 4px; border-bottom: 1px solid #c9c0b1; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .hero-lead { font-size: 16px; }
  .hero-bento { grid-template-columns: 1fr .76fr; grid-template-rows: 266px 112px; }
  .hero-card-main h2 { font-size: 23px; }
  .orbit-art { height: 130px; }
  .orbit-a { width: 140px; height: 82px; }
  .orbit-b { width: 100px; height: 128px; }
  .hero-card-side .big-word { margin-top: 56px; font-size: 28px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 38px; }
  .section-heading h2, .scenario-intro h2, .faq-heading h2 { font-size: clamp(34px, 9vw, 48px); }
  .service-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .service-feature, .service-dark { grid-row: auto; grid-column: auto; }
  .service-card { min-height: 280px; }
  .service-feature { min-height: 390px; }
  .scenario-layout { grid-template-columns: 1fr; gap: 62px; }
  .scenario-intro { position: static; }
  .scenario-row { grid-template-columns: 76px 1fr; }
  .scenario-arrow { display: none; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 46px 0; }
  .principle-statement { min-height: 430px; padding: 36px; }
  .principle-statement h2 { margin-top: 100px; }
  .principle-cards { gap: 12px; }
  .mini-card { min-height: 230px; padding: 20px; }
  .mini-card h3 { margin-top: 62px; }
  .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .closing { padding-top: 8px; padding-bottom: 88px; }
  .closing-card { grid-template-columns: 1fr; min-height: 460px; padding: 36px; align-items: end; }
  .button-accent { justify-self: start; }
}

@media (max-width: 520px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-bento { display: flex; flex-wrap: wrap; }
  .hero-bento::before { inset: -12px 30px 12px -12px; }
  .hero-card-main { width: 100%; min-height: 380px; }
  .hero-card-side { width: calc(56% - 7px); min-height: 170px; }
  .hero-card-note { width: calc(44% - 7px); min-height: 170px; }
  .hero-card-side .big-word { margin-top: 35px; }
  .hero-card-note { flex-direction: column; }
  .process-grid { grid-template-columns: 1fr; gap: 42px; }
  .process-step { padding: 0; }
  .process-step p { max-width: none; }
  .principle-statement { min-height: 390px; padding: 28px; }
  .principle-statement h2 { margin-top: 92px; font-size: 42px; }
  .statement-mark { right: 24px; top: 25px; }
  .principle-cards { grid-template-columns: 1fr; }
  .mini-card { min-height: 210px; }
  .scenario-row { grid-template-columns: 1fr; gap: 12px; }
  .closing-card { padding: 28px; box-shadow: 7px 7px 0 var(--vermilion); }
  .closing-copy h2 { font-size: 43px; }
  .dialog-panel { padding: 30px 22px 22px; }
  .dialog-panel h2 { padding-right: 30px; font-size: 26px; }
}

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

@media print {
  .site-header, .marquee, .closing, .brief-dialog { display: none; }
  body { background: #fff; }
  .section-pad { padding: 32px 0; }
  .js .reveal { opacity: 1; transform: none; }
}
