/* Quiet editorial direction. Keeps the established mobile content and interactions. */
:root {
  --ink: #25313c;
  --paper: #ffffff;
  --muted: #505b65;
  --line: #dce2e7;
  --accent: #2c5276;
  --accent-deep: #244865;
  --surface: #f4f7fa;
  --max: 1280px;
  --pad: clamp(24px, 4.5vw, 64px);
}

html { color-scheme: light; scroll-padding-top: 100px; }
body { font-size: 1.0625rem; line-height: 1.75; }
*, *::before, *::after { box-sizing: border-box; }
main > *, main article, main aside, main section > div { min-width: 0; }
p, h1, h2, h3, strong, label, a { overflow-wrap: break-word; }
h1, h2, h3 { hyphens: manual; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.prototype-bar { display: none; }
.site-header { background: rgba(255,255,255,.98); height: 80px; gap: 22px; }
.brand { font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.brand-mark { color: var(--accent); background: transparent; border-right: 1px solid var(--line); width: 42px; font-size: 1rem; }
.site-nav { font-size: .9375rem; gap: clamp(16px, 1.6vw, 24px); }
.header-cta { color: var(--accent); border-color: #acbccb; border-radius: var(--container-radius); }
.header-cta:hover { color: var(--accent-deep); background: #edf3f7; }
.section { padding-top: clamp(64px, 7vw, 100px); padding-bottom: clamp(64px, 7vw, 100px); }
.section-dark { color: var(--ink); background: var(--surface); border-color: var(--line); }
.section-kicker, .eyebrow { color: var(--muted); font-size: .9375rem; letter-spacing: .035em; font-weight: 400; text-transform: none; margin-bottom: 24px; }
.section-kicker::before, .eyebrow::before { display: none; }
h1, h2 { letter-spacing: -.025em; line-height: 1.14; }
h1 { font-size: clamp(2.6rem, 4.8vw, 4.35rem); max-width: 760px; }
h2 { font-size: clamp(2rem, 3.4vw, 3.05rem); }
h3 { line-height: 1.25; }
.large-copy { font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.5; letter-spacing: -.01em; }
.button { font-size: 1rem; font-weight: 600; border-radius: var(--container-radius); min-height: 52px; transition: background .2s ease, border-color .2s ease; }
.button:hover { transform: none; }
.button-primary, .button-accent { color: var(--accent-deep); background: #e8f0f6; border-color: #afc1d0; }
.button-primary:hover, .button-accent:hover { color: var(--accent-deep); background: #dce8f1; border-color: var(--accent); }
.text-link, .text-link.light { font-size: 1rem; color: var(--accent); font-weight: 500; line-height: 1.6; border-bottom-color: #b9c9d6; max-width: 100%; }
.text-link span { flex-shrink: 0; }
.text-link.muted { color: var(--muted); }
.text-link:hover span { transform: none; }
.skip-link { color: var(--ink); background: #e8f0f6; }

.hero { min-height: 0; padding: 88px var(--pad) 76px; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.hero-copy { min-height: 0; padding: 0; }
.hero-lead { font-family: var(--sans); font-size: 1.125rem; line-height: 1.7; max-width: 630px; margin-bottom: 32px; color: var(--muted); }
.hero-actions { margin: 0; gap: 24px; flex-wrap: wrap; }
.hero-note { font-size: .9375rem; margin-top: 34px; line-height: 1.7; border: 0; padding: 0; }
.hero-note-panel { padding: 8px 0 8px 30px; border-left: 1px solid #bdcad5; }
.note-label { font-size: .8125rem; color: var(--muted); margin-bottom: 24px; }
.hero-note-panel blockquote { margin: 0 0 30px; font-family: var(--serif); font-size: 1.65rem; line-height: 1.5; letter-spacing: -.015em; }
.note-author { display: grid; gap: 5px; }
.note-author strong { font-size: .95rem; font-weight: 500; }
.note-author span { color: var(--muted); font-size: .8125rem; }

/* Supplied portrait: quiet editorial placement, with the original image intact. */
.hero-portrait-panel { border-left: 0; padding: 0; max-width: 310px; justify-self: end; }
.hero-portrait { margin: 0 0 22px; }
.hero-portrait img, .about-portrait img { display: block; width: 100%; height: auto; border-radius: 3px; }
.hero-portrait figcaption { margin-top: 12px; font-size: .9375rem; color: var(--muted); }
.hero-portrait-panel blockquote { font-size: 1.18rem; line-height: 1.6; margin: 0; }
.portrait-hero { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 0 64px; align-items: center; }
.portrait-hero .breadcrumbs { grid-column: 1 / -1; }
.portrait-hero-copy { min-width: 0; }
.about-portrait { margin: 0; }

.section-head { gap: 48px; align-items: start; margin-bottom: 44px; }
.section-head p { line-height: 1.7; padding-top: 5px; }
.situation-grid { border: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.situation-card { min-height: 0; padding: 25px 0 30px; border: 0; border-top: 1px solid var(--line); }
.situation-card > span { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.situation-card h3 { margin: 15px 0 14px; font-size: 1.5rem; line-height: 1.3; }
.situation-card p { font-size: 1rem; }
.accent-card { color: var(--ink); background: transparent; }
.accent-card > span, .accent-card p { color: var(--muted); }

.system-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; }
.system-intro { position: static; }
.system-intro p { color: var(--muted); }
.system-list, .system-list li { border-color: #d4dfe7; }
.system-list li { grid-template-columns: 30px minmax(0, 1fr); grid-template-rows: auto auto; gap: 3px 15px; padding: 18px 0; min-height: 86px; }
.system-list li:hover { padding-left: 0; color: var(--ink); }
.system-list span { grid-row: 1 / 3; align-self: start; padding-top: 3px; font-size: .8125rem; color: var(--accent); }
.system-list strong { font-size: 1.375rem; line-height: 1.3; }
.system-list em { grid-column: 2; color: var(--muted); font-size: .875rem; }
.method-grid { margin-bottom: 48px; gap: 56px; }
.principles { border-top: 1px solid var(--line); }
.principles article { min-height: 0; padding-top: 24px; }
.principles h3 { margin-top: 24px; font-size: 1.4rem; }
.principles p { font-size: 1rem; }
.principles article > span { font-weight: 400; font-size: .8125rem; }

.audit { background: #f5f8fb; }
.audit-top { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; margin-bottom: 44px; }
.audit-top h2 { max-width: 610px; }
.audit-price { border: 0; border-left: 1px solid #bdcad5; background: transparent; padding: 8px 0 8px 30px; }
.audit-price strong { font-size: 2.45rem; letter-spacing: -.02em; line-height: 1.35; }
.audit-price span, .audit-price small { font-size: .8125rem; }
.audit-flow { border-color: #c9d7e2; }
.audit-flow > div { min-height: 155px; padding: 20px; border-color: #d4dfe7; }
.audit-flow strong { font-size: 1.375rem; }
.audit-flow small { font-size: .875rem; line-height: 1.5; }
.audit-bottom { grid-template-columns: 1fr; gap: 26px; padding-top: 30px; }
.audit-bottom p { font-size: 1.25rem; max-width: 800px; line-height: 1.5; }
.audit-bottom > div { justify-content: flex-start; flex-wrap: wrap; }
.audit-details p { font-size: 1rem; }

.case-list { border-left: 0; border-top: 0; gap: 0 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case, .case-featured { min-height: 0; padding: 30px 0 36px; border: 0; border-top: 1px solid var(--line); }
.case-featured { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 0 40px; }
.case-meta { color: var(--muted); font-size: .9375rem; text-transform: none; letter-spacing: 0; line-height: 1.6; }
.case h3, .case:not(.case-featured) h3 { margin: 28px 0 18px; font-size: 1.75rem; line-height: 1.28; letter-spacing: -.015em; }
.case-featured h3 { font-size: 2.15rem; }
.case p { font-size: 1rem; line-height: 1.7; }
.case .text-link { margin-top: 28px; }
.case-result { padding-left: 26px; }
.case-result strong { font-size: clamp(2.2rem, 4vw, 3.25rem); letter-spacing: -.03em; line-height: 1.3; white-space: nowrap; }
.case-result span, .case-stat span { font-size: .875rem; line-height: 1.6; margin-top: 8px; }
.case-stat { margin: 24px 0 0; }
.case-stat strong { font-size: 2rem; color: var(--accent); line-height: 1.3; letter-spacing: -.02em; }
.case-black { color: var(--ink); background: transparent; }
.case-black p, .case-black .case-meta, .case-black .case-stat span { color: var(--muted); }
.about { grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: 60px; }
.about-number { font-size: 5.5rem; letter-spacing: -.035em; line-height: 1; position: static; }
.about-number span { margin: 18px 0 0; font-size: .875rem; letter-spacing: 0; }
.about-copy h2 { margin-bottom: 30px; }
.timeline strong { line-height: 1.4; }
.timeline span { font-size: .8125rem; }
.article { background: var(--surface); grid-template-columns: .35fr 1.65fr; gap: 48px; }
.article h2 { font-size: clamp(1.9rem, 3.1vw, 2.7rem); line-height: 1.25; }
.article-label { color: var(--muted); font-size: .8125rem; font-weight: 400; text-transform: none; letter-spacing: 0; }
.article .text-link span { color: var(--accent); }

.contact { background: #fff; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; }
.contact-intro > p:last-child { color: var(--muted); }
.contact-form { align-content: start; gap: 22px 20px; }
.contact-form label { color: var(--ink); font-size: .9375rem; }
.contact-form input, .contact-form textarea { color: var(--ink); background: #fff; border: 1px solid #b6c3ce; border-radius: 3px; padding: 12px; min-height: 48px; font-size: 1rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #afc5d6; outline-offset: 2px; }
.contact-form .consent { align-items: flex-start; line-height: 1.5; }
.contact-form .consent input { flex: 0 0 18px; min-height: 18px; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; }
.form-actions { align-items: flex-start; }
.form-actions > span { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.form-success { color: var(--ink); background: var(--surface); border-color: #b6c3ce; }
.form-success span { color: var(--muted); font-size: 1rem; }
.site-footer { font-size: .9375rem; border-top: 1px solid var(--line); }
.site-footer > div:first-child strong { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.prototype-toast { color: var(--ink); background: #fff; border: 1px solid #b6c3ce; box-shadow: 0 8px 28px rgba(32,48,64,.10); }

@media (max-width: 1200px) {
  .site-header { grid-template-columns: 1fr auto; }
  .hero { gap: 40px; padding-top: 64px; padding-bottom: 60px; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .hero-copy { min-height: 0; }
  .hero-note-panel blockquote { font-size: 1.4rem; }
  .system-layout, .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .site-nav a:last-child { color: var(--accent); background: #e8f0f6; }
}

@media (max-width: 720px) {
  :root { --pad: 22px; }
  body { min-width: 0; overflow-x: visible; font-size: 1.0625rem; }
  main { overflow: visible; }
  html { scroll-padding-top: 80px; }
  .site-header { height: 64px; padding: 0 18px; }
  .brand { font-size: 1.125rem; }
  .brand-mark { font-size: .9375rem; width: 36px; }
  .site-nav { padding-left: 22px; padding-right: 22px; }
  .site-nav a { font-size: 1.55rem; }
  .site-nav a:last-child { font-size: 1rem; color: var(--accent); background: #e8f0f6; border: 1px solid #b6c3ce; border-radius: var(--container-radius); }
  h1, h2, h3 { overflow-wrap: normal; word-break: normal; }
  h1 { font-size: clamp(2rem, 8.65vw, 2.55rem); line-height: 1.15; letter-spacing: -.025em; margin-bottom: 24px; }
  h2 { font-size: clamp(1.75rem, 7.5vw, 2.2rem); line-height: 1.2; letter-spacing: -.02em; }
  h2 br { display: none; }
  .section { padding-top: 52px; padding-bottom: 52px; }
  .section-kicker, .eyebrow { font-size: .9375rem; margin-bottom: 18px; }
  .hero { padding: 44px var(--pad) 42px; grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-copy { padding: 0; }
  .hero-lead { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.75; margin-bottom: 28px; }
  .hero-actions { width: 100%; gap: 20px; align-items: stretch; }
  .hero-note { margin-top: 26px; font-size: .9375rem; padding: 0; }
  .hero-note-panel { padding: 2px 0 2px 18px; }
  .note-label { margin-bottom: 12px; }
  .hero-note-panel blockquote { font-size: 1.1875rem; line-height: 1.5; margin-bottom: 14px; }
  .note-author { display: none; }
  .hero-portrait-panel { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; max-width: none; width: 100%; justify-self: stretch; padding: 24px 0 0; border-top: 1px solid var(--line); border-left: 0; align-items: center; }
  .hero-portrait { margin: 0; }
  .hero-portrait figcaption { margin-top: 8px; font-size: .875rem; }
  .hero-portrait-panel blockquote { font-size: 1rem; line-height: 1.6; margin: 0; }
  .portrait-hero { grid-template-columns: minmax(0,1fr); gap: 0; }
  .about-portrait { width: 180px; margin-top: 28px; }
  .button { min-height: 52px; font-size: 1rem; }
  .text-link { font-size: 1rem; width: fit-content; }
  .section-head { gap: 22px; margin-bottom: 28px; }
  .section-head > p, .system-intro p, .method-copy > p:last-child { font-size: 1rem; }
  .situation-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .situation-card, .situation-card.accent-card { margin: 0; padding: 23px 0 26px; min-height: 0; }
  .situation-card h3 { margin: 13px 0 12px; font-size: 1.375rem; }
  .situation-card p { font-size: 1rem; line-height: 1.65; }
  .system-layout { gap: 32px; }
  .system-intro h2 { margin-bottom: 22px; }
  .system-list li { min-height: 0; padding: 18px 0; gap: 4px 8px; grid-template-columns: 27px minmax(0, 1fr); }
  .system-list strong { font-size: 1.2rem; }
  .system-list em { font-size: .875rem; }
  .method-grid { gap: 24px; margin-bottom: 30px; }
  .large-copy { font-size: 1.1875rem; line-height: 1.6; }
  .principles h3 { font-size: 1.375rem; margin-top: 18px; }
  .principles p { font-size: 1rem; }
  .audit-top { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-bottom: 30px; }
  .audit-price { min-width: 0; border-left: 0; padding: 0; }
  .audit-price strong { font-size: 2.2rem; }
  .audit-flow { grid-template-columns: minmax(0, 1fr); }
  .audit-flow > div { min-height: 0; padding: 18px 0; grid-template-columns: 30px minmax(0, 1fr); }
  .audit-flow strong { font-size: 1.25rem; }
  .audit-flow small { font-size: .875rem; }
  .audit-bottom { gap: 24px; }
  .audit-bottom > div { gap: 20px; }
  .audit-bottom p { font-size: 1.125rem; }
  .case-list { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .case, .case-featured, .case-black { display: flex; min-height: 0; margin: 0; padding: 24px 0 30px; }
  .case h3, .case:not(.case-featured) h3 { margin: 22px 0 16px; font-size: 1.5rem; line-height: 1.3; }
  .case p { font-size: 1rem; }
  .case-meta { font-size: .875rem; }
  .case-featured .case-result { align-self: flex-start; margin: 20px 0 0; padding: 0; border: 0; }
  .case-result strong { font-size: clamp(2rem, 9vw, 2.65rem); line-height: 1.3; letter-spacing: -.02em; white-space: normal; }
  .case-stat strong { font-size: 1.8rem; }
  .case .text-link { margin-top: 24px; }
  .about { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .about-number { font-size: 3.75rem; }
  .about-number span { margin: 12px 0 0; font-size: .875rem; }
  .about-copy h2 { margin-bottom: 24px; }
  .timeline { margin-top: 28px; }
  .timeline div { grid-template-columns: 90px minmax(0, 1fr); padding: 14px 0; min-height: 76px; }
  .timeline strong { font-size: 1.0625rem; }
  .about-links { margin-top: 28px; gap: 22px; }
  .article { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .article h2 { font-size: 1.75rem; line-height: 1.3; }
  .article p { font-size: 1rem; }
  .contact { gap: 30px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-form label { font-size: .9375rem; }
  .contact-form input, .contact-form textarea { font-size: 1rem; }
  .form-actions { gap: 14px; }
  .site-footer { padding: 30px 22px; }
  .site-footer nav { font-size: .9375rem; }
}

@media (max-width: 359px) {
  :root { --pad: 18px; }
  .about-links .text-link { width: 100%; }
  .timeline div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* Shared corner shape for native buttons, including menu and dialog controls. */
button, input[type="submit"], input[type="button"], input[type="reset"] { border-radius: var(--container-radius); }
