:root {
  --paper: #f4efe6;
  --chalk: #fffaf1;
  --stone: #d2bea0;
  --stone-deep: #a9825e;
  --ink: #171512;
  --muted: #6d665c;
  --line: rgba(23, 21, 18, 0.15);
  --line-light: rgba(255, 250, 241, 0.28);
  --green: #526754;
  --copper: #b76d3f;
  --brick: #7b4937;
  --shadow: 0 24px 70px rgba(23, 21, 18, 0.16);
  --radius: 8px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 86px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--green);
  color: var(--chalk);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
a,
button,
dt,
dd,
strong,
span {
  overflow-wrap: break-word;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(18px, 3vw, 46px);
  color: var(--chalk);
  transition: background 240ms ease, color 240ms ease, border 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
  padding-block: 14px;
  background: rgba(244, 239, 230, 0.92);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 11px;
  opacity: 0.7;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.5vw, 34px);
  font-size: 13px;
}

.main-nav a,
.header-action {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after,
.header-action::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.header-action:hover::after {
  transform: scaleX(1);
}

.header-action {
  justify-self: end;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--chalk);
  background: var(--ink);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.78) 0%, rgba(9, 8, 6, 0.35) 43%, rgba(9, 8, 6, 0.08) 72%),
    linear-gradient(0deg, rgba(9, 8, 6, 0.58) 0%, rgba(9, 8, 6, 0) 44%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 650px) minmax(250px, 360px);
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  width: min(var(--max), calc(100% - 40px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 160px 0 138px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b887;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 13vw, 176px);
  font-weight: 400;
  line-height: 0.82;
}

.hero-copy {
  min-width: 0;
}

.hero-lead {
  width: 100%;
  max-width: 560px;
  margin: 32px 0 0;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-link,
.secondary-link,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 2px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-size: 14px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border 180ms ease;
}

.primary-link,
.submit-button {
  background: var(--chalk);
  color: var(--ink);
}

.secondary-link {
  border-color: var(--line-light);
  color: var(--chalk);
}

.primary-link:hover,
.secondary-link:hover,
.submit-button:hover {
  transform: translateY(-2px);
}

.secondary-link:hover {
  background: rgba(255, 250, 241, 0.1);
}

.hero-live {
  align-self: end;
  width: 100%;
  min-width: 0;
  max-width: 360px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-light);
}

.hero-live div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 250, 241, 0.7);
  font-size: 12px;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #86b06f;
  box-shadow: 0 0 0 7px rgba(134, 176, 111, 0.16);
}

.hero-live strong {
  display: block;
  margin-top: 16px;
  color: var(--chalk);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.hero-live p {
  margin: 12px 0 0;
  color: rgba(255, 250, 241, 0.72);
  overflow-wrap: break-word;
}

.hero-case-peek {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  width: min(var(--max), calc(100% - 40px));
  transform: translateX(-50%);
}

.peek-card,
.peek-more {
  min-height: 74px;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 6px;
  background: rgba(10, 9, 7, 0.34);
  color: var(--chalk);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, transform 180ms ease, border 180ms ease;
}

.peek-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
}

.peek-card img {
  width: 62px;
  height: 56px;
  border-radius: 4px;
  object-fit: cover;
}

.peek-card strong,
.peek-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.peek-card strong {
  font-size: 13px;
}

.peek-card small {
  margin-top: 4px;
  color: rgba(255, 250, 241, 0.64);
  font-size: 11px;
}

.peek-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0 16px;
  font-size: 13px;
}

.peek-card:hover,
.peek-more:hover {
  border-color: rgba(255, 250, 241, 0.46);
  background: rgba(10, 9, 7, 0.52);
  transform: translateY(-2px);
}

.case-section,
.origin-section,
.approach-section,
.materials-section,
.team-section,
.contact-section {
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
}

.case-section {
  background: var(--paper);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.54fr);
  align-items: end;
  column-gap: clamp(28px, 6vw, 96px);
  row-gap: 14px;
  margin-bottom: 34px;
}

.section-head > *,
.case-layout > *,
.story-hero > *,
.origin-section > *,
.material-layout > *,
.studio-section > *,
.contact-section > *,
.case-intro > *,
.case-scope-section > *,
.case-project-team > *,
.case-page-cta > *,
.about-origin > * {
  min-width: 0;
}

.section-head .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.section-head h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 780px;
}

