/* Layout: a whiteboard session. Left-aligned agenda, marker highlights on key phrases. */
:root {
  color-scheme: light;
  --paper: #ffffff;
  --sheet: #ffffff;
  --tint: #f5f6f9;
  --ink: #18213d;
  --muted: #4a526b;
  --line: #e1e5ee;
  --marker: #e8bf2c;
  --marker-soft: rgba(232, 191, 44, .45);
  --action: #2558d8;
  --navy: #141c5c;
  --fv-bg: #f3f6fd;
  --fv-pale: #dbe4fb;
  --action-ink: #ffffff;
  --note: #fff3b8;
  --note-ink: #2d2a16;
  --tbd: #d6336c;
  --band: #18213d;
  --band-ink: #f5f7fa;
  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --font-latin: "Bricolage Grotesque", "Zen Kaku Gothic New", system-ui, sans-serif;
  --step--1: .875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 4.2vw, 2.6rem);
  --step-4: clamp(2.3rem, 6.4vw, 4.1rem);
  --wrap: 68rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-jp); font-size: 1.0625rem; line-height: 1.9;
  letter-spacing: .02em; -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 30; background: var(--paper);
}
img { max-width: 100%; }
a { color: var(--action); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.4; text-wrap: balance; margin: 0; font-weight: 900; letter-spacing: .03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.hl { background: linear-gradient(transparent 58%, var(--marker-soft) 58%, var(--marker-soft) 92%, transparent 92%); padding-inline: .1em; }
.eyebrow {
  font-family: var(--font-latin); font-weight: 700; font-size: var(--step--1);
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: flex; gap: .75rem; align-items: center;
}
.eyebrow span.jp { font-family: var(--font-jp); letter-spacing: .08em; text-transform: none; }
.tbd {
  color: var(--tbd); border-bottom: 2px dashed var(--tbd); font-weight: 700;
}
.tbd::after {
  content: "要確認"; font-size: .65em; font-weight: 700; margin-left: .35em; padding: .05em .4em;
  border: 1px solid var(--tbd); border-radius: 3px; vertical-align: .2em; letter-spacing: .05em;
}

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: .8rem; }
.wordmark {
  font-family: var(--font-latin); font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em;
  color: var(--ink); text-decoration: none; line-height: 1; display: flex; align-items: baseline; gap: .5rem;
}
.wordmark img { display: block; height: 34px; width: auto; }
.wordmark .logo-white { display: none; }
.wordmark small { font-family: var(--font-jp); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .1em; }
.nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: var(--step--1); font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--action); color: var(--action-ink); text-decoration: none; font-weight: 700;
  border-radius: 999px; padding: .85rem 1.6rem; line-height: 1.4; border: 2px solid var(--action);
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.small { padding: .5rem 1.1rem; font-size: var(--step--1); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }
@media (max-width: 860px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* Hero (home first view): centered copy framed by slanted panels */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--fv-bg); }
.hero .wrap { position: relative; max-width: 42rem; padding-block: 4.5rem 5rem; text-align: center; }
.hero .concept {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  color: var(--action); font-weight: 700; font-size: var(--step-0); letter-spacing: .12em; margin-bottom: 1.1rem;
}
.hero .concept::before, .hero .concept::after { content: ""; width: 2.2rem; height: 2px; background: currentColor; }
.hero h1 { font-size: var(--step-4); line-height: 1.3; font-weight: 900; }
.hero .lead { color: var(--muted); margin: 1.4rem auto 0; max-width: none; word-break: auto-phrase; font-size: .9rem; }
.hero .lead.prose { gap: .1rem; line-height: 1.85; }
.hero .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }
.fv-side { position: absolute; z-index: -1; inset-block: 0; left: 0; width: clamp(150px, 24vw, 360px); }
.fv-side.r { left: auto; right: 0; transform: scaleX(-1); }
.fv-side svg { display: block; width: 100%; height: 100%; }
.fv-slab.b { fill: var(--fv-pale); }
.fv-notes rect { fill: var(--note); opacity: .92; }
.fv-chart { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.fv-bar { fill: none; stroke-width: 7; stroke-linecap: round; }
.fv-bar.blue { stroke: var(--action); }
.fv-bar.navy { stroke: var(--navy); }
.fv-side svg > * { animation: fv-in .8s cubic-bezier(.2, .8, .2, 1) both; }
.fv-side svg > g { animation-delay: .12s; }
.fv-side svg > .fv-bar { animation-delay: .3s; }
@keyframes fv-in { from { opacity: 0; transform: translate(-28px, 18px); } }
@media (prefers-reduced-motion: reduce) { .fv-side svg > * { animation: none; } }
@media (max-width: 1100px) { .hero .wrap { max-width: calc(100% - 2 * clamp(150px, 22vw, 360px)); } .fv-side { width: clamp(150px, 22vw, 360px); } }
@media (max-width: 860px) {
  .hero .wrap { max-width: none; padding-block: 7.25rem 3rem; }
  .fv-side { inset-block: 0 auto; height: 6rem; width: 50%; }
  .hero .concept { font-size: var(--step--1); gap: .6rem; }
  .hero .concept::before, .hero .concept::after { width: 1.2rem; }
  .hero .btn { font-size: .95rem; padding-inline: 1.4rem; }
}
@media (max-width: 600px) { .hero .lead { font-size: .82rem; } .hero .lead.prose { line-height: 1.75; } }

/* Sections */
section { border-top: 1px solid var(--line); }
.section .wrap { padding-block: 5rem; }
.section-head { display: grid; gap: .9rem; margin-bottom: 2.6rem; }
.section-head h2 { text-wrap: pretty; }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--muted); }

