:root {
  color-scheme: light;
  --paper: #f7f7f0;
  --sheet: #fdfdf8;
  --ink: #1e2b24;
  --muted: #4f5b52;
  --forest: #25392d;
  --forest-light: #262f23;
  --leaf: #d8eca7;
  --on-dark: #f0f1e2;
  --on-dark-muted: #c5cebb;
  --line: #d5dacf;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  scroll-padding-top: 5.1rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--sans);
}

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .28em; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
button[aria-busy="true"] { cursor: wait; }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
#main:focus { outline: none; }

.wrap {
  width: min(80rem, calc(100% - 2 * clamp(1.15rem, 5vw, 5rem)));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  z-index: 3;
  inset: .75rem auto auto .75rem;
  padding: .55rem 1rem;
  background: var(--sheet);
  color: var(--ink);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-header {
  background: var(--paper);
  color: var(--ink);
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid var(--line);
}
.header-row, .wordmark, .site-nav, .footer-row {
  display: flex;
  align-items: center;
}
.header-row {
  min-height: 4.2rem;
  justify-content: space-between;
  gap: .65rem 1.5rem;
  padding-block: .4rem;
}
.wordmark {
  gap: .7rem;
  min-height: 2.75rem;
  font-weight: 700;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  flex: 0 0 auto;
  width: 2.65rem;
  height: auto;
}
@media (max-width: 34rem) {
  .brand-mark { width: 2.25rem; }
}
.site-nav { gap: clamp(.75rem, 3vw, 2rem); }
.site-nav a, .footer-row a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-size: .94rem;
  font-weight: 600;
}
.site-nav a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--forest); text-decoration: underline; }
.site-nav a[aria-current="page"] { color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; }
.portrait-note { margin-top: .6rem; color: var(--muted); font-size: .875rem; }

.hero {
  display: grid;
  grid-template-columns: .87fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7.4vw, 7rem);
  padding-block: clamp(2.9rem, 5.7vw, 5.15rem);
}
.hero h1, .section-title, .study h3, .project-feature h3,
.construction-copy h3, .case-hero h1, .case-sections h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.055em;
}
.hero h1 {
  color: var(--forest);
  font-size: clamp(4.6rem, 8.1vw, 8rem);
  line-height: .96;
}
.hero-lead {
  max-width: 24rem;
  margin-top: 1.15rem;
  font-size: clamp(1.42rem, 2.55vw, 2rem);
  font-weight: 550;
  letter-spacing: -.035em;
  line-height: 1.18;
}
.hero-intro {
  max-width: 24rem;
  margin-top: .8rem;
  color: var(--muted);
  font-size: 1.08rem;
}
.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem 1.25rem;
  margin-top: 1.5rem;
}
.actions .button { margin-top: 0; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--forest);
  font-weight: 650;
}
.text-link:hover { text-decoration-thickness: 2px; }

.case-hero figcaption {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .9rem;
}
.cover-mat {
  display: grid;
  place-items: center;
  min-height: clamp(16.5rem, 32.25vw, 28.25rem);
  padding: clamp(1.2rem, 3.4vw, 3rem);
  border: 1px solid #34483a;
  border-radius: .25rem;
  background: radial-gradient(ellipse at 36% 22%, #536859, #2b3e33 70%);
}
.cover-mat img {
  width: min(100%, clamp(10.75rem, 19.7vw, 18.25rem));
  height: auto;
  box-shadow: 0 1.2rem 2.75rem #1322198a;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  margin-top: 1.55rem;
  padding: .55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  background: var(--forest);
  color: var(--on-dark);
  font-weight: 650;
  text-decoration: none;
}
.button:hover { background: #364330; }
.button:focus-visible { outline-color: var(--forest); }

.arch-panel {
  --guide-reveal: 58%;
  min-width: 0;
  padding: .65rem;
  color: var(--on-dark);
  border: 1px solid #535e49;
  border-radius: .35rem;
  background: var(--forest-light);
}
.arch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
  gap: .5rem;
  padding: 0 .4rem .35rem;
}
.arch-title { font-weight: 650; }
.guide-readout, .guide-toggle { color: var(--on-dark-muted); font-size: .9rem; }
.guide-readout { font-variant-numeric: tabular-nums; }
.guide-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 2.75rem;
  cursor: pointer;
}
.arch-panel input { accent-color: var(--leaf); }
.guide-toggle input { width: 1.05rem; height: 1.05rem; margin: 0; }