.section-head h2,
.origin-copy h2,
.studio-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.8vw, 82px);
  font-weight: 400;
  line-height: 0.96;
}

.section-head p:last-child,
.origin-copy p,
.studio-copy p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-head p:last-child {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}

.case-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--chalk);
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
  gap: 24px;
  align-items: start;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  position: relative;
  display: grid;
  min-height: 438px;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 18, 0.08);
  border-radius: var(--radius);
  background: var(--chalk);
  color: var(--chalk);
  box-shadow: 0 16px 46px rgba(23, 21, 18, 0.09);
  isolation: isolate;
}

.case-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 620ms ease;
}

.case-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgba(10, 9, 7, 0.82) 0%, rgba(10, 9, 7, 0.26) 58%, rgba(10, 9, 7, 0.06) 100%),
    linear-gradient(90deg, rgba(10, 9, 7, 0.2), rgba(10, 9, 7, 0));
  content: "";
}

.case-card:hover img,
.case-card.is-selected img {
  transform: scale(1.045);
}

.case-card.is-selected {
  outline: 2px solid var(--copper);
  outline-offset: -2px;
}

.case-card button,
.case-card a {
  display: grid;
  align-content: end;
  gap: 20px;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 22px;
  background: transparent;
  color: inherit;
  text-align: left;
}

.case-layout > .case-grid:only-child {
  grid-column: 1 / -1;
}

.case-meta,
.case-card-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.case-card-top {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  justify-content: space-between;
  color: rgba(255, 250, 241, 0.86);
  font-size: 12px;
}

.case-type,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(10, 9, 7, 0.24);
  backdrop-filter: blur(10px);
}

.case-card h3 {
  max-width: 470px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 400;
  line-height: 1;
}

.case-meta {
  color: rgba(255, 250, 241, 0.78);
  font-size: 13px;
}

.case-read-more {
  width: max-content;
  border-bottom: 1px solid rgba(255, 250, 241, 0.64);
  padding-bottom: 4px;
  color: rgba(255, 250, 241, 0.88);
  font-size: 13px;
}

.progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.28);
}

.progress span {
  display: block;
  width: var(--progress);
  height: 100%;
  background: var(--copper);
}

.case-detail {
  position: sticky;
  top: 92px;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--chalk);
  box-shadow: var(--shadow);
}

.case-detail h3 {
  margin: 18px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.02;
}

.case-detail p {
  color: var(--muted);
}

.story-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin-top: 8px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
}

.detail-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.detail-image {
  overflow: hidden;
  height: 180px;
  border-radius: 6px;
  background: var(--stone);
}

.detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 22px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.detail-stats div {
  min-width: 0;
  padding: 14px;
  background: var(--chalk);
}

.detail-stats dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.detail-stats dd {
  margin: 6px 0 0;
  font-size: 18px;
}

.timeline {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.timeline-row {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--green);
  border-radius: 50%;
}

.timeline-row.is-done {
  color: var(--ink);
}

.timeline-row.is-done .timeline-dot {
  background: var(--green);
}

.project-story {
  margin-top: 54px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.story-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.story-kicker span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
}

.story-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.52fr);
  gap: 24px;
  align-items: stretch;
}

.story-hero img {
  width: 100%;
  min-height: 520px;
  max-height: 680px;
  border-radius: var(--radius);
  object-fit: cover;
}

.story-hero > div {
  display: grid;
  align-content: end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--chalk);
}

.story-hero h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 0.96;
}

.story-hero p:last-child,
.story-columns p,
.story-team p {
  color: var(--muted);
  font-size: 17px;
}

.story-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: var(--line);
  border: 1px solid var(--line);
}

.story-columns > div {
  padding: 24px;
  background: var(--paper);
}

.story-columns span,
.story-team span {
  display: block;
  margin-bottom: 14px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.story-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}

.story-scope span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 13px;
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.story-gallery figure {
  display: grid;
  gap: 10px;
  margin: 0;
}

.story-gallery figure.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.story-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
}

.story-gallery figure.is-large img {
  height: 100%;
  aspect-ratio: auto;
}

.story-gallery figcaption {
  color: var(--muted);
  font-size: 12px;
}

.story-team {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.story-team p {
  max-width: 720px;
  margin: 0;
  text-align: right;
}

.origin-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.62fr);
  gap: clamp(32px, 7vw, 110px);
  background: var(--chalk);
}

