/* Standalone homepage styles. Legacy pages keep their existing Wowchemy theme. */
:root {
  --paper: #faf9f6;
  --tint: #f0efea;
  --ink: #172d35;
  --muted: #526269;
  --line: #d7dcd7;
  --accent: #a64d32;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 0; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .25em; }
button, input { font: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; font-weight: 600; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.25vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -.025em; }
p + p { margin-top: 1rem; }
::selection { background: #e9bdaa; color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
main:focus { outline: none; }
section[id], article[id] { scroll-margin-top: 7rem; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.mono, .eyebrow, .card-number, .lifecycle-number, .panel-index { font-family: "Cascadia Code", Consolas, monospace; font-size: .7rem; letter-spacing: .1em; }
.eyebrow { font-weight: 600; text-transform: uppercase; color: var(--accent); line-height: 1.6; }
.skip-link { position: fixed; top: 1rem; left: 1rem; transform: translateY(-200%); z-index: 100; background: var(--ink); color: white; padding: .75rem 1rem; }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 86px; }
.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.brand-mark { font-size: 1.55rem; letter-spacing: -.09em; color: var(--accent); margin-top: -.2rem; }
.brand-degree { color: var(--muted); font-weight: 400; }
nav { display: flex; gap: 1.5rem; margin-left: auto; align-items: center; }
nav a, .header-contact { text-decoration: none; font-size: .75rem; white-space: nowrap; }
nav a { padding-block: .75rem; }
nav a:hover { color: var(--accent); text-decoration: underline; }
.header-contact { border-bottom: 1px solid var(--ink); padding-block: .35rem; }
.header-contact span { margin-left: .5rem; }
.hero { padding-top: 86px; display: grid; grid-template-columns: 1.5fr 1fr; column-gap: 80px; }
.hero-copy { padding-top: 8px; }
.hero .eyebrow { display: flex; align-items: center; gap: .7rem; font-size: .65rem; letter-spacing: .06em; }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.hero-name { color: var(--muted); font-size: 1rem; margin-top: 2rem; margin-bottom: .7rem; }
h1 { font-size: clamp(2.8rem, 4.6vw, 4.2rem); line-height: 1.05; letter-spacing: -.055em; }
h1 span { color: var(--accent); }
.hero-intro { max-width: 33rem; font-size: 1.2rem; line-height: 1.5; margin-top: 1.7rem; }
.hero-description { max-width: 34rem; font-size: .96rem; color: var(--muted); margin-top: 1rem; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; }
.button { display: inline-flex; gap: 2rem; align-items: center; justify-content: space-between; background: var(--ink); color: white; padding: .85rem 1.2rem; text-decoration: none; font-size: .8rem; border: 1px solid var(--ink); }
.button:hover { background: #28454e; }
.text-link { font-size: .83rem; font-weight: 600; text-decoration: none; display: inline-flex; gap: .8rem; align-items: center; }
.text-link:hover { text-decoration: underline; }
.system-panel { background: var(--ink); color: #f6f5ed; padding: 27px 30px 24px; position: relative; align-self: start; margin-top: 8px; border-radius: 2px; }
.panel-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.3rem; border-bottom: 1px solid #53646a; color: #c4d1d2; }
.panel-index { color: #ecae91; }
.panel-title { font-size: 2.1rem; line-height: 1.17; letter-spacing: -.04em; margin-top: 1.5rem; }
.system-steps { list-style: none; padding: 0; margin: 1.8rem 0 1.4rem; }
.system-steps li { display: flex; gap: 1rem; position: relative; padding-bottom: 1.3rem; }
.system-steps li:last-child { padding-bottom: 0; }
.system-steps li:not(:last-child)::before { content: ""; position: absolute; width: 1px; background: #526a70; top: 29px; bottom: 0; left: 14px; }
.step-node { display: grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px; border: 1px solid #778f91; border-radius: 50%; font: .6rem Consolas, monospace; color: #ecae91; }
.system-steps strong { display: block; font-size: .84rem; line-height: 1.5; font-weight: 500; }
.system-steps div > span { display: block; font-size: .69rem; color: #bbc9ca; margin-top: .15rem; }
.panel-bottom { font-size: .65rem; border-top: 1px solid #53646a; padding-top: 1rem; color: #c4d1d2; }
.panel-bottom span { color: #ecae91; margin-right: .7rem; }
.hero-foot { grid-column: 1 / -1; display: flex; gap: 2rem; align-items: center; border-top: 1px solid var(--line); padding: 24px 0; margin-top: 68px; }
.hero-foot .mono { flex-shrink: 0; color: var(--muted); font-size: .6rem; }
.hero-foot p { font-size: .74rem; }
.hero-foot p span { color: var(--accent); padding-inline: .45rem; }
.section { padding-block: 88px; }
.section-tinted { background: var(--tint); }
.section-heading { display: flex; justify-content: space-between; gap: 3rem; align-items: end; margin-bottom: 44px; }
.section-heading .eyebrow, .capabilities-layout .eyebrow, .about-layout .eyebrow, .contact-layout .eyebrow { margin-bottom: 1.1rem; }
.section-heading > p { max-width: 330px; color: var(--muted); font-size: .9rem; }
.expertise-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.expertise-grid article { padding: 25px 24px 0; border-left: 1px solid var(--line); }
.expertise-grid article:first-child { padding-left: 0; border-left: none; }
.expertise-grid article:last-child { padding-right: 0; }
.card-number { color: var(--accent); }
.expertise-grid h3 { font-size: 1.15rem; margin-block: 1.5rem .9rem; }
.expertise-grid p { font-size: .85rem; color: var(--muted); }
.lifecycle { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); }
.lifecycle li { padding: 22px 26px 0 0; }
.lifecycle li:last-child { padding-right: 0; }
.lifecycle-number { display: flex; justify-content: space-between; color: var(--accent); padding-right: 8px; }
.lifecycle-number span { font-size: 1.1rem; line-height: 1; }
.lifecycle h3 { margin-block: 1.2rem .8rem; }
.lifecycle p { color: var(--muted); font-size: .84rem; }
.process-note { margin-top: 35px; font-size: .76rem; color: var(--muted); }
.process-note span { color: var(--accent); margin-right: .5rem; }
.work-section { background: #eeefeb; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work-card { padding: 32px; background: var(--paper); border: 1px solid #d8ddd7; border-radius: 2px; display: flex; flex-direction: column; }
.work-featured { border-top: 3px solid var(--accent); padding-top: 30px; }
.work-top { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 26px; }
.work-top .eyebrow { font-size: .62rem; letter-spacing: .07em; }
.work-symbol { font-size: 1.3rem; color: var(--accent); }
.work-card h3 { font-size: 1.85rem; line-height: 1.17; margin-bottom: 1.2rem; }
.work-card > p, .work-research p { font-size: .87rem; color: var(--muted); }
.metrics { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; margin-block: 28px 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.metrics strong { display: block; font-size: 2.15rem; font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
.metrics span { display: block; color: var(--muted); font-size: .7rem; max-width: 180px; margin-top: .6rem; }
.work-card > .metric-note { font-size: .7rem; line-height: 1.6; margin-top: 0; margin-bottom: 22px; }
details { border-top: 1px solid var(--line); margin-top: auto; }
summary { cursor: pointer; font-size: .78rem; padding-block: 15px; font-weight: 600; }
summary span { float: right; color: var(--accent); font-size: 1rem; line-height: 1.3; }
details[open] summary span { transform: rotate(45deg); }
.case-detail { font-size: .8rem; color: var(--muted); padding: 0 0 1rem; }
.case-takeaway { color: var(--ink); border-left: 2px solid var(--accent); padding-left: 12px; }
.tags { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 15px 0 0; gap: 7px; }
.tags li { font-size: .6rem; background: #eeefea; border: 1px solid #dce0d9; border-radius: 2px; padding: 3px 8px; color: #46585f; }
.work-small h3 { font-size: 1.65rem; }
.work-small > p { margin-bottom: 24px; }
.work-research { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; }
.work-research .work-top { margin-bottom: 20px; }
.research-case-side { border-left: 1px solid var(--line); padding-left: 40px; display: flex; flex-direction: column; justify-content: center; gap: .9rem; }
.research-case-side p + p { margin-top: 0; }
.research-case-side .mono { color: var(--accent); font-size: .72rem; }
.subtle-link { font-size: .74rem; color: var(--muted); }
.experience-row { display: grid; grid-template-columns: 250px 1fr; border-top: 1px solid var(--line); padding-block: 30px; gap: 50px; }
.experience-label { display: flex; flex-direction: column; gap: .6rem; font-size: .8rem; color: var(--muted); }
.experience-row h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.experience-row p { font-size: .9rem; max-width: 700px; color: var(--muted); }
.experience-row .text-link { margin-top: 1.2rem; }
.experience-current { border-top: 2px solid var(--ink); }
.experience-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 1rem; }
.career-details { margin-top: 1rem; max-width: 650px; }
.career-details ul { list-style: none; padding: 0; font-size: .82rem; color: var(--muted); }
.career-details li + li { margin-top: 1rem; }
.career-details strong { color: var(--ink); font-weight: 500; }
.capabilities-section { background: var(--ink); color: #f4f3ee; }
.capabilities-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 100px; }
.capabilities-layout .eyebrow { color: #ecae91; }
.capabilities-intro { margin-top: 1.7rem; max-width: 310px; font-size: .87rem; color: #bdcccd; }
.capability-list > div { padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #52656a; }
.capability-list > div:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.capability-list h3 { font-size: 1.1rem; margin-bottom: .7rem; }
.capability-list p { font-size: .85rem; color: #d0d9d8; }
.capability-list .tools { font-size: .72rem; color: #b9c9ca; margin-top: .75rem; line-height: 1.9; }
.research-layout { display: grid; grid-template-columns: 1fr 1.7fr; gap: 64px; }
.education { background: var(--tint); padding: 30px; align-self: start; }
.education .eyebrow { margin-bottom: 1rem; }
.education h3 { font-size: 1.5rem; line-height: 1.2; }
.education dl { margin-bottom: 0; margin-top: 1.8rem; }
.education dt { font-size: .85rem; font-weight: 600; margin-top: 1.2rem; }
.education dd { font-size: .76rem; margin: .25rem 0 0; color: var(--muted); }
.publication-list > a { display: block; text-decoration: none; padding-block: 24px; border-top: 1px solid var(--line); }
.publication-list > a:first-child { padding-top: 0; border-top: none; }
.publication-list .eyebrow { font-size: .6rem; }
.publication-list h3 { font-size: 1.3rem; line-height: 1.35; margin-block: .65rem; max-width: 580px; }
.publication-link { font-size: .75rem; color: var(--muted); }
.publication-list > a:hover h3 { color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.publication-actions { display: flex; flex-wrap: wrap; gap: 2rem; border-top: 1px solid var(--line); padding-top: 24px; }
.about-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center; }
.about-identity img { width: 220px; height: 220px; object-fit: cover; border-radius: 2px; filter: saturate(.65); }
.about-identity p { font-size: .85rem; font-weight: 600; margin-top: 1rem; }
.about-identity p span { display: block; color: var(--muted); font-size: .7rem; font-weight: 400; margin-top: .2rem; }
.about-layout h2 { font-size: clamp(1.9rem, 2.8vw, 2.7rem); }
.about-layout h2 + p { margin-top: 1.7rem; }
.about-layout p { color: var(--muted); font-size: .88rem; }
.about-layout .about-lead { color: var(--ink); font-size: 1.03rem; }
.about-layout .languages { color: var(--accent); font-size: .72rem; margin-top: 1.7rem; }
.contact-section { background: var(--ink); color: #f4f3ee; padding-block: 76px; }
.contact-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 110px; align-items: center; }
.contact-layout .eyebrow { color: #ecae91; }
.contact-layout h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); }
.contact-layout p:not(.eyebrow) { color: #c2cecf; margin-top: 1.4rem; font-size: .87rem; }
.button-light { background: #f4f3ee; color: var(--ink); margin-top: 1.8rem; border-color: #f4f3ee; }
.button-light:hover { background: #e1e5de; }
.contact-links a { display: flex; justify-content: space-between; padding-block: 1rem; border-bottom: 1px solid #53656a; text-decoration: none; font-size: .9rem; }
.contact-links a:hover { color: #ecae91; }
.contact-section :focus-visible, .capabilities-section :focus-visible { outline-color: #ecae91; }
.site-footer { padding-block: 24px; display: flex; justify-content: space-between; gap: 1rem; font-size: .65rem; color: var(--muted); }
.site-footer p + p { margin: 0; }
.site-footer div { display: flex; gap: 1.4rem; }
@media (min-width: 1500px) { .hero { padding-top: 105px; } }
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { gap: 1.2rem; }
  nav { gap: 1rem; }
  .brand-degree { display: none; }
  .header-contact { display: none; }
  .hero { gap: 45px; padding-top: 65px; grid-template-columns: 1.3fr 1fr; }
  .hero .eyebrow { font-size: .59rem; }
  .system-panel { padding-inline: 22px; }
  .hero-foot { margin-top: 25px; gap: 1.3rem; align-items: start; }
  .hero-foot p { line-height: 1.9; }
  .section { padding-block: 70px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .expertise-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
  .expertise-grid article:nth-child(2) { padding-right: 0; }
  .work-card { padding: 26px; }
  .work-featured { padding-top: 24px; }
  .work-research { gap: 35px; }
  .experience-row { grid-template-columns: 190px 1fr; gap: 30px; }
  .capabilities-layout, .about-layout { gap: 50px; }
  .research-layout { gap: 35px; }
  .contact-layout { gap: 65px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 0; }
  section[id], article[id] { scroll-margin-top: 8rem; }
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 0; padding-top: 13px; padding-bottom: 8px; flex-wrap: wrap; gap: 5px; }
  .brand { font-size: .83rem; }
  .brand-degree { display: inline; }
  .brand-mark { font-size: 1.35rem; }
  nav { width: 100%; margin: 0; gap: 0; justify-content: space-between; }
  nav a { font-size: .68rem; padding: .65rem 0; }
  .hero { display: block; padding-top: 38px; }
  .hero .eyebrow { font-size: .56rem; letter-spacing: .035em; gap: .4rem; }
  .hero-name { margin-top: 1.7rem; font-size: .9rem; }
  h1 { font-size: clamp(2.7rem, 8.8vw, 4rem); }
  .hero-intro { font-size: 1.1rem; max-width: 34rem; }
  .hero-description { font-size: .88rem; }
  .actions { gap: 1.25rem; }
  .button { gap: 1rem; padding: .8rem 1rem; font-size: .75rem; }
  .actions .text-link { font-size: .75rem; }
  .system-panel { margin-top: 38px; padding: 24px; }
  .panel-title { font-size: 1.7rem; }
  .system-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 15px; }
  .system-steps li { padding-bottom: 0; gap: .6rem; }
  .system-steps li::before { display: none; }
  .system-steps strong { font-size: .72rem; }
  .system-steps div > span { font-size: .6rem; }
  .hero-foot { display: block; margin-top: 30px; padding-block: 20px; }
  .hero-foot p { font-size: .69rem; margin-top: .6rem; }
  .hero-foot p span { padding-inline: .15rem; }
  .section { padding-block: 54px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading > p { max-width: 100%; margin-top: 1.4rem; font-size: .85rem; }
  h2 { font-size: 2rem; }
  .expertise-grid article { padding-right: 16px; padding-left: 16px; }
  .expertise-grid h3 { font-size: 1.05rem; }
  .expertise-grid p { font-size: .8rem; }
  .lifecycle { display: block; }
  .lifecycle li { display: grid; grid-template-columns: 35px 100px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
  .lifecycle-number { padding: 0; }
  .lifecycle-number span { display: none; }
  .lifecycle h3 { font-size: 1rem; margin: 0; line-height: 1.5; }
  .lifecycle p { font-size: .78rem; }
  .process-note { margin-top: 23px; }
  .work-grid { display: block; }
  .work-card { margin-bottom: 16px; padding: 24px; }
  .work-featured { padding-top: 22px; }
  .work-card h3 { font-size: 1.65rem; }
  .work-card > p { font-size: .83rem; }
  .work-card h3 br { display: none; }
  .metrics { gap: 15px; }
  .metrics strong { font-size: 1.9rem; }
  .work-research { display: block; }
  .research-case-side { margin-top: 25px; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .experience-row { display: block; }
  .experience-label { flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 20px; }
  .experience-dot { margin: 0; }
  .experience-row h3 { font-size: 1.4rem; }
  .experience-row p { font-size: .85rem; }
  .capabilities-layout, .research-layout, .about-layout, .contact-layout { display: block; }
  .capabilities-intro { max-width: 100%; margin-bottom: 32px; }
  .education { margin-bottom: 32px; }
  .about-identity { display: flex; align-items: center; gap: 20px; margin-bottom: 35px; }
  .about-identity img { width: 95px; height: 95px; }
  .about-identity p { margin: 0; }
  .about-layout h2 br { display: none; }
  .contact-section { padding-block: 54px; }
  .contact-links { margin-top: 30px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer > p:nth-child(2) { display: none; }
  .site-footer div { gap: 1rem; }
}
@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  nav a { font-size: .62rem; }
  .hero .eyebrow { max-width: 260px; }
  .system-steps { display: block; }
  .system-steps li { margin-bottom: 17px; }
  .lifecycle li { grid-template-columns: 25px 90px 1fr; gap: 7px; }
  .work-card { padding-inline: 18px; }
}
@media print {
  .site-header, .skip-link, .system-panel, .site-footer, .contact-section { display: none; }
  body { color: #000; background: #fff; font-size: 10pt; }
  .shell { width: 100%; }
  .hero { display: block; padding-top: 0; }
  .section { padding-block: 25px; }
  .section, .work-card, .education { background: #fff; color: #000; }
  h1 { font-size: 32pt; } h2 { font-size: 22pt; }
  .capabilities-section p, .capabilities-section .eyebrow { color: #333; }
  .work-card, .experience-row, .publication-list > a { break-inside: avoid; }
}

