@charset "UTF-8";

:root {
  --paper: #f5f2ea;
  --ink: #292c27;
  --muted: #62665d;
  --line: #d5d4c8;
  --accent: #80533e;
  --green: #e8eadf;
  --surface: #eeeade;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: 110px; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
::selection { background: #ddd5b7; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
img { display: block; width: 100%; object-fit: cover; -webkit-user-drag: none; -webkit-touch-callout: none; }
figure, p, h1, h2, h3 { margin: 0; }
p + p { margin-top: 18px; }
h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(35px, 3.6vw, 44px); line-height: 1.16; letter-spacing: -1.2px; }
h3 { font-size: clamp(27px, 2.6vw, 33px); line-height: 1.22; letter-spacing: -.6px; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.6; color: var(--muted); }

/* Header height and every photo coordinate are supplied by doorway.css. */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  margin: 0;
  padding-inline: max(48px, calc((100% - 1120px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header.wrap { width: 100%; margin: 0; }
.wordmark { font-family: var(--serif); font-size: 25px; letter-spacing: -.8px; white-space: nowrap; }
.dot { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 26px; }
nav { display: flex; gap: 30px; font-size: 13px; }
nav a { padding-block: 10px; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: var(--green); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.sun-icon { display: none; }
@supports (backdrop-filter: blur(20px)) {
  .site-header { background: rgb(245 242 234 / 88%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  html[data-theme="dark"] .site-header { background: rgb(36 35 31 / 88%); }
}

.intro { font-size: 17px; line-height: 1.8; }
.hero-context span { display: block; }
.hero-context strong { font-weight: 500; color: var(--ink); margin-right: 8px; }
.text-link { display: inline-flex; gap: 25px; align-items: center; font-size: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; margin-top: 26px; }
.text-link span, .contact-link span { transition: transform 180ms ease; }
.text-link:hover span, .contact-link:hover span { transform: translate(2px, -2px); }

.section { border-top: 1px solid var(--line); padding-block: 72px; }
.section-heading { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: 80px; row-gap: 18px; align-items: end; margin-bottom: 46px; }
.section-heading > .eyebrow { grid-column: 1 / -1; }
.section-intro { margin: 0; max-width: 420px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.project { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 62px; border-top: 1px solid var(--line); padding-block: 42px 46px; }
.project:last-child { padding-bottom: 0; }
.project-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 3px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.project-number { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--accent); margin-bottom: 20px; }
.project-company { color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: .9px; }
.project-role { margin-top: 17px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.75; }
.project-body > p { margin-top: 19px; color: var(--muted); font-size: 16px; max-width: 760px; }
.project-body .ecosystem-context, .project-body .judgment-note { padding: 16px 20px; border-left: 2px solid #a49a7b; background: var(--surface); font-size: 14px; line-height: 1.75; margin-top: 24px; }
.ecosystem-context strong { font-weight: 500; color: var(--ink); }
.context-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 1.3px; color: var(--accent); margin-bottom: 6px; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-block: 30px 26px; }
.results-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.results p { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.results strong { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1.25; color: var(--accent); letter-spacing: -1px; }
.results span { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.65; max-width: 240px; }
.results-single { grid-template-columns: 1fr; }
.results-single span { max-width: 520px; }
.results strong small { font-family: var(--sans); font-size: 12px; letter-spacing: 0; margin-left: 7px; }
.project-body .tools, .tools { color: var(--accent); font-size: 12px; line-height: 1.9; }
.tools span { color: var(--muted); margin-inline: 5px; }
.workflow-path { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 24px; color: var(--muted); font-size: 12px; }
.workflow-path span[aria-hidden] { color: var(--accent); }
details { margin-top: 24px; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-size: 14px; padding-block: 15px; border-top: 1px solid var(--line); }
summary::-webkit-details-marker { display: none; }
summary > span { font-size: 21px; font-weight: 300; flex-shrink: 0; transition: transform 180ms ease; }
details[open] summary > span { transform: rotate(45deg); }
.detail-copy { font-size: 16px; color: var(--muted); padding: 10px 0 6px; }
.award-note { display: flex; align-items: center; gap: 17px; margin: 28px 0 25px; padding: 16px 20px; border-left: 2px solid #a58658; background: var(--surface); color: var(--accent); }
.award-note svg { width: 28px; height: 36px; flex-shrink: 0; color: #947447; }
.award-label { display: block; font-size: 10px; letter-spacing: 1.5px; color: var(--muted); }
.award-note p { font-family: var(--serif); font-size: 21px; line-height: 1.4; margin: 4px 0; }
.award-caption { display: block; font-size: 12px; color: var(--muted); line-height: 1.65; }

.capability-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.capability-grid article { border-top: 1px solid var(--line); padding-top: 23px; }
.capability-mark { display: block; color: var(--accent); font-size: 12px; letter-spacing: 1px; margin-bottom: 16px; }
.capability-grid h3 { font-size: 25px; }
.capability-grid p { font-size: 15px; color: var(--muted); margin-top: 15px; }
.capability-grid .tools { font-size: 12px; color: var(--accent); margin-top: 20px; }
.background { display: grid; grid-template-columns: 1fr 1.3fr; gap: 88px; }
.background h2 { margin-top: 18px; }
.background-note { max-width: 330px; color: var(--muted); font-size: 16px; margin-top: 22px; }
.timeline > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); column-gap: 24px; row-gap: 2px; padding-bottom: 30px; }
.timeline > div > p { grid-row: 1 / 4; font-size: 11px; line-height: 1.7; letter-spacing: .7px; color: var(--muted); padding-top: 5px; }
.timeline h3 { font-size: 25px; }
.timeline span { font-size: 14px; color: var(--muted); }
.timeline .location { display: block; font-size: 12px; }
.timeline details { margin-top: 2px; }
.timeline .detail-copy { font-size: 14px; }
.mentoring { background: var(--green); }
.mentoring-inner { display: grid; grid-template-columns: 185px minmax(0, 1fr); gap: 62px; padding-block: 58px; }
.mentoring-inner > .eyebrow { padding-top: 9px; }
.mentoring h2 { font-size: 39px; }
.mentoring p:not(.eyebrow) { max-width: 650px; font-size: 16px; color: var(--muted); margin-top: 20px; }
.mentoring p.quiet-note { font-size: 12px; margin-top: 17px; }
.contact { padding-block: 68px 76px; text-align: center; border-top: 0; }
.contact h2 { font-size: clamp(35px, 3.6vw, 45px); margin-top: 20px; }
.contact > p:not(.eyebrow) { font-size: 16px; color: var(--muted); margin-top: 20px; }
.contact-link { display: inline-flex; gap: 30px; border-bottom: 1px solid var(--accent); color: var(--accent); font-family: var(--serif); font-size: 24px; padding-bottom: 7px; margin-top: 28px; }
footer { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-block: 25px 32px; font-size: 12px; color: var(--muted); }
footer > span:first-child { font-family: var(--serif); font-size: 17px; color: var(--ink); }
.skip { position: absolute; left: 12px; top: -100px; background: var(--ink); color: var(--paper); padding: 12px; z-index: 20; }
.skip:focus { top: 12px; }

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #24231f;
  --ink: #eee7d9;
  --muted: #bbb6a8;
  --line: #49473e;
  --accent: #d5a384;
  --green: #30352c;
  --surface: #302d26;
}
[data-theme="dark"] .moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: block; }
[data-theme="dark"] ::selection { background: #66513d; color: #fff5e7; }
[data-theme="dark"] .award-note svg { color: #d1b17d; }

@media (max-width: 1000px) {
  .project, .mentoring-inner { grid-template-columns: 160px minmax(0, 1fr); gap: 36px; }
  .results { gap: 22px; }
  .section-heading { column-gap: 40px; }
  .background { gap: 40px; }
  .timeline > div { grid-template-columns: 1fr; gap: 3px; }
  .timeline > div > p { grid-row: auto; padding: 0; margin-bottom: 5px; }
  .capability-grid { gap: 26px; }
}
@media (min-width: 761px) and (max-width: 1000px) {
  /* Keep a concise introduction within the shared desktop doorway scene. */
  .doorway--arrival .doorway__copy h1 { font-size: clamp(34px, 4.2vw, 43px); }
  .doorway--arrival .doorway__copy .intro { font-size: 16px; line-height: 1.7; }
  .doorway--arrival .doorway__copy .hero-context { font-size: 12px; line-height: 1.75; }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .site-header { padding-inline: 28px; }
  .section-heading { grid-template-columns: 1fr; gap: 17px; }
  .section-heading > .eyebrow { grid-column: auto; }
  .section-intro { max-width: 620px; }
}
@media (max-width: 800px) {
  .project { grid-template-columns: 1fr; gap: 22px; }
  .project-meta { display: grid; grid-template-columns: auto 1fr; column-gap: 15px; row-gap: 3px; }
  .project-number { grid-row: 1 / 3; margin: 0; font-size: 28px; align-self: center; }
  .project-role { grid-column: 2; margin: 7px 0 0; border: 0; padding: 0; }
  .capability-grid { grid-template-columns: 1fr; gap: 28px; }
  .capability-grid article { display: grid; grid-template-columns: 36px 1fr; gap: 8px 14px; }
  .capability-mark { grid-row: 1 / 4; margin: 0; padding-top: 4px; }
  .capability-grid p, .capability-grid .tools { grid-column: 2; margin: 0; }
  .background { grid-template-columns: 1fr 1fr; gap: 38px; }
  .mentoring-inner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 120px; }
  .site-header { padding: 11px 20px; flex-wrap: wrap; gap: 5px 18px; align-content: center; }
  .wordmark { font-size: 22px; line-height: 1.3; }
  .header-actions { gap: 12px; }
  nav { gap: 17px; font-size: 12px; }
  nav a { padding-block: 8px; }
  .theme-toggle { width: 36px; height: 36px; }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 30px; }
  .project { padding-block: 30px 34px; }
  .project-body > p { font-size: 16px; }
  .project-body .ecosystem-context, .project-body .judgment-note { padding: 14px 16px; font-size: 14px; }
  .results, .results-three { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 22px; }
  .results strong { font-size: 36px; }
  .results span { font-size: 13px; }
  .results-single { grid-template-columns: 1fr; }
  .results-single strong small { display: inline-block; }
  .award-note { padding: 15px 16px; gap: 14px; }
  .award-note p { font-size: 20px; }
  .background { grid-template-columns: 1fr; gap: 30px; }
  .timeline > div { padding-bottom: 27px; }
  .mentoring-inner { padding-block: 44px; }
  .mentoring h2 { font-size: 35px; }
  .contact h2 { font-size: 36px; }
  .contact-link { font-size: 22px; }
  .desktop-break { display: none; }
  footer { flex-wrap: wrap; gap: 10px; }
  footer > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .text-link span, .contact-link span, summary > span { transition: none; }
}