.origin-copy {
  display: grid;
  gap: 22px;
}

.origin-ledger {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.origin-ledger div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px;
  background: var(--chalk);
}

.origin-ledger span {
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.origin-ledger p {
  margin: 0;
  color: var(--muted);
}

.approach-section {
  background: #1d211a;
  color: var(--chalk);
}

.approach-section .section-head p:last-child {
  color: rgba(255, 250, 241, 0.68);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 250, 241, 0.16);
  border: 1px solid rgba(255, 250, 241, 0.16);
}

.scope-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  background: rgba(255, 250, 241, 0.16);
  border: 1px solid rgba(255, 250, 241, 0.16);
}

.scope-strip article {
  padding: 22px;
  background: rgba(255, 250, 241, 0.045);
}

.scope-strip span {
  display: block;
  color: #d49b6e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1;
}

.scope-strip p {
  max-width: 360px;
  margin: 14px 0 0;
  color: rgba(255, 250, 241, 0.68);
}

.process-step {
  min-height: 288px;
  padding: 24px;
  background: #1d211a;
}

.process-step span {
  color: #d49b6e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
}

.process-step h3 {
  margin: 68px 0 12px;
  font-size: 20px;
}

.process-step p {
  margin: 0;
  color: rgba(255, 250, 241, 0.68);
}

.materials-section {
  background: var(--chalk);
}

.material-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.54fr);
  gap: 24px;
  align-items: stretch;
}

.swatch-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.swatch-button {
  position: relative;
  display: grid;
  align-content: end;
  min-width: 0;
  min-height: 300px;
  border: 0;
  border-right: 1px solid rgba(23, 21, 18, 0.16);
  padding: 18px;
  color: var(--ink);
  text-align: left;
  isolation: isolate;
}

.swatch-button:last-child {
  border-right: 0;
}

.swatch-button::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--swatch);
  content: "";
}

.swatch-button::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 18px),
    linear-gradient(0deg, rgba(255, 250, 241, 0.62), rgba(255, 250, 241, 0.08));
  content: "";
  opacity: var(--texture, 0.4);
}

.swatch-button strong {
  font-size: 16px;
}

.swatch-button span {
  margin-top: 5px;
  color: rgba(23, 21, 18, 0.68);
  font-size: 12px;
}

.swatch-button.is-active {
  outline: 3px solid var(--copper);
  outline-offset: -3px;
}

.material-note {
  display: grid;
  align-content: space-between;
  gap: 30px;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--paper);
}

.material-note > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.34fr) minmax(0, 1fr);
  column-gap: clamp(18px, 2vw, 28px);
  row-gap: 10px;
  align-items: start;
  min-width: 0;
}

.material-note > div .eyebrow {
  grid-row: 1 / span 2;
  margin-top: 10px;
}

.material-note > div h3,
.material-note > div p:not(.eyebrow) {
  grid-column: 2;
}

.material-note h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 2.9vw, 46px);
  font-weight: 400;
  line-height: 1.02;
}

.material-note p {
  margin: 0;
  color: var(--muted);
}

.material-note dl {
  display: grid;
  gap: 0;
  align-self: end;
  margin: 0;
}

.material-note dl > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.56fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  min-width: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.material-note dt {
  color: var(--muted);
}

.material-note dd {
  margin: 0;
  text-align: left;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.74fr);
  gap: clamp(32px, 7vw, 92px);
  padding: 78px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

.studio-copy h2 {
  max-width: 720px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
}

.studio-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.studio-stats div {
  display: grid;
  align-content: center;
  min-height: 198px;
  padding: 22px;
  background: var(--paper);
}

.studio-stats dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 0.9;
}

.studio-stats dd {
  margin: 12px 0 0;
  color: var(--muted);
}

.team-section {
  background: var(--chalk);
}

.team-section .section-head {
  align-items: start;
}

.team-section .section-head h2 {
  max-width: 620px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.98;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.team-card {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.team-card div {
  padding: 18px;
}

.team-card h3 {
  margin: 0;
  font-size: 18px;
}

.team-card span {
  display: block;
  margin-top: 7px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.55fr);
  gap: clamp(32px, 8vw, 120px);
  background: #171512;
  color: var(--chalk);
}

.contact-copy p {
  color: rgba(255, 250, 241, 0.68);
}

.contact-copy a {
  display: inline-block;
  margin-top: 26px;
  color: #f2b887;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 250, 241, 0.72);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 250, 241, 0.22);
  border-radius: 2px;
  padding: 14px 13px;
  background: rgba(255, 250, 241, 0.06);
  color: var(--chalk);
}

.contact-form select option {
  color: var(--ink);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 250, 241, 0.38);
}

