@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=Inter:wght@400;500&display=swap');

:root {
  --yellow: #ffd71c;
  --ink: #171713;
  --paper: #faf8f2;
  --soft: #f0ede5;
  --muted: #66615b;
  --line: #d8d2c6;
  --gutter: clamp(22px, 5vw, 72px);
  --max: 1440px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .mono { font-family: "IBM Plex Mono", monospace; }
.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.logo { flex: 0 0 auto; }
.logo-full { width: 245px; height: auto; }
.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; gap: clamp(16px, 2.3vw, 32px); align-items: center; font-size: 14px; }
.nav a { padding-block: 8px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--yellow); }
.nav .nav-cta { padding: 9px 13px; color: var(--paper); background: var(--ink); border: 0; }
.menu { display: none; border: 0; padding: 8px 0; color: var(--ink); background: transparent; }
.rule-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font: 12px/1 "IBM Plex Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rule-label::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
}
.arrow-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 190px;
  padding: 11px 0;
  border-bottom: 2px solid var(--yellow);
  font: 14px/1.35 "IBM Plex Mono", monospace;
}
.arrow-link span { transition: transform .25s ease; }
.arrow-link:hover span { transform: translateX(7px); }

.services-hero {
  padding-block: 90px 104px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 42px;
  align-items: start;
}
.services-hero h1 {
  max-width: 860px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 400;
}
.services-hero h1 .dot { color: var(--yellow); }
.hero-copy {
  grid-column: 2;
  max-width: 720px;
  margin-top: 30px;
}
.hero-copy p { margin-top: 16px; font-size: 18px; line-height: 1.55; }
.hero-copy p:first-child { margin-top: 0; }
.hero-copy p:last-child { color: var(--muted); }

.thesis {
  color: var(--paper);
  background: var(--ink);
}
.thesis-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 42px;
  align-items: center;
  padding-block: 96px 104px;
}
.thesis .rule-label::before { background: var(--yellow); }
.thesis blockquote {
  max-width: 970px;
  margin: 0;
  font: 400 clamp(36px, 4.25vw, 62px)/1.1 "IBM Plex Mono", monospace;
  letter-spacing: -.05em;
}
.thesis blockquote span {
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% .14em;
}

.capabilities { padding-block: 94px 110px; }
.capabilities-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 42px;
  margin-bottom: 54px;
}
.capabilities-head h2 {
  max-width: 860px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 400;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.service-item {
  min-width: 0;
  min-height: 270px;
  padding: 30px clamp(28px, 4vw, 58px) 34px 0;
  border-bottom: 1px solid var(--line);
}
.service-item:nth-child(even) {
  padding-right: 0;
  padding-left: clamp(28px, 4vw, 58px);
  border-left: 1px solid var(--line);
}
.service-item:nth-last-child(-n + 2) { border-bottom: 0; }
.service-name {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-bottom: 42px;
  font: 500 13px/1.45 "IBM Plex Mono", monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.service-name::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--yellow);
}
.service-copy {
  display: block;
}
.service-copy h3 {
  max-width: 520px;
  margin-bottom: 16px;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 400;
}
.service-copy p { max-width: 520px; color: var(--muted); font-size: 16px; }
.service-copy .arrow-link { margin-top: 20px; }

.image-break {
  min-height: min(70vw, 760px);
  display: flex;
  align-items: flex-end;
  padding: var(--gutter);
  background:
    linear-gradient(rgba(23,23,19,.05), rgba(23,23,19,.17)),
    #cfcac0;
}
.image-break span {
  padding: 8px 11px;
  color: var(--paper);
  background: var(--ink);
  font: 11px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.process { padding-block: 94px 110px; background: var(--soft); }
.process-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 42px;
  margin-bottom: 54px;
}
.process-head h2 {
  max-width: 860px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 400;
}
.process-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.process-step {
  position: relative;
  min-height: 190px;
  padding: 24px 24px 30px 0;
  font: 18px/1.35 "IBM Plex Mono", monospace;
}
.process-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 19px;
  right: 24px;
  font-size: 24px;
}
.process-step span {
  display: block;
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
}

.contact {
  color: var(--ink);
  background: var(--yellow);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 42px;
  padding-block: 96px 104px;
}
.contact .rule-label::before { background: var(--ink); }
.contact-copy h2 {
  max-width: 860px;
  margin-bottom: 28px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 400;
}
.contact-copy p { max-width: 650px; font-size: 18px; }
.contact .arrow-link { margin-top: 45px; border-color: var(--ink); }

