:root {
  color-scheme: light;
  --ink: #202542;
  --muted: #535469;
  --paper: #fbf7ef;
  --card: #fffdf8;
  --line: #ded6cb;
  --coral: #a54842;
  --lavender: #e8e0f2;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.shell { width: min(100% - 3rem, 76rem); margin-inline: auto; }
main { padding-bottom: clamp(3rem, 8vw, 7rem); min-height: 72vh; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(3rem, 7.5vw, 6.8rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.35rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.eyebrow { font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .13em; color: var(--coral); }
.lede, .meta, .methods { color: var(--muted); }
.lede { max-width: 62ch; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; padding: .65rem; background: var(--card); }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.8rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 1.22rem var(--serif); text-decoration: none; white-space: nowrap; }
.mark { display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--coral); color: var(--coral); border-radius: 50%; }
.nav-links { display: flex; flex-wrap: wrap; gap: .45rem 1.25rem; font-size: .88rem; }
.nav-links a { text-decoration: none; padding: .3rem 0; }
.nav-links a:hover, .nav-links [aria-current] { text-decoration: underline; color: var(--coral); }
.button, .menu-button { display: inline-flex; justify-content: center; align-items: center; gap: .65em; min-height: 2.8rem; padding: .65rem 1.15rem; border: 1px solid transparent; border-radius: 100vw; font-size: .9rem; font-weight: 650; text-decoration: none; transition: background-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-small { padding-inline: .85rem; }
.connect { background: #f2d9d1; color: #6e2d2a; white-space: nowrap; }
.connect:hover { background: #eac6ba; }
.primary { background: var(--ink); color: white; }
.primary:hover { background: #3e4064; }
.secondary, .menu-button { border-color: #8d899d; background: transparent; color: var(--ink); }
.secondary:hover, .menu-button:hover { background: var(--lavender); }

.hero { display: grid; grid-template-columns: 1.14fr .86fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 7vw, 6rem) 2.8rem; }
.accent { color: var(--coral); }
.hero-title { margin: 1.2rem 0 .75rem; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.17; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-art {
  min-height: 24rem;
  aspect-ratio: 1 / 1.14;
  position: relative;
  overflow: hidden;
  border-radius: 48% 48% 1.25rem 1.25rem;
  background: var(--lavender);
}
.hero-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 59% center;
}
.impact { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; padding: 1.65rem clamp(1.2rem, 4vw, 3rem); border-radius: 1rem; background: var(--ink); color: #fff9ef; }
.impact > div + div { border-left: 1px solid #fff5e04d; padding-left: clamp(.8rem, 3vw, 2.5rem); }
.impact strong { display: block; font: 400 clamp(1.8rem, 4vw, 3.2rem)/1.2 var(--serif); color: #f5c9b8; }
.impact p { margin: .35rem 0 0; font-size: .85rem; }
.section { margin-top: clamp(2.5rem, 7vw, 6rem); }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; }
.text-link { color: var(--coral); font-weight: 700; font-size: .9rem; }
.text-link:hover { color: var(--ink); }
.page-heading { padding-block: clamp(2.8rem, 7vw, 6rem) 2.25rem; }
.page-heading h1, .case-header h1 { font-size: clamp(2.7rem, 6.8vw, 5.7rem); }
.page-heading .lede, .case-header .lede { margin: 1rem 0 0; font-size: 1.1rem; }
.gallery, .leadership-grid, .contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.15rem; }
.project-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--card); transition: box-shadow .25s, translate .25s; }
.project-card:hover, .project-card:focus-within { translate: 0 -4px; box-shadow: 0 .75rem 1.8rem #24294414; }
.card-visual { display: block; }
.art { display: grid; place-items: center; overflow: hidden; aspect-ratio: 1.75; color: #323958; background: #e9ddcc; }
.art svg { width: 100%; height: 100%; }
.tone-1 { background: #e8e0f2; }
.tone-2 { background: #252b49; color: #e5d9ef; }
.tone-3 { background: #efd8ce; }
.tone-4 { background: #313b5b; color: #f5d5c7; }
.tone-5 { background: #dde4e0; }
.card-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1.2rem; }
.card-copy h3 { margin-bottom: .7rem; }
.card-copy .text-link { margin-top: auto; }
.methods, .meta { font-size: .86rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filters button { min-height: 2.65rem; padding: .4rem .85rem; border-radius: 100vw; border: 1px solid #8d899d; color: var(--ink); background: var(--card); font-size: .86rem; }
.filters button:hover { background: var(--lavender); }
.filters button[aria-pressed="true"] { background: var(--ink); color: white; }
.profile-panel, .story-layout, .education-grid, .case-header, .case-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(1.1rem, 4vw, 3rem); }
.profile-panel { background: var(--lavender); padding: clamp(1.25rem, 4vw, 3rem); border-radius: 1rem; }
.story-layout { grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); align-items: start; }
.prose { max-width: 68ch; font-size: 1.08rem; }
.note, .case-grid section { padding: clamp(1.15rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 1rem; background: var(--card); }
.note h2, .case-grid h2 { font-size: clamp(1.4rem, 2.8vw, 2.15rem); margin-bottom: .65rem; }
.note ul { padding-left: 1.15rem; }
.timeline { max-width: 55rem; border-left: 1px solid #8d899d; margin-left: .55rem; padding-left: 1.35rem; }
.timeline-item, .skill-groups details { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: .8rem; margin-bottom: .7rem; }
.timeline-item::before { content: ''; position: absolute; width: .62rem; height: .62rem; background: var(--coral); border-radius: 50%; top: 1.35rem; left: -1.72rem; }
.timeline-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; }
summary { cursor: pointer; padding: 1rem 1.25rem; }
summary:hover { background: #eee7f680; border-radius: inherit; }
.timeline-item summary::-webkit-details-marker { display: none; }
.timeline-item summary span:not(.plus), .timeline-item strong { display: block; }
.timeline-item strong { font: 1.6rem var(--serif); margin: .18rem 0; }
.plus::before { content: '+'; font-size: 1.5rem; color: var(--coral); }
details[open] .plus::before { content: '−'; }
.detail-copy { padding: 0 1.25rem 1.25rem; max-width: 70ch; }
.badges { display: flex; flex-wrap: wrap; list-style: none; gap: .45rem; padding: 0 1.25rem 1rem; margin: 0; }
.badges li { padding: .25rem .65rem; border-radius: 2rem; background: var(--lavender); font-size: .85rem; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem .65rem; font-size: .84rem; padding-block: 1.35rem; color: var(--muted); }
.case-header { grid-template-columns: 1.3fr 1fr; align-items: center; margin-bottom: 2rem; }
.case-header .art { border-radius: 1rem; }
.case-grid { gap: .8rem; }
.case-next { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.case-next a:last-child { text-align: right; }
.case-next strong { display: block; }
.contact-card { display: grid; gap: .4rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-card strong { font: 1.5rem var(--serif); }
.contact-card:hover { background: var(--lavender); }
.site-footer { background: var(--ink); color: var(--paper); padding-block: 1.65rem; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; }

@media (min-width: 56rem) {
  .nav-links { margin-inline: auto; }
}
@media (max-width: 56rem) {
  .nav { min-height: 4rem; flex-wrap: wrap; gap: .55rem; padding-block: .55rem; }
  .nav-links { order: 4; width: 100%; padding-block: .35rem; }
  .brand { margin-right: auto; }
  .hero { gap: 1.5rem; }
  .hero-art { min-height: 0; }
  .gallery, .leadership-grid, .contact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 38rem) {
  .shell { width: calc(100% - 2rem); }
  .hero, .gallery, .leadership-grid, .contact-grid, .profile-panel, .story-layout, .education-grid, .case-header, .case-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 21rem); justify-self: center; aspect-ratio: 1 / 1.02; }
  .impact { grid-template-columns: 1fr; gap: .8rem; }
  .impact > div + div { border-left: 0; border-top: 1px solid #fff5e04d; padding: .75rem 0 0; }
  .brand { font-size: 1rem; }
  .mark { width: 1.5rem; height: 1.5rem; }
  .button-small, .menu-button { font-size: .75rem; min-height: 2.4rem; padding: .4rem .55rem; }
  .connect span { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .24s; }
  .hero > div { animation: arrive .5s ease-out both; }
  .hero-art { animation-delay: .08s !important; }
  .reveal.is-visible { animation: arrive .42s ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(9px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
