:root {
  color-scheme: light;
  --ink: #151b19;
  --ink-soft: #39433f;
  --paper: #f3f0e9;
  --paper-deep: #e9e4da;
  --line: #c9c8bf;
  --accent: #914d37;
  --accent-light: #d9926f;
  --light: #f7f4ee;
  --sans: "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
body, button, input { font-size: 16px; }
::selection { background: #dcb9a5; color: var(--ink); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, p, figure { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.07; }
.shell { width: min(100% - 72px, 1440px); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 24px; z-index: 20; padding: 12px 18px; background: var(--light); color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header { background: var(--ink); color: var(--light); border-bottom: 1px solid #43504a; }
.header-inner { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.identity { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.identity-mark { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #a6aaa0; font-weight: 700; font-size: 13px; letter-spacing: -.08em; position: relative; }
.mark-period { color: var(--accent-light); position: absolute; right: 6px; bottom: 4px; font-size: 18px; }
.identity-name { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.35; }
.identity-name small { display: block; margin-top: 4px; font-size: 10px; font-weight: 500; letter-spacing: .14em; color: #aeb9b1; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); }
.site-header nav a { text-decoration: none; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #d8ddd5; white-space: nowrap; }
.site-header nav a:hover { color: #fff; }
.site-header nav .nav-contact { color: #fff; border-bottom: 1px solid var(--accent-light); padding-bottom: 7px; }
.nav-contact span { margin-left: 7px; font-size: 15px; }

.hero { background: var(--ink); color: var(--light); overflow: hidden; }
.hero-inner { min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: clamp(60px, 8vw, 150px); align-items: center; padding-block: 82px 105px; }
.section-tag { display: flex; align-items: center; gap: 12px; margin: 0 0 28px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.section-tag.light { color: var(--accent-light); }
.tag-line { display: inline-block; width: 32px; height: 1px; background: currentColor; flex-shrink: 0; }
.tag-separator { color: #727f77; margin-inline: 2px; }
.hero-copy h1 { max-width: 810px; margin: 0 0 34px; font-size: clamp(68px, 7.4vw, 124px); font-weight: 500; letter-spacing: -.077em; line-height: .97; }
.hero-copy h1 em, h2 em { font-family: var(--serif); font-weight: 400; }
.hero-copy h1 em { color: #cda58e; }
.hero-lede { max-width: 680px; margin-bottom: 38px; color: #c9d0c9; font-size: clamp(19px, 1.65vw, 24px); line-height: 1.43; letter-spacing: -.015em; }
.hero-links { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.action-link { display: inline-flex; align-items: center; justify-content: space-between; min-width: 188px; gap: 32px; padding: 14px 0 13px; text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid currentColor; }
.action-link-light { color: #f6f1ea; }
.action-link span { color: var(--accent-light); font-size: 19px; line-height: 1; }
.quiet-link { color: #aab5ad; font-size: 14px; text-underline-offset: 5px; }
.operating-map { align-self: stretch; min-height: 490px; padding: 28px; margin: 0; border: 1px solid #58645d; background: #1c2521; display: flex; flex-direction: column; justify-content: space-between; transform: translateY(32px); }
.map-heading { display: flex; justify-content: space-between; gap: 14px; color: #aab8aa; font-size: 10px; letter-spacing: .18em; }
.operating-map svg { width: 100%; height: auto; max-height: 420px; overflow: visible; }
.map-lines path { fill: none; stroke: #718076; stroke-width: 1; }
.map-node circle { fill: #c68a6a; }
.map-node .node-core { fill: #1c2521; stroke: #c68a6a; stroke-width: 1.4; }
.map-label text { fill: #d8ded3; font: 11px var(--sans); letter-spacing: 1.4px; }
.map-label .core-label { fill: #d79b7b; font-size: 10px; letter-spacing: 1px; }
.operating-map figcaption { color: #b4c0b5; border-top: 1px solid #58645d; padding-top: 19px; font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.3; }
.hero-bottom { display: flex; justify-content: space-between; padding-block: 14px 17px; border-top: 1px solid #43504a; color: #89978d; font-size: 10px; letter-spacing: .16em; }
.hero-bottom span span { color: var(--accent-light); margin-left: 9px; }

.evidence { background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.evidence-grid { display: grid; grid-template-columns: 1.08fr repeat(3, 1fr); }
.evidence-grid > div { min-height: 186px; padding: 29px 26px 26px; border-right: 1px solid var(--line); }
.evidence-grid > div:first-child { padding-left: 0; }
.evidence-grid > div:last-child { border-right: 0; }
.micro, .work-index, .row-id, .row-system > span, .work-note > span { font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.evidence-intro .micro { color: var(--accent); }
.evidence-intro p { max-width: 215px; margin: 17px 0 0; color: var(--ink-soft); font-family: var(--serif); font-size: 22px; line-height: 1.27; }
.evidence-item strong { display: block; font-size: clamp(34px, 3.4vw, 55px); font-weight: 500; letter-spacing: -.075em; line-height: 1; white-space: nowrap; }
.evidence-item strong span { color: var(--accent); font-size: .45em; letter-spacing: -.04em; }
.evidence-item p { max-width: 240px; margin: 14px 0 0; color: #4f5851; font-size: 13px; line-height: 1.5; }

.section-space { padding-block: clamp(100px, 10vw, 170px); }
.section-header { display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px 95px; margin-bottom: 74px; }
.section-header .section-tag { grid-column: 1 / -1; margin-bottom: 0; }
.section-header h2, .practice-intro h2, .background-heading h2, .contact-section h2 { margin: 0; font-size: clamp(50px, 5.7vw, 88px); font-weight: 500; letter-spacing: -.068em; }
.section-header h2 em, .practice-intro h2 em, .background-heading h2 em { color: var(--accent); }
.section-header > p:last-child { max-width: 470px; align-self: end; margin: 0 0 5px; color: var(--ink-soft); font-size: 19px; line-height: 1.44; }

.feature-work { border-top: 2px solid var(--ink); display: grid; grid-template-columns: minmax(250px, .7fr) minmax(0, 1.3fr); gap: clamp(50px, 8vw, 130px); padding-block: 36px 95px; }
.feature-side { display: flex; flex-direction: column; align-items: start; }
.work-index { color: var(--accent); }
.feature-side h3 { margin: 58px 0 17px; font-size: clamp(45px, 4.2vw, 70px); letter-spacing: -.065em; font-weight: 500; }
.feature-deck { max-width: 330px; color: var(--ink-soft); font-family: var(--serif); font-size: 27px; line-height: 1.21; }
.feature-period { margin-top: auto; padding-top: 40px; color: #5b645d; font-size: 12px; line-height: 1.6; text-transform: uppercase; letter-spacing: .07em; }
.feature-body > p { max-width: 800px; margin-bottom: 23px; color: #3d4841; font-size: 18px; line-height: 1.6; }
.system-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); margin-block: 42px; }
.system-flow > div { min-height: 158px; padding: 19px 19px 20px 0; border-right: 1px solid var(--line); }
.system-flow > div:not(:first-child) { padding-left: 19px; }
.system-flow > div:last-child { border-right: 0; }
.system-flow span { display: block; color: var(--accent); font-size: 10px; letter-spacing: .18em; margin-bottom: 32px; }
.system-flow strong { display: block; font-size: 18px; font-weight: 600; letter-spacing: -.04em; }
.system-flow small { display: block; margin-top: 6px; color: #626b64; font-size: 11px; line-height: 1.4; }
.feature-body .work-note { margin: 0; padding: 20px 0 0 26px; border-left: 2px solid var(--accent); color: var(--ink-soft); font-family: var(--serif); font-size: 21px; line-height: 1.4; }
.work-note > span { display: block; margin-bottom: 10px; color: var(--accent); font-family: var(--sans); }
.work-list-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 26px; border-bottom: 2px solid var(--ink); }
.work-list-heading h3 { margin: 0; font-size: clamp(34px, 3vw, 48px); font-weight: 500; letter-spacing: -.06em; }
.work-list-heading p { max-width: 430px; margin: 0; color: #58625b; font-size: 14px; line-height: 1.5; }
.work-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 205px; gap: clamp(25px, 5vw, 80px); padding: 33px 0 37px; border-bottom: 1px solid var(--line); }
.row-id { color: var(--accent); padding-top: 7px; }
.row-id span { display: block; margin-top: 11px; color: #657068; font-size: 10px; line-height: 1.4; }
.row-main h4 { margin: 0 0 13px; font-size: clamp(30px, 2.7vw, 43px); font-weight: 500; letter-spacing: -.06em; }
.row-main p { max-width: 670px; margin: 0; color: #4a554e; font-size: 16px; line-height: 1.56; }
.row-system { padding-top: 8px; border-left: 1px solid var(--line); padding-left: 22px; }
.row-system > span { color: var(--accent); }
.row-system p { margin: 11px 0 0; color: #536057; font-size: 13px; line-height: 1.7; }

.practice-section { background: #dcded6; }
.practice-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(70px, 10vw, 170px); }
.practice-intro h2 { max-width: 690px; }
.practice-intro > p:last-child { max-width: 530px; margin-top: 30px; color: #49554b; font-size: 18px; line-height: 1.57; }
.practice-steps { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.practice-steps li { display: grid; grid-template-columns: 72px 1fr; gap: 30px; padding: 29px 0 31px; border-bottom: 1px solid #aeb6ad; }
.step-no { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .15em; padding-top: 6px; }
.practice-steps h3 { margin-bottom: 9px; font-size: 27px; font-weight: 500; letter-spacing: -.045em; }
.practice-steps p { max-width: 480px; margin: 0; color: #4c574d; font-size: 15px; line-height: 1.55; }

.background-section { background: var(--paper); }
.background-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 170px); }
.background-heading h2 { max-width: 620px; }
.background-heading > p:last-child { max-width: 430px; color: #566158; font-size: 18px; line-height: 1.55; margin-top: 31px; }
.timeline { border-top: 2px solid var(--ink); }
.timeline-entry { display: grid; grid-template-columns: 120px 1fr; gap: 27px; padding: 25px 0 27px; border-bottom: 1px solid var(--line); }
.timeline-entry time { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .1em; padding-top: 6px; white-space: nowrap; }
.timeline-entry h3 { margin: 0 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -.045em; }
.timeline-entry p { margin: 0; color: #58635a; font-size: 14px; line-height: 1.54; }
.credential-line { display: grid; grid-template-columns: 120px 1fr; gap: 27px; margin-top: 75px; padding-top: 20px; border-top: 1px solid var(--ink); }
.credential-line > span { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.credential-line p { margin: 0; font-size: 13px; color: #566158; }
.credential-line p span { color: var(--accent); padding-inline: 12px; }

.contact-section { background: var(--ink); color: var(--light); padding-block: clamp(100px, 10vw, 160px); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(60px, 10vw, 160px); }
.contact-section h2 { max-width: 760px; }
.contact-right { align-self: end; }
.contact-right > p { max-width: 430px; color: #c3ccc1; font-size: 19px; line-height: 1.52; }
.contact-email { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 48px 0 18px; padding-bottom: 13px; border-bottom: 1px solid #acb3a9; font-size: clamp(23px, 2.6vw, 39px); letter-spacing: -.06em; text-decoration: none; white-space: nowrap; }
.contact-email span { color: var(--accent-light); font-size: .7em; }
.resume-link { display: inline-flex; align-items: center; gap: 11px; margin: 1px 0 24px; color: #e0e6dc; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; border-bottom: 1px solid #87968a; padding-bottom: 6px; }
.resume-link span { color: var(--accent-light); font-size: 16px; }
.contact-right > span { color: #9ea99f; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.site-footer { background: #0d120f; color: #9ca79d; }
.footer-inner { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 25px; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.footer-inner a { color: #d4dbd1; text-decoration: none; }
.footer-divider { color: var(--accent-light); padding-inline: 12px; }

.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: var(--light); }
.error-wrap { width: min(100% - 48px, 700px); }
.error-wrap .kicker { color: var(--accent-light); letter-spacing: .18em; font-size: 11px; text-transform: uppercase; }
.error-wrap h1 { font-size: clamp(52px, 7vw, 100px); font-weight: 500; letter-spacing: -.07em; margin-bottom: 20px; }
.error-wrap > p:not(.kicker) { color: #b9c4b9; font-size: 19px; }
.text-action { display: inline-block; margin-top: 25px; padding-bottom: 8px; border-bottom: 1px solid var(--accent-light); text-decoration: none; }

@media (max-width: 1120px) {
  .shell { width: min(100% - 52px, 1440px); }
  .hero-inner { grid-template-columns: 1fr .8fr; gap: 50px; }
  .hero-copy h1 { font-size: clamp(62px, 7vw, 100px); }
  .operating-map { padding: 20px; }
  .section-header, .practice-grid, .background-grid { gap: 65px; }
  .feature-work { gap: 55px; }
  .work-row { grid-template-columns: 105px minmax(0, 1fr) 155px; gap: 28px; }
}
@media (max-width: 850px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 20px; gap: 23px; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .hero-inner, .section-header, .feature-work, .practice-grid, .background-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { gap: 55px; padding-block: 75px 65px; }
  .hero-copy h1 { max-width: 720px; }
  .operating-map { transform: none; min-height: auto; width: min(100%, 600px); }
  .operating-map svg { max-height: 320px; }
  .evidence-grid { grid-template-columns: repeat(2, 1fr); }
  .evidence-grid > div:nth-child(2) { border-right: 0; }
  .evidence-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .evidence-grid > div:nth-child(3) { padding-left: 0; }
  .section-header { gap: 25px; }
  .feature-work { gap: 32px; }
  .feature-side h3 { margin-top: 23px; }
  .feature-period { padding-top: 0; }
  .work-row { grid-template-columns: 90px 1fr; }
  .row-system { grid-column: 2; border-left: 0; padding: 0; }
  .row-system p { margin-top: 6px; }
  .contact-right { max-width: 630px; }
}
@media (max-width: 600px) {
  .shell { width: min(100% - 36px, 1440px); }
  .header-inner { min-height: 0; }
  .site-header nav { flex-wrap: wrap; justify-content: flex-start; column-gap: 22px; row-gap: 12px; }
  .site-header nav a { font-size: 10px; }
  .hero-inner { padding-block: 64px 58px; }
  .hero-copy h1 { font-size: clamp(53px, 14vw, 77px); }
  .hero-lede { font-size: 18px; }
  .section-tag { font-size: 9px; letter-spacing: .12em; flex-wrap: wrap; }
  .operating-map { padding: 17px; }
  .operating-map svg { max-height: 270px; }
  .hero-bottom { font-size: 9px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .evidence-grid > div { min-height: 0; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .evidence-grid > div:last-child { border-bottom: 0; }
  .section-space { padding-block: 84px; }
  .section-header h2, .practice-intro h2, .background-heading h2, .contact-section h2 { font-size: clamp(47px, 12vw, 67px); }
  .section-header > p:last-child { font-size: 17px; }
  .feature-work { padding-bottom: 68px; }
  .feature-side h3 { font-size: 48px; }
  .feature-body > p { font-size: 16px; }
  .system-flow { grid-template-columns: 1fr 1fr; }
  .system-flow > div { min-height: 125px; border-bottom: 1px solid var(--line); }
  .system-flow > div:nth-child(2) { border-right: 0; }
  .system-flow > div:nth-child(n+3) { border-bottom: 0; }
  .system-flow > div:nth-child(3) { padding-left: 0; }
  .work-list-heading { display: block; }
  .work-list-heading p { margin-top: 18px; }
  .work-row { grid-template-columns: 1fr; gap: 16px; }
  .row-system { grid-column: 1; }
  .row-system p { line-height: 1.5; }
  .practice-steps li { grid-template-columns: 45px 1fr; gap: 16px; }
  .timeline-entry { grid-template-columns: 1fr; gap: 5px; }
  .credential-line { grid-template-columns: 1fr; gap: 10px; margin-top: 45px; }
  .contact-section { padding-block: 85px; }
  .contact-email { font-size: clamp(22px, 6vw, 31px); }
  .footer-inner { flex-wrap: wrap; padding-block: 24px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