.footer { padding-block: 46px 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 38px;
  padding-bottom: 46px;
}
.footer-brand .logo-full { width: min(100%, 245px); }
.footer-brand p { max-width: 300px; margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-nav strong { margin-bottom: 10px; font: 500 12px/1 "IBM Plex Mono", monospace; letter-spacing: .07em; text-transform: uppercase; }
.footer-nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .menu { display: block; }
  .nav {
    display: none;
    position: absolute;
    inset: 100% var(--gutter) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .nav-cta { margin-top: 6px; }
  .hero-grid, .thesis-inner, .capabilities-head, .service-item, .process-head, .contact-inner {
    grid-template-columns: 1fr;
  }
  .hero-copy { grid-column: auto; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-nav:last-child { grid-column: 2; }
}
@media (max-width: 720px) {
  .logo-full { width: 205px; }
  .services-hero { padding-block: 58px 72px; }
  .hero-copy { margin-top: 30px; }
  .service-list { grid-template-columns: 1fr; }
  .service-item,
  .service-item:nth-child(even) {
    min-height: 0;
    padding: 28px 0 32px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .service-item:last-child { border-bottom: 0; }
  .service-name { margin-bottom: 30px; }
  .image-break { min-height: 520px; }
  .process-line { grid-template-columns: 1fr 1fr; }
  .process-step { min-height: 150px; }
  .process-step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* Compact editorial scale — approximately 12–15% smaller on tablet and desktop. */
@media (min-width: 601px) {
  :root { --gutter: clamp(22px, 4.3vw, 62px); }
  body { font-size: 15px; }
  .logo-full,
  .footer-brand .logo-full { width: min(100%, 218px); }
  .site-header { padding-block: 17px; }
  .nav { gap: clamp(14px, 1.8vw, 26px); font-size: 13px; }
  .nav a.nav-cta,
  .nav .nav-cta { padding: 8px 11px; }
  .rule-label { font-size: 11px; }
  .arrow-link { min-width: 172px; padding-block: 9px; font-size: 13px; }

  .hero { min-height: 625px; padding-block: 72px 78px; }
  .hero-kicker { margin-bottom: 34px; }
  .hero h1 { max-width: 860px; font-size: clamp(52px, 6.6vw, 98px); }
  .hero-aside .standfirst { font-size: clamp(16px, 1.3vw, 19px); }
  .hero-links { margin-top: 32px; }

  .page-hero,
  .services-hero { padding-block: 72px 82px; }
  .page-hero h1,
  .services-hero h1 { font-size: clamp(38px, 4.4vw, 64px); }
  .hero-copy { margin-top: 24px; }
  .hero-copy p,
  .project-section-head p,
  .selected-copy p,
  .principle-copy p,
  .founder-copy p,
  .contact-copy p { font-size: 16px; }

  .featured,
  .services,
  .about,
  .capabilities,
  .process,
  .practice,
  .architecture,
  .selected,
  .founder,
  .project-overview,
  .project-section,
  .project-gallery { padding-block: 76px 86px; }
  .method,
  .contact { padding-block: 78px 86px; }
  .dialogues-inner,
  .thesis-inner,
  .contact-inner { padding-block: 78px 86px; }

  .editorial-head,
  .section-head,
  .capabilities-head,
  .process-head,
  .project-section-head,
  .gallery-head { margin-bottom: 44px; }
  .editorial-head h2,
  .section-head h2,
  .capabilities-head h2,
  .process-head h2,
  .project-section-head h2,
  .gallery-head h2,
  .architecture h2,
  .principle-copy h2,
  .feature-copy h2,
  .project-stats h2,
  .contact-copy h2 { font-size: clamp(36px, 4.2vw, 62px); }
  .method-head h2,
  .services-head h2,
  .dialogues h2,
  .about h2,
  .contact h2,
  .selected-copy h2,
  .founder-copy h2,
  .project-end h2 { font-size: clamp(42px, 5.4vw, 80px); }

  .story-art,
  .story:nth-child(2) .story-art { min-height: 405px; }
  .story-copy { min-height: 235px; padding: 24px 26px 27px; }
  .story-meta { margin-bottom: 27px; }
  .story h3 { font-size: clamp(24px, 2.6vw, 37px); }
  .story em { font-size: 16px; }
  .project-row { padding-block: 24px; }
  .project-row h3 { font-size: clamp(19px, 2vw, 27px); }

  .method-head { margin-bottom: 50px; }
  .method-row { padding-block: 27px; }
  .method-row h3 { font-size: clamp(25px, 3vw, 44px); }
  .method-row p,
  .dialogues-copy p,
  .about-copy p { font-size: 16px; }
  .service { min-height: 260px; padding-top: 24px; }
  .service h3 { margin-top: 30px; font-size: 21px; }
  .dialogues-inner { min-height: 490px; }
  .about h2,
  .dialogues h2,
  .contact h2 { margin-top: 38px; }

  .thesis blockquote { font-size: clamp(32px, 3.7vw, 54px); }
  .service-item { min-height: 230px; padding-top: 25px; padding-bottom: 29px; }
  .service-name,
  .practice-name { margin-bottom: 34px; }
  .service-copy h3,
  .practice-item h3 { font-size: clamp(23px, 2.3vw, 32px); }
  .process-step { min-height: 160px; font-size: 16px; }
  .image-break { min-height: min(60vw, 650px); }

  .practice-item { min-height: 260px; padding-top: 26px; padding-bottom: 32px; }
  .architecture h2 { margin-bottom: 38px; }
  .architecture-item { min-height: 70px; font-size: 16px; }
  .selected-media { min-height: 470px; }
  .selected-copy h2 { margin-top: 32px; }

  .principle-grid { min-height: 560px; }
  .principle-media { min-height: 480px; }
  .principle-copy { padding-block: clamp(48px, 6.5vw, 88px); }
  .principle-copy h2 { margin: 30px 0 22px; }
  .founder-portrait { min-height: 560px; }
  .founder-copy h2 { margin-top: 34px; }

  .project-hero { padding-top: 72px; }
  .project-hero .rule-label { margin-bottom: 36px; }
  .project-title-grid h1 { font-size: clamp(46px, 5.6vw, 80px); }
  .project-strapline { font-size: 18px; }
  .project-hero-media { min-height: 525px; margin-top: 60px; }
  .project-body p,
  .impact-copy > p { font-size: 17px; }
  .project-body p:first-child { font-size: clamp(20px, 2vw, 27px); }
  .role-intro p,
  .approach-copy p { font-size: 18px; }
  .role-strand { min-height: 410px; padding-top: 27px; padding-bottom: 32px; }
  .role-strand h3 { margin: 56px 0 29px; font-size: clamp(27px, 3vw, 43px); }
  .feature-media { min-height: 525px; }
  .gallery-head { margin-bottom: 46px; }
  .project-stats { padding-block: 76px 86px; }
  .project-stats h2 { margin: 34px 0 48px; }
  .stat { min-height: 185px; padding-top: 24px; }
  .stat strong { margin-bottom: 27px; font-size: clamp(34px, 4vw, 56px); }
  .project-end { padding-block: 68px 76px; }

  .footer { padding-block: 38px 24px; }
  .footer-grid { gap: 32px; margin-bottom: 38px; padding-bottom: 38px; }
  .footer-brand p,
  .footer-nav,
  .footer-nav a { font-size: 13px; }
}



/* Shared site header lock — identical across every template. */
.site-header {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
  padding-block: 17px;
}
.site-header .logo { justify-self: start; }
.site-header .logo-full {
  display: block;
  width: 218px;
  height: auto;
}
.site-header .nav {
  justify-self: end;
  width: max-content;
  gap: clamp(14px, 1.8vw, 26px);
  font: 13px/1.2 Inter, Arial, sans-serif;
}
.site-header .nav a { padding-block: 8px; }
.site-header .nav .nav-cta {
  padding: 8px 11px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}
.site-header .nav .nav-cta:hover {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}
@media (max-width: 1080px) {
  .site-header .menu { display: block; grid-column: 2; justify-self: end; }
  .site-header .nav {
    display: none;
    position: absolute;
    inset: 100% var(--gutter) auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: var(--paper);
    border: 1px solid var(--line);
  }
  .site-header .nav.open { display: flex; }
  .site-header .nav .nav-cta { margin-top: 6px; }
}
@media (max-width: 600px) {
  .site-header { min-height: 72px; padding-block: 15px; }
  .site-header .logo-full { width: 190px; }
}