.eyebrow { font-family: var(--font-latin); font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--action); display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: currentColor; }

/* Pains: a dark band, so the "problem" reads apart from the services below */
.pains-band { position: relative; background: var(--navy); color: #fff; border-top: 0; }
.pains-band::after {
  content: ""; position: absolute; left: 50%; bottom: -1.6rem; translate: -50% 0; width: 3.4rem; height: 1.6rem;
  background: var(--navy); clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.pains-band + section { border-top: 0; }
.pains-band .wrap { padding-block: 4.5rem 4.8rem; }
.pains-band .eyebrow { color: #9bb6ff; }
.pains { counter-reset: pain; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pains li {
  counter-increment: pain; display: grid; gap: .7rem; align-content: start;
  padding: 1.5rem 1.4rem; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  font-size: var(--step-0); font-weight: 700; line-height: 1.7; word-break: auto-phrase;
}
.pains li::before { content: counter(pain, decimal-leading-zero); font-family: var(--font-latin); font-weight: 800; font-size: var(--step-2); line-height: 1; color: #9bb6ff; }
.pains-after { word-break: auto-phrase; margin-top: 2.2rem; font-weight: 700; font-size: var(--step-1); text-align: center; color: rgba(255, 255, 255, .85); }
.pains-after .hl { color: #fff; background-image: linear-gradient(transparent 62%, color-mix(in srgb, var(--marker) 70%, transparent) 62%); }
@media (max-width: 860px) {
  .pains { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .pains li { grid-template-columns: 2.4rem minmax(0, 1fr); align-items: baseline; padding: 1.1rem 1.2rem; }
  .pains li::before { font-size: var(--step-0); }
  .pains-band .wrap { padding-block: 3rem 3.4rem; }
  .pains-after { font-size: var(--step-0); text-align: left; }
}

/* Philosophy */
.philosophy { background: var(--tint); }
.philosophy .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
.philosophy h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.3; }
.philosophy .body { display: grid; gap: 1.2rem; align-content: start; padding-top: .6rem; }
.name-origin { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem 3rem; align-items: center; padding-top: 3rem; border-top: 1px solid var(--line); }
.splitmark { font-family: var(--font-latin); font-weight: 800; font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: 1; letter-spacing: -.02em; position: relative; padding-block: 1.6rem; white-space: nowrap; }
.splitmark .gemba { box-shadow: inset 0 -.18em 0 var(--marker-soft); }
.splitmark .shared { color: var(--action); }
.splitmark .tag { position: absolute; font-family: var(--font-jp); font-size: .78rem; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.splitmark .tag.t1 { top: 0; left: 0; }
.splitmark .tag.t2 { bottom: 0; right: 0; }
.name-origin p { color: var(--muted); max-width: 32em; }
.name-origin p strong { color: var(--ink); }
@media (max-width: 860px) {
  .philosophy .wrap, .name-origin { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* Stance */
.stance { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 2.4rem 3rem; }
.stance li { display: grid; gap: .5rem; align-content: start; }
.stance h3 { font-size: var(--step-1); }
.stance h3::before { content: ""; display: block; width: 2.4rem; height: 6px; background: var(--marker); margin-bottom: .9rem; border-radius: 2px; }
.stance p { color: var(--muted); }

/* Entry offers */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
.offer { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 2.2rem; display: grid; gap: 1.1rem; align-content: start; }
.offer .kicker { font-family: var(--font-latin); font-weight: 700; font-size: .78rem; letter-spacing: .14em; color: var(--action); text-transform: uppercase; }
.offer h3 { font-size: var(--step-2); }
.offer p { color: var(--muted); }
.offer ul { display: grid; gap: .35rem; }
.offer li { padding-left: 1.3rem; position: relative; }
.offer ul:not(.ticks) li::before { content: ""; position: absolute; left: 0; top: .8em; width: .55rem; height: 2px; background: var(--ink); }
.offer .fine { font-size: var(--step--1); color: var(--muted); border-top: 1px solid var(--line); padding-top: 1rem; }
.offer.feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.4rem; align-items: start; border-top: 4px solid var(--marker); }
.feature-body { display: grid; gap: 1.1rem; align-content: start; }
.others-title { font-size: var(--step-1); margin: 3rem 0 1rem; }
.others { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.others a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700;
}
.others a::after { content: "→"; color: var(--action); }
.others a:hover { border-color: var(--ink); }
@media (max-width: 860px) { .offer.feature { grid-template-columns: minmax(0, 1fr); } .others { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .offers { grid-template-columns: minmax(0, 1fr); } .offer { padding: 1.6rem; } }

/* Pricing */
.pricing { background: var(--tint); }
.price-list { border-top: 2px solid var(--ink); }
.price-row { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) minmax(0, 12rem); gap: 1rem 2.5rem; padding-block: 1.8rem; border-bottom: 1px solid var(--line); align-items: start; }
.price-row h3 { font-size: var(--step-1); }
.price-row .unit { display: block; font-size: var(--step--1); color: var(--muted); font-weight: 500; margin-top: .2rem; }
.price-row .desc { color: var(--muted); }
.price-row .desc ul {
  margin-top: .8rem; display: grid; gap: .15rem; padding: .8rem 1rem;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 10px;
  font-size: var(--step--1); line-height: 1.7;
}
.price-row .desc li { display: flex; gap: .5rem; }
.price-row .desc li::before { content: ""; flex: none; width: .35rem; height: .35rem; margin-top: .62em; border-radius: 50%; background: var(--action); }
.price { font-family: var(--font-latin); font-weight: 800; font-size: var(--step-2); line-height: 1.2; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { font-family: var(--font-jp); font-size: .8rem; font-weight: 700; margin-left: .15rem; }
.price .per { display: block; font-family: var(--font-jp); font-size: .78rem; font-weight: 500; color: var(--muted); }
.price-row.free .price { color: var(--action); }
.price-col { display: grid; justify-items: end; gap: .9rem; align-content: start; }
.price-col .btn { white-space: nowrap; }
.plans { display: grid; gap: 1.4rem; }
.plan-name { font-weight: 700; color: var(--ink); }
.price-row .plans ul { margin-top: .4rem; }
.pricing-note { margin-top: 1.6rem; font-size: var(--step--1); color: var(--muted); }
@media (max-width: 760px) {
  .price-row { grid-template-columns: minmax(0, 1fr); gap: .6rem; }
  .price { text-align: left; }
  .price-col { justify-items: start; }
}

/* Process */
.process { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.process li { counter-increment: step; padding: 0 1rem 0 0; display: grid; gap: .5rem; align-content: start; position: relative; }
.process li::before {
  content: counter(step); font-family: var(--font-latin); font-weight: 800; font-size: 1.05rem;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--ink); background: var(--paper); position: relative; z-index: 1;
}
.process li::after { content: ""; position: absolute; top: 1.2rem; left: 2.4rem; right: 0; height: 2px; background: var(--line); }
.process li:last-child::after { display: none; }
.process li.key::before { background: var(--marker); border-color: var(--ink); color: #18213d; }
.process h3 { font-size: 1.02rem; margin-top: .4rem; }
.process p { font-size: var(--step--1); color: var(--muted); line-height: 1.75; }
@media (max-width: 960px) {
  .process { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .process li { grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1.1rem; padding: 0; }
  .process li::before { grid-row: span 2; }
  .process li::after { top: 2.4rem; bottom: -1.4rem; left: 1.15rem; right: auto; width: 2px; height: auto; }
  .process h3 { margin-top: .3rem; }
}

/* Profile */
.profile .wrap { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 3.5rem; }
.portrait {
  aspect-ratio: 4 / 5; max-width: 100%; border-radius: 10px; background: var(--sheet); border: 1px dashed var(--line);
  display: grid; place-items: center; text-align: center; color: var(--muted); font-size: var(--step--1); padding: 1rem;
}
.portrait strong { display: block; font-family: var(--font-latin); font-size: 3.2rem; color: var(--ink); line-height: 1.1; }
.profile h2 { font-size: var(--step-3); }
.profile .role { color: var(--muted); font-weight: 500; margin-top: .3rem; }
.career { margin-top: 1.6rem; display: grid; gap: .5rem; }
.career li { padding-left: 1.4rem; position: relative; }
.career li::before { content: ""; position: absolute; left: 0; top: .78em; width: .6rem; height: .6rem; background: var(--marker); border-radius: 50%; }
.message { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); display: grid; gap: 1rem; max-width: 40em; }
@media (max-width: 760px) { .profile .wrap { grid-template-columns: minmax(0, 1fr); gap: 2rem; } .portrait { max-width: 14rem; } }

/* Knowledge */
.topics { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2rem; }
.topics li { border: 1px solid var(--line); background: var(--sheet); border-radius: 999px; padding: .35rem 1rem; font-size: var(--step--1); font-weight: 500; }

/* FAQ */
.faq { border-top: 2px solid var(--ink); max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 2.5rem 1.25rem 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; font-family: var(--font-latin); font-weight: 800; color: var(--action); margin-right: .7rem; }
.faq summary::after { content: "+"; position: absolute; right: .4rem; top: 1.05rem; font-family: var(--font-latin); font-size: 1.5rem; font-weight: 500; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 1.4rem 2.1rem; color: var(--muted); }

/* Contact */
.contact { background: var(--band); color: var(--band-ink); border-top: 0; }
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 3.5rem; padding-block: 5.5rem; }
.contact .eyebrow { color: color-mix(in srgb, var(--band-ink) 70%, transparent); }
.contact h2 { font-size: var(--step-3); margin-top: 1rem; }
.contact h2 .hl { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--marker) 55%, transparent) 60%, color-mix(in srgb, var(--marker) 55%, transparent) 92%, transparent 92%); }
.contact .lead { margin-top: 1.2rem; color: color-mix(in srgb, var(--band-ink) 82%, transparent); max-width: 32em; }
.contact .agenda { margin-top: 1.6rem; display: grid; gap: .5rem; }
.contact .agenda li { padding-left: 1.6rem; position: relative; }
.contact .agenda li::before { content: "✓"; position: absolute; left: 0; color: var(--marker); font-weight: 900; }
.contact .actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.contact .btn { background: var(--marker); border-color: var(--marker); color: #18213d; }
.contact .mail { font-size: var(--step--1); color: color-mix(in srgb, var(--band-ink) 80%, transparent); }
.contact .mail a { color: var(--band-ink); font-weight: 700; }
.fit { border: 1px solid color-mix(in srgb, var(--band-ink) 25%, transparent); border-radius: 10px; padding: 2rem; align-self: start; display: grid; gap: 1rem; }
.fit h3 { font-size: var(--step-1); }
.fit ul { display: grid; gap: .6rem; }
.fit li { padding-left: 1.4rem; position: relative; color: color-mix(in srgb, var(--band-ink) 85%, transparent); }
.fit li::before { content: ""; position: absolute; left: 0; top: .8em; width: .6rem; height: 2px; background: var(--marker); }
.fit p { font-size: var(--step--1); color: color-mix(in srgb, var(--band-ink) 70%, transparent); }
.contact .tbd { color: var(--marker); border-color: var(--marker); }
.contact .tbd::after { border-color: var(--marker); }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-block: 4rem; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; align-items: flex-end; padding-block: 2.5rem 3rem; }
.site-footer .wordmark img { height: 30px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--muted); }

/* ---- Multi-page additions ---- */

h1, h2, h3, .pullquote { word-break: auto-phrase; }

/* Active nav + phone menu */
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--marker); text-decoration-thickness: 3px; text-underline-offset: 6px; font-weight: 700; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: var(--step--1);
  border: 2px solid var(--ink); border-radius: 999px; padding: .4rem 1rem; line-height: 1.4;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--ink); color: var(--paper); }
.menu nav {
  position: absolute; right: 0; top: calc(100% + .6rem); width: min(16rem, calc(100vw - 32px));
  background: var(--sheet); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 40px -20px rgba(24, 33, 61, .45); padding: .5rem; display: grid;
}
.menu nav a { color: var(--ink); text-decoration: none; padding: .7rem .9rem; border-radius: 6px; font-weight: 500; }
.menu nav a[aria-current="page"] { background: var(--tint); font-weight: 700; }
.menu nav a.menu-cta { background: var(--action); color: var(--action-ink); text-align: center; font-weight: 700; margin-top: .4rem; }
@media (max-width: 860px) {
  .menu { display: block; }
  .site-header .btn { margin-left: auto; }
}
@media (max-width: 420px) { .site-header .btn { display: none; } .menu { margin-left: auto; } }

/* Page hero (sub pages): a pale band with a slanted accent, echoing the home first view */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--fv-bg); border-bottom: 1px solid var(--line); }
.page-hero::before, .page-hero::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; transform: skewX(-14deg); }
.page-hero::before { right: -6rem; width: clamp(8rem, 20vw, 17rem); background: var(--fv-pale); }
.page-hero::after { right: calc(clamp(8rem, 20vw, 17rem) - 4.5rem); width: 6px; border-radius: 3px; top: 18%; bottom: 18%; background: var(--action); }
.page-hero .wrap { padding-block: 3rem 2.8rem; display: grid; gap: 1rem; max-width: var(--wrap); }
.page-hero h1 { font-size: clamp(1.75rem, 4.4vw, 2.8rem); line-height: 1.35; max-width: 18em; }
.page-hero h1.long { font-size: clamp(1.6rem, 4.4vw, 2.8rem); }
.page-hero h1.long ~ .lead { max-width: 46rem; word-break: auto-phrase; }
.hero-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: .4rem; font-size: var(--step--1); color: var(--muted); }
.hero-contact a:not(.btn) { font-family: var(--font-latin); font-weight: 700; }
.nb { display: inline-block; }
@media (min-width: 700px) { .nb-wide { display: inline-block; } }
.page-hero .lead { color: var(--muted); max-width: 46rem; font-size: .95rem; line-height: 1.85; word-break: auto-phrase; }
.crumb { font-size: var(--step--1); color: var(--muted); }
.crumb a { color: var(--muted); }
@media (max-width: 700px) { .page-hero .wrap { padding-block: 1.75rem 2rem; } .page-hero::before { right: -7rem; opacity: .7; } .page-hero::after { display: none; } }