.submit-button {
  width: max-content;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: #f2b887;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px max(20px, calc((100vw - var(--max)) / 2));
  background: #171512;
  color: rgba(255, 250, 241, 0.58);
  border-top: 1px solid rgba(255, 250, 241, 0.12);
  font-size: 13px;
}

body[data-case-id] .site-header,
.about-page-shell .site-header {
  padding-block: 14px;
  background: rgba(244, 239, 230, 0.92);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.case-page-shell {
  background: var(--paper);
}

.case-page-hero {
  position: relative;
  min-height: clamp(420px, 54svh, 580px);
  overflow: hidden;
  background: var(--ink);
  color: var(--chalk);
}

.case-page-media,
.case-page-media img {
  position: absolute;
  inset: 0;
}

.case-page-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-page-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.82) 0%, rgba(9, 8, 6, 0.44) 46%, rgba(9, 8, 6, 0.08) 82%),
    linear-gradient(0deg, rgba(9, 8, 6, 0.72) 0%, rgba(9, 8, 6, 0.02) 60%);
}

.case-page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  width: min(var(--max), calc(100% - 40px));
  min-height: clamp(420px, 54svh, 580px);
  margin: 0 auto;
  padding: 104px 0 48px;
}

.back-link {
  width: max-content;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.6);
  padding-bottom: 5px;
  color: rgba(255, 250, 241, 0.78);
  font-size: 13px;
}

.case-page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5vw, 74px);
  font-weight: 400;
  line-height: 0.96;
  overflow-wrap: break-word;
}

.case-page-hero-inner > p:last-child {
  max-width: 640px;
  margin: 20px 0 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.35;
}

.case-subnav {
  position: sticky;
  top: 68px;
  z-index: 12;
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
  min-height: 58px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding: 0 max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(18px);
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
}

.case-subnav a {
  position: relative;
  padding: 18px 0;
}

.case-subnav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.case-subnav a:hover::after {
  transform: scaleX(1);
}

.case-page-section,
.case-page-missing {
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
}

.case-page-missing {
  min-height: 72svh;
  padding-top: 160px;
}

.case-page-missing h1 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  line-height: 0.95;
}

.case-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.9fr);
  gap: clamp(32px, 7vw, 112px);
  align-items: start;
  background: var(--paper);
}

.case-facts {
  position: sticky;
  top: 146px;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.case-facts div {
  padding: 20px;
  background: var(--chalk);
}

.case-facts span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.case-facts strong {
  display: block;
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  line-height: 1;
}

.case-intro-copy h2,
.case-scope-section h2,
.case-project-team h2,
.case-page-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.08;
}

.case-intro-copy p:not(.eyebrow) {
  max-width: 840px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.case-chapters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 250, 241, 0.14);
  border-top: 1px solid rgba(255, 250, 241, 0.14);
  border-bottom: 1px solid rgba(255, 250, 241, 0.14);
  padding-inline: max(20px, calc((100vw - var(--max)) / 2));
  background-color: #1d211a;
  color: var(--chalk);
}

.case-chapters article {
  display: grid;
  align-content: start;
  min-height: 420px;
  padding: 26px;
  background: #1d211a;
}

.case-chapters span {
  color: #d49b6e;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 52px;
  line-height: 1;
}

.case-chapters h2 {
  margin: 120px 0 16px;
  color: var(--chalk);
  font-size: 24px;
  line-height: 1.05;
}

.case-chapters p {
  margin: 0;
  color: rgba(255, 250, 241, 0.68);
}

.case-gallery-section,
.related-section {
  background: var(--chalk);
}

.case-page-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.case-page-gallery figure {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
}

.case-page-gallery figure.is-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.case-page-gallery img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--stone);
}

.case-page-gallery figure.is-wide img {
  height: 100%;
  aspect-ratio: 16 / 10;
}

.case-page-gallery figcaption {
  color: var(--muted);
  font-size: 12px;
}

.case-scope-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.42fr) minmax(300px, 0.5fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--green);
  color: var(--chalk);
}

