/* Portfolio presentation. Public image and document URLs remain relative to index.html. */
:root {
  color-scheme: light;
  --ink: #1b302f;
  --muted: #586663;
  --brand: #174f46;
  --brand-strong: #113c35;
  --brand-soft: #e9efea;
  --accent: #81724d;
  --paper: #faf9f5;
  --white: #fff;
  --wash: #f0f1eb;
  --line: #dddfd6;
  --radius: 14px;
  --max: 1240px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Avenir Next', Avenir, 'Segoe UI', sans-serif;
}

/* Foundations and shared controls */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
button { color: inherit; }
a { color: var(--brand); text-decoration: none; text-underline-offset: 5px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #638f64; outline-offset: 5px; }
::selection { background: #d0dfbc; color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h2 { margin-bottom: 0; font: 500 clamp(2rem, 3.1vw, 2.9rem)/1.16 var(--sans); letter-spacing: -.045em; }
h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; color: var(--brand); }
h3 { font-size: 1.15rem; line-height: 1.35; letter-spacing: -.025em; }
p { margin-bottom: 1rem; }
.text-nowrap { white-space: nowrap; }
.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: 20px; z-index: 100; padding: 12px 20px; background: var(--brand); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 48px; padding: 12px 21px; border: 1px solid var(--brand); border-radius: 6px; color: var(--white); background: var(--brand); font-size: .86rem; font-weight: 600; line-height: 1.45; text-align: center; transition: background .2s, border-color .2s; cursor: pointer; }
.btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); text-decoration: none; }
.btn.secondary, .btn.light { background: transparent; color: var(--brand); border-color: var(--line); }
.btn.secondary:hover, .btn.light:hover { background: var(--brand-soft); border-color: #9baea1; }
.hero-actions, .card-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card-actions { margin-top: 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 20px; }
.tag { padding: 4px 9px; border-radius: 4px; background: var(--brand-soft); color: var(--brand); font-size: .7rem; font-weight: 500; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 245, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.nav-shell, .hero-inner, .hero-bottom, .proof-grid, .section-inner, .footer-inner { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }
.nav-shell { min-height: 90px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.brand-link { display: flex; align-items: center; gap: 14px; color: var(--ink); flex-shrink: 0; }
.brand-link:hover { text-decoration: none; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--brand); border-radius: 50%; font: italic 30px/1 var(--serif); letter-spacing: -.07em; padding-right: 3px; }
.brand-mark > span { color: var(--accent); }
.brand-name { font-size: .98rem; font-weight: 650; line-height: 1.45; }
.brand-name > span { display: block; font-size: .57rem; font-weight: 500; letter-spacing: .14em; color: var(--muted); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.nav-links a { display: flex; align-items: center; gap: 18px; min-height: 44px; padding: 10px 0; color: var(--muted); font-size: .88rem; font-weight: 550; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--brand); text-decoration: underline; }
.nav-links .nav-contact { border: 1px solid #bbc8bd; border-radius: 5px; padding: 10px 15px; color: var(--brand); }
.menu-toggle { display: none; align-items: center; gap: 12px; padding: 9px 12px; background: transparent; border: 1px solid var(--line); border-radius: 6px; font-size: .8rem; min-height: 44px; }

/* Introduction */
.hero { position: relative; overflow: clip; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: center; padding-block: 67px 50px; }
.hero-content { min-width: 0; }
.eyebrow, .section-kicker { color: var(--brand); font-size: .72rem; font-weight: 650; letter-spacing: .14em; line-height: 1.6; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #8da776; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(141, 167, 118, .13); }
h1 { margin-bottom: 24px; font-size: clamp(3.2rem, 5.15vw, 4.7rem); font-weight: 500; letter-spacing: -.065em; line-height: 1.04; }
h1 em { display: block; margin-top: 9px; color: var(--brand); font: italic 400 .84em/1.17 var(--serif); letter-spacing: -.05em; }
.hero-lede { max-width: 480px; margin-bottom: 27px; color: var(--muted); font-size: .96rem; line-height: 1.8; }
.hero-actions { align-items: flex-start; }
.hero-downloads { flex-basis: 100%; margin-top: 3px; font-size: .77rem; }
.hero-downloads summary { display: flex; align-items: center; gap: 20px; width: fit-content; padding-block: 10px; color: var(--muted); }
.hero-downloads summary:hover { color: var(--brand); }
.hero-downloads summary::-webkit-details-marker { display: none; }
.download-links { display: grid; max-width: 450px; gap: 0; border: 1px solid var(--line); background: var(--white); padding: 8px 18px; border-radius: 8px; margin-bottom: 10px; }
.download-links a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-block: 10px; }
.download-links a + a { border-top: 1px solid var(--line); }
.download-links span { font-size: .62rem; white-space: nowrap; color: var(--muted); }
.hero-credentials { display: flex; flex-wrap: wrap; gap: 7px 14px; margin-top: 15px; font-size: .75rem; color: var(--muted); }
.hero-credentials span + span { border-left: 1px solid #c7ccc1; padding-left: 14px; }
.hero-visual { position: relative; margin: 0 15px 0 0; padding: 0 0 27px 21px; isolation: isolate; }
.hero-visual::before { content: ''; position: absolute; inset: 36px -18px 8px 45px; border: 1px solid #bbc8b9; border-radius: 140px 14px 14px 14px; z-index: -1; background-image: radial-gradient(#9eb298 0.65px, transparent .65px); background-size: 10px 10px; }
.hero-photo { width: 100%; height: 496px; object-fit: cover; object-position: center 40%; border-radius: 140px 12px 12px 12px; }
.photo-label { display: flex; align-items: center; gap: 9px; position: absolute; top: 24px; right: 20px; padding: 7px 12px; background: rgba(250,249,245,.94); border-radius: 4px; font-size: .53rem; font-weight: 600; letter-spacing: .12em; }
.hero-caption { position: absolute; bottom: 4px; left: 0; right: 34px; display: flex; align-items: center; gap: 16px; background: var(--brand-strong); color: var(--white); padding: 21px 24px; border-radius: 7px; }
.caption-icon { font-size: 1.7rem; line-height: 1; color: #c5d7ac; }
.hero-caption strong { display: block; font-size: .83rem; font-weight: 550; }
.hero-caption div > span { display: block; margin-top: 3px; font-size: .65rem; color: #c4d2c8; }
.photo-coordinate { position: absolute; right: -26px; top: 54%; writing-mode: vertical-rl; font-size: .52rem; letter-spacing: .15em; color: var(--muted); }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 19px 26px; color: var(--muted); font-size: .68rem; }
.hero-bottom > span > span { margin-inline: 9px; }
.hero-bottom a { font-size: .55rem; letter-spacing: .14em; display: flex; align-items: center; gap: 18px; }
.hero-bottom a span { font-size: 1rem; }
.proof-strip { border-block: 1px solid var(--line); background: #f1f2ec; }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 29px; }
.proof-item { display: flex; gap: 14px; align-items: flex-start; padding-inline: 23px; border-left: 1px solid #d5dacd; }
.proof-item:first-child { padding-left: 0; border-left: 0; }
.proof-item:last-child { padding-right: 0; }
.proof-number { font: italic .8rem var(--serif); color: var(--accent); padding-top: 3px; }
.proof-item strong { display: block; font-size: .88rem; font-weight: 600; }
.proof-item div > span { display: block; color: var(--muted); font-size: .75rem; margin-top: 4px; line-height: 1.6; }

/* Selected work and discovery */
.section-band { padding-block: 88px; border-bottom: 1px solid var(--line); }
.section-band.alt { background: var(--wash); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: end; margin-bottom: 38px; }
.section-kicker { margin-bottom: 17px; }
.section-heading > p { margin-bottom: 3px; max-width: 510px; color: var(--muted); font-size: .91rem; line-height: 1.8; }
.work-heading { grid-template-columns: 1.2fr 1fr; }
.work-heading > p { max-width: 390px; justify-self: end; }
.project-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 10px 19px; border-bottom: 1px solid var(--line); }
.project-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.project-filters button { padding: 8px 14px; border: 1px solid transparent; border-radius: 5px; background: transparent; font-size: .83rem; min-height: 44px; }
.project-filters button:hover { background: var(--brand-soft); }
.project-filters button[aria-pressed="true"] { background: var(--brand); color: var(--white); }
.site-search { display: flex; align-items: center; width: 255px; border: 1px solid var(--line); border-radius: 5px; background: var(--white); flex-shrink: 0; }
.site-search:focus-within { outline: 2px solid #638f64; outline-offset: 2px; }
.site-search input { width: 100%; min-width: 0; padding: 10px 0 10px 14px; border: 0; background: transparent; font-size: 1rem; color: var(--ink); outline: none; }
.site-search input::placeholder { color: var(--muted); opacity: 1; }
.site-search button { display: grid; place-items: center; background: none; border: 0; min-width: 44px; min-height: 44px; color: var(--muted); }
.project-results { display: flex; justify-content: space-between; gap: 15px; padding-block: 14px 22px; font-size: .75rem; color: var(--muted); }
.project-results p { margin-bottom: 0; }
.project-results > span { flex-shrink: 0; }
.selected-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.work-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--white); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.work-card:hover, .work-card:focus-within { border-color: #6e9281; box-shadow: 0 12px 32px #1b302f12; }
.work-image { position: relative; display: block; padding: 18px 18px 0; overflow: hidden; background: #e8ece5; }
.work-image img { width: 100%; height: 187px; object-fit: cover; object-position: top left; border-radius: 4px 4px 0 0; box-shadow: 0 3px 18px #1b302f17; transition: transform .35s; }
.work-card:hover .work-image img, .work-card:focus-within .work-image img { transform: translateY(-3px); }
.work-number { position: absolute; top: 12px; left: 12px; background: var(--paper); padding: 2px 7px; border-radius: 3px; color: var(--brand); font: .65rem/1.7 var(--sans); }
.work-image-arrow { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--brand); background: var(--paper); }
.work-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.work-kind { font-size: .69rem; letter-spacing: .1em; font-weight: 600; color: var(--brand); margin-bottom: 10px; }
.work-body h3 { font-size: 1.16rem; margin-bottom: 10px; letter-spacing: -.035em; }
.work-body h3 a { color: var(--ink); }
.work-body > p:not(.work-kind) { color: var(--muted); font-size: .9rem; line-height: 1.75; margin-bottom: 20px; }
.work-stack { font-size: .75rem; color: var(--muted); margin-top: auto; }
.work-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; border-top: 1px solid var(--line); padding-top: 15px; margin-top: 18px; font-size: .82rem; font-weight: 600; }
.work-link > span { font-size: 1.1rem; font-weight: 400; }
.project-empty { padding: 55px 24px; text-align: center; border: 1px dashed var(--line); border-radius: 8px; }
.project-empty p { color: var(--muted); font-size: .88rem; }
.project-index { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 25px; margin-top: 28px; padding-block: 10px; }
.project-index > span { color: var(--muted); font-size: .57rem; letter-spacing: .1em; margin-right: 4px; }
.project-index a { font-size: .71rem; }

/* Background, credentials, and experience */
.summary-layout { display: grid; grid-template-columns: .95fr 1.2fr .75fr; gap: 35px; align-items: start; }
.summary-layout h2 { font-size: clamp(1.8rem, 2.4vw, 2.2rem); }
.summary-copy p { color: var(--muted); font-size: .88rem; }
.about-profile { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.about-profile img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.about-profile strong, .about-profile span { display: block; }
.about-profile strong { font-size: .75rem; font-weight: 600; }
.about-profile span { font-size: .6rem; color: var(--muted); }
.focus-list, .feature-list { list-style: none; display: grid; gap: 12px; margin: 0; padding: 0; }
.focus-list li, .feature-list li { position: relative; padding-left: 18px; color: var(--muted); font-size: .86rem; }
.focus-list li::before, .feature-list li::before { content: ''; position: absolute; top: .7em; left: 0; width: 5px; height: 5px; background: #839373; }
.credential-grid, .experience-grid, .project-grid, .certificate-grid { display: grid; gap: 20px; }
.credential-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.credential-card, .experience-card, .project-card, .certificate-card { background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.credential-card, .certificate-card { padding: 26px; }
.credential-card img { width: 50px; height: 50px; object-fit: contain; margin-bottom: 20px; }
.credential-card h3 { font-size: 1rem; }
.credential-card p, .certificate-card span { color: var(--muted); font-size: .8rem; }
.credential-card > a { font-size: .77rem; text-decoration: underline; }
.credential-card .btn { font-size: .72rem; min-height: 42px; padding: 8px 12px; }
.study-status { display: block; color: var(--muted); font-size: .69rem; font-weight: 400; margin-top: 5px; letter-spacing: 0; }
.credential-details { margin-top: 27px; border-top: 1px solid var(--line); }
.credential-details > summary { display: flex; justify-content: space-between; align-items: center; padding-block: 20px; font-size: .83rem; color: var(--brand); }
.credential-details > summary::-webkit-details-marker { display: none; }
.credential-details > summary > span { font-size: 1.4rem; }
.credential-details[open] > summary > span { transform: rotate(45deg); }
.badge-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(125px, 1fr)); gap: 16px; }
.badge-link { min-height: 140px; display: grid; place-items: center; padding: 15px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.badge-link img { width: 110px; height: 110px; object-fit: contain; }
.certificate-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 20px; }
.certificate-card { display: flex; flex-direction: column; gap: 12px; }
.certificate-card strong { font-size: .91rem; line-height: 1.4; }
.certificate-card .btn { margin-top: auto; align-self: flex-start; font-size: .75rem; }
.experience-grid { grid-template-columns: 1fr; gap: 12px; margin-left: 6px; padding-left: 32px; border-left: 1px solid #b9c9bf; }
.experience-card { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: start; gap: 22px; padding: 28px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.experience-card::before { content: ''; position: absolute; left: -39px; top: 43px; width: 12px; height: 12px; border: 3px solid var(--paper); border-radius: 50%; background: #8fa999; box-shadow: 0 0 0 1px #b9c9bf; }
.experience-card:first-child { background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.experience-card:first-child::before { left: -40px; background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.experience-card:last-child { border-bottom: 0; }
.experience-logo { width: 54px; height: 54px; object-fit: contain; margin-bottom: 10px; }
.experience-card h3 { font-size: 1.04rem; }
.experience-card p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }
.experience-card .meta { font-size: .77rem; color: var(--brand); margin-bottom: 12px; font-weight: 500; }

/* Project details and galleries */
.feature-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 30px; }
.feature-copy { padding: 28px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); }
.feature-copy h3 { font-size: 1.05rem; }
.feature-copy p { color: var(--muted); }
.media-carousel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; overflow: hidden; background: #e8ece6; border: 1px solid var(--line); border-radius: 9px; }
.carousel-track { grid-column: 1; grid-row: 1; min-width: 0; display: flex; align-items: stretch; transition: transform .35s ease; }
.carousel-slide { flex: 0 0 100%; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 12px; aspect-ratio: 16 / 11; }
.carousel-slide img { width: 100%; height: 100%; max-height: 540px; object-fit: contain; border-radius: 3px; }
.carousel-control { position: relative; grid-column: 1; grid-row: 1; align-self: center; z-index: 3; width: 44px; height: 44px; display: none; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--brand); background: rgba(250,249,245,.97); font-size: 1.6rem; box-shadow: 0 2px 10px #1b302f14; }
.js .carousel-control { display: flex; }
.carousel-control:hover { background: var(--brand); color: var(--white); }
.carousel-control.prev { justify-self: start; left: 10px; }
.carousel-control.next { justify-self: end; right: 10px; }
.carousel-dots { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0; padding: 3px 12px; background: var(--paper); }
.carousel-dots:empty { display: none; }
.carousel-dot { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; padding: 0; }
.carousel-dot::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #a3afa0; }
.carousel-dot[aria-current="true"]::before { background: var(--brand); width: 7px; height: 7px; }
.carousel-status { grid-column: 1; grid-row: 3; margin: 0; padding: 3px 12px 9px; text-align: center; color: var(--muted); background: var(--paper); font-size: .73rem; }
html:not(.js) .carousel-track { overflow-x: auto; scroll-snap-type: x mandatory; }
html:not(.js) .carousel-slide { scroll-snap-align: start; }
.summary-proof-carousel .carousel-slide { aspect-ratio: 3 / 4; }
.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.project-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
.project-card.featured { grid-column: span 2; }
.project-card > img, .project-card > video { width: 100%; aspect-ratio: 16 / 8; object-fit: contain; background: #edf0e9; border-bottom: 1px solid var(--line); }
.project-card > .media-carousel { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.project-card .carousel-slide { aspect-ratio: 16 / 9; }
.project-body { display: flex; flex: 1; flex-direction: column; padding: 27px; }
.project-body h3 { font-size: 1.08rem; }
.project-body p, .project-body > ul { font-size: .85rem; color: var(--muted); }
.project-body > .card-actions { margin-top: auto; padding-top: 12px; }
.project-body .btn { font-size: .77rem; padding: 10px 14px; }
.project-body > .tag-row { padding-top: 8px; }
.disclaimer { margin-top: 28px; padding: 18px 22px; border-left: 2px solid #9c9e78; color: var(--muted); background: #f0f1e9; font-size: .78rem; }
.ercot-updates { border-block: 1px solid var(--line); margin-block: 12px 22px; }
.ercot-updates summary { padding-block: 14px; font-size: .8rem; font-weight: 550; color: var(--brand); }
.ercot-updates > p { font-size: .76rem; }
.ercot-updates ul { list-style: none; padding: 0; max-height: 430px; overflow-y: auto; }
.ercot-updates li { border-top: 1px solid var(--line); padding-block: 14px; font-size: .78rem; }
.ercot-updates li p { font-size: .76rem; margin-block: 6px 0; }
.ercot-updates .update-meta { color: var(--muted); font-size: .68rem; }
.ercot-updates .update-effectiveness { color: var(--brand); padding-left: 10px; border-left: 2px solid #9c9e78; }
.atlas-embed-layout { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(0, 1fr); gap: 27px; align-items: start; }
.atlas-frame-shell { min-width: 0; overflow: hidden; border-radius: 9px; border: 1px solid var(--line); }
.atlas-frame { display: block; width: 100%; height: 690px; border: 0; background: #07111f; }
.atlas-copy-card { padding: 25px; background: var(--wash); border: 1px solid var(--line); border-radius: 9px; }
.atlas-copy-card h3 { font-size: 1.03rem; }
.atlas-copy-card p { color: var(--muted); font-size: .83rem; }
.atlas-facts { display: grid; gap: 16px; margin-block: 22px; }
.atlas-fact { padding-left: 12px; border-left: 2px solid #9cae8e; }
.atlas-fact strong { display: block; font-size: .78rem; font-weight: 600; }
.atlas-fact span { display: block; font-size: .73rem; color: var(--muted); margin-top: 4px; }
.atlas-copy-card .btn { font-size: .76rem; padding: 10px 15px; }
.atlas-copy-card .atlas-note { margin: 18px 0 0; font-size: .68rem; }

/* Personal work, contact, and footer */
.personal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.media-panel { overflow: hidden; border-radius: 9px; }
.music-frame { display: block; width: 100%; height: 450px; border: 0; border-radius: 9px; background: transparent; }
#contact { background: var(--brand-strong); color: var(--white); border: 0; }
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 90px; }
#contact .section-kicker { color: #c1d2ae; }
#contact h2 { margin-bottom: 26px; }
#contact h2 em { color: #c1d2ae; }
.contact-card > p:not(.section-kicker) { max-width: 570px; color: #c4d3cb; font-size: .85rem; }
.contact-actions { margin-top: 26px; }
.contact-actions .btn { font-size: .73rem; padding: 11px 15px; }
.contact-actions .btn:not(.light) { background: #d7e1c6; color: var(--brand-strong); border-color: #d7e1c6; }
.contact-actions .btn.light { color: #e5ece1; border-color: #50736a; }
.contact-actions .btn:hover { background: #e4ebdb; color: var(--brand-strong); }
.contact-card + .contact-card { border-left: 1px solid #42665b; padding-left: 45px; align-self: center; }
.contact-card h3 { font-size: .64rem; letter-spacing: .14em; font-weight: 500; text-transform: uppercase; color: #c4d3cb; }
.contact-links { display: grid; gap: 0; }
.contact-links a { color: var(--white); font-size: .84rem; border-bottom: 1px solid #42665b; padding-block: 13px; overflow-wrap: anywhere; }
.copy-status { min-height: 22px; margin-top: 14px; color: #d7e1c6; font-size: .75rem; }
.site-footer { background: #0e302b; color: #c4d3cb; padding-block: 25px; font-size: .68rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding-right: 170px; }
.site-footer a { color: #d7e1c6; }
.assistant-launch { position: fixed; right: 24px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 15px; background: var(--brand); color: var(--white); border: 1px solid #719087; border-radius: 6px; font-size: .72rem; box-shadow: 0 3px 18px #0f302b1a; }
.assistant-launch:hover { background: var(--brand-strong); text-decoration: none; }
.assistant-launch > span:first-child { color: #d7e1c6; font-size: 1rem; }

/* Responsive layout. Every collection remains accessible without JavaScript. */
@media (min-width: 1101px) {
  /* Two large lead projects, then four compact cards. Filtered results use
     the regular grid; older browsers without :has keep that grid as well. */
  .selected-grid:not(:has([hidden])) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .selected-grid:not(:has([hidden])) .work-card--featured { grid-column: span 2; }
  .selected-grid:not(:has([hidden])) .work-card--featured .work-image { padding: 24px 24px 0; background: #dfe7de; }
  .selected-grid:not(:has([hidden])) .work-card--featured .work-image img { height: 250px; }
  .selected-grid:not(:has([hidden])) .work-card--featured .work-body { padding: 28px; }
  .selected-grid:not(:has([hidden])) .work-card--featured h3 { font-size: 1.6rem; }
  #experience .section-inner { display: grid; grid-template-columns: .9fr 1.7fr; align-items: start; gap: 55px; }
  #experience .section-heading { display: block; position: sticky; top: 120px; }
  #experience .section-heading > p { margin-top: 24px; }
}
@media (min-width: 1450px) { .hero-inner { padding-block: 80px 60px; } }
@media (max-width: 1100px) {
  .nav-shell, .hero-inner, .hero-bottom, .proof-grid, .section-inner, .footer-inner { width: calc(100% - 64px); }
  .hero-inner { gap: 32px; }
  .hero-photo { height: 470px; }
  .nav-links { gap: 20px; }
  .proof-item { padding-inline: 15px; gap: 9px; }
  .proof-item strong { font-size: .8rem; }
  .proof-item div > span { font-size: .72rem; }
  .work-body { padding: 20px; }
  .work-image img { height: 157px; }
  .work-stack { font-size: .75rem; }
  .summary-layout { grid-template-columns: 1fr 1.4fr; }
  .summary-proof-carousel { grid-column: 1; grid-row: 2; }
  .summary-copy { grid-column: 2; grid-row: 1 / 3; }
  .summary-proof-carousel .carousel-slide { aspect-ratio: 4 / 3; }
  .section-heading { gap: 40px; }
  .project-filters button { padding-inline: 10px; font-size: .8rem; }
  .site-search { width: 220px; }
  .atlas-embed-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
  .contact-grid { gap: 40px; }
}
@media (max-width: 820px) {
  .nav-shell { min-height: 78px; }
  .js .menu-toggle { display: flex; }
  .js .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 14px 20px 22px; flex-direction: column; gap: 3px; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 15px 20px #1b302f0b; }
  .js .nav-links.is-open { display: flex; }
  .js .nav-links a { min-height: 44px; padding-inline: 10px; font-size: .9rem; }
  html:not(.js) .nav-shell { flex-wrap: wrap; padding-block: 12px; gap: 10px; }
  html:not(.js) .nav-links { flex-wrap: wrap; gap: 6px 12px; }
  html:not(.js) .site-header { position: static; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: .8rem; }
  .nav-links .nav-contact { padding-inline: 10px; }
  .brand-name { font-size: .88rem; }
  .brand-name > span { font-size: .5rem; }
  .brand-mark { width: 39px; height: 39px; font-size: 26px; }
  .hero-inner { gap: 20px; padding-top: 44px; }
  h1 { font-size: 3.15rem; }
  .hero-lede { font-size: .87rem; }
  .hero-photo { height: 440px; border-top-left-radius: 95px; }
  .hero-visual { padding-left: 5px; margin-right: 12px; }
  .hero-caption { right: 10px; padding: 17px; gap: 10px; }
  .hero-caption strong { font-size: .7rem; }
  .hero-caption div > span { font-size: .58rem; }
  .hero-credentials { font-size: .73rem; }
  .hero-credentials span + span { border-left: 0; padding-left: 0; }
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 15px; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
  .proof-item strong { font-size: .79rem; }
  .proof-item div > span { font-size: .68rem; }
  .section-band { padding-block: 65px; }
  .selected-grid, .credential-grid, .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-card.featured { grid-column: span 2; }
  .project-toolbar { align-items: stretch; flex-direction: column; gap: 15px; }
  .site-search { width: 100%; }
  .project-filters button { font-size: .8rem; padding-inline: 14px; }
  .work-image img { height: 180px; }
  .feature-layout, .atlas-embed-layout { grid-template-columns: 1fr; }
  .atlas-facts { grid-template-columns: repeat(3, 1fr); }
  .atlas-copy-card { padding: 25px; }
  .experience-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; gap: 30px; }
  .section-heading > p { font-size: .85rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card + .contact-card { padding-left: 0; border-left: 0; }
  .contact-links { grid-template-columns: 1fr 1fr; column-gap: 30px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 88px; }
  .nav-shell, .hero-inner, .hero-bottom, .proof-grid, .section-inner, .footer-inner { width: calc(100% - 40px); }
  .nav-shell { min-height: 72px; }
  .brand-name { font-size: .92rem; }
  .brand-name > span { font-size: .52rem; }
  .nav-links a { min-height: 44px; padding-inline: 10px; font-size: .9rem; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 36px 22px; gap: 30px; }
  .eyebrow { margin-bottom: 21px; font-size: .7rem; }
  h1 { font-size: clamp(2.9rem, 11.3vw, 4.1rem); }
  h1 em { font-size: .83em; }
  .hero-lede { max-width: 490px; font-size: .9rem; margin-bottom: 23px; }
  .hero-actions > .btn { flex: 1; padding-inline: 12px; gap: 12px; }
  .hero-downloads { font-size: .73rem; }
  .hero-credentials { margin-top: 9px; font-size: .73rem; gap: 4px 12px; }
  .hero-visual { margin: 0 18px 0 0; padding: 0 0 24px 10px; }
  .hero-photo { height: 385px; object-position: center 41%; border-top-left-radius: 95px; }
  .hero-caption { right: 24px; padding: 18px 22px; }
  .hero-caption strong { font-size: .83rem; }
  .hero-caption div > span { font-size: .66rem; }
  .hero-bottom { font-size: .59rem; padding-block: 15px 22px; }
  .hero-bottom a { font-size: .48rem; gap: 8px; }
  .hero-bottom > span > span { margin-inline: 4px; }
  .proof-grid { padding-block: 23px; gap: 22px 10px; }
  .proof-item { gap: 7px; padding-inline: 10px; }
  .proof-item strong { font-size: .8rem; }
  .proof-item div > span { font-size: .72rem; }
  .proof-number { font-size: .7rem; }
  .section-band { padding-block: 50px; }
  .section-heading, .summary-layout, .personal-grid { grid-template-columns: 1fr; gap: 22px; }
  .section-heading { margin-bottom: 27px; }
  .section-kicker { font-size: .72rem; margin-bottom: 13px; }
  h2 { font-size: 2.15rem; }
  .work-heading > p { justify-self: start; max-width: 100%; }
  .project-filters { gap: 4px; }
  .project-filters button { font-size: .8rem; padding-inline: 11px; }
  .selected-grid, .credential-grid, .project-grid { grid-template-columns: 1fr; gap: 20px; }
  .project-card.featured { grid-column: auto; }
  .work-image img { height: auto; aspect-ratio: 16 / 9; }
  .work-body { padding: 23px; }
  .work-kind { font-size: .7rem; }
  .work-body h3 { font-size: 1.3rem; }
  .work-body > p:not(.work-kind) { font-size: .9rem; }
  .work-stack { font-size: .75rem; }
  .work-link { font-size: .8rem; }
  .project-index { gap: 12px 18px; }
  .project-index > span { flex-basis: 100%; }
  .summary-copy, .summary-proof-carousel { grid-column: auto; grid-row: auto; }
  .summary-proof-carousel { max-width: 420px; width: 100%; }
  .summary-proof-carousel .carousel-slide { aspect-ratio: 4 / 3; }
  .about-profile { margin-top: 20px; }
  .credential-card, .certificate-card, .feature-copy, .project-body, .atlas-copy-card { padding: 23px; }
  .experience-card { padding: 23px; gap: 16px; grid-template-columns: 44px 1fr; }
  .experience-grid { padding-left: 20px; }
  .experience-card::before { left: -27px; }
  .experience-card:first-child::before { left: -28px; }
  .experience-logo { width: 44px; height: 44px; }
  .atlas-frame { height: 680px; }
  .atlas-facts { grid-template-columns: 1fr; }
  .carousel-dots { padding-inline: 12px; }
  .carousel-slide { aspect-ratio: 4 / 3; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-actions .btn { min-height: 44px; }
  .footer-inner { padding-right: 0; }
  .assistant-launch { position: static; width: fit-content; margin: 20px 20px 0; font-size: .7rem; }
}
@media (max-width: 380px) {
  .hero-actions > .btn { flex-basis: 100%; justify-content: space-between; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .hero-visual, .hero-bottom, .project-toolbar, .project-results, .assistant-launch, .carousel-control, .carousel-dots, .carousel-status, .music-frame, .atlas-frame-shell { display: none !important; }
  body, .section-band, .section-band.alt, #contact, .site-footer { background: white; color: black; }
  .hero-inner, .section-inner, .proof-grid, .footer-inner { width: 100%; }
  .hero-inner, .section-heading, .summary-layout, .contact-grid, .feature-layout, .atlas-embed-layout { display: block; }
  #experience .section-inner { display: block; }
  #experience .section-heading { position: static; }
  .section-band { padding-block: 28px; }
  h1 { font-size: 36pt; }
  h2 { font-size: 24pt; }
  a, #contact h2 em, .contact-links a, .contact-card > p:not(.section-kicker) { color: black; }
  .work-card, .credential-card, .experience-card, .project-card { break-inside: avoid; }
}
