@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.55;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: "IBM Plex Mono", monospace; }
h1, h2, h3 { font-family: "IBM Plex Mono", monospace; }
.shell { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.rule-label {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.rule-label::before { content: ""; width: 8px; height: 8px; 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-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}
.arrow-link span { transition: transform .25s ease; }
.arrow-link:hover span { transform: translateX(7px); }

.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);
}
.logo { flex: 0 0 auto; }
.logo-full { width: 245px; height: auto; }
.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 a.nav-cta {
  padding: 9px 13px;
  border: 1px solid var(--ink);
  transition: background .25s ease, border-color .25s ease;
}
.nav a.nav-cta:hover { border-color: var(--yellow); background: var(--yellow); }
.menu { display: none; border: 0; border-bottom: 2px solid var(--yellow); padding: 7px 0; background: transparent; }

.hero {
  position: relative;
  min-height: 720px;
  padding-block: 88px 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .65fr);
  gap: clamp(44px, 7vw, 110px);
}
.hero-kicker { margin-bottom: 42px; }
.hero h1 {
  max-width: 940px;
  font-size: clamp(60px, 7.7vw, 118px);
  line-height: .93;
  letter-spacing: -.06em;
  font-weight: 400;
}
.hero h1 .line { display: block; }
.hero h1 .line:nth-child(2) { margin-left: clamp(28px, 6vw, 96px); }
.hero-highlight {
  color: var(--ink);
  background-image: linear-gradient(var(--yellow), var(--yellow));
  background-repeat: no-repeat;
  background-position: 0 91%;
  background-size: 100% .12em;
}
.hero-dot {
  display: inline-block;
  width: .19em;
  height: .19em;
  margin-left: .1em;
  border-radius: 50%;
  background: var(--yellow);
  vertical-align: .03em;
}

@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line {
    opacity: 0;
    transform: translateY(.28em);
    animation: hero-line-in .72s cubic-bezier(.2,.8,.2,1) forwards;
  }
  .hero h1 .line:nth-child(1) { animation-delay: .15s; }
  .hero h1 .line:nth-child(2) { animation-delay: .95s; }
  .hero h1 .line:nth-child(3) { animation-delay: 1.75s; }
  .hero-highlight {
    background-size: 0 .12em;
    animation: hero-highlight-in .68s cubic-bezier(.2,.8,.2,1) 1.48s forwards;
  }
  @keyframes hero-line-in { to { opacity: 1; transform: none; } }
  @keyframes hero-highlight-in { to { background-size: 100% .12em; } }
}
.hero-aside {
  align-self: end;
  padding: 28px 0 6px 28px;
  border-left: 1px solid var(--line);
}
.hero-aside .standfirst {
  margin-bottom: 24px;
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.48;
}
.hero-aside p + p { margin-top: 18px; color: var(--muted); }
.hero-links { display: flex; flex-wrap: wrap; gap: 16px 34px; margin-top: 40px; }
.featured {
  padding-block: 90px 110px;
  border-top: 1px solid var(--line);
}
.editorial-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 42px;
  align-items: start;
  margin-bottom: 54px;
}
.editorial-head h2 {
  max-width: 860px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 400;
}
.editorial-head p { max-width: 650px; margin-top: 12px; color: var(--muted); font-size: 18px; }