.case-scope-section .eyebrow,
.case-page-cta .eyebrow {
  color: #f2b887;
}

.case-scope-section p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.72);
  font-size: 17px;
}

.case-scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-scope-list span {
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 999px;
  padding: 9px 12px;
  color: rgba(255, 250, 241, 0.8);
  font-size: 13px;
}

.case-page-timeline {
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(255, 250, 241, 0.2);
  padding-top: 4px;
}

.case-page-timeline .timeline-row {
  color: rgba(255, 250, 241, 0.66);
}

.case-page-timeline .timeline-row.is-done {
  color: var(--chalk);
}

.case-page-timeline .timeline-dot {
  border-color: #f2b887;
}

.case-page-timeline .timeline-row.is-done .timeline-dot {
  background: #f2b887;
}

.case-project-team {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 0.52fr);
  gap: clamp(28px, 5vw, 76px);
  background: var(--paper);
}

.case-project-team > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.case-team-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.case-member {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--chalk);
}

.case-member img {
  width: 100%;
  height: 100%;
  min-height: 178px;
  object-fit: cover;
}

.case-member div {
  padding: 18px;
}

.case-member h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.case-member span {
  display: block;
  margin-top: 7px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.case-member p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.case-page-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) auto;
  gap: 32px;
  align-items: end;
  background: #171512;
  color: var(--chalk);
}

.case-page-cta p:not(.eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.68);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.related-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 42px rgba(23, 21, 18, 0.12);
}

.related-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.related-card span,
.related-card strong {
  margin-inline: 18px;
}

.related-card span {
  margin-top: 18px;
  color: var(--copper);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.related-card strong {
  margin-top: 8px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
}

.about-page-shell {
  background: var(--paper);
}

.about-hero {
  position: relative;
  min-height: clamp(540px, 66svh, 720px);
  overflow: hidden;
  background: var(--ink);
  color: var(--chalk);
}

.about-hero-media,
.about-hero-media img {
  position: absolute;
  inset: 0;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 8, 6, 0.78), rgba(9, 8, 6, 0.24) 68%),
    linear-gradient(0deg, rgba(9, 8, 6, 0.64), rgba(9, 8, 6, 0.08) 62%);
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  width: min(var(--max), calc(100% - 40px));
  min-height: clamp(540px, 66svh, 720px);
  margin: 0 auto;
  padding: 130px 0 72px;
}

.about-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(60px, 10vw, 128px);
  font-weight: 400;
  line-height: 0.9;
}

.about-hero p:last-child {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 250, 241, 0.82);
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
}

.about-origin {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.62fr);
  gap: clamp(32px, 7vw, 110px);
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--chalk);
}

.about-origin-copy {
  display: grid;
  align-content: start;
  gap: 22px;
}

.about-origin-copy h2,
.about-practice .section-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.8vw, 82px);
  font-weight: 400;
  line-height: 0.96;
}

.about-origin-copy p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.about-ledger {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-ledger div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px;
  background: var(--chalk);
}

.about-ledger span {
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1;
}

.about-ledger p {
  margin: 0;
  color: var(--muted);
}