/* Prose blocks */
.prose { display: grid; gap: 1.2rem; max-width: 40em; }
.prose h3 { font-size: var(--step-1); margin-top: .8rem; }
.more { display: inline-flex; gap: .4rem; align-items: center; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--marker); padding-bottom: .1rem; width: fit-content; }
.more::after { content: "→"; font-family: var(--font-latin); }
.more:hover { border-bottom-color: var(--action); }

/* Two-column text+aside */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.split.narrow-left { grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); }
@media (max-width: 860px) { .split, .split.narrow-left { grid-template-columns: minmax(0, 1fr); gap: 2rem; } }

/* Home teasers */
.teasers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.teaser {
  display: grid; gap: .7rem; align-content: start; padding: 1.8rem; border-radius: 10px;
  background: var(--sheet); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.teaser:hover { border-color: var(--ink); transform: translateY(-2px); }
.teaser .kicker { font-family: var(--font-latin); font-weight: 700; font-size: .78rem; letter-spacing: .14em; color: var(--action); text-transform: uppercase; }
.teaser h3 { font-size: var(--step-1); }
.teaser p { color: var(--muted); font-size: .95rem; }
.teaser .go { font-weight: 700; font-size: var(--step--1); margin-top: .3rem; }
.teaser .go::after { content: " →"; font-family: var(--font-latin); }
@media (max-width: 860px) { .teasers { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .teaser { transition: none; } .teaser:hover { transform: none; } }

/* Question chips (services hero) */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .8rem; }
.chips a {
  display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; color: var(--ink);
  background: var(--sheet); border: 1.5px solid var(--ink); border-radius: 999px; padding: .5rem 1.05rem; font-weight: 700; font-size: .88rem; line-height: 1.4;
}
.chips a::after { content: "↓"; font-family: var(--font-latin); color: var(--action); }
.chips a:hover { background: var(--marker-soft); }

/* Service detail blocks */
.service { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3rem; }
.service h2 { font-size: var(--step-2); margin-top: .8rem; }
.service .side p { color: var(--muted); margin-top: 1rem; }
.service .main { display: grid; gap: 2rem; align-content: start; }
.service h3 { font-size: var(--step-1); margin-bottom: .7rem; }
.ticks { display: grid; gap: .45rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--action); font-weight: 900; }
/* Flow: one diagram, four chevrons that deepen in color as the work moves forward */
.flow {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: f;
  background: var(--sheet); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; column-gap: .25rem;
}
.flow li { counter-increment: f; display: grid; grid-template-rows: auto 1fr; gap: .7rem; }
.flow b {
  display: grid; align-content: center; min-height: 4.4rem; padding: .6rem 1.2rem .6rem 1.5rem; word-break: auto-phrase;
  font-size: .85rem; line-height: 1.45; color: var(--ink); background: #dbe4fb;
  clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 50%, calc(100% - 1rem) 100%, 0 100%, 1rem 50%);
}
.flow li:first-child b { padding-left: .9rem; clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 50%, calc(100% - 1rem) 100%, 0 100%); border-radius: 6px 0 0 6px; }
.flow b::before { content: "STEP " counter(f); font-family: var(--font-latin); font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--action); }
.flow li:nth-child(2) b { background: #b3c7f7; }
.flow li:nth-child(3) b { background: #5d84e4; color: #fff; }
.flow li:nth-child(4) b { background: var(--action); color: #fff; }
.flow li:nth-child(n+3) b::before { color: rgba(255, 255, 255, .8); }
.flow li span { display: block; color: var(--muted); font-size: var(--step--1); line-height: 1.6; padding-inline: .9rem .6rem; word-break: auto-phrase; }
@media (max-width: 860px) {
  .flow { grid-template-columns: minmax(0, 1fr); row-gap: .25rem; padding: 1rem; }
  .flow li { grid-template-columns: 11rem minmax(0, 1fr); grid-template-rows: none; align-items: center; gap: .9rem; }
  .flow b, .flow li:first-child b {
    min-height: 4.2rem; padding: .5rem .9rem 1.1rem; border-radius: 0;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - .7rem), 50% 100%, 0 calc(100% - .7rem));
  }
  .flow li:first-child b { border-radius: 6px 6px 0 0; }
  .flow li span { padding: 0; }
}
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.role { border-radius: 10px; padding: 1.4rem; border: 1px solid var(--line); background: var(--sheet); }
.role.us { border: 2px solid var(--ink); }
.role h4 { margin: 0 0 .6rem; font-size: 1rem; }
.role ul { display: grid; gap: .3rem; }
.role li::before { content: "・"; }
.service .ticks {
  gap: .3rem; padding: 1rem 1.2rem; background: var(--sheet); border: 1px solid var(--line); border-radius: 10px;
  font-size: var(--step--1); line-height: 1.75; word-break: auto-phrase;
}
.service .ticks li { padding-left: 1.4rem; }
.svc-price { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: baseline; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--muted); }
.svc-price strong { font-family: var(--font-latin); font-size: 1.15rem; color: var(--ink); }
.fine { font-size: var(--step--1); color: var(--muted); }
.areas { display: flex; flex-wrap: wrap; gap: .6rem; }
.areas li { border: 1px solid var(--line); background: var(--sheet); border-radius: 999px; padding: .4rem 1.1rem; font-weight: 500; }
@media (max-width: 860px) {
  .service { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .roles { grid-template-columns: minmax(0, 1fr); }
}

/* Values (philosophy) */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); counter-reset: v; }
.values li { counter-increment: v; padding: 1.6rem 1.4rem 1.6rem 0; display: grid; gap: .5rem; align-content: start; border-bottom: 1px solid var(--line); }
.values li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.values h3 { font-size: var(--step-1); }
.values h3 small { display: block; font-family: var(--font-latin); font-size: .75rem; font-weight: 700; letter-spacing: .14em; color: var(--action); text-transform: uppercase; margin-bottom: .3rem; }
.values p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) {
  .values { grid-template-columns: minmax(0, 1fr); }
  .values li, .values li + li { padding: 1.3rem 0; border-left: 0; }
}

