/* Private design study: a continuous off-white to champagne-gold spectrum. */
:root {
  --charcoal: #c4b9a8;
  --paper: #f7f5f0;
  --champagne-deep: #e7e1d7;
  --champagne-mid: #d1c6b5;
  --champagne-detail: #85745e;
  --champagne-light: #e0d8cb;
  --ink: #191919;
  --muted: #4e4942;
  --line: #d6cebf;
}

.expertise,
.client-journey,
.project-narrative,
.beyond-handover h2 {
  background: var(--champagne-deep);
}

.philosophy.section,
.philosophy-scene,
.studio.section {
  background: var(--paper);
}

.project-image,
.gallery-pair img {
  background: #ece7de;
}

.hero-media,
.project-cover-portrait { background: #ece7de; }
.making,
.making-caption,
.project-making.section,
.client-promise { background: #d9cfbf; }
.making,
.project-making.section,
.client-promise { color: var(--ink); }
.stage-controls { border-bottom-color: #beb09b; }
.stage-controls button,
.project-making.section .stage-controls button { color: #51493d; }
.stage-controls button[aria-pressed="true"],
.project-making.section .stage-controls button[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.making-disclaimer,
.study-note,
.promise-columns p,
.continuum-outlook { color: #453f36; }
.client-promise + footer { border-top-color: #b4a58e; }
.scroll-enabled #work .project-image::after { background: #e2d9cc; }

/* The opening and closing use the deepest champagne tone, with black artwork. */
.intro-pending .brand-intro,
.intro-phrase,
.intro-skip { color: var(--ink); }
.intro-vector { fill: var(--ink); }
.intro-skip { border-bottom-color: #19191980; }
.intro-skip:focus-visible { outline-color: var(--ink); }
footer { color: var(--ink); }
footer .footer-logo { filter: brightness(0); }
footer .footer-bottom,
footer .footer-bottom > span:first-child { color: var(--ink); }

.all-work-link,
.text-link,
.contact-link,
.coming,
.beyond-link { border-color: var(--champagne-detail); }
nav a::after { background: var(--champagne-detail); }
.philosophy-scene > .eyebrow,
.scene-footer { mix-blend-mode: normal; }
.philosophy-scene > .eyebrow,
.scene-footer a { color: var(--ink); }
.scene-footer .scene-caption { color: var(--ink); }
.scene-footer a { border-bottom-color: var(--champagne-detail); }
.field-motion { color: var(--ink); }
.technical-lines,
.technical-lines::before,
.technical-lines::after { border-color: var(--champagne-detail); }
.project-arrow {
  border: 1px solid var(--champagne-mid);
}
.work-filters button[aria-pressed="true"] { border-color: var(--champagne-detail); }
.pending-field { background: #d9cebc; color: var(--ink); }
.pending-field::before,
.pending-field::after,
.pending-line { background: var(--champagne-detail); }
.pending-index { color: #81705b; }

.continuity-plane.plane-one path:first-child { fill: #d9cfbf; }
.continuity-plane.plane-one path:last-child { fill: #bdb09b; }
.continuity-plane.plane-two path:first-child { fill: #e4dcd0; }
.continuity-plane.plane-two path:last-child { fill: #ccc0ae; }
.continuity-plane.plane-three path { fill: #efeae1; }
.convergence-perspectives { color: #514a40; }

.cap {
  color: #625b51;
  border-bottom-color: #b8ab97;
}

.journey-row { border-top-color: #b8ab97; }
.continuity-trace { stroke: #b6a996; }
.continuity-thread { stroke: var(--champagne-detail); }
.scene-progress,
.convergence-progress { background: var(--champagne-detail); }

footer .closing-echo { background: var(--champagne-light); }
footer .contact-link { border-bottom-color: var(--champagne-light); }
footer .footer-bottom { border-top: 1px solid #b4a58e; padding-top: 25px; }

/* A final signature after the contact information, using the original artwork. */
.brand-signoff {
  background: var(--charcoal);
  padding: clamp(45px, 5vw, 90px) 0 0;
  overflow: hidden;
}
.brand-signoff a { display: block; margin-inline: auto; }
.brand-signoff img { display: block; width: 100%; height: auto; object-fit: contain; }
.brand-signoff.motion-ready img {
  opacity: 1;
  transform: translate3d(var(--signoff-x, -20%), 0, 0);
  clip-path: inset(0 var(--signoff-clip, 100%) 0 0);
  transition: none;
  will-change: transform, clip-path;
}
@media (prefers-reduced-motion: reduce) {
  .brand-signoff.motion-ready img { opacity: 1; transform: none; clip-path: none; transition: none; }
}
body:has(.brand-signoff) footer .footer-bottom { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) {
  .brand-signoff { padding: 38px 0 0; }
  body:has(.brand-signoff) footer .footer-bottom { grid-template-columns: 1fr 1fr; }
  body:has(.brand-signoff) footer .footer-bottom > a:first-child { grid-column: 1 / -1; }
}

/* Project pages: a precise information strip, then one architectural title. */
.project-entry-ready .project-intro {
  min-height: min(76svh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 138px;
  padding-bottom: clamp(18px, 2.5vw, 42px);
}

.project-entry-ready .project-entry-grid {
  display: grid;
  grid-template-columns: minmax(200px, .8fr) minmax(0, 1.75fr);
  gap: clamp(40px, 7vw, 150px);
  padding-top: 19px;
  border-top: 1px solid var(--ink);
}

.project-entry-ready .project-entry-identity,
.project-entry-ready .project-entry-details .project-facts {
  font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-size: clamp(12px, .99vw, 14px);
  line-height: 1.43;
  letter-spacing: -.025em;
}

.project-entry-ready .project-entry-identity .eyebrow {
  display: inline-block;
  font: inherit;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-entry-ready .project-entry-identity p {
  margin: 28px 0 0;
  max-width: 28ch;
}

.project-entry-ready .project-entry-identity br { display: block; }

.project-entry-ready .project-entry-details .project-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 50px);
  border: 0;
  padding: 0;
  margin: 0;
}

.project-entry-ready .project-entry-details .project-facts div:last-child { grid-column: auto; }
.project-entry-ready .project-entry-details .project-facts dt {
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0 0 13px;
  color: var(--muted);
}

.project-entry-ready .project-entry-details .project-facts dd {
  font: inherit;
  color: var(--ink);
  margin: 0;
  max-width: 28ch;
}

.project-entry-ready .project-title-row { display: block; }
.project-entry-ready .project-title-row h1 {
  font-size: clamp(92px, 11.3vw, 208px);
  line-height: .83;
  letter-spacing: -.075em;
  font-weight: 450;
  margin: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.project-entry-ready .project-cover img {
  height: clamp(560px, 79svh, 1100px);
  min-height: 0;
}

.project-entry-ready .project-cover figcaption {
  font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  text-transform: uppercase;
  letter-spacing: -.025em;
  margin-top: 16px;
}

.project-entry-ready .project-overview .eyebrow,
.project-entry-ready .project-narrative .eyebrow,
.project-entry-ready .project-gallery .eyebrow,
.project-entry-ready .project-highlight .eyebrow,
.project-entry-ready .project-discussion .eyebrow,
.project-entry-ready .next-project .eyebrow,
.project-entry-ready .project-gallery figcaption,
.project-entry-ready .project-highlight figcaption {
  font-family: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  font-weight: 400;
  letter-spacing: -.02em;
}

.project-entry-ready .project-overview { padding-top: clamp(95px, 10vw, 180px); }

@media (max-width: 700px) {
  .project-entry-ready .project-intro {
    min-height: 0;
    padding: 113px 20px 26px;
  }

  .project-entry-ready .project-entry-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 14px;
  }

  .project-entry-ready .project-entry-identity p { margin-top: 16px; }

  .project-entry-ready .project-entry-details .project-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .project-entry-ready .project-entry-details .project-facts dt { margin-bottom: 8px; }

  .project-entry-ready .project-title-row h1 {
    font-size: clamp(65px, 14.2vw, 102px);
    line-height: .9;
    margin-top: clamp(70px, 13svh, 135px);
  }

  .project-entry-ready .project-cover img { height: 62svh; min-height: 360px; }
  .project-entry-ready .project-cover-portrait img { object-fit: cover; }
  .project-entry-ready .project-overview { padding-top: 85px; }
}

@media (max-width: 430px) {
  .project-entry-ready .project-entry-details .project-facts {
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
  }

  .project-entry-ready .project-entry-details .project-facts div:last-child { grid-column: 1 / -1; }
  .project-entry-ready .project-title-row h1 { font-size: clamp(62px, 14.5vw, 76px); }
}

/* Let images and compositions grow on large displays; keep prose readable. */
@media (min-width: 1500px) {
  .section,
  .making {
    padding-inline: max(5.2vw, calc((100vw - 2300px) / 2));
  }

  header,
  .hero,
  .page-intro,
  .next-project,
  footer {
    padding-inline: max(4.5vw, calc((100vw - 2300px) / 2));
  }

  .hero {
    padding-bottom: clamp(110px, 11svh, 160px);
  }

  .hero-media {
    height: clamp(530px, 58svh, 900px);
    max-height: none;
  }

  .page-intro h1 {
    font-size: clamp(120px, 8vw, 190px);
  }

  .page-deck,
  .intro-bottom p { max-width: 760px; }

  .ethos h2 { max-width: 1550px; }
  .editorial-copy { margin-left: min(28%, 500px); }
  .editorial-copy p,
  .journey-row p,
  .project-narrative p,
  .project-discussion p { max-width: 620px; }

  .project-cover img { height: min(76svh, 1000px); }
  .making-image { max-height: 900px; }
}

/* Give the Work index a clearer editorial opening without adding decoration. */
@media (min-width: 701px) {
  .page-intro:has(+ .work-catalog) {
    padding-bottom: clamp(50px, 5vw, 80px);
  }

  .page-intro:has(+ .work-catalog) h1 {
    margin-bottom: clamp(20px, 2vw, 35px);
  }

  .page-intro:has(+ .work-catalog) .page-deck {
    margin-top: 0;
  }

  .catalog-grid {
    column-gap: clamp(36px, 3.8vw, 90px);
  }
}

@media (max-width: 700px) {
  .page-intro:has(+ .work-catalog) { padding-bottom: 55px; }
}

/* Five navigation destinations retain comfortable spacing on narrow displays. */
@media(max-width:700px){header:has(nav a[href="careers.html"]){height:auto;min-height:100px;padding:18px 20px;gap:15px;align-items:center}header:has(nav a[href="careers.html"]) nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 15px;max-width:280px;font-size:12px}}
@media(max-width:380px){header:has(nav a[href="careers.html"]){padding-inline:14px}header:has(nav a[href="careers.html"]) nav{gap:10px 12px;max-width:235px;font-size:11px}}

/* Exploded-space study: the interior takes the larger share of the composition. */
.expertise .expertise-layout{grid-template-columns:.72fr 1.28fr;gap:6%}
.expertise .expertise-note{grid-template-rows:18px 2.5em clamp(270px,39svh,470px) 18px;gap:14px}
.expertise .expertise-note p{max-width:520px;font-size:clamp(20px,2vw,28px)}
@media(max-width:700px){.expertise .expertise-layout{grid-template-columns:1fr;gap:16px}.expertise .expertise-note{grid-template-rows:18px 2.5em clamp(200px,30svh,290px) 18px;gap:10px;font-size:20px}.expertise .expertise-note p{font-size:20px}.expertise .cap{font-size:24px;padding:8px 0}.scroll-enabled .expertise-is-pinned .expertise-scene{top:100px;height:calc(100svh - 100px);padding-top:78px;padding-bottom:50px}.expertise-is-pinned .beyond-link{bottom:14px}.expertise-is-pinned .section-heading{top:18px}}

/* Photorealistic Continuum: a generous cinematic frame beside the stages. */
.expertise .expertise-layout{grid-template-columns:.52fr 1.48fr;gap:5%}
.expertise .expertise-note{grid-template-rows:18px 2.5em clamp(310px,43svh,520px) 18px;gap:12px}
.expertise .cap{font-size:clamp(28px,3vw,44px)}
.expertise .film-ready>.eyebrow::after{content:' / CONCEPT STUDY';font-size:10px;margin-left:8px;color:var(--muted)}
@media(max-width:700px){.expertise .expertise-layout{grid-template-columns:1fr;gap:16px}.expertise .expertise-note{grid-template-rows:18px 2.5em clamp(205px,28svh,275px) 18px;gap:10px}.expertise .cap{font-size:24px}.expertise .film-ready>.eyebrow::after{font-size:9px}}

/* Borderless spatial study: the page is the room's surrounding field. */
.expertise .expertise-layout{grid-template-columns:.42fr 1.58fr;gap:3%}
.expertise .expertise-note{grid-template-rows:18px 2.5em clamp(340px,47svh,560px) 18px}
.expertise .value-form{background:transparent;border:0;box-shadow:none}
@media(max-width:700px){.expertise .expertise-layout{grid-template-columns:1fr;gap:16px}.expertise .expertise-note{grid-template-rows:18px 2.5em clamp(225px,30svh,300px) 18px}}

/* The 3D room occupies the same accessible scroll-story cell. */
.continuum-webgl{grid-row:3;grid-column:1;width:100%;height:100%;min-height:0;display:block}
.expertise .value-form{grid-row:3;grid-column:1;pointer-events:none}
.expertise-note.room-3d .value-form{visibility:hidden}

/* One coherent, borderless Continuum assembly uses the full visual column. */
.expertise .expertise-note{grid-template-columns:minmax(0,1fr);justify-content:stretch}
.expertise .value-form{justify-self:stretch;max-width:none}

/* Live Continuum baseline restored: original drawing scale and five-stage layout. */
.expertise .expertise-layout{grid-template-columns:1.05fr 1fr;gap:7%}
.expertise .cap{font-size:clamp(30px,3.4vw,48px);line-height:1.1;padding:11px 0}
.expertise .expertise-note{grid-template-rows:20px 3.6em clamp(180px,28svh,300px) 18px;gap:16px;font-size:clamp(22px,2.2vw,30px)}
.expertise .expertise-note p{font-size:inherit;line-height:1.2;max-width:420px}
@media(max-width:700px){
 .expertise .expertise-layout{grid-template-columns:1fr;gap:22px}
 .expertise .expertise-note{grid-template-rows:18px 2.4em clamp(145px,23svh,210px) 18px;gap:12px;font-size:22px}
 .expertise .cap{font-size:27px;line-height:1.15;padding:10px 0}
 .expertise .expertise-note p{max-width:none}
}
@media(max-width:700px) and (max-height:760px){
 .expertise-is-pinned .expertise-layout{gap:12px}
 .expertise-is-pinned .cap{font-size:clamp(21px,5.5vw,25px);padding:6px 0}
 .expertise-is-pinned .expertise-note{grid-template-rows:16px 2.2em minmax(112px,18svh) 16px;gap:7px;font-size:20px}
}

/* Warm champagne masthead carries the preview palette through the top edge. */
header { background: var(--champagne-deep); }

/* Give the furnished room a larger stage without changing the five-step order. */
.expertise .expertise-layout{grid-template-columns:.8fr 1.2fr;gap:5%}
.expertise .expertise-note{grid-template-rows:20px 2.6em clamp(280px,38svh,420px) 18px;gap:12px}
@media(max-width:700px){
 .expertise .expertise-layout{grid-template-columns:1fr;gap:16px}
 .expertise .cap{font-size:25px;padding:8px 0}
 .expertise .expertise-note{grid-template-rows:18px 2.4em clamp(215px,31svh,280px) 18px;gap:9px;font-size:20px}
}
@media(max-width:700px) and (max-height:760px){
 .expertise-is-pinned .expertise-layout{gap:10px}
 .expertise-is-pinned .cap{font-size:22px;padding:5px 0}
 .expertise-is-pinned .expertise-note{grid-template-rows:16px 2.2em clamp(175px,28svh,215px) 16px;gap:6px;font-size:18px}
}

/* A longer native-scroll runway gives each assembly phase room to breathe. */
.scroll-enabled .expertise.expertise-is-pinned{height:350vh;height:350svh}
@media(max-width:700px){
 .scroll-enabled .expertise.expertise-is-pinned{height:788vh;height:788svh}
}

/* Preserve travel speed while adding three brief, reversible settling holds. */
.scroll-enabled .expertise.expertise-is-pinned{height:389vh;height:389svh}
@media(max-width:700px){
 .scroll-enabled .expertise.expertise-is-pinned{height:891vh;height:891svh}
}

/* Short phones retain the scrubbed sequence with a compact, fully visible stage. */
@media(max-width:700px) and (max-height:620px){
 .scroll-enabled .expertise-is-pinned .expertise-scene{top:100px;height:calc(100svh - 100px);padding:56px 20px 32px}
 .expertise-is-pinned .expertise-layout{gap:8px}
 .expertise-is-pinned .cap{font-size:20px;line-height:1.1;padding:4px 0}
 .expertise-is-pinned .expertise-note{grid-template-rows:16px 2.4em clamp(130px,25svh,155px) 16px;gap:6px;font-size:16px}
 .expertise-is-pinned .expertise-note p{font-size:16px}
 .expertise-is-pinned .section-heading{top:12px}
 .expertise-is-pinned .beyond-link{bottom:8px}
}

/* Work pairs align in flush, full-width rows. */
.work-catalog.section{padding-left:0;padding-right:0}
.work-catalog .work-filters{margin-inline:4.5%}
.work-catalog .catalog-grid{--catalog-gap:16px;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--catalog-gap);row-gap:clamp(28px,3vw,52px)}
.work-catalog .catalog-grid .project:nth-child(n){width:100%;margin:0;padding-top:0;grid-column:auto}
.work-catalog .catalog-grid .project-image{aspect-ratio:1.25}
.work-catalog .catalog-grid .project-meta{padding-inline:clamp(20px,2.25vw,48px);margin-top:14px;gap:20px;align-items:baseline}
.work-catalog .catalog-grid .project-meta h3{min-width:0}
.work-catalog .catalog-grid .project-meta span{text-align:right}
@media(max-width:700px){
 .work-catalog .work-filters{margin-inline:20px}
 .work-catalog .catalog-grid{display:block}
 .work-catalog .catalog-grid .project:nth-child(n){padding-top:0;margin-bottom:36px}
 .work-catalog .catalog-grid .project-meta{padding-inline:20px}
}

/* Homepage selected work stays image-led at every editorial offset. */
@media(min-width:701px){
 #work .project:nth-child(2){width:85%}
 #work .project:nth-child(3){width:90%}
}