.arch-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: .15rem;
  background: #d4d2bd;
}
[data-compare] .arch-visual {
  touch-action: pan-y pinch-zoom;
  cursor: ew-resize;
  user-select: none;
}
.arch-visual img { width: 100%; height: 100%; }
.construction-layer, .construction {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.construction-layer {
  visibility: hidden;
  background-color: #17241746;
  background-image:
    linear-gradient(#ecf1c61f 1px, transparent 1px),
    linear-gradient(90deg, #ecf1c61f 1px, transparent 1px);
  background-size: 12.5% 16.6667%;
}
[data-compare] .construction-layer {
  clip-path: inset(0 calc(100% - var(--guide-reveal)) 0 0);
  visibility: visible;
}
.arch-panel:not([data-compare]):has(#show-guides:checked) .construction-layer { visibility: visible; }
.construction { fill: none; filter: drop-shadow(0 1px 1px #172117); }
.construction path {
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.contour { stroke: #e0ff9b; }
.fold { stroke: #ffe7a6; stroke-dasharray: 7 5; }
.shadow-guide { stroke: #fff; stroke-dasharray: 2 5; }
.guide-point { fill: #e0ff9b; stroke: #25341c; vector-effect: non-scaling-stroke; }

.compare-divider {
  position: absolute;
  inset-block: 0;
  left: var(--guide-reveal);
  width: 1px;
  background: #f1f4dc;
  box-shadow: 0 0 2px #162015;
  pointer-events: none;
}
.compare-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 2.15rem;
  height: 1.95rem;
  place-items: center;
  border: 1px solid #899079;
  border-radius: .2rem;
  background: #f5f5e7;
  transform: translate(-50%, -50%);
}
.compare-divider span::before {
  width: .45rem;
  height: .65rem;
  border-inline: 1px solid #485240;
  content: "";
}

.compare-controls {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .42rem;
}
.compare-controls input, .control-row input {
  flex: 1;
  min-width: 0;
  min-height: 2.75rem;
  margin: 0;
  cursor: pointer;
}
.compare-controls button, .control-row button {
  min-height: 2.75rem;
  padding: .25rem .7rem;
  border: 1px solid;
  border-radius: .2rem;
  background: transparent;
  font-size: .9rem;
  font-weight: 650;
}
.compare-controls button { border-color: #626f58; color: var(--on-dark); }
.compare-controls button:hover { background: #3c4834; }

.guide-legend {
  display: none;
  flex-wrap: wrap;
  gap: .3rem .85rem;
  margin: 0;
  padding: .35rem .15rem 0;
  color: var(--on-dark-muted);
  font-size: .875rem;
  list-style: none;
}
[data-compare] .guide-legend { display: flex; visibility: hidden; }
[data-guides-visible] .guide-legend { visibility: visible; }
.arch-panel:not([data-compare]):has(#show-guides:checked) .guide-legend { display: flex; }
.guide-legend li { display: inline-flex; align-items: center; gap: .35rem; }
.guide-legend span { width: .9rem; border-top: 2px solid var(--leaf); }
.guide-legend li:nth-child(2) span { border-top: 2px dashed #ffe7a6; }
.guide-legend li:nth-child(3) span { border-top: 2px dotted #fff; }

.selected-work {
  padding-block: clamp(2.7rem, 5vw, 4.6rem) clamp(3.2rem, 6.25vw, 6rem);
  border-top: 1px solid var(--line);
}
.project-feature {
  display: grid;
  grid-template-columns: 1.3fr .75fr;
  gap: clamp(1.4rem, 5vw, 5rem);
  align-items: start;
  margin-top: 1.5rem;
  padding: clamp(1.25rem, 4vw, 3.4rem);
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--sheet);
}
.project-feature h3 {
  color: var(--forest);
  font-size: clamp(2.15rem, 4.15vw, 4.1rem);
  line-height: 1.04;
}
.project-feature p, .construction-copy p {
  max-width: 29rem;
  margin-top: .7rem;
  color: var(--muted);
}
.project-details {
  display: grid;
  gap: .8rem;
  margin: 0;
  padding-left: clamp(1.1rem, 3vw, 2.25rem);
  border-left: 1px solid var(--line);
}
.project-details dt { font-size: .9rem; font-weight: 700; }
.project-details dd { margin: .1rem 0 0; color: var(--muted); }

.studies {
  padding-block: clamp(3rem, 6.5vw, 6.35rem);
  border-block: 1px solid var(--line);
  background: #edf0e7;
}
.construction-study {
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(1.2rem, 5vw, 4.5rem);
  margin-top: clamp(1.4rem, 3vw, 2.5rem);
}
.construction-copy h3 {
  font-size: clamp(1.9rem, 3.75vw, 3.35rem);
  line-height: 1.06;
}
.studio-links {
  display: flex;
  flex-wrap: wrap;
  gap: .1rem 1.25rem;
  margin-top: .9rem;
}
.studio-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--forest);
  font-size: .94rem;
  font-weight: 650;
}
.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .9rem 2rem;
}
.section-title {
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: .99;
}
.section-heading p { max-width: 24rem; color: var(--muted); }
.static-note { margin-top: 1rem; color: var(--muted); }

.study-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.85vw, 2.25rem);
  margin-top: clamp(1.4rem, 3vw, 2.45rem);
}
.study {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  min-width: 0;
  padding: clamp(1rem, 2.1vw, 1.65rem);
  border: 1px solid var(--line);
  border-radius: .35rem;
  background: var(--sheet);
}
.study-copy { flex: 1; }
.study h3 { font-size: clamp(1.9rem, 3.35vw, 3.15rem); line-height: 1.04; }
.study-copy p { margin-top: .45rem; color: var(--muted); }
.study-stage {
  position: relative;
  display: grid;
  min-height: clamp(14rem, 21vw, 17rem);
  overflow: hidden;
  border-radius: .18rem;
}

.light-stage {
  --light-angle: 45deg;
  --light-dx: .707107;
  --light-dy: -.707107;
  --orbit-radius: clamp(4.75rem, 8vw, 6.4rem);
  --light-x: calc(50% + var(--light-dx) * var(--orbit-radius));
  --light-y: calc(49% + var(--light-dy) * var(--orbit-radius));
  --shadow-angle: 135deg;
  isolation: isolate;
  background-color: #dbe0cd;
  background-image: radial-gradient(ellipse at var(--light-x) var(--light-y), #fff8d8 4%, transparent 58%);
}
.light-orbit {
  position: absolute;
  top: 49%;
  left: 50%;
  width: calc(2 * var(--orbit-radius));
  aspect-ratio: 1;
  border: 1px dashed #6d7b65;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.light-object, .light-shadow, .light-source { position: absolute; border-radius: 50%; }
.light-object {
  top: 49%;
  left: 50%;
  width: clamp(3.25rem, 7vw, 4.6rem);
  aspect-ratio: 1;
  background: linear-gradient(var(--light-angle), #526845 6%, #899c6b 62%, #eff1b7);
  box-shadow: inset 0 0 0 1px #41583b30;
  transform: translate(-50%, -50%);
}
.light-shadow {
  top: 49%;
  left: 50%;
  width: clamp(4rem, 13vw, 8rem);
  height: clamp(2rem, 5vw, 3.4rem);
  background: radial-gradient(ellipse, #34402e96, #34402e24 66%, transparent 75%);
  transform: translate(-50%, -50%) rotate(var(--shadow-angle)) translateX(42%);
}
.light-source {
  top: var(--light-y);
  left: var(--light-x);
  width: .95rem;
  height: .95rem;
  border: 1px solid #5b5d3f;
  background: #fffbe8;
  box-shadow: 0 0 0 .32rem #fff7d693;
  transform: translate(-50%, -50%);
}

.type-stage {
  --text-width: 72%;
  align-content: center;
  padding: clamp(.85rem, 2.15vw, 1.6rem);
  background: #eeeadc;
}
.type-column {
  width: var(--text-width);
  margin-inline: auto;
  padding: .3rem .55rem;
  border-inline: 1px solid #959177;
  font: 400 clamp(1.08rem, 1.95vw, 1.4rem)/1.4 var(--serif);
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}

.study-controls {
  padding-top: .75rem;
  border-top: 1px solid var(--line);
}
.control-heading, .control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.control-heading label { font-weight: 650; }
.control-heading output { color: #3d5032; font-weight: 650; font-variant-numeric: tabular-nums; }
.control-row input { accent-color: #415938; }
.control-row button { border-color: #aab59f; color: #364830; }
.control-row button:hover { background: #e5eadb; }

.print-section {
  padding-block: clamp(3rem, 6.25vw, 6rem);
  border-block: 1px solid #a9b58e;
  background: #e4ebd5;
}
.print-layout, .about-grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 6vw, 6rem);
}
.print-copy p {
  max-width: 27rem;
  margin-top: 1rem;
  color: #3c4935;
}
.print-copy .print-status {
  min-height: 1.6em;
  margin-top: .45rem;
  font-size: .9rem;
}

.print-actions button.text-link {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.print-frame {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(1rem, 3.5vw, 3rem);
  border: 1px solid #adb997;
  border-radius: .35rem;
  background: #cbd8b6;
}
.print-frame canvas, .print-fallback {
  display: block;
  width: min(100%, 26rem);
  height: auto;
  background: var(--sheet);
  box-shadow: 0 .45rem 1.3rem #2b36272e;
}

.about { padding-block: clamp(2.85rem, 6vw, 5.25rem); }
.about-grid { align-items: start; }
.about-copy { max-width: 32rem; color: var(--muted); }
.about-copy p + p { margin-top: .85rem; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row {
  min-height: 4.4rem;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  padding-block: .45rem;
  color: var(--muted);
  font-size: .9rem;
}

.case-opening {
  border-bottom: 1px solid var(--line);
  background: #edf0e7;
}
.case-hero {
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5.5vw, 5.75rem);
  padding-block: clamp(2.6rem, 5.25vw, 4.8rem);
}
.case-hero h1 {
  margin-top: .6rem;
  color: var(--forest);
  font-size: clamp(3.3rem, 6.3vw, 6.35rem);
  line-height: .98;
}
.case-hero p {
  max-width: 27rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
}
.case-hero img { height: auto; border-radius: .25rem; }

.case-body {
  display: grid;
  grid-template-columns: minmax(10rem, .4fr) minmax(0, 1fr);
  gap: clamp(1rem, 5vw, 5rem);
  align-items: start;
  padding-block: clamp(2.7rem, 6vw, 5.7rem);
}
.case-nav {
  position: sticky;
  top: 5.2rem;
  display: grid;
  border-top: 1px solid var(--line);
}
.case-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-block: .25rem;
  border-bottom: 1px solid var(--line);
  color: var(--forest);
  font-size: .94rem;
  font-weight: 650;
  text-decoration: none;
}
.case-nav a:hover { text-decoration: underline; }
.case-sections { max-width: 46rem; }
.case-sections section + section {
  margin-top: clamp(1.6rem, 4vw, 3.15rem);
  padding-top: clamp(1.2rem, 3.5vw, 2.6rem);
  border-top: 1px solid var(--line);
}
.case-sections h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); line-height: 1.05; }
.case-sections p { margin-top: .75rem; color: var(--muted); }
.decision-list { display: grid; gap: .9rem; margin: .85rem 0 0; }
.decision-list dt { font-weight: 700; }
.decision-list dd { margin: .18rem 0 0; color: var(--muted); }

@media (max-width: 53rem) {
  .hero { gap: 1.6rem; }
  .hero h1 { font-size: clamp(4.2rem, 10vw, 6rem); }
  .about-grid { gap: 1.5rem; }
}

@media (max-width: 46rem) {
  .hero, .study-grid, .print-layout, .about-grid, .project-feature,
  .construction-study, .case-hero, .case-body { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(4.3rem, 14vw, 6.25rem); }
  .print-status:empty { min-height: 0; }
  .project-details { padding: .8rem 0 0; border: 0; border-top: 1px solid var(--line); }
  .case-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: .2rem 1.15rem;
    margin-bottom: .55rem;
    border-bottom: 1px solid var(--line);
  }
  .case-nav a { border-bottom: 0; }
}

@media (max-width: 34rem) {
  .site-nav a { font-size: .88rem; }
  .arch-panel { padding: .5rem; }
  .arch-toolbar { padding-inline: .2rem; }
  .study-stage { min-height: 13.75rem; }
}

.hero-portrait, .about-portrait {
  width: 100%;
  height: auto;
  border-radius: .25rem;
  object-fit: cover;
  background: #d4d9c9;
}

.hero-portrait {
  aspect-ratio: 6 / 5;
  object-position: 50% 16%;
}

.project-main {
  align-self: center;
}

.project-feature {
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  align-items: center;
}

.project-details {
  grid-template-columns: .8fr 1fr 1.2fr;
  margin-top: 1.5rem;
  padding: .9rem 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.project-cover .cover-mat {
  min-height: 0;
  padding: clamp(1.25rem, 3.2vw, 2.7rem);
}

.project-cover .cover-mat img {
  width: min(64%, 13.75rem);
}

.about-opening { background: #edf0e7; }

.about-profile {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.6rem, 5.8vw, 5.75rem);
  padding-block: clamp(2.6rem, 5.7vw, 5.15rem);
}

.about-profile h1 {
  color: var(--forest);
  font: 400 clamp(3.25rem, 6.5vw, 6.35rem)/.98 var(--serif);
  letter-spacing: -.055em;
}

.about-profile-copy p {
  max-width: 35rem;
  margin-block: .9rem;
  color: var(--muted);
}

.about-profile-copy .about-lead {
  margin-top: 1.15rem;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.4;
}

.about-portrait {
  aspect-ratio: 5 / 4;
  object-position: 50% 7%;
}

.about-experience, .about-learning {
  padding-block: clamp(2.8rem, 5.8vw, 5.25rem);
  border-top: 1px solid var(--line);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem clamp(1.65rem, 5vw, 4.5rem);
  margin-top: 1.65rem;
}

.experience-grid article {
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
}

.experience-grid h3 { font-size: 1.23rem; line-height: 1.3; }
.experience-grid p, .learning-copy p {
  max-width: 38rem;
  margin-top: .65rem;
  color: var(--muted);
}

.about-learning { background: #edf0e7; }
.learning-copy { max-width: 46rem; }
.learning-copy .text-link { margin-top: .45rem; }

.portrait-pair { margin-top: clamp(1.15rem, 3.4vw, 2.5rem); }

.portrait-pair-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(.65rem, 2.2vw, 1.65rem);
}

.portrait-pair-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: .25rem;
  object-fit: cover;
  object-position: 50% 19%;
}

.portrait-pair-grid img:last-child { aspect-ratio: 1; }

.project-cover figcaption, .portrait-pair figcaption {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .9rem;
}

@media (max-width: 46rem) {
  .project-feature, .about-profile, .experience-grid { grid-template-columns: 1fr; }
  .hero-portrait { aspect-ratio: 1; object-position: 50% 19%; }
}

@media (max-width: 34rem) {
  .project-details { grid-template-columns: 1fr; }
}

@media (max-width: 24rem) {
  .header-row { gap: .25rem .55rem; }
  .wordmark { gap: .42rem; }
  .brand-mark { width: 2rem; }
}

/* Portfolio theme */
:root {
  color-scheme: dark;
  --paper: #111214;
  --sheet: #1b1d20;
  --ink: #f4f4f2;
  --muted: #babbbd;
  --forest: #ff8738;
  --forest-light: #202124;
  --leaf: #ff8738;
  --on-dark: #f5f5f3;
  --on-dark-muted: #c9c9c7;
  --line: #393b3e;
  --serif: "Segoe UI", system-ui, sans-serif;
}
body { background: var(--paper); }
.site-header { background: #111214; border-bottom-color: #37383a; }
.wordmark { letter-spacing: 0; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--forest); }
.hero h1, .section-title, .study h3, .project-feature h3,
.construction-copy h3, .case-hero h1, .case-sections h2,
.about-profile h1 { font-weight: 700; letter-spacing: 0; }
.hero h1, .about-profile h1, .case-hero h1 { color: var(--ink); }
.hero h1 { font-size: 5.25rem; line-height: 1.04; }
.hero-lead { font-size: 1.65rem; line-height: 1.3; letter-spacing: 0; }
.hero-copy, .about-profile-copy { border-left: 3px solid var(--forest); padding-left: 1.5rem; }
.hero-portrait, .about-portrait { border-radius: 0; }
.section-title { font-size: 2.65rem; line-height: 1.12; }
.project-feature h3 { font-size: 2.5rem; color: var(--ink); }
.study h3, .construction-copy h3, .case-sections h2 { font-size: 1.8rem; line-height: 1.2; }
.button { background: var(--forest); color: #17110d; border-radius: 2px; }
.button:hover { background: #ffa15f; }
.button:focus-visible { outline-color: #ffb17a; }
.text-link, .studio-links a, .case-nav a { color: #ff9d5d; }
.selected-work, .about, .about-experience, .case-body { background: #111214; }
.project-feature { padding: 2rem 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.project-details { border-color: var(--line); }
.project-details dt { color: #f5f5f3; }
.studies, .about-opening, .about-learning, .case-opening { background: #1b1d20; }
.study { border-radius: 2px; background: #242629; }
.arch-panel { border-color: #484a4d; border-radius: 2px; }
.cover-mat { background: #292b2e; border-color: #47494c; border-radius: 0; }
.print-section { background: #222426; border-color: var(--line); }
.print-copy p { color: var(--muted); }
.print-frame { background: #303235; border-color: #515357; border-radius: 0; }
.control-heading output { color: #ffad76; }
.control-row input { accent-color: var(--forest); }
.control-row button { border-color: #777; color: var(--ink); }
.control-row button:hover, .compare-controls button:hover { background: #404144; }
.experience-grid article { border-top: 2px solid #ff8738; }
.about-profile h1, .case-hero h1 { font-size: 4rem; line-height: 1.08; }
.type-column { color: #242424; letter-spacing: 0; }
.site-footer { background: #0b0c0d; }
.work-intro { max-width: 42rem; margin-top: 1rem; color: var(--muted); }
.work-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.work-item { display: flex; flex-direction: column; align-items: flex-start; padding-top: 1.25rem; border-top: 2px solid var(--forest); }
.work-label, .project-feature .work-label { margin: 0 0 .85rem; color: #ffa66b; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0; }
.work-item h3 { max-width: 22rem; font-size: 1.35rem; line-height: 1.3; }
.work-item > p:not(.work-label) { margin-top: .75rem; color: var(--muted); }
.work-item .text-link { margin-top: auto; padding-top: .75rem; }
.project-feature { margin-top: 3.5rem; }
@media (max-width: 46rem) {
  .hero h1 { font-size: 3.5rem; }
  .about-profile h1, .case-hero h1 { font-size: 3rem; }
  .section-title { font-size: 2.2rem; }
  .project-feature { padding-top: 1.5rem; }
  .work-list { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 24rem) {
  .hero h1 { font-size: 3rem; }
  .about-profile h1, .case-hero h1 { font-size: 2.5rem; }
  .hero-copy, .about-profile-copy { padding-left: 1rem; }
}

/* Dimensional portfolio details */
.site-header { background: #0c0e11; }
.brand-mark { border-radius: 2px; }
.site-nav a { transition: color .2s ease; }
.opening { position: relative; overflow: hidden; isolation: isolate; background: #101216; }
.opening::after { position: absolute; inset: 0; z-index: -1; pointer-events: none; content: ""; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to right, transparent 5%, #000 100%); }
.hero-scene { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero { min-height: min(690px, calc(100svh - 7rem)); padding-block: 4rem; }
.hero-copy { position: relative; border: 0; padding-left: 0; }
.hero-kicker { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.25rem; color: #ff9c60; font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.hero-kicker::before { width: 1.75rem; height: 2px; background: #ff8738; content: ""; }
.hero-kicker span { color: #777d84; }
.hero h1 { font-size: 5.25rem; }
.hero-lead { color: #f1f2f2; }
.hero-intro { max-width: 29rem; }
.hero-figure { position: relative; width: min(100%, 29rem); margin-left: auto; padding: .65rem; border: 1px solid #ff87386e; background: #101216c7; }
.hero-figure::before, .hero-figure::after { position: absolute; z-index: 1; width: 2.5rem; height: 2.5rem; content: ""; pointer-events: none; }
.hero-figure::before { top: -.3rem; left: -.3rem; border-top: 2px solid #ff8738; border-left: 2px solid #ff8738; }
.hero-figure::after { right: -.3rem; bottom: -.3rem; border-right: 2px solid #ff8738; border-bottom: 2px solid #ff8738; }
.hero-portrait { aspect-ratio: 6 / 5; filter: saturate(.75); }
.hero-figure figcaption { padding: .65rem .25rem .05rem; color: #b8babd; font-size: .75rem; }
.button { transition: background-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.work-list { gap: 1px; background: #3b3d40; border: 1px solid #3b3d40; }
.work-item { padding: 1.5rem; background: #191b1f; border-top: 2px solid #ff8738; }
.work-item h3 { color: #f5f5f3; }
.work-item .text-link { color: #ffad77; }
.project-feature { border-top: 1px solid #555; }
.project-cover .cover-mat { background: #24272b; }
.study, .arch-panel { box-shadow: 0 12px 28px #0003; }
.about-profile-copy { border-color: #ff8738; }
@media (max-width: 46rem) {
  .hero { min-height: 0; padding-block: 3.5rem 2.5rem; }
  .hero h1 { font-size: 3.5rem; }
  .hero-figure { width: min(100%, 26rem); margin: 1rem auto 0; }
  .work-list { gap: 1px; }
}
@media (max-width: 24rem) { .hero h1 { font-size: 3rem; } }
@media (prefers-reduced-motion: reduce) { .button, .site-nav a { transition: none; } .button:hover { transform: none; } }

/* The sculpture sits in the scene, not in a preview frame. */
.opening { background: #0b0d10; }
.opening::after { opacity: .48; background-size: 80px 80px; }
.hero { position: relative; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: min(740px, calc(100svh - 6.5rem)); }
.hero-copy { z-index: 1; max-width: 34rem; }
.hero h1 { font-size: 6rem; line-height: .98; }
.hero-lead { margin-top: 1.5rem; max-width: 26rem; font-size: 1.75rem; }
.hero-intro { max-width: 27rem; }
.hero-kicker { color: #ff9e60; }
.hero-space { align-self: stretch; display: flex; align-items: end; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; color: #8e969b; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.hero-space span:last-child { color: #d5946d; text-align: right; }
.site-nav a { position: relative; }
.site-nav a::after { position: absolute; right: 0; bottom: .3rem; left: 0; height: 2px; background: #ff8738; content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.work-item { transition: background-color .2s ease; }
.work-item:hover { background: #22252a; }
.work-item h3 { font-size: 1.45rem; }
.project-cover .cover-mat { background: #1c2023; }
@media (max-width: 46rem) {
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding-block: 3rem 1.2rem; }
  .hero h1 { font-size: 3.8rem; }
  .hero-lead { font-size: 1.45rem; }
  .hero-space { min-height: 21rem; padding-bottom: .25rem; }
}
@media (max-width: 24rem) {
  .hero h1 { font-size: 3.2rem; }
  .hero-space { min-height: 19rem; }
}
@media (prefers-reduced-motion: reduce) { .site-nav a::after, .work-item { transition: none; } }

/* Shared visual language for the portfolio and its inner pages. */
.scene-opening { position: relative; isolation: isolate; overflow: hidden; background: #0b0d10; }
.scene-opening::before { position: absolute; z-index: -1; inset: 0; pointer-events: none; content: ""; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(to right, transparent 10%, #000 100%); }
.scene-opening .hero-scene { opacity: .7; }
.about-profile, .case-hero { position: relative; gap: clamp(2rem, 6vw, 6rem); min-height: 34rem; }
.about-profile-copy { border-left: 2px solid #ff8738; padding-left: 1.5rem; }
.about-profile-copy .hero-kicker { margin: 0 0 1rem; color: #ff9e60; }
.about-profile h1, .case-hero h1 { font-size: 4rem; }
.about-profile figure, .case-hero figure { width: min(100%, 28rem); justify-self: end; }
.about-portrait, .case-hero figure img { border-radius: 0; border: 1px solid #707679; }
.portrait-note, .case-hero figcaption { color: #c2c5c7; }
.about-experience, .about-learning, .case-body, .selected-work, .studies, .print-section { position: relative; }
.about-experience .section-title, .about-learning .section-title, .selected-work .section-title { display: flex; align-items: center; gap: 1rem; }
.about-experience .section-title::before, .about-learning .section-title::before, .selected-work .section-title::before { flex: 0 0 2rem; height: 3px; background: #ff8738; content: ""; }
.experience-grid { gap: 1px; background: #3b3d40; border: 1px solid #3b3d40; }
.experience-grid article { padding: 1.6rem; border-top: 2px solid #ff8738; background: #191b1f; }
.experience-grid h3 { color: #f5f5f3; }
.about-learning { background: #171a1d; }
.portrait-pair-grid img { border-radius: 0; filter: saturate(.75); }
.case-body { gap: clamp(2rem, 6vw, 6rem); }
.case-nav { border-top: 2px solid #ff8738; }
.case-nav a { color: #d6d7d7; }
.case-nav a:hover { color: #ff9d5d; }
.case-sections section + section { border-color: #45494c; }
.decision-list > div { padding-left: 1rem; border-left: 2px solid #ff8738; }
.case-sections h2 { color: #f5f5f3; }
.study { border-top: 2px solid #ff8738; box-shadow: 0 14px 28px #0004; }
.arch-panel { box-shadow: 0 18px 36px #0005; }
.print-frame { background: #25292c; border-color: #505458; }
.footer-row { min-height: 5.5rem; }
@media (max-width: 46rem) {
  .about-profile, .case-hero { min-height: 0; }
  .about-profile figure, .case-hero figure { justify-self: start; }
  .about-profile h1, .case-hero h1 { font-size: 3rem; }
  .about-experience .section-title::before, .about-learning .section-title::before, .selected-work .section-title::before { flex-basis: 1.25rem; }
}
@media (max-width: 24rem) { .about-profile h1, .case-hero h1 { font-size: 2.5rem; } }

/* Layered lettering gives titles depth without duplicating accessible text. */
.hero h1, .about-profile h1, .case-hero h1 {
  color: #f9f9f7;
  text-shadow: 1px 1px 0 #d3d8da, 2px 2px 0 #a5adb0, 3px 3px 0 #757f83,
    4px 4px 0 #4f585d, 5px 5px 0 #30373b, 7px 9px 0 #d85d2355,
    11px 15px 22px #000b;
}
.section-title, .project-feature h3, .case-sections h2 {
  text-shadow: 1px 1px 0 #959da1, 2px 2px 0 #4a5155, 4px 5px 12px #000a;
}
@media (max-width: 46rem) {
  .hero h1, .about-profile h1, .case-hero h1 {
    text-shadow: 1px 1px 0 #cbd0d2, 2px 2px 0 #8b9498, 3px 3px 0 #4f585d,
      5px 6px 0 #d85d2344, 7px 9px 14px #000a;
  }
}

/* Picture depth stays on the images themselves, leaving the studio guides aligned. */
.about-profile figure, .case-hero figure, .portrait-pair-grid, .project-cover, .print-frame {
  perspective: 1100px;
}
.about-portrait, .case-hero figure img, .portrait-pair-grid img {
  position: relative;
  border: 1px solid #777d7e;
  box-shadow: 2px 2px 0 #343a3d, 4px 4px 0 #262c30, 6px 6px 0 #161b1e,
    9px 9px 0 #b34d2055, 14px 18px 32px #0009;
  transform: rotateY(-2deg) rotateX(1deg);
  transform-origin: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.portrait-pair-grid img:last-child { transform: rotateY(2deg) rotateX(1deg); }
.project-cover .cover-mat img, .print-frame canvas, .print-frame .print-fallback {
  border: 1px solid #e1e2da;
  box-shadow: 2px 2px 0 #a6a89d, 4px 4px 0 #777b73, 6px 6px 0 #4b504c,
    9px 10px 0 #c55b2755, 16px 20px 30px #0009;
  transform: rotateY(-3deg) rotateX(2deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.portrait-note, .case-hero figcaption, .portrait-pair figcaption { position: relative; margin-top: 1rem; }
@media (hover: hover) and (pointer: fine) {
  .about-profile figure:hover .about-portrait,
  .case-hero figure:hover img,
  .portrait-pair-grid img:hover,
  .project-cover:hover .cover-mat img,
  .print-frame:hover canvas,
  .print-frame:hover .print-fallback { transform: rotateY(0) rotateX(0) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .about-portrait, .case-hero figure img, .portrait-pair-grid img,
  .project-cover .cover-mat img, .print-frame canvas, .print-frame .print-fallback { transition: none; transform: none; }
  .about-profile figure:hover .about-portrait, .case-hero figure:hover img,
  .portrait-pair-grid img:hover, .project-cover:hover .cover-mat img,
  .print-frame:hover canvas, .print-frame:hover .print-fallback { transform: none; }
}

.process-section { padding-block: 5rem; background: #171a1d; border-block: 1px solid var(--line); }
.process-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: 2.5rem; }
.process-flow article { padding-top: 1.25rem; border-top: 1px solid #ff8738; }
.process-flow span { color: #ff9e60; font-size: .85rem; font-weight: 700; }
.process-flow h3 { margin-top: .85rem; font-size: 1.3rem; }
.process-flow p { margin-top: .65rem; max-width: 26rem; color: var(--muted); }
.contact-section { padding-block: 5rem; background: #111214; border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.contact-layout .section-title { max-width: 16ch; }
.contact-layout p:not(.work-label) { color: var(--muted); }
.contact-layout .button { overflow-wrap: anywhere; }
.project-preview { width: 100%; min-height: 13rem; display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; margin-bottom: 1.3rem; padding: 1.2rem; background: #292e32; border: 1px solid #50575b; }
.project-preview > div { width: 85%; padding: 1rem; background: #e4e5df; color: #282b2c; box-shadow: 7px 8px 0 #ff873844; }
.project-preview span { display: block; color: #6d5143; font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.project-preview strong { display: block; margin: .4rem 0 .9rem; font-size: 1rem; }
.project-preview i { display: block; width: 90%; height: 2px; margin-top: .55rem; background: #a7aca8; }
.project-preview i:last-child { width: 60%; }
.project-preview small { align-self: flex-end; color: #c3c5c5; font-size: .75rem; }
.project-preview--teaching { background: #222f34; }
.project-preview--teaching > div { background: #dce5e1; }
@media (max-width: 46rem) { .process-flow, .contact-layout { grid-template-columns: 1fr; } .process-flow { gap: 1.4rem; } }
@media (max-width: 34rem) {
  :root { scroll-padding-top: 7rem; }
  .header-row { display: grid; gap: .15rem; }
  .wordmark { justify-self: start; }
  .site-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem; }
  .site-nav a { justify-content: center; }
}

.error-layout { padding-block: clamp(4rem, 12vw, 9rem); }
.error-layout p { max-width: 42ch; margin-top: 1rem; color: var(--muted); }

.policy-layout { max-width: 58rem; padding-block: 4rem 6rem; }
.policy-layout h1 { color: var(--ink); font-size: 3.5rem; line-height: 1.1; }
.policy-date { color: var(--muted); margin-top: .75rem; }
.policy-notice { padding: 1rem 1.25rem; margin-top: 2rem; border-left: 3px solid var(--forest); background: var(--sheet); color: var(--ink); }
.policy-layout section { margin-top: 2.25rem; }
.policy-layout section h2 { font-size: 1.35rem; }
.policy-layout section p { margin-top: .55rem; color: var(--muted); }
.policy-layout a { color: #ffad77; overflow-wrap: anywhere; }
@media (max-width: 34rem) { .policy-layout h1 { font-size: 2.65rem; } }