/* Pricing promises */
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.promises li { display: grid; gap: .5rem; align-content: start; }
.promises h3 { font-size: 1.1rem; }
.promises h3::before { content: ""; display: block; width: 2.4rem; height: 6px; background: var(--marker); margin-bottom: .8rem; border-radius: 2px; }
.promises p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .promises { grid-template-columns: minmax(0, 1fr); } }

/* Detailed process timeline */
.timeline { display: grid; gap: 0; counter-reset: t; max-width: 50rem; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 3rem minmax(0, 1fr); column-gap: 1.4rem; position: relative; padding-bottom: 2.2rem; }
.timeline li::before {
  content: counter(t); font-family: var(--font-latin); font-weight: 800; font-size: 1.15rem;
  width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid var(--ink); background: var(--paper); grid-row: span 3; position: relative; z-index: 1;
}
.timeline li::after { content: ""; position: absolute; left: 1.45rem; top: 3rem; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.key::before { background: var(--marker); color: #18213d; }
.timeline h3 { font-size: var(--step-1); padding-top: .55rem; }
.timeline .when { font-size: var(--step--1); color: var(--action); font-weight: 700; }
.timeline p { color: var(--muted); margin-top: .4rem; }

/* Contract terms */
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.terms li { padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.terms li span { display: block; font-weight: 400; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 760px) { .terms { grid-template-columns: minmax(0, 1fr); } }

/* About page */
.about-hero .wrap { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3.5rem; align-items: center; padding-block: 3.5rem 4.5rem; }
.about-hero .section-head { grid-column: 1 / -1; margin-bottom: -1rem; }
.about-hero .section-head h1 { font-size: var(--step-3); }
.about-hero .name { font-size: var(--step-4); line-height: 1.3; margin-top: .8rem; }
.about-hero .prose { margin-top: 1.4rem; color: var(--muted); }
@media (max-width: 860px) { .about-hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: 1.75rem 3rem; } .about-hero .portrait { max-width: 15rem; } }
.photo {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: 10px; border: 1px dashed var(--line); background: var(--sheet);
  display: grid; place-items: center; color: var(--muted); font-size: var(--step--1); text-align: center; padding: 1rem;
}
.photo.tall { aspect-ratio: 3 / 4; }
.moments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.moments figure { margin: 0; display: grid; gap: .7rem; }
.moments figcaption { font-size: .95rem; }
.moments figcaption strong { display: block; }
@media (max-width: 860px) { .moments { grid-template-columns: minmax(0, 1fr); } }
.career-head { gap: .2rem; }
.career-head h2 { margin-bottom: .6rem; }
.career-head p { font-size: .92rem; line-height: 1.7; }
.chapters { display: grid; gap: 3.2rem; position: relative; padding-left: 2.6rem; }
.chapters::before { content: ""; position: absolute; left: .45rem; top: .6rem; bottom: .6rem; width: 2px; background: linear-gradient(var(--fv-pale), var(--action)); }
.chapter { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 2.5rem; align-items: start; position: relative; }
.chapter::before { content: ""; position: absolute; left: -2.6rem; top: .45rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--sheet); border: 3px solid var(--action); }
.chapter:last-child::before { background: var(--action); box-shadow: 0 0 0 6px color-mix(in srgb, var(--action) 18%, transparent); }
.chapter .where { display: grid; line-height: 1.2; }
.chapter .where .years { font-family: var(--font-latin); font-weight: 700; font-size: var(--step--1); color: var(--action); letter-spacing: .08em; }
.chapter .where b { font-family: var(--font-latin); font-weight: 800; font-size: var(--step-3); margin-top: .5rem; letter-spacing: 0; }
.chapter .where small { word-break: auto-phrase; font-weight: 500; font-size: .82rem; color: var(--muted); margin-top: .6rem; letter-spacing: .06em; line-height: 1.6; }
.chapter > div:last-child { background: var(--sheet); border-radius: 14px; padding: 1.6rem 1.8rem; box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(24, 33, 61, .25); }
.chapter h3 { font-size: var(--step-1); margin-bottom: .8rem; }
.chapter p { color: #3d4560; font-size: .875rem; line-height: 1.8; letter-spacing: .01em; word-break: auto-phrase; }
.chapter p + p { margin-top: .45rem; }
@media (max-width: 960px) { .chapter { grid-template-columns: minmax(0, 1fr); gap: 1rem; } }
@media (max-width: 600px) {
  .chapters { padding-left: 1.9rem; gap: 2.6rem; }
  .chapters::before { left: .4rem; }
  .chapter::before { left: -1.9rem; width: .9rem; height: .9rem; }
  .chapter > div:last-child { padding: 1.2rem 1.2rem; }
}
.pullquote {
  margin: 1rem 0; padding: 1.6rem 0 1.6rem 1.6rem; border-left: 6px solid var(--marker);
  font-size: var(--step-2); font-weight: 900; line-height: 1.55; color: var(--ink);
}
.signoff { font-weight: 700; color: var(--ink); }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: .7rem 2rem; border-top: 2px solid var(--ink); padding-top: 1.4rem; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }
@media (max-width: 600px) { .facts { grid-template-columns: minmax(0, 1fr); gap: .2rem; } .facts dd { margin-bottom: .8rem; } }

/* FAQ groups */
.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group h2 { font-size: var(--step-2); margin-bottom: 1rem; }

/* Contact page steps */
.apply { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.apply .card { background: var(--sheet); border: 1px solid var(--line); border-radius: 10px; padding: 2rem; display: grid; gap: 1rem; align-content: start; }
.apply .card.primary { border: 2px solid var(--ink); }
.apply.single { grid-template-columns: minmax(0, 40rem); }
.apply h3 { font-size: var(--step-1); }
.apply p { color: var(--muted); }
.copyline { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-family: var(--font-latin); font-weight: 700; font-size: 1.15rem; }
@media (max-width: 760px) { .apply { grid-template-columns: minmax(0, 1fr); } .apply .card { padding: 1.5rem; } }

/* Legal page */
.legal { max-width: 46rem; display: grid; gap: 2.2rem; }
.legal h2 { font-size: var(--step-1); margin-bottom: .6rem; }
.legal p, .legal li { color: var(--muted); }
.legal ol, .legal ul { display: grid; gap: .3rem; padding-left: 1.4rem; list-style: decimal; }
.legal ul { list-style: disc; }
.draft-banner { border: 2px dashed var(--tbd); color: var(--tbd); border-radius: 8px; padding: 1rem 1.2rem; font-weight: 700; font-size: var(--step--1); }

/* Closing CTA band (compact) */
.cta-band { background: var(--band); color: var(--band-ink); border-top: 0; }
.cta-band .wrap { padding-block: 4.5rem; display: flex; flex-wrap: wrap; gap: 2rem 3rem; align-items: center; justify-content: space-between; }
.cta-band h2 { font-size: var(--step-3); }
.cta-band h2 .hl { background: linear-gradient(transparent 60%, color-mix(in srgb, var(--marker) 55%, transparent) 60%, color-mix(in srgb, var(--marker) 55%, transparent) 92%, transparent 92%); }
.cta-band p { color: color-mix(in srgb, var(--band-ink) 80%, transparent); margin-top: .8rem; max-width: 30em; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-band .btn { background: var(--marker); border-color: var(--marker); color: #18213d; }
.cta-band .btn.ghost { background: transparent; color: var(--band-ink); border-color: var(--band-ink); }

/* Footer columns */
.site-footer .cols { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; }
.site-footer .col { display: grid; gap: .45rem; align-content: start; }
.site-footer .col b { color: var(--ink); font-size: .8rem; letter-spacing: .1em; }

/* Portrait photo */
.portrait-photo { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 10px; }
@media (max-width: 860px) { .portrait-photo { max-width: 22rem; } }

/* Header on navy, so it reads apart from the white page */
body::before { background: var(--navy); }
.site-header { background: var(--navy); border-bottom: 0; backdrop-filter: none; }
.site-header .wordmark .logo-color { display: none; }
.site-header .wordmark .logo-white { display: block; }
.site-header .nav a { color: rgba(255, 255, 255, .86); }
.site-header .nav a:hover, .site-header .nav a[aria-current="page"] { color: #fff; }
.site-header .btn.small { background: #fff; color: var(--navy); border-color: #fff; }
.site-header .menu summary { color: #fff; border-color: rgba(255, 255, 255, .7); }
.site-header .menu[open] summary { background: #fff; color: var(--navy); }