.about-practice {
  padding: 92px max(20px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}

.about-practice-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-practice-grid article {
  min-height: 300px;
  padding: 24px;
  background: var(--paper);
}

.about-practice-grid span {
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 48px;
  line-height: 1;
}

.about-practice-grid h3 {
  margin: 72px 0 12px;
  font-size: 20px;
}

.about-practice-grid p {
  margin: 0;
  color: var(--muted);
}

.about-team {
  background: var(--chalk);
}

.reveal {
  transform: none;
  opacity: 1;
  transition: transform 620ms ease, opacity 620ms ease;
}

.reveal-ready .reveal {
  transform: translateY(18px);
  opacity: 0;
}

.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-grid,
  .section-head,
  .case-layout,
  .story-hero,
  .story-columns,
  .origin-section,
  .material-layout,
  .studio-section,
  .contact-section,
  .case-intro,
  .case-scope-section,
  .case-project-team,
  .case-page-cta,
  .about-origin {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: end;
    padding-bottom: 126px;
  }

  .section-head > * {
    grid-column: 1;
    grid-row: auto;
  }

  .section-head p:last-child {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
  }

  .hero-live {
    max-width: min(520px, 100%);
  }

  .case-detail {
    position: static;
    min-height: auto;
  }

  .story-hero img {
    min-height: 420px;
  }

  .story-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-facts {
    position: static;
  }

  .case-chapters,
  .case-page-gallery,
  .case-team-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-team {
    display: grid;
  }

  .story-team p {
    text-align: left;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scope-strip {
    grid-template-columns: 1fr;
  }

  .swatch-list {
    grid-template-columns: repeat(5, minmax(130px, 1fr));
    overflow-x: auto;
  }

  .studio-stats {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    overflow-x: auto;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-case-peek {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .peek-card:nth-child(3),
  .peek-more {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .header-action {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-grid {
    width: calc(100% - 32px);
    min-height: 760px;
    padding-top: 128px;
    padding-bottom: 170px;
    gap: 34px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 8, 6, 0.78), rgba(9, 8, 6, 0.22)),
      linear-gradient(0deg, rgba(9, 8, 6, 0.74), rgba(9, 8, 6, 0.02) 64%);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(50px, 15vw, 58px);
    line-height: 0.9;
  }

  .hero-copy,
  .hero-lead,
  .hero-live {
    max-width: 358px;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-live p {
    max-width: 358px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-case-peek {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .peek-card:nth-child(2) {
    display: none;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .case-section,
  .origin-section,
  .approach-section,
  .materials-section,
  .team-section,
  .contact-section,
  .studio-section,
  .about-origin,
  .about-practice {
    padding-block: 64px;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    min-height: 392px;
  }

  .detail-stats,
  .origin-ledger div,
  .about-ledger div,
  .process-grid,
  .studio-stats,
  .about-practice-grid {
    grid-template-columns: 1fr;
  }

  .project-story {
    margin-top: 42px;
  }

  .story-hero img {
    min-height: 320px;
  }

  .story-hero > div,
  .story-columns > div {
    padding: 18px;
  }

  .story-gallery {
    grid-template-columns: 1fr;
  }

  .story-gallery figure.is-large {
    grid-column: auto;
    grid-row: auto;
  }

  .story-gallery figure.is-large img {
    aspect-ratio: 1;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: 230px;
  }

  .process-step h3 {
    margin-top: 44px;
  }

  .swatch-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
    overflow-x: visible;
  }

  .swatch-button {
    min-height: 220px;
    border-right: 1px solid rgba(23, 21, 18, 0.16);
    border-bottom: 1px solid rgba(23, 21, 18, 0.16);
  }

  .swatch-button:nth-child(even),
  .swatch-button:last-child {
    border-right: 0;
  }

  .swatch-button:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    min-height: 180px;
    border-bottom: 0;
  }

  .material-note {
    min-height: auto;
  }

  .material-note > div,
  .material-note dl > div {
    grid-template-columns: 1fr;
  }

  .material-note > div .eyebrow,
  .material-note > div h3,
  .material-note > div p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }

  .case-page-hero,
  .case-page-hero-inner {
    min-height: 440px;
  }

  .case-page-hero-inner {
    width: calc(100% - 32px);
    padding-top: 104px;
    padding-bottom: 42px;
  }

  .case-page-hero h1 {
    font-size: clamp(36px, 10vw, 46px);
    line-height: 0.94;
  }

  .case-subnav {
    top: 63px;
    padding-inline: 16px;
  }

  .case-page-section,
  .case-page-missing {
    padding-block: 64px;
  }

  .case-chapters,
  .case-page-gallery,
  .case-team-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .case-chapters article {
    min-height: 300px;
    padding: 22px;
  }

  .case-chapters h2 {
    margin-top: 64px;
  }

  .case-page-gallery figure.is-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .case-page-gallery figure.is-wide img {
    aspect-ratio: 4 / 5;
  }

  .case-member {
    grid-template-columns: 98px minmax(0, 1fr);
  }

  .case-member img {
    min-height: 172px;
  }

  .case-page-cta .primary-link {
    width: 100%;
  }

  .about-hero,
  .about-hero-inner {
    min-height: 560px;
  }

  .about-hero-inner {
    width: calc(100% - 32px);
    padding-top: 112px;
    padding-bottom: 56px;
  }

  .about-hero h1 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .about-hero p:last-child {
    font-size: 17px;
  }

  .about-practice-grid article {
    min-height: 240px;
  }

  .about-practice-grid h3 {
    margin-top: 44px;
  }
}
