:root {
  --ink: #171512;
  --ink-2: #25211c;
  --paper: #f4f1e9;
  --paper-2: #e8e2d7;
  --white: #fffdf8;
  --orange: #ff5a1f;
  --orange-dark: #d83d08;
  --orange-action: #cc3d0c;
  --orange-text: #b93308;
  --muted: #5f5951;
  --line: rgba(23, 21, 18, 0.18);
  --line-light: rgba(255, 253, 248, 0.22);
  --display: "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
  --body: "LINE Seed JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page: min(1180px, calc(100vw - 40px));
  --header-height: 78px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.02;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled { cursor: wait; }
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
::selection { color: var(--white); background: var(--orange); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-140%);
}
.skip-link:focus { transform: translateY(0); }
.page-width { width: var(--page); margin-inline: auto; }

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(23, 21, 18, 0.14);
}
.site-header-solid { position: relative; background: var(--paper); }
.header-inner {
  width: var(--page);
  min-height: var(--header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--orange);
  border: 2px solid var(--ink);
  font: 800 34px/1 var(--display);
  letter-spacing: -0.08em;
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font: 800 22px/1 var(--display); letter-spacing: 0.08em; }
.brand-copy small { margin-top: 5px; font: 600 8px/1 var(--mono); letter-spacing: 0.12em; }
.global-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); }
.global-nav > a { font-size: 13px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; }
.global-nav > a:not(.nav-cta)::after {
  display: block;
  width: 0;
  height: 2px;
  margin-top: 3px;
  content: "";
  background: var(--orange);
  transition: width 180ms ease;
}
.global-nav > a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
}
.nav-cta:hover { background: var(--orange); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding-top: calc(var(--header-height) + 58px);
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(23, 21, 18, 0.08) 50%, transparent calc(50% + 1px)),
    var(--paper);
}
.hero::after {
  position: absolute;
  top: 0;
  right: -14vw;
  width: 44vw;
  height: 100%;
  content: "";
  border-left: 1px solid rgba(23, 21, 18, 0.1);
  background: repeating-linear-gradient(-55deg, transparent 0 22px, rgba(23, 21, 18, 0.035) 22px 24px);
  transform: skewX(-8deg);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.68fr);
  gap: clamp(44px, 6vw, 86px);
  align-items: center;
  min-height: 600px;
  padding-bottom: 62px;
}
.hero-main { position: relative; min-width: 0; }
.eyebrow, .section-index {
  margin: 0 0 22px;
  font: 700 10px/1.4 var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.eyebrow::before, .section-index::before { margin-right: 10px; color: var(--orange); content: ""; display: inline-block; width: 6px; height: 6px; background: currentColor; }
.hero-number {
  position: absolute;
  top: -175px;
  left: -14px;
  z-index: -1;
  color: rgba(23, 21, 18, 0.035);
  font: 800 clamp(300px, 38vw, 560px)/0.82 var(--display);
  letter-spacing: -0.12em;
  user-select: none;
}
.hero h1, .section-heading h2, .problem-grid h2, .deliverables-title-wrap h2, .fit-column h2, .consult-intro h2, .legal-layout h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-feature-settings: "palt" 1;
}
.hero h1 { max-width: 780px; font-size: clamp(54px, 6.15vw, 88px); }
.hero-title-line { display: block; white-space: nowrap; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: #4d4841;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.95;
}
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.button {
  min-height: 58px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { min-width: 230px; color: var(--white); background: var(--orange-action); }
.button-primary:hover { background: var(--ink); }
.button-dark { width: 100%; color: var(--white); background: var(--ink); }
.button-dark:hover { color: var(--ink); background: var(--white); }
.text-link, .text-button { font-size: 13px; font-weight: 700; }
.text-link { text-decoration: none; border-bottom: 1px solid currentColor; }
.hero-facts {
  max-width: 570px;
  margin: 46px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-facts > div { padding: 16px 12px; border-right: 1px solid var(--line); }
.hero-facts > div:first-child { padding-left: 0; }
.hero-facts > div:last-child { border-right: 0; }
.hero-facts dt { color: var(--orange); font: 800 32px/1 var(--display); }
.hero-facts dd { margin: 7px 0 0; font-size: 10px; font-weight: 400; letter-spacing: 0.01em; }

.work-order {
  position: relative;
  color: var(--white);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--orange);
  transform: rotate(0.45deg);
}
.work-order::before {
  position: absolute;
  inset: 7px;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.work-order-head { display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line-light); font: 700 10px/1 var(--mono); letter-spacing: 0.12em; }
.work-order-title { display: flex; align-items: center; gap: 10px; padding: 26px 24px 18px; color: #f4efe6; font: 700 15px/1 var(--display); letter-spacing: 0.08em; }
.check-list { margin: 0; padding: 0 24px; list-style: none; }
.check-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; min-height: 55px; border-top: 1px solid var(--line-light); font-size: 13px; font-weight: 400; }
.check-list li span { color: var(--orange); font: 700 11px/1 var(--mono); }
.work-order-note { margin: 22px 24px 24px; padding-top: 18px; display: grid; gap: 4px; border-top: 1px solid var(--line-light); }
.work-order-note strong { font-size: 13px; font-weight: 700; }
.work-order-note span { color: #bdb6ac; font-size: 11px; line-height: 1.6; }
.work-order-stamp { position: absolute; right: -12px; bottom: -12px; padding: 7px 9px; color: var(--ink); background: var(--orange); border: 1px solid var(--ink); font: 800 12px/1 var(--display); letter-spacing: 0.04em; transform: rotate(-3deg); }
.ticker { position: relative; z-index: 3; overflow: hidden; padding: 12px 0; color: var(--white); background: var(--ink); white-space: nowrap; }
.ticker div { width: max-content; font: 800 12px/1 var(--mono); letter-spacing: 0.12em; animation: ticker 24s linear infinite; }
.ticker span { margin: 0 24px; color: var(--orange); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section-dark { color: var(--white); background: var(--ink); }
.section-light { background: var(--paper); }
.section-orange { color: var(--ink); background: var(--orange); }
.problem-section { padding: 120px 0; }
.problem-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: clamp(50px, 10vw, 150px); }
.problem-grid h2 { max-width: 700px; font-size: clamp(44px, 5vw, 68px); }
.problem-copy { padding-top: 46px; border-top: 1px solid var(--line-light); }
.problem-copy p { margin: 0 0 22px; color: #d2ccc2; font-size: 16px; font-weight: 400; line-height: 2; }

.scope-section, .deliverables-section, .fit-section { padding: 130px 0; }
.section-heading { max-width: 900px; display: block; margin-bottom: 62px; }
.section-heading h2 { font-size: clamp(42px, 4.7vw, 64px); }
.section-heading > div > p { max-width: 620px; margin: 22px 0 0; color: var(--muted); font-size: 16px; font-weight: 400; line-height: 1.9; }
.section-heading-on-orange > div > p { color: #34261f; }
.section-heading-dark > div > p { color: #bcb4a9; }
.scope-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.scope-card { position: relative; min-height: 260px; padding: 36px 38px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scope-card-accent { color: var(--white); background: var(--ink); }
.scope-card h3 { max-width: 440px; margin: 34px 0 14px; font-size: clamp(22px, 2vw, 27px); font-weight: 700; line-height: 1.5; letter-spacing: -0.02em; }
.scope-card p { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; line-height: 1.9; }
.scope-card-accent p { color: #c9c2b8; }
.scope-card > span { position: absolute; right: 28px; bottom: 22px; color: #6e675f; font: 700 8px/1 var(--mono); letter-spacing: 0.12em; }
.scope-card-accent > span { color: #c9c2b8; }
.card-number { color: var(--orange); font: 800 44px/1 var(--display); }
.scope-rule { margin-top: 30px; padding: 24px 28px; display: grid; grid-template-columns: 150px 1fr; gap: 22px; border: 1px solid var(--line); align-items: center; }
.scope-rule p { margin: 0; font-size: 14px; line-height: 1.85; }
.rule-label { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }

.process-section { padding: 120px 0 140px; }
.timeline { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.timeline li { min-height: 330px; padding: 24px 22px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(23, 21, 18, 0.35); }
.timeline li:last-child { border-right: 0; }
.timeline-day { font: 800 10px/1 var(--mono); letter-spacing: 0.12em; }
.timeline-day-label { display: block; }
.timeline-day strong { display: block; margin-top: 8px; font: 800 68px/0.8 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.06em; white-space: nowrap; }
.timeline h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.timeline p { margin: 0; font-size: 13px; font-weight: 400; line-height: 1.85; }

.deliverables-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(50px, 9vw, 130px); }
.deliverables-title-wrap { position: sticky; top: 120px; align-self: start; }
.deliverables-title-wrap h2 { font-size: clamp(42px, 4.8vw, 64px); }
.deliverables-title-wrap > p:last-child { max-width: 420px; margin: 24px 0 0; color: var(--muted); font-weight: 400; }
.deliverable-list { border-top: 1px solid var(--ink); }
.deliverable-list > div { display: grid; grid-template-columns: 58px 150px 1fr; gap: 22px; align-items: center; min-height: 132px; border-bottom: 1px solid var(--ink); }
.deliverable-list span { color: var(--orange-text); font: 800 11px/1 var(--mono); }
.deliverable-list h3 { margin: 0; font: 800 32px/1 var(--display); letter-spacing: 0.03em; }
.deliverable-list p { margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; }

.price-section { padding: 130px 0; }
.price-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 24px; align-items: stretch; }
.price-grid > *, .consult-grid > *, .scope-grid > *, .fit-grid > * { min-width: 0; }
.price-card { position: relative; min-width: 0; padding: clamp(30px, 4vw, 54px); border: 1px solid var(--line-light); }
.price-card-featured { color: var(--ink); background: var(--orange); border-color: var(--orange); }
.price-flag { position: absolute; top: 0; right: 0; padding: 9px 13px; color: var(--white); background: var(--ink); font: 700 9px/1 var(--mono); letter-spacing: 0.12em; }
.price-label { margin: 0; font-size: 15px; font-weight: 700; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; margin: 30px 0; }
.price strong { font: 800 clamp(54px, 6vw, 82px)/0.85 var(--display); letter-spacing: -0.04em; }
.price span { font-size: 13px; font-weight: 700; }
.price-card ul { margin: 28px 0 36px; padding: 0; list-style: none; border-top: 1px solid currentColor; }
.price-card li { padding: 12px 0; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 400; }
.price-card-standard { display: flex; flex-direction: column; }
.price-card-standard > p:nth-of-type(3) { margin: 4px 0 30px; color: #beb7ac; font-size: 14px; }
.price-note { margin-top: auto; padding: 14px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line-light); font-size: 13px; }
.price-note + .price-note { margin-top: 0; }
.price-footnote { margin: 22px 0 0; color: #aaa296; font-size: 11px; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.fit-column { padding: clamp(32px, 5vw, 64px); }
.fit-no { color: var(--white); background: var(--ink); }
.fit-column h2 { margin-bottom: 34px; font-size: clamp(40px, 4.4vw, 58px); }
.fit-column ul { margin: 0; padding: 0; list-style: none; }
.fit-column li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid currentColor; font-size: 14px; font-weight: 400; line-height: 1.8; }
.fit-column li::before { position: absolute; left: 4px; color: var(--orange); font: 800 17px/1 var(--display); content: "＋"; }
.fit-no li::before { content: "×"; }

.consult-section { padding: 130px 0; color: var(--white); background: var(--ink-2); }
.consult-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 8vw, 110px); align-items: start; }
.consult-intro { position: sticky; top: 115px; }
.consult-intro h2 { font-size: clamp(40px, 4.4vw, 60px); }
.consult-intro h2 span { display: block; white-space: nowrap; }
.consult-intro > p { max-width: 490px; margin: 26px 0 0; color: #c7c0b6; font-weight: 400; line-height: 1.95; }
.contact-note, .privacy-note { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line-light); }
.contact-note { display: grid; gap: 4px; }
.contact-note span, .privacy-note strong { font: 700 10px/1 var(--mono); letter-spacing: 0.12em; }
.contact-note a { color: var(--orange); font: 700 21px/1.6 var(--display); }
.privacy-note p { margin: 10px 0 0; color: #b9b1a6; font-size: 12px; line-height: 1.8; }
.form-panel { color: var(--ink); background: #fffefa; border: 1px solid rgba(255, 255, 255, 0.12); }
.form-panel-head { display: flex; justify-content: space-between; padding: 17px 24px; color: var(--white); background: var(--ink); font: 700 10px/1 var(--mono); letter-spacing: 0.1em; }
#inquiry-form { padding: clamp(24px, 4vw, 46px); }
.form-row { display: grid; gap: 22px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.field { margin: 0 0 30px; }
.field label, .field legend { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.field > label > span, .field > legend > span { color: var(--orange-text); }
.fieldset-cards { padding: 0; border: 0; }
input[type="text"], input[type="email"], input[type="url"], textarea, select {
  width: 100%;
  min-width: 0;
  border: 1px solid #b9b2a8;
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: #fffefa;
  font-size: 16px;
  transition: border 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
input[type="text"], input[type="email"], input[type="url"], select { min-height: 54px; padding: 0 15px; }
textarea { display: block; padding: 14px 15px; resize: vertical; line-height: 1.8; }
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.22); }
[aria-invalid="true"] { border-color: #b72016 !important; background: #fff7f5 !important; }
.field-help, .field-error { margin: 7px 0 0; font-size: 11px; line-height: 1.7; }
.field-help { color: var(--muted); }
.field-error { min-height: 0; color: #a51b13; font-weight: 700; }
.field-error:empty { display: none; }
.label-line { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.char-count { color: var(--muted); font: 400 10px/1 var(--mono); }
.radio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.radio-grid label { margin: 0; }
.radio-grid input { position: absolute; opacity: 0; pointer-events: none; }
.radio-grid span { min-height: 78px; padding: 14px 15px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); border: 1px solid #b9b2a8; background: #fffefa; font-size: 13px; font-weight: 700; line-height: 1.45; transition: border 140ms ease, color 140ms ease, background 140ms ease; }
.radio-grid small { margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 400; }
.radio-grid input:checked + span { color: var(--white); border-color: var(--ink); background: var(--ink); }
.radio-grid input:checked + span small { color: #c8c1b7; }
.radio-grid input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.3); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check-stack { margin: 8px 0 30px; }
.check-field { margin-bottom: 10px; padding: 15px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; border: 1px solid #c4bdb3; cursor: pointer; }
.check-field input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); }
.check-field span { display: grid; gap: 4px; }
.check-field strong { font-size: 12px; font-weight: 700; }
.check-field small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.7; }
.check-field a { color: var(--ink); }
.submit-button {
  position: relative;
  width: 100%;
  min-height: 66px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  color: var(--white);
  background: var(--orange-action);
  font-weight: 700;
  transition: background 160ms ease;
}
.submit-button:hover:not(:disabled) { background: var(--ink); }
.submit-arrow { font-size: 24px; }
.submit-spinner { display: none; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin 700ms linear infinite; }
.submit-button.is-loading .submit-arrow { display: none; }
.submit-button.is-loading .submit-spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.submit-note { margin: 10px 0 0; color: var(--muted); text-align: center; font-size: 10px; }
.form-summary { margin-bottom: 24px; padding: 14px 16px; color: #8e1710; border-left: 4px solid #b72016; background: #fff0ed; font-size: 12px; font-weight: 700; }
.success-panel { min-height: 660px; padding: clamp(38px, 7vw, 72px); display: flex; flex-direction: column; justify-content: center; }
.success-panel[hidden] { display: none; }
.success-mark { width: 58px; height: 58px; margin-bottom: 28px; display: grid; place-items: center; color: var(--white); background: var(--orange); font: 800 30px/1 var(--display); }
.success-panel h3 { margin: 0 0 18px; font: 800 clamp(38px, 5vw, 62px)/1 var(--display); }
.success-panel > p { color: var(--muted); }
.receipt { margin-top: 26px; padding: 18px; display: flex; justify-content: space-between; gap: 20px; border: 1px solid var(--ink); }
.receipt span { font-size: 11px; }
.receipt strong { font: 700 13px/1.6 var(--mono); }
.success-note { font-size: 11px; }
.text-button { align-self: flex-start; margin-top: 20px; padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: transparent; }

.site-footer { padding: 46px 0; color: var(--white); border-top: 1px solid var(--line-light); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 180px 1fr 1fr auto; gap: 30px; align-items: end; }
.footer-brand { display: flex; align-items: baseline; gap: 8px; }
.footer-brand span { color: var(--orange); font: 800 62px/0.75 var(--display); }
.footer-brand strong { font: 800 25px/1 var(--display); letter-spacing: 0.05em; }
.footer-grid p { margin: 2px 0; color: #a9a196; font: 400 9px/1.6 var(--mono); letter-spacing: 0.08em; }
.footer-links { display: grid; gap: 5px; }
.footer-links a { font-size: 12px; }
.footer-copy { color: #a9a196; font: 400 9px/1 var(--mono); }

.legal-body { background: var(--paper); }
.legal-main { padding: 90px 0 130px; }
.legal-layout { display: grid; grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.4fr); gap: clamp(50px, 10vw, 150px); }
.legal-layout aside { position: sticky; top: 42px; align-self: start; }
.legal-layout h1 { font-size: clamp(48px, 6vw, 76px); }
.legal-layout aside > p:not(.section-index) { color: var(--muted); font-size: 12px; }
.legal-layout aside .text-link { display: inline-block; margin-top: 25px; }
.legal-lead { margin: 0 0 60px; font-size: 18px; font-weight: 700; }
.legal-content section { padding: 34px 0; border-top: 1px solid var(--ink); }
.legal-content section:last-child { border-bottom: 1px solid var(--ink); }
.legal-content h2 { margin: 0 0 18px; display: flex; gap: 20px; font-size: 22px; }
.legal-content h2 span { color: var(--orange); font: 700 11px/2 var(--mono); }
.legal-content p, .legal-content li { color: #4f4941; font-size: 14px; font-weight: 400; }
.legal-content ul { padding-left: 1.4em; }
.legal-contact { display: grid; gap: 4px; }
.legal-contact a { color: var(--orange); font-size: 18px; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.reveal { animation: reveal 700ms both cubic-bezier(.16,.8,.2,1); }
.reveal-delay-1 { animation-delay: 100ms; }
.reveal-delay-2 { animation-delay: 200ms; }
.reveal-delay-3 { animation-delay: 300ms; }
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  :root { --header-height: 70px; --page: min(100% - 40px, 880px); }
  .global-nav > a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 52px); }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-main { padding-top: 24px; }
  .hero-number { top: -120px; left: auto; right: -12px; font-size: 330px; }
  .work-order { width: min(520px, calc(100% - 18px)); margin-inline: auto; }
  .problem-grid, .deliverables-grid, .consult-grid, .legal-layout { grid-template-columns: 1fr; }
  .problem-copy { padding-top: 30px; }

  .timeline { grid-template-columns: 1fr; }
  .timeline li { min-height: auto; padding: 22px 0; display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 20px; border-right: 0; border-bottom: 1px solid rgba(23, 21, 18, 0.35); }
  .timeline li:last-child { border-bottom: 0; }
  .timeline-day { position: relative; min-width: 0; min-height: 44px; padding-left: 36px; display: flex; align-items: flex-end; }
  .timeline-day-label { position: absolute; left: 0; bottom: 2px; }
  .timeline-day strong { display: block; margin: 0; font-size: 44px; letter-spacing: -0.08em; }
  .deliverables-title-wrap, .consult-intro, .legal-layout aside { position: static; }
  .price-grid { grid-template-columns: 1fr; }
  .consult-intro { padding-bottom: 20px; }
  .footer-grid { grid-template-columns: 150px 1fr; }
  .footer-copy { text-align: right; }
}

@media (max-width: 680px) {
  :root { --page: calc(100% - 28px); }
  body { font-size: 15px; }
  .brand-copy small { display: none; }
  .brand-mark { width: 36px; height: 40px; font-size: 30px; }
  .brand-copy strong { font-size: 20px; }
  .nav-cta { min-height: 40px; padding: 0 13px; font-size: 11px; }
  .hero { background: var(--paper); }
  .hero-grid { gap: 44px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(42px, 11.5vw, 48px); line-height: 1.15; letter-spacing: -0.04em; }
  .hero-lead br { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .button-primary { min-width: 0; width: 100%; }
  .text-link { align-self: flex-start; }
  .hero-facts { margin-top: 36px; }
  .hero-facts > div { padding: 13px 6px; }
  .hero-facts dt { font-size: 27px; }
  .hero-facts dd { font-size: 9px; }
  .work-order { box-shadow: 8px 8px 0 var(--orange); }
  .ticker { display: none; }
  .problem-section, .scope-section, .deliverables-section, .fit-section, .price-section, .consult-section { padding: 78px 0; }
  .process-section { padding: 78px 0 88px; }
  .problem-grid h2, .section-heading h2, .deliverables-title-wrap h2, .fit-column h2 { font-size: clamp(38px, 10.5vw, 44px); line-height: 1.18; }
  .consult-intro h2 { font-size: 35px; line-height: 1.22; letter-spacing: -0.035em; }
  .scope-grid { grid-template-columns: 1fr; }
  .scope-card { min-height: 250px; padding: 30px 24px; }
  .scope-rule { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 116px minmax(0, 1fr); gap: 16px; }
  .deliverable-list > div { grid-template-columns: 38px 100px 1fr; gap: 12px; min-height: 118px; }
  .deliverable-list h3 { font-size: 24px; }
  .deliverable-list p { font-size: 12px; }
  .fit-grid { grid-template-columns: 1fr; }
  .form-panel-head { padding: 15px 18px; }
  #inquiry-form { padding: 28px 18px 32px; }
  .form-row-2, .radio-grid { grid-template-columns: 1fr; }
  .radio-grid span { min-height: 66px; }
  .label-line { align-items: flex-start; }
  .receipt { flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; align-items: start; }
  .footer-copy { text-align: left; }
  .legal-main { padding: 65px 0 90px; }
  .legal-lead { font-size: 16px; }
}

@media (max-width: 360px) {
  .consult-intro h2 { font-size: 30px; }
  .price strong { font-size: 46px; }
  .price span { font-size: 12px; }
  .form-panel-head { font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