.lead-stories {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.lead-stories--reverse { grid-template-columns: .8fr 1.2fr; }
.story {
  min-width: 0;
  background: var(--paper);
}
.story--linked { position: relative; }
.story--linked .story-art { transition: filter .3s ease; }
.story--linked .arrow-link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.story--linked:hover .story-art { filter: brightness(.94); }
.story--linked:focus-within {
  z-index: 1;
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
.story-art {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background: #d9d6cf;
}
.story-art > img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.story:nth-child(2) .story-art { min-height: 470px; background: #c9c5bc; }
.photo-placeholder {
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.photo-placeholder span {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 8px 10px;
  color: var(--paper);
  background: var(--ink);
  font: 11px/1.3 "IBM Plex Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.story:nth-child(2) .photo-placeholder span { color: var(--ink); background: var(--yellow); }
.story-copy { min-height: 330px; padding: 30px 32px 36px; }
.story-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 48px; color: var(--muted); font: 12px/1 "IBM Plex Mono", monospace; text-transform: uppercase; }
.story h3 { max-width: 600px; margin-bottom: 18px; font-size: clamp(27px, 3vw, 43px); line-height: 1.08; letter-spacing: -.045em; font-weight: 400; }
.story em { display: block; margin-bottom: 20px; font: italic 17px/1.5 Inter, sans-serif; }
.story p,
.story-description { max-width: 600px; color: var(--muted); }
.story-description p { margin: 0; }
.story-description strong { font-weight: 600; }

.project-index { margin-top: 58px; border-top: 1px solid var(--ink); }
.project-row {
  display: grid;
  grid-template-columns: 76px 1.15fr .85fr 42px;
  gap: 28px;
  align-items: start;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  transition: padding .3s ease, background .3s ease;
}
.project-row:hover { padding-inline: 18px; background: var(--soft); }
.project-number { color: var(--muted); font: 12px/1.4 "IBM Plex Mono", monospace; }
.project-row h3 { font-size: clamp(21px, 2.2vw, 31px); line-height: 1.15; letter-spacing: -.035em; font-weight: 400; }
.project-row .tagline { font: 400 15px/1.5 "IBM Plex Mono", monospace; }
.project-row .arrow { font: 30px/1 "IBM Plex Mono", monospace; transition: transform .25s ease; }
.project-row:hover .arrow { transform: translateX(7px); }
.portfolio-link { margin-top: 38px; display: flex; justify-content: flex-end; }

.method {
  color: var(--paper);
  background: #282823;
  padding-block: 96px 108px;
}
.method .rule-label { color: var(--yellow); }
.method-head {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  gap: 50px;
  margin-bottom: 64px;
}
.method-head h2 { font-size: clamp(48px, 6vw, 86px); line-height: .96; letter-spacing: -.06em; font-weight: 400; }
.method-list { border-top: 1px solid #454545; }
.method-row {
  display: grid;
  grid-template-columns: 84px .8fr 1.2fr;
  gap: 30px;
  padding-block: 34px;
  border-bottom: 1px solid #454545;
}
.method-row .num { color: var(--yellow); font: 13px/1.4 "IBM Plex Mono", monospace; }
.method-row h3 { font-size: clamp(28px, 3.5vw, 52px); line-height: 1; font-weight: 400; }
.method-row p { max-width: 540px; color: #bebeb9; font-size: 17px; }
.method-note {
  max-width: 650px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid #454545;
  color: #bebeb9;
  font-size: 16px;
  line-height: 1.55;
}

.services { padding-block: 100px 116px; }
.services-head {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: end;
  margin-bottom: 52px;
}
.services-head h2 { max-width: 690px; font-size: clamp(45px, 5vw, 72px); line-height: 1; letter-spacing: -.055em; font-weight: 400; }
.services-head .rule-label { margin-bottom: 38px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.service {
  position: relative;
  min-height: 310px;
  padding: 28px 30px 30px 0;
  border-bottom: 1px solid var(--line);
}
.service:nth-child(3n+2),
.service:nth-child(3n+3) { padding-left: 30px; border-left: 1px solid var(--line); }
.service h3 { max-width: 290px; margin: 36px 0 16px; font-size: 24px; line-height: 1.15; font-weight: 400; }
.service p { max-width: 320px; color: var(--muted); }
.service::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  transform: scale(0);
  transition: transform .25s ease;
}
.service:hover::after { transform: scale(1); }
.services-link { margin-top: 36px; }

.dialogues { background: var(--soft); }
.dialogues-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 70px;
  min-height: 570px;
  padding-block: 96px;
  overflow: hidden;
}
.dialogues h2 { max-width: 900px; margin-top: 48px; font-size: clamp(60px, 7vw, 104px); line-height: .91; letter-spacing: -.075em; font-weight: 400; }
.dialogues-copy { align-self: end; position: relative; z-index: 2; }
.dialogues-copy p { margin-bottom: 22px; font-size: 17px; }
.dialogues .arrow-link { border-color: var(--yellow); }
.about { padding-block: 108px; border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; }
.about h2 { max-width: 850px; margin-top: 50px; font-size: clamp(52px, 6.3vw, 92px); line-height: .96; letter-spacing: -.065em; font-weight: 400; }
.about-copy { align-self: end; padding-left: 28px; border-left: 1px solid var(--line); }
.about-copy p { margin-bottom: 22px; font-size: 18px; }

.contact {
  color: var(--paper);
  background: #282823;
  padding-block: 96px 104px;
}
.contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.contact h2 { max-width: 860px; margin-top: 46px; font-size: clamp(57px, 7vw, 104px); line-height: .92; letter-spacing: -.07em; font-weight: 400; }
.contact-copy p { margin-bottom: 30px; color: #c6c6c1; font-size: 18px; }
.contact .arrow-link { color: var(--yellow); }

.footer { padding-block: 46px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 38px; margin-bottom: 46px; }
.footer-brand p { max-width: 300px; margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.footer-nav strong { display: block; margin-bottom: 14px; font: 500 13px/1.4 "IBM Plex Mono", monospace; text-transform: uppercase; }
.footer-nav a { display: block; margin-bottom: 8px; font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .nav { display: none; position: absolute; top: 92px; left: var(--gutter); right: var(--gutter); padding: 22px; background: var(--paper); border: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
  .menu { display: block; }
  .hero-grid, .editorial-head, .method-head, .dialogues-inner, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-aside { max-width: 650px; margin-left: 22%; }
  .editorial-head .rule-label { margin-bottom: 10px; }
  .lead-stories { grid-template-columns: 1fr; }
  .project-row { grid-template-columns: 54px 1fr 1fr 30px; }
  .method-row { grid-template-columns: 55px .8fr 1.2fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n+2), .service:nth-child(3n+3) { padding-left: 0; border-left: 0; }
  .service:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
  .dialogues-inner { min-height: 660px; }
  .dialogues-copy { max-width: 620px; margin-left: 25%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .logo-full { width: 190px; }
  .site-header { padding-block: 15px; }
  .nav { top: 72px; }
  .hero { padding-block: 58px 54px; }
  .hero-kicker { margin-bottom: 32px; }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .hero h1 .line:nth-child(2) { margin-left: 0; }
  .hero-aside { margin: 48px 0 0; padding-left: 20px; }
  .hero-links { align-items: flex-start; flex-direction: column; }
  .featured, .services, .about { padding-block: 72px; }
  .story-art, .story:nth-child(2) .story-art { min-height: 320px; }
  .story-copy { min-height: auto; padding: 26px 22px 30px; }
  .story-meta { margin-bottom: 30px; }
  .project-row { grid-template-columns: 38px 1fr 26px; gap: 16px; }
  .project-row .tagline { display: none; }
  .method { padding-block: 72px; }
  .method-row { grid-template-columns: 38px 1fr; gap: 18px; }
  .method-row p { grid-column: 2; }
  .service-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { min-height: 260px; padding-inline: 0; border-left: 0; }
  .dialogues-inner { min-height: 620px; padding-block: 72px; }
  .dialogues-copy { margin-left: 0; }
  .about-copy { padding-left: 20px; }
  .contact { padding-block: 72px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* Portfolio page */
.portfolio-opening {
  padding-block: 90px 104px;
  border-bottom: 1px solid var(--line);
}
.portfolio-opening .editorial-head { margin-bottom: 0; }
.portfolio-opening h1 {
  max-width: 860px;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 400;
}
.opening-copy { max-width: 720px; margin-top: 30px; }
.opening-copy p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.opening-copy p:first-child { margin-top: 0; color: var(--ink); }

.portfolio-group {
  padding-block: 94px 110px;
  border-bottom: 1px solid var(--line);
}
.portfolio-group .editorial-head { margin-bottom: 54px; }
.portfolio-group .editorial-head h2 {
  max-width: 920px;
  font-size: clamp(42px, 5vw, 74px);
}
.portfolio-group .editorial-head p {
  max-width: 700px;
  margin-top: 18px;
  font: 400 17px/1.5 "IBM Plex Mono", monospace;
}
.portfolio-group .lead-stories { margin-bottom: 58px; }
.portfolio-group .story-copy { min-height: 390px; }
.portfolio-group .story-copy .arrow-link { margin-top: 26px; }
.portfolio-group .project-index { margin-top: 0; }
.portfolio-group--tinted { background: var(--soft); }
.portfolio-group--tinted .story { background: var(--soft); }
.portfolio-group--tinted .lead-stories { background: #cbc6bb; border-color: #cbc6bb; }
.portfolio-group--tinted .story:nth-child(1) .story-art { background: #d7d3cb; }
.portfolio-group--tinted .story:nth-child(2) .story-art { background: #c8c4bb; }

@media (max-width: 920px) {
  .portfolio-opening .editorial-head,
  .portfolio-group .editorial-head { grid-template-columns: 1fr; }
  .portfolio-opening .rule-label,
  .portfolio-group .rule-label { margin-bottom: 10px; }
}
@media (max-width: 600px) {
  .portfolio-opening { padding-block: 58px 72px; }
  .portfolio-group { padding-block: 72px 80px; }
  .opening-copy p { font-size: 16px; }
  .portfolio-group .story-copy { min-height: auto; }
}


/* 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; }
  .portfolio-opening { padding-block: 72px 82px; }
  .portfolio-opening h1 { font-size: clamp(38px, 4.4vw, 64px); }
  .portfolio-opening .opening-copy { margin-top: 24px; }
  .portfolio-opening .opening-copy p { font-size: 16px; }
  .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; }
}
