/* Design tokens */
:root {
  --paper: #f7f7f0;
  --white: #fffef9;
  --ink: #1c302c;
  --muted: #5c6861;
  --green: #173d35;
  --line: #d9dfd4;
  --lime: #e3efb5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a, button, summary { touch-action: manipulation; }
button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid #89762d; outline-offset: 6px; border-radius: 3px; }
::selection { background: #d9e6aa; color: var(--green); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { line-height: 1.15; }
em { font-family: var(--serif); font-weight: 400; }
p { text-wrap: pretty; }
[id] { scroll-margin-top: 105px; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 110px; }
.eyebrow { font-size: 11px; line-height: 1.6; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #4c7146; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 30; padding: 12px 20px; background: var(--lime); color: var(--green); }
.skip-link:focus { top: 10px; }

/* Header & introduction */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(247 247 240 / 96%); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 15px; flex-shrink: 0; }
.monogram { font-family: var(--serif); letter-spacing: -4px; font-weight: 700; font-size: 42px; line-height: 1; }
.monogram > span { color: #6d8749; }
.brand-name { display: block; font-weight: 700; font-size: 15px; line-height: 1.5; }
.brand-name > span { display: block; font-size: 10px; font-weight: 500; letter-spacing: .3px; color: var(--muted); }
.main-nav { display: flex; gap: 29px; align-items: center; font-size: 12px; font-weight: 600; }
.main-nav > a { padding-block: 8px; }
.main-nav > a:not(.nav-contact) { position: relative; }
.main-nav > a:not(.nav-contact)::after { content: ""; position: absolute; bottom: 2px; left: 0; width: 0; height: 2px; background: var(--green); transition: width .2s; }
.main-nav > a:hover::after, .main-nav > a[aria-current="location"]::after { width: 100%; }
.main-nav .nav-contact { padding: 9px 16px; border: 1px solid #9aa69b; border-radius: 6px; display: flex; gap: 24px; }
.nav-contact:hover { background: var(--green); border-color: var(--green); color: var(--white); }
.menu-toggle { display: none; }
.hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 68px; align-items: center; padding-block: 78px 72px; }
.hero .eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 25px; }
h1 { font-size: clamp(64px, 6.4vw, 88px); letter-spacing: -4.7px; font-weight: 600; line-height: 1.02; }
h1 em { color: #3e6554; white-space: nowrap; letter-spacing: -4.5px; }
.hero-intro { max-width: 535px; color: var(--muted); margin-top: 30px; font-size: 17px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 25px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; justify-content: space-between; align-items: center; gap: 32px; border-radius: 6px; padding: 13px 20px; font-size: 12px; font-weight: 600; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--green); color: white; }
.button-dark:hover { background: #295648; }
.text-link { font-weight: 600; font-size: 12px; display: flex; gap: 17px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.resume-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 21px; padding-block: 4px; color: #4e674d; font-size: 11px; font-weight: 500; }
.resume-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.resume-link .icon { width: 15px; height: 15px; }
.file-type { border: 1px solid #cdd6c3; border-radius: 3px; padding: 1px 5px; color: #6c7964; font-size: 8px; letter-spacing: .5px; }
.hero-proof { margin-top: 47px; padding-top: 23px; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.hero-proof strong { display: block; font-size: 15px; font-weight: 600; }
.hero-proof span { display: block; font-size: 10px; color: var(--muted); margin-top: 3px; }
.portrait { position: relative; width: 100%; max-width: 376px; justify-self: end; }
.portrait-image { position: relative; overflow: hidden; border-radius: 190px 190px 12px 12px; background: #dce1e5; aspect-ratio: .84; }
.portrait-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.portrait-label { position: absolute; left: 22px; bottom: 20px; padding: 6px 14px; background: var(--white); border-radius: 4px; font-family: var(--serif); font-style: italic; font-size: 17px; }
.portrait figcaption { display: flex; align-items: center; gap: 12px; padding: 20px 3px 0; font-size: 12px; font-weight: 600; }
.location-icon { font-size: 29px; line-height: 1; font-weight: 400; }
.portrait figcaption div > span { display: block; font-size: 10px; color: var(--muted); font-weight: 400; }
.expertise-strip { border-block: 1px solid var(--line); background: #eeefe5; }
.expertise-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; }
.expertise-strip .container > span:first-child { font-size: 9px; line-height: 1.5; font-weight: 600; letter-spacing: .8px; }
.expertise-strip p { font-family: var(--serif); font-size: 22px; }
.expertise-strip .separator { font-family: var(--serif); color: #92a08b; font-size: 23px; }

/* Project stories */
.section-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; align-items: end; margin-bottom: 42px; }
.section-heading .eyebrow, .about-story > .eyebrow { margin-bottom: 18px; }
h2 { font-size: clamp(37px, 4vw, 51px); letter-spacing: -1.7px; line-height: 1.13; font-weight: 500; }
h2 em { color: #496b53; }
.section-heading > p { max-width: 350px; justify-self: end; font-size: 14px; color: var(--muted); padding-bottom: 5px; }
.project-index { display: flex; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.project-index a { flex: 1; display: flex; gap: 13px; align-items: center; padding: 17px 12px; font-size: 10px; color: #6d796e; }
.project-index a:first-child { padding-left: 0; }
.project-index a span { color: var(--ink); font-size: 12px; font-weight: 600; }
.project-index a:hover span { color: #648137; }
.project { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.featured-project { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; }
.project-visual { position: relative; overflow: hidden; height: 310px; }
.featured-project .project-visual { height: 100%; min-height: 498px; }
.visual-topline { position: absolute; top: 23px; inset-inline: 25px; display: flex; justify-content: space-between; gap: 12px; font-size: 8px; font-weight: 700; letter-spacing: 1.7px; z-index: 2; }
.visual-caption { position: absolute; bottom: 24px; left: 25px; right: 25px; font-size: 10px; letter-spacing: .5px; text-align: center; }
.project-content { padding: 29px 31px 25px; }
.featured-project .project-content { padding: 37px; align-self: center; }
.project-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 9px; letter-spacing: .5px; line-height: 1.4; text-transform: uppercase; margin-bottom: 18px; color: #65705f; }
.project-meta > span:last-child { font-size: 8px; border: 1px solid #d9dfd2; padding: 4px 8px; border-radius: 3px; }
.project h3 { font-size: 32px; letter-spacing: -1px; font-weight: 600; }
.project-lead { font-size: 17px; line-height: 1.5; margin-top: 14px; font-weight: 500; }
.project-lead + p { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.tags { padding: 0; margin: 22px 0; display: flex; gap: 6px; flex-wrap: wrap; list-style: none; }
.tags li { font-size: 9px; line-height: 1.5; border-radius: 4px; padding: 5px 8px; background: #f0f2e9; color: #4e604c; }
.project-details { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.project-details summary { font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.project-details summary > span { font-size: 21px; font-weight: 400; line-height: 1; transition: transform .2s; }
details[open] > summary > span:last-child, .project-details[open] summary > span { transform: rotate(45deg); }
.details-body { padding-bottom: 17px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.details-body ul { margin: 0; padding-left: 18px; }
.details-body li + li { margin-top: 7px; }
.detail-note { margin-top: 14px; font-size: 10px; font-weight: 500; color: var(--green); }
.project-link { display: inline-flex; align-items: center; gap: 27px; font-size: 11px; font-weight: 600; margin-top: 5px; }
.project-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.project-grid .project { height: 100%; }

/* Product illustrations are conceptual, not application screenshots. */
.person-visual { background: #dce9d9; color: #2d5c48; }
.care-system { position: absolute; width: 100%; height: 380px; top: 50%; transform: translateY(-50%); }
.care-orbit { position: absolute; width: 255px; height: 255px; border: 1px solid #a5bba0; border-radius: 50%; top: 62px; left: calc(50% - 128px); }
.care-orbit::after { content: ""; position: absolute; inset: 28px; border: 1px dashed #b3c5ac; border-radius: 50%; }
.care-mark { width: 70px; height: 70px; background: var(--green); color: var(--lime); font-family: var(--serif); border-radius: 22px; font-size: 64px; font-weight: 700; line-height: 56px; text-align: center; position: absolute; top: 152px; left: calc(50% - 35px); box-shadow: 0 8px 25px #52734122; }
.care-mark > span { font-family: var(--sans); position: absolute; font-size: 13px; line-height: 1; top: 13px; right: 10px; }
.care-node { position: absolute; background: #f7fbf2; display: flex; align-items: center; gap: 12px; padding: 13px 17px; border-radius: 9px; border: 1px solid #c8d9c2; box-shadow: 0 8px 20px #58734309; font-size: 12px; font-weight: 600; }
.care-node small { display: block; font-size: 9px; font-weight: 400; opacity: .8; margin-top: 2px; }
.node-icon { display: grid; place-items: center; background: #e2ecd7; border-radius: 50%; width: 30px; height: 30px; font-size: 21px; font-weight: 400; }
.node-one { left: 9%; top: 33px; }
.node-two { right: 6%; top: 240px; }
.node-three { left: 5%; top: 307px; }
.intellecta-visual { background: #eee5d5; color: #725940; }
.learning-composition { width: 100%; height: 100%; position: relative; }
.learning-paper { position: absolute; padding: 20px 23px; border: 1px solid #ddcebc; box-shadow: 0 10px 25px #604c3210; width: 215px; border-radius: 3px; }
.learning-paper > span { display: block; font-size: 7px; font-weight: 700; letter-spacing: 1.6px; margin-bottom: 11px; }
.learning-paper strong { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; display: block; }
.paper-back { left: 49%; top: 72px; height: 171px; transform: rotate(9deg); background: #ded1eb; color: #6a487a; }
.paper-back p { font-size: 9px; margin-top: 14px; }
.paper-front { left: 14%; top: 73px; transform: rotate(-8deg); background: #fffaf0; }
.paper-front small { font-size: 6px; letter-spacing: .25px; display: block; margin-top: 11px; }
.paper-lines { display: flex; gap: 6px; margin-top: 14px; }
.paper-lines i { width: 30px; height: 4px; border-radius: 2px; background: #e9ddc9; }
.paper-lines i:nth-child(2) { width: 45px; }
.paper-lines i:last-child { width: 21px; }
.learning-star { position: absolute; font-size: 82px; top: 208px; left: 70%; color: #97764c; line-height: 1; z-index: 2; transform: rotate(-10deg); }
.database-visual { background-color: #e1e9ee; color: #405f74; background-image: radial-gradient(#b9cad5 1px, transparent 1px); background-size: 16px 16px; }
.database-visual .visual-topline { background: #e1e9ee; padding-block: 2px; }
.schema-composition { position: absolute; inset: 52px 25px 43px; }
.schema-lines { position: absolute; inset: 0; height: 100%; width: 100%; fill: #82a2b9; stroke: #82a2b9; stroke-width: 1.5px; }
.schema-lines path { fill: none; }
.schema-table { position: absolute; width: 140px; background: #f7fafb; border: 1px solid #bacbd7; border-radius: 6px; font-family: "SFMono-Regular", Consolas, monospace; font-size: 9px; box-shadow: 0 6px 10px #3d60720c; }
.schema-table strong { display: block; font-size: 10px; font-weight: 600; border-bottom: 1px solid #cedae2; padding: 7px 11px; background: #ecf2f5; border-radius: 5px 5px 0 0; }
.schema-table strong > span { padding-right: 7px; }
.schema-table > span { display: block; padding: 3px 11px; color: #6c8291; }
.schema-table > span:last-child { padding-bottom: 8px; }
.schema-table i { font-style: normal; font-size: 7px; color: #4b738b; margin-right: 5px; }
.schema-one { top: 8px; left: 6%; }
.schema-two { top: 47px; right: 2%; }
.schema-three { bottom: -7px; left: 20%; }
.compact-project-top { display: flex; justify-content: space-between; align-items: center; padding: 28px 31px 0; }
.product-symbol { height: 53px; width: 53px; display: grid; place-items: center; border-radius: 13px; font-size: 38px; font-family: var(--serif); line-height: 1; }
.rhini-symbol { background: #e7eedb; color: #557445; position: relative; }
.rhini-symbol > span { font-size: 23px; position: absolute; top: 2px; right: 3px; }
.scout-symbol { background: #ece7de; color: #655e4e; }
.status-badge { display: flex; gap: 7px; align-items: center; font-size: 9px; color: #4c6441; }
.status-badge .status-dot { width: 5px; height: 5px; flex-basis: 5px; }
.status-badge.development { color: #8b6a38; }
.development .status-dot { background: #9a793f; }
.compact-project .project-content { padding-top: 23px; }
.earlier-work { margin-top: 34px; border-block: 1px solid var(--line); }
.earlier-work > summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; }
.earlier-work .eyebrow { display: block; color: var(--muted); font-size: 9px; margin-bottom: 5px; }
.earlier-work strong { font-size: 19px; font-weight: 500; }
.expand-icon { font-size: 28px; font-weight: 300; }
.earlier-list { padding-bottom: 15px; }
.earlier-list > div { display: grid; grid-template-columns: 1fr .7fr 2.5fr; gap: 20px; align-items: baseline; border-top: 1px solid var(--line); padding-block: 19px; }
.earlier-list h4 { font-size: 13px; font-weight: 600; }
.earlier-list span { font-size: 11px; color: var(--muted); }
.earlier-list p { font-size: 12px; color: var(--muted); }

/* Working philosophy */
.approach-section { background: var(--green); color: #f3f5e9; padding-block: 93px 37px; }
.approach-section .section-heading > p { color: #bac9be; }
.approach-section h2 em { color: var(--lime); }
.approach-section .eyebrow { color: #b5c8ac; }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 62px; }
.principles article { padding-top: 16px; border-top: 1px solid #517062; }
.principle-number { color: #b8c9aa; font-size: 10px; }
.principles h3 { font-size: 17px; line-height: 1.4; font-weight: 500; margin-block: 22px 11px; }
.principles p { font-size: 12px; line-height: 1.9; color: #c1cec4; }
.engineering-perspective { display: grid; grid-template-columns: 1fr 1.15fr; gap: 65px; margin-top: 46px; padding: 31px 34px; border: 1px solid #496959; border-radius: 9px; background: #ffffff04; }
.engineering-perspective .eyebrow { margin-bottom: 15px; font-size: 9px; }
.engineering-perspective h3 { font-size: 28px; font-weight: 500; line-height: 1.25; letter-spacing: -.5px; }
.engineering-perspective h3 em { color: var(--lime); }
.perspective-copy p { color: #c7d4c7; font-size: 12px; line-height: 1.85; }
.perspective-copy p + p { margin-top: 12px; }
.perspective-copy a { display: inline-flex; align-items: center; gap: 10px; margin-top: 17px; color: #e3edcb; font-size: 10px; line-height: 1.6; }
.perspective-copy a:hover { text-decoration: underline; text-underline-offset: 4px; }
.perspective-copy .icon { width: 13px; height: 13px; }
.approach-footer { margin-top: 56px; padding-top: 24px; display: flex; align-items: center; gap: 17px; border-top: 1px solid #426154; }
.small-mark { color: var(--lime); font-size: 24px; }
.approach-footer p { font-size: 11px; color: #d5dfcf; }
.approach-footer a { margin-left: auto; font-size: 10px; flex-shrink: 0; display: inline-flex; align-items: center; gap: 20px; }
.approach-footer a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* About & toolkit */
.about-section { display: grid; grid-template-columns: 1.15fr 1fr; gap: 100px; align-items: start; }
.about-story h2 { font-size: 44px; }
.about-story > p:not(.eyebrow) { margin-top: 19px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.about-story > p.large-copy { margin-top: 29px; font-size: 20px; color: var(--ink); line-height: 1.5; }
.about-story > p strong { font-weight: 600; color: var(--ink); }
.personal-details { border-top: 1px solid var(--line); margin-top: 29px; padding-top: 22px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.personal-details span { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.personal-details p { margin-top: 8px; font-size: 11px; color: var(--muted); line-height: 1.8; }
.personal-details strong { font-weight: 500; }
.toolkit { background: #eeefe5; border: 1px solid var(--line); border-radius: var(--radius); padding: 29px 32px; }
.toolkit-title { display: flex; justify-content: space-between; align-items: center; }
.toolkit-title > span { font-size: 28px; line-height: 1; }
.toolkit dl { margin-block: 24px 0; }
.toolkit dl > div { padding-block: 16px; border-top: 1px solid #d5dacb; }
.toolkit dt { font-size: 12px; font-weight: 600; margin-bottom: 5px; }
.toolkit dd { font-size: 11px; line-height: 1.9; color: var(--muted); margin: 0; }
.toolkit-note { border-top: 1px solid #d5dacb; padding-top: 19px; margin-top: 3px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.5; color: #5d7154; }

/* Career timeline */
.experience-section { padding-top: 0; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { display: grid; grid-template-columns: 1fr 2.7fr; gap: 60px; border-bottom: 1px solid var(--line); padding-block: 32px; }
.timeline-date { font-size: 12px; font-weight: 600; padding-top: 3px; }
.timeline-date > span { display: block; font-size: 10px; color: var(--muted); margin-top: 4px; font-weight: 400; }
.timeline-content { position: relative; padding-left: 31px; border-left: 1px solid #d7ddce; }
.timeline-content::before { content: ""; position: absolute; top: 7px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: #93a08c; }
.current .timeline-content::before { background: #3a6a4d; box-shadow: 0 0 0 4px #e1e8d7; }
.timeline h3 { font-size: 22px; letter-spacing: -.4px; font-weight: 500; line-height: 1.3; }
.timeline-company { font-size: 12px; font-weight: 500; color: #5b704e; margin-top: 6px; }
.timeline-company + p { font-size: 12px; line-height: 1.8; margin-top: 12px; color: var(--muted); max-width: 650px; }
.engagement { padding: 16px 19px; background: #ecefe3; border-radius: 6px; display: flex; gap: 12px; margin-top: 21px; }
.engagement .status-dot { margin-top: 7px; width: 5px; height: 5px; flex-basis: 5px; }
.engagement strong { display: block; font-size: 11px; font-weight: 600; }
.engagement div > span { display: block; font-size: 9px; color: #67715e; margin-top: 2px; }
.engagement p { font-size: 11px; margin-top: 7px; color: var(--muted); }

/* Contact & closing */
.contact-section { background: #e4ebcd; border-block: 1px solid #d7dfbf; padding-block: 84px; }
.contact-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 110px; align-items: center; }
.contact-section .eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; }
.contact-section h2 { font-size: 64px; letter-spacing: -2.3px; }
.contact-inner > div:first-child > p:not(.eyebrow) { font-size: 13px; color: #526048; margin-block: 23px 26px; max-width: 490px; }
.button-light { background: var(--green); color: var(--white); }
.button-light:hover { background: #2b5548; }
.contact-details { border-left: 1px solid #c4cfb0; padding-left: 40px; }
.contact-label { display: block; font-size: 10px; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; margin-bottom: 9px; }
.email-link { font-family: var(--serif); font-size: clamp(17px, 2.1vw, 27px); letter-spacing: -.4px; display: block; overflow-wrap: anywhere; }
.email-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.copy-email { display: flex; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid #9cad84; color: #526543; background: transparent; font-size: 10px; padding: 6px 0; margin-top: 6px; }
.copy-email .copy-label { font-size: 10px; }
.contact-socials { margin-block: 28px; }
.contact-socials > a { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #c6d1b1; padding-block: 13px; font-size: 12px; }
.contact-socials > a:last-child { border-bottom: 1px solid #c6d1b1; }
.contact-socials > a:hover { color: #65813d; }
.contact-socials > a span { font-size: 10px; color: #5d7152; }
.contact-location { font-size: 11px; }
.contact-location span { font-size: 10px; color: #647357; }
.site-footer { padding-block: 29px; }
.site-footer .container { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-signature { font-family: var(--serif); font-size: 21px; }
.footer-signature span { display: block; font-family: var(--sans); color: var(--muted); font-size: 8px; margin-top: 2px; }
.site-footer p { font-size: 9px; color: var(--muted); }
.back-top { display: inline-flex; align-items: center; gap: 15px; font-size: 10px; }

/* Crisp, consistent icons replace font-dependent arrows. */
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; width: 18px; height: 18px; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.icon-down { transform: rotate(90deg); }
.icon-up { transform: rotate(-90deg); }
.portrait .location-icon { width: 20px; height: 20px; color: #66795b; }
.scout-symbol .icon { width: 30px; height: 30px; stroke-width: 1.2; }
.toolkit-title .icon { width: 23px; height: 23px; color: #627753; }
.contact-socials > a span { display: inline-flex; align-items: center; gap: 10px; }
.contact-socials .icon, .copy-email .icon { width: 14px; height: 14px; }

/* A small 3D sculpture sits in the portrait's open corner, away from the face. */
.portrait-accent { position: absolute; width: 172px; height: 172px; top: 17px; left: -78px; z-index: 2; pointer-events: none; }
.portrait-accent canvas, .accent-fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.accent-fallback { fill: none; stroke: #819579; stroke-width: 1; opacity: .7; }
.accent-fallback circle { fill: #819579; stroke: none; }
.portrait-accent canvas { opacity: 0; transition: opacity .7s ease; }
.portrait-accent.scene-ready canvas { opacity: 1; }
.portrait-accent.scene-ready .accent-fallback { opacity: 0; }

/* Restrained motion: short entrances and small responses to intentional hover. */
.reveal-pending { opacity: 0; }
.project { transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.portrait-image img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.learning-paper, .care-mark, .schema-table { transition: transform .5s ease, box-shadow .5s ease; }
.motion-toggle { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; background: transparent; border: 0; padding: 8px 0; }
.motion-toggle[hidden] { display: none; }
.motion-toggle .icon { width: 13px; height: 13px; }
.motion-toggle:disabled { cursor: default; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html[data-motion="on"] .project:hover { transform: translateY(-3px); border-color: #b9c8ae; box-shadow: 0 10px 27px #1c302c08; }
  html[data-motion="on"] .portrait:hover .portrait-image img { transform: scale(1.015); }
  html[data-motion="on"] .project:hover .paper-front { transform: translateY(-4px) rotate(-6deg); }
  html[data-motion="on"] .project:hover .paper-back { transform: translateY(2px) rotate(11deg); }
  html[data-motion="on"] .project:hover .care-mark { transform: scale(1.035); }
  html[data-motion="on"] .project:hover .schema-table { transform: translateY(-2px); }
  html[data-motion="on"] :is(.button, .text-link, .project-link, .nav-contact, .approach-footer a):hover > .icon { transform: translateX(3px); }
  html[data-motion="on"] .button:hover > .icon-down { transform: translateY(3px) rotate(90deg); }
  html[data-motion="on"] .back-top:hover > .icon-up { transform: translateY(-3px) rotate(-90deg); }
}
html[data-motion="off"] { scroll-behavior: auto; }
html[data-motion="off"] *, html[data-motion="off"] *::before, html[data-motion="off"] *::after { transition: none !important; animation: none !important; }
html[data-motion="off"] .reveal-pending { opacity: 1; }
html[data-motion="off"] .button:hover { transform: none; }

/* Responsive layouts */
@media (min-width: 1450px) {
  .hero { gap: 95px; }
}
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .hero { gap: 40px; grid-template-columns: 1.45fr 1fr; }
  h1 { font-size: 69px; letter-spacing: -3.7px; }
  h1 em { letter-spacing: -3.7px; }
  .hero-intro { font-size: 15px; }
  .hero-actions { gap: 18px; flex-wrap: wrap; }
  .main-nav { gap: 20px; }
  .about-section { gap: 55px; }
  .project-content, .featured-project .project-content { padding: 27px; }
  .care-node { padding: 12px; font-size: 11px; }
  .care-node small { font-size: 8px; }
  .node-one { left: 6%; }
  .node-two { right: 5%; }
  .contact-inner { gap: 60px; }
  .expertise-strip p { font-size: 19px; }
  .learning-paper { width: 190px; padding: 18px; }
  .paper-front { left: 9%; }
  .schema-table { width: 120px; }
  .schema-composition { inset-inline: 15px; }
}
@media (max-width: 860px) {
  .brand-name { display: none; }
  .header-inner { min-height: 76px; }
  .hero { padding-block: 55px; gap: 32px; }
  h1 { font-size: 55px; letter-spacing: -3px; }
  h1 em { letter-spacing: -3px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .hero-intro { font-size: 13px; margin-top: 23px; }
  .hero-proof { margin-top: 27px; gap: 7px; }
  .hero-proof strong { font-size: 12px; }
  .hero-proof span { font-size: 8px; }
  .portrait-label { font-size: 13px; left: 15px; bottom: 15px; }
  .portrait figcaption { font-size: 10px; gap: 8px; }
  .portrait figcaption div > span { font-size: 8px; }
  .portrait-accent { width: 130px; height: 130px; left: -48px; top: 3px; }
  .expertise-strip .container { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .expertise-strip .container > span:first-child { display: none; }
  .expertise-strip p { font-size: 17px; }
  .section { padding-block: 80px; }
  .section-heading { gap: 35px; }
  h2 { font-size: 38px; }
  .section-heading > p { font-size: 12px; }
  .project-index a { gap: 6px; padding-inline: 8px; }
  .project-index a span { font-size: 10px; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-project .project-visual { min-height: 325px; }
  .care-system { width: 600px; max-width: 100%; height: 280px; left: 50%; transform: translate(-50%, -50%); }
  .care-orbit { width: 230px; height: 230px; top: 24px; left: calc(50% - 115px); }
  .care-mark { top: 100px; }
  .node-one { left: 5%; top: 47px; }
  .node-two { right: 5%; top: 70px; }
  .care-system .node-three { top: 207px; left: 30%; }
  .project-visual { height: 280px; }
  .visual-topline { inset-inline: 20px; font-size: 7px; letter-spacing: 1px; }
  .project-meta { font-size: 8px; }
  .project h3 { font-size: 28px; }
  .project-lead { font-size: 16px; }
  .project-content, .featured-project .project-content { padding: 25px; }
  .learning-paper { width: 166px; padding: 16px; }
  .learning-paper strong { font-size: 26px; }
  .paper-front { left: 9%; }
  .paper-back { left: 44%; }
  .learning-star { top: 203px; font-size: 62px; }
  .schema-table { width: 109px; font-size: 8px; }
  .schema-one { left: 1%; }
  .schema-three { left: 7%; bottom: -15px; }
  .schema-two { right: 0; }
  .compact-project-top { padding: 23px 25px 0; }
  .principles { grid-template-columns: 1fr 1fr; row-gap: 35px; }
  .principles p { max-width: 330px; }
  .engineering-perspective { gap: 30px; padding: 26px; }
  .engineering-perspective h3 { font-size: 25px; }
  .approach-section { padding-block: 75px 35px; }
  .approach-footer { flex-wrap: wrap; }
  .approach-footer a { margin-left: 40px; }
  .about-section { gap: 35px; grid-template-columns: 1fr 1fr; }
  .about-story h2 { font-size: 35px; }
  .about-story > p:not(.eyebrow) { font-size: 12px; }
  .about-story > p.large-copy { font-size: 18px; }
  .personal-details { grid-template-columns: 1fr; gap: 14px; }
  .toolkit { padding: 25px; }
  .timeline-item { grid-template-columns: 1fr 2.4fr; gap: 30px; }
  .experience-section { padding-top: 0; }
  .contact-section { padding-block: 70px; }
  .contact-section h2 { font-size: 52px; }
  .contact-inner { gap: 35px; }
  .contact-details { padding-left: 25px; }
  .email-link { font-size: 20px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 86px; }
  [id] { scroll-margin-top: 86px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 72px; }
  .brand { gap: 10px; }
  .monogram { font-size: 37px; }
  .brand-name { display: block; font-size: 12px; }
  .brand-name > span { font-size: 8px; }
  .menu-toggle { display: none; background: transparent; border: 1px solid #b8c2b1; border-radius: 5px; padding: 7px 10px; font-size: 11px; color: var(--green); align-items: center; gap: 18px; }
  .menu-toggle > span { font-size: 18px; line-height: 1; transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] > span { transform: rotate(45deg); }
  .js .menu-toggle { display: flex; }
  .main-nav { flex-wrap: wrap; gap: 8px 18px; padding-block: 10px; }
  .header-inner { flex-wrap: wrap; gap: 0; }
  .js .main-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px #1c302c0b; gap: 0; }
  .js .main-nav.is-open { display: flex; }
  .main-nav > a { font-size: 13px; }
  .js .main-nav > a { padding: 12px 2px; }
  .main-nav .nav-contact, .js .main-nav .nav-contact { justify-content: space-between; padding: 10px 14px; margin-top: 7px; }
  .hero { grid-template-columns: 1fr; gap: 38px; padding-block: 42px 35px; }
  .hero .eyebrow { font-size: 9px; margin-bottom: 20px; letter-spacing: .8px; }
  h1 { font-size: clamp(48px, 12.7vw, 78px); letter-spacing: -2.8px; }
  h1 em { letter-spacing: -2.8px; }
  .hero-intro { max-width: 470px; font-size: 14px; line-height: 1.8; }
  .hero-actions { margin-top: 25px; gap: 19px; }
  .button { font-size: 11px; gap: 24px; min-height: 48px; padding-inline: 16px; }
  .text-link { font-size: 11px; gap: 10px; }
  .hero-proof { margin-top: 28px; padding-top: 21px; }
  .hero-proof strong { font-size: 13px; }
  .hero-proof span { font-size: 8px; }
  .portrait { max-width: 360px; width: 85%; justify-self: center; }
  .portrait-accent { width: 125px; height: 125px; left: -35px; top: 0; }
  .portrait-image { aspect-ratio: .95; }
  .portrait-image img { object-position: center 27%; }
  .portrait-label { font-size: 15px; }
  .portrait figcaption { font-size: 11px; padding-top: 15px; }
  .portrait figcaption div > span { font-size: 9px; }
  .expertise-strip .container { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; gap: 7px 10px; padding-block: 20px; }
  .expertise-strip p { font-size: 17px; }
  .expertise-strip .separator { display: none; }
  .section { padding-block: 65px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 28px; }
  .section-heading .eyebrow, .about-story > .eyebrow { margin-bottom: 16px; }
  .eyebrow { font-size: 9px; }
  h2, .about-story h2 { font-size: 36px; letter-spacing: -1.4px; }
  .section-heading > p { justify-self: start; font-size: 13px; max-width: 380px; }
  .project-index { flex-wrap: wrap; padding-block: 7px; margin-bottom: 25px; }
  .project-index a { flex: 0 1 auto; padding: 8px 16px 8px 0; gap: 5px; font-size: 8px; }
  .project-index a span { font-size: 10px; }
  .featured-project { margin-bottom: 20px; }
  .featured-project .project-visual { min-height: 330px; }
  .care-system { height: 290px; }
  .care-orbit { top: 35px; }
  .care-mark { top: 113px; }
  .care-node { padding: 10px 12px; gap: 8px; font-size: 10px; }
  .care-node small { font-size: 7px; }
  .node-icon { width: 25px; height: 25px; font-size: 17px; }
  .node-one { left: 6%; top: 32px; }
  .node-two { right: 5%; top: 189px; }
  .care-system .node-three { left: 4%; top: 252px; }
  .person-visual .visual-caption { display: none; }
  .project-content, .featured-project .project-content { padding: 24px; }
  .project-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-visual { height: 285px; }
  .project h3 { font-size: 30px; }
  .project-lead { font-size: 17px; }
  .project-meta { font-size: 8px; }
  .project-meta > span:last-child { font-size: 7px; }
  .project-lead + p { font-size: 13px; }
  .tags li { font-size: 9px; }
  .project-details summary { font-size: 12px; padding-block: 16px; }
  .project-link { font-size: 12px; }
  .learning-paper { width: 180px; }
  .paper-front { left: 12%; }
  .paper-back { left: 46%; }
  .schema-table { width: 120px; }
  .schema-one { left: 4%; }
  .schema-three { left: 13%; }
  .schema-two { right: 4%; }
  .compact-project-top { padding: 24px 24px 0; }
  .earlier-work { margin-top: 26px; }
  .earlier-work strong { font-size: 16px; }
  .earlier-work .eyebrow { font-size: 8px; }
  .earlier-list > div { grid-template-columns: 1fr 1fr; gap: 6px 15px; }
  .earlier-list > div span { text-align: right; }
  .earlier-list p { grid-column: 1 / -1; }
  .approach-section { padding-block: 65px 28px; }
  .principles { grid-template-columns: 1fr; gap: 26px; margin-top: 35px; }
  .principles article { display: grid; grid-template-columns: 30px 1fr; gap: 5px 12px; padding-top: 20px; }
  .principle-number { margin-top: 5px; }
  .principles h3 { margin: 0; font-size: 17px; }
  .principles p { grid-column: 2; font-size: 12px; max-width: none; }
  .engineering-perspective { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; padding: 25px 23px; }
  .engineering-perspective h3 { font-size: 27px; }
  .perspective-copy a { align-items: flex-start; }
  .perspective-copy .icon { margin-top: 2px; }
  .approach-footer { gap: 12px; margin-top: 30px; align-items: flex-start; }
  .approach-footer p { width: calc(100% - 38px); }
  .approach-footer a { margin-left: 35px; }
  .about-section { grid-template-columns: 1fr; gap: 32px; }
  .about-story > p:not(.eyebrow) { font-size: 14px; }
  .about-story > p.large-copy { font-size: 20px; }
  .personal-details { grid-template-columns: 1.2fr 1fr; gap: 20px; }
  .toolkit { padding: 26px; }
  .toolkit dd { font-size: 12px; }
  .experience-section { padding-top: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: 17px; padding-block: 27px; }
  .timeline-date { padding-left: 25px; font-size: 11px; }
  .timeline-content { padding-left: 25px; }
  .timeline h3 { font-size: 21px; }
  .timeline-content::before { top: 8px; }
  .timeline-date > span { font-size: 9px; }
  .timeline-company { font-size: 12px; }
  .timeline-company + p { font-size: 12px; }
  .engagement { padding: 14px; }
  .contact-section { padding-block: 57px; }
  .contact-inner { grid-template-columns: 1fr; gap: 35px; }
  .contact-section h2 { font-size: 57px; }
  .contact-details { border-left: 0; border-top: 1px solid #c4cfb0; padding: 28px 0 0; }
  .email-link { font-size: 26px; }
  .contact-socials { margin-block: 24px; }
  .contact-socials > a { padding-block: 15px; }
  .site-footer .container { flex-wrap: wrap; gap: 22px; }
  .footer-signature { flex-basis: calc(100% - 110px); }
  .site-footer p { order: 3; width: 100%; border-top: 1px solid var(--line); padding-top: 17px; }
  .back-top { margin-left: auto; }
  .motion-toggle { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-pending { opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .project-visual, .project-index, .menu-toggle, .copy-email, .back-top, .portrait-accent, .motion-toggle { display: none !important; }
  .reveal-pending { opacity: 1; }
  body { font-size: 11px; background: white; }
  .container { width: 100%; }
  .section, .hero, .approach-section, .contact-section { padding-block: 25px; }
  .hero { gap: 25px; }
  .portrait { max-width: 180px; }
  h1 { font-size: 46px; }
  h2, .about-story h2, .contact-section h2 { font-size: 30px; }
  .featured-project { display: block; }
  .project, .timeline-item { break-inside: avoid; }
  .approach-section { background: #f1f3ec; color: var(--ink); }
  .approach-section h2 em, .approach-section p, .approach-section .eyebrow { color: var(--muted); }
  .principles { margin-top: 20px; }
  .contact-inner, .about-section { gap: 35px; }
}
