:root {
  --aubergine: #481838;
  --ink: #2b0f21;
  --heather: #704860;
  --mauve: #a88f97;
  --stone: #d8cec6;
  --bone: #f0e8e0;
  --ivory: #f8f0e8;
  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Archivo", Arial, sans-serif;
  --mono: "DM Mono", "Courier New", monospace;
  --content-max: 1600px;
  --page: min(var(--content-max), calc(100vw - 80px));
  --hairline: 1px solid var(--stone);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.js.intro-active,
.js.intro-active body {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--heather);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.mono-label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.45;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 6.6vw, 7rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 28px;
  font-size: clamp(2.5rem, 4.6vw, 5rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.28;
}

.plum-field {
  background: var(--aubergine);
  color: var(--ivory);
}

.bone-field {
  background: var(--bone);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 52px;
  left: 50%;
  display: flex;
  width: var(--page);
  align-items: center;
  justify-content: space-between;
  color: var(--ivory);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 34px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.3em;
  line-height: 1;
}

.brand-logo {
  position: relative;
  display: block;
  width: 40px;
  height: 34px;
  overflow: hidden;
  flex: 0 0 40px;
}

.brand-logo .lotus-complete,
.lotus-intro-mark .lotus-complete,
.lotus-piece {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lotus-piece {
  display: none;
  background: url("./assets/firminkul-mark.png") center / 100% 100% no-repeat;
}

.lotus-intro {
  display: none;
  position: fixed;
  z-index: 80;
  inset: 0;
  overflow: hidden;
  opacity: 1;
}

.js .lotus-intro { display: block; }
.lotus-intro-backdrop {
  position: absolute;
  inset: 0;
  background: var(--aubergine);
  opacity: 1;
  will-change: opacity;
}
.lotus-intro canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  will-change: transform, opacity, clip-path;
  transform: translateZ(0);
}
.lotus-intro canvas.lotus-glass-seed {
  filter: brightness(1.08) drop-shadow(0 18px 34px rgba(248, 240, 232, 0.12));
}
.js .lotus-intro .lotus-piece { display: none !important; }
.js .lotus-intro .lotus-complete {
  opacity: 0;
  animation: none !important;
}

.lotus-intro[hidden] {
  display: none;
}

.lotus-intro-mark {
  position: fixed;
  top: 50%;
  left: 50%;
  width: clamp(220px, 32vw, 520px);
  aspect-ratio: 427 / 363;
  transform: translate(-50%, -50%);
  transform-origin: center;
  will-change: transform;
}

.js .site-header .brand-logo {
  opacity: 0;
}

.js.intro-finished .site-header .brand-logo {
  opacity: 1;
}

.js .site-header .brand-name {
  opacity: 0;
}

.js .site-nav {
  opacity: 0;
}

.js.intro-finished .site-header .brand-name {
  animation: brand-name-in 520ms cubic-bezier(0.22, 0.72, 0.2, 1) forwards;
}

.js.intro-finished .site-nav {
  animation: rail-in 600ms 80ms cubic-bezier(0.22, 0.72, 0.2, 1) forwards;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 54px);
}

.site-nav a {
  position: relative;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:not(.nav-contact) {
  border-bottom: 0;
}

.site-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--mauve);
  content: "";
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 240ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.site-nav a:not(.nav-contact):hover::after,
.site-nav a:not(.nav-contact):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.nav-contact {
  padding: 12px 18px;
  border: 1px solid rgba(248, 240, 232, 0.55);
}

.nav-contact:hover {
  background: var(--ivory);
  color: var(--aubergine);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 158px 40px 36px;
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.hero-rail,
.discipline-rail,
.hero-grid {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), 100%);
  margin-right: auto;
  margin-left: auto;
}

.hero-rail {
  display: flex;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(248, 240, 232, 0.24);
  justify-content: space-between;
  color: var(--mauve);
}

.hero-grid {
  display: grid;
  min-height: 0;
  padding: clamp(44px, 7vh, 82px) 0 clamp(38px, 6vh, 72px);
  align-items: center;
  gap: clamp(48px, 7vw, 120px);
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, 0.75fr);
}

.eyebrow {
  margin-bottom: 30px;
  color: var(--mauve);
  font-family: var(--mono);
  font-size: 0.77rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 720px;
  margin-bottom: 40px;
  color: var(--bone);
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.js .hero-copy.reveal {
  opacity: 1;
  transform: none;
}

.js .hero-copy > * {
  opacity: 0;
  transform: translateY(16px);
  animation: hero-item-in 680ms cubic-bezier(0.22, 0.72, 0.2, 1) forwards;
}

.js .hero-copy > :nth-child(1) { animation-delay: 2300ms; }
.js .hero-copy > :nth-child(2) { animation-delay: 2380ms; }
.js .hero-copy > :nth-child(3) { animation-delay: 2480ms; }
.js .hero-copy > :nth-child(4) { animation-delay: 2580ms; }

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid transparent;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(43, 15, 33, 0.12);
}

.button:active {
  transform: translateY(0);
  box-shadow: none;
}

.button-ivory {
  background: var(--ivory);
  color: var(--aubergine);
}

.button-ivory:hover {
  background: var(--bone);
}

.button-plum {
  background: var(--aubergine);
  color: var(--ivory);
}

.button-plum:hover {
  background: var(--ink);
}

.button-outline {
  border-color: rgba(248, 240, 232, 0.5);
  background: transparent;
  color: var(--ivory);
}

.button-outline:hover {
  border-color: var(--ivory);
}

.text-link {
  color: var(--ivory);
  font-size: 0.93rem;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}

.delivery-map {
  padding-top: 22px;
  border-top: 1px solid rgba(248, 240, 232, 0.5);
}

.map-head {
  display: flex;
  margin-bottom: 18px;
  justify-content: space-between;
  gap: 18px;
  color: var(--mauve);
}

.delivery-map ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.delivery-map li {
  position: relative;
  display: grid;
  min-height: 77px;
  padding: 17px 0 16px;
  border-bottom: 1px solid rgba(248, 240, 232, 0.18);
  align-items: center;
  column-gap: 15px;
  grid-template-columns: 34px 1fr;
}

.delivery-map li > span {
  color: var(--mauve);
  font-family: var(--mono);
  font-size: 0.72rem;
  grid-row: span 2;
}

.delivery-map strong {
  font-size: 0.95rem;
  font-weight: 500;
}

.delivery-map small {
  color: var(--mauve);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}

.discipline-rail {
  display: grid;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 240, 232, 0.24);
  color: var(--mauve);
  grid-template-columns: repeat(4, 1fr);
}

.discipline-rail span:not(:first-child) {
  padding-left: 26px;
  border-left: 1px solid rgba(248, 240, 232, 0.18);
}

.section-shell {
  width: 100%;
  margin: 0 auto;
  padding: 40px max(40px, calc((100vw - var(--content-max)) / 2)) 130px;
}

.section-index {
  position: relative;
  padding-bottom: 18px;
  border-bottom: var(--hairline);
  color: var(--mauve);
}

.js .section-index { border-bottom-color: transparent; }

.js .section-index::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: var(--stone);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms 90ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.js .section-index.is-visible::after { transform: scaleX(1); }

.position-grid {
  display: grid;
  padding-top: 90px;
  align-items: start;
  gap: clamp(64px, 10vw, 170px);
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.7fr);
}

.position-copy h2 {
  max-width: 920px;
}

.position-copy > p {
  max-width: 760px;
}

.lead {
  font-size: 1.2rem;
}

.proof-list {
  max-width: 760px;
  margin: 54px 0 0;
  border-top: 1px solid var(--heather);
}

.proof-list div {
  display: grid;
  padding: 18px 0;
  border-bottom: var(--hairline);
  gap: 18px;
  grid-template-columns: 60px 1fr;
}

.proof-list dt {
  color: var(--mauve);
  font-family: var(--mono);
  font-size: 0.73rem;
}

.proof-list dd {
  margin: 0;
}

.project-image {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(0.78) contrast(0.96);
}

.js .project-image.reveal {
  opacity: 1;
  transform: none;
}

.js .project-image img {
  clip-path: inset(0 100% 0 0);
  transform: scale(1.035);
  transform-origin: center;
  transition: clip-path 980ms cubic-bezier(0.22, 0.72, 0.2, 1), transform 1200ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.js .project-image.is-visible img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

.project-image figcaption {
  display: flex;
  padding-top: 13px;
  justify-content: space-between;
  gap: 16px;
  color: var(--mauve);
}

.partners {
  padding-top: 40px;
  border-top: 1px solid var(--stone);
}

.partners-layout {
  display: grid;
  padding-top: 82px;
  align-items: center;
  gap: clamp(70px, 10vw, 170px);
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.brand-grid {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: var(--hairline);
  list-style: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-item {
  display: flex;
  min-height: 190px;
  padding: 32px;
  border-bottom: var(--hairline);
  align-items: center;
  justify-content: center;
}

.brand-item:nth-child(odd) {
  border-right: var(--hairline);
}

.js .brand-item {
  transition-delay: var(--brand-delay, 0ms);
}

.brand-mark {
  width: auto;
  max-width: 78%;
  max-height: 84px;
  object-fit: contain;
  opacity: 0.58;
  filter: grayscale(1) contrast(0.88);
  transition: opacity 180ms ease, filter 180ms ease, transform 180ms ease;
}

.brand-item:hover .brand-mark {
  opacity: 0.82;
  filter: grayscale(1) contrast(1);
  transform: translateY(-2px);
}

.brand-mark-square { max-height: 88px; }
.brand-mark-wide { max-width: 70%; max-height: 52px; }
.brand-mark-tribecca { max-width: 72%; max-height: 76px; }
.brand-mark-blackjack { max-width: 72%; max-height: 78px; }

.partners-copy h2 {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: clamp(2.8rem, 4.2vw, 4.8rem);
}

.partners-copy > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--heather);
}

.services {
  padding-top: 40px;
}

.services .section-index {
  border-color: #c6b8ae;
}

.js .services .section-index::after { background: #c6b8ae; }

.section-heading {
  display: grid;
  padding: 84px 0 66px;
  align-items: end;
  gap: 80px;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.65fr);
}

.section-heading h2,
.section-heading p {
  margin-bottom: 0;
}

.service-list {
  position: relative;
  border-top: 1px solid var(--heather);
}

.js .service-list { border-top-color: transparent; }

.js .service-list::before {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: var(--heather);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 900ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.js .service-list.is-visible::before { transform: scaleX(1); }

.service {
  position: relative;
  display: grid;
  padding: 38px 0 42px;
  border-bottom: 1px solid #c6b8ae;
  align-items: start;
  gap: 36px;
  grid-template-columns: 0.48fr 1fr 0.85fr 1.3fr;
  transition: background 220ms ease, padding 220ms ease;
}

.service::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: #c6b8ae;
  content: "";
  transform-origin: left center;
}

.js .service { border-bottom-color: transparent; }
.js .service::after {
  transform: scaleX(0);
  transition: transform 760ms 120ms cubic-bezier(0.22, 0.72, 0.2, 1);
}
.js .service.is-visible::after { transform: scaleX(1); }

.service:hover {
  background: rgba(72, 24, 56, 0.035);
}

.service h3,
.service-number {
  transition: color 200ms ease, transform 260ms cubic-bezier(0.22, 0.72, 0.2, 1);
}

.service:hover h3,
.service:hover .service-number {
  color: var(--aubergine);
  transform: translateX(5px);
}

.service-number {
  padding-top: 4px;
  color: var(--mauve);
}

.service h3,
.service p {
  margin: 0;
}

.service ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service li {
  position: relative;
  padding: 0 0 8px 20px;
  font-size: 0.93rem;
}

.service li::before {
  position: absolute;
  top: 0.78em;
  left: 0;
  width: 9px;
  height: 1px;
  background: var(--heather);
  content: "";
}

.approach {
  padding-bottom: 140px;
}

.approach-grid {
  display: grid;
  padding-top: 90px;
  gap: clamp(60px, 9vw, 150px);
  grid-template-columns: 0.9fr 1.1fr;
}

.approach-heading {
  position: sticky;
  top: 50px;
  align-self: start;
}

.approach-heading h2 {
  font-size: clamp(2.7rem, 4vw, 4.4rem);
}

.engagements {
  border-top: 1px solid var(--heather);
}

.engagements article {
  display: grid;
  min-height: 200px;
  padding: 34px 0;
  border-bottom: var(--hairline);
  align-content: start;
  column-gap: 32px;
  grid-template-columns: 100px 1fr;
}

.engagements article > span {
  color: var(--mauve);
  grid-row: span 2;
}

.engagements h3 {
  margin-bottom: 15px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.engagements p {
  max-width: 540px;
  margin: 0;
}

.contact {
  padding-bottom: 110px;
}

.contact-grid {
  display: grid;
  padding-top: 85px;
  align-items: start;
  gap: clamp(60px, 10vw, 170px);
  grid-template-columns: 1.2fr 0.8fr;
}

.contact-grid h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.contact-copy {
  padding-top: 65px;
}

.contact-email {
  display: inline-block;
  margin: 18px 0 14px;
  color: var(--aubergine);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
  text-underline-offset: 7px;
  transition: color 180ms ease, text-underline-offset 180ms ease;
}

.contact-email:hover {
  color: var(--heather);
  text-underline-offset: 11px;
}

.placeholder-note {
  color: var(--mauve);
}

.site-footer {
  display: grid;
  width: 100%;
  padding: 38px max(40px, calc((100vw - var(--content-max)) / 2));
  border-top: 1px solid rgba(248, 240, 232, 0.18);
  background: var(--ink);
  color: var(--ivory);
  align-items: center;
  gap: 28px;
  grid-template-columns: 1fr 1.5fr 1fr;
}

.site-footer p {
  margin: 0;
  color: var(--mauve);
  text-align: center;
}

.site-footer p:last-child {
  text-align: right;
}

.footer-email {
  color: var(--mauve);
  text-align: right;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.footer-email:hover {
  color: var(--ivory);
  text-decoration-color: currentColor;
}

.footer-brand img {
  width: 36px;
  height: 31px;
}

.footer-brand .brand-name {
  font-size: 0.9rem;
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

.motion-item {
  opacity: 1;
  transform: none;
}

.js .motion-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 720ms cubic-bezier(0.22, 0.72, 0.2, 1), transform 720ms cubic-bezier(0.22, 0.72, 0.2, 1);
  transition-delay: var(--motion-delay, 0ms);
}

.js .motion-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .brand-item.motion-item {
  transition-delay: var(--brand-delay, 0ms);
}

.js .hero-rail {
  opacity: 0;
  animation: rail-in 700ms 2460ms cubic-bezier(0.22, 0.72, 0.2, 1) forwards;
}

.js .discipline-rail {
  opacity: 0;
  animation: rail-in 700ms 2660ms cubic-bezier(0.22, 0.72, 0.2, 1) forwards;
}

@keyframes rail-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes brand-name-in {
  from { opacity: 0; transform: translateX(-7px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes mobile-menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-item-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lotus-petal-two {
  from { opacity: 0; clip-path: polygon(48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%); }
  to { opacity: 1; clip-path: polygon(48% 80%, 40% 61%, 35% 48%, 39% 30%, 49% 18%, 61% 11%, 80% 4%, 88% 24%, 94% 43%, 92% 52%, 75% 48%, 62% 49%, 54% 58%); }
}

@keyframes lotus-petal-three {
  from { opacity: 0; clip-path: polygon(48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%, 48% 80%); }
  to { opacity: 1; clip-path: polygon(48% 80%, 53% 62%, 60% 53%, 73% 49%, 100% 59%, 95% 82%, 87% 95%, 74% 100%, 48% 92%); }
}

@keyframes lotus-petal-four {
  from { opacity: 0; clip-path: polygon(43% 85%, 43% 85%, 43% 85%, 43% 85%, 43% 85%, 43% 85%, 43% 85%, 43% 85%, 43% 85%); }
  to { opacity: 1; clip-path: polygon(43% 85%, 31% 89%, 20% 88%, 10% 80%, 4% 69%, 0% 47%, 9% 45%, 13% 60%, 22% 72%); }
}

@keyframes lotus-lock {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal,
  .motion-item { opacity: 1; transform: none; }
  .lotus-piece { display: none !important; }
  .lotus-intro { display: none !important; }
  .site-header .brand-logo,
  .lotus-complete,
  .site-header .brand-name,
  .site-nav,
  .hero-rail,
  .discipline-rail { opacity: 1 !important; transform: none !important; }
  .hero-copy > * { opacity: 1 !important; transform: none !important; }
  .section-index::after,
  .service-list::before,
  .service::after { transform: scaleX(1) !important; }
  .project-image img { clip-path: none !important; transform: none !important; }
}

@media (max-width: 1280px) {
  h1 { font-size: clamp(3.4rem, 6vw, 5.75rem); }

  .hero-grid {
    gap: clamp(42px, 5vw, 72px);
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.72fr);
  }

  .service { grid-template-columns: 0.35fr 1fr 1fr; }
  .service ul { grid-column: 2 / -1; }
}

@media (max-width: 1100px) {
  :root { --page: calc(100vw - 56px); }

  .site-header { top: 34px; }

  .site-nav { gap: 22px; }

  .hero { padding: 130px 28px 30px; }

  .hero-grid { gap: 50px; grid-template-columns: 1.3fr 0.7fr; }

  .position-grid { gap: 60px; grid-template-columns: 1fr 0.75fr; }

  .partners-layout { gap: 58px; grid-template-columns: minmax(0, 1fr) minmax(310px, 0.72fr); }

  .section-shell,
  .site-footer { padding-right: 28px; padding-left: 28px; }



}

@media (min-width: 761px) and (max-width: 900px) {
  .js .site-nav {
    opacity: 1;
    animation: none;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ivory);
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-toggle i,
  .menu-toggle i::after {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-toggle i::after { transform: translateY(6px); }
  .menu-open .menu-toggle i { transform: rotate(45deg) translateY(2px); }
  .menu-open .menu-toggle i::after { transform: rotate(-90deg); }

  .site-nav {
    position: fixed;
    inset: 96px 28px auto;
    display: none;
    padding: 24px 28px 30px;
    border: 1px solid var(--stone);
    background: var(--ivory);
    box-shadow: 0 22px 50px rgba(43, 15, 33, 0.24);
    color: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .menu-open .site-nav {
    display: flex;
    animation: mobile-menu-in 520ms cubic-bezier(0.22, 0.72, 0.2, 1) both;
  }
  .site-nav a { padding: 15px 0; border-bottom: 1px solid var(--stone) !important; }
  .site-nav a::after { display: none; }
  .nav-contact {
    margin-top: 16px;
    padding: 14px 18px !important;
    border-color: var(--aubergine);
    background: var(--aubergine);
    color: var(--ivory);
    text-align: center;
  }

  .hero-grid,
  .position-grid { grid-template-columns: 1fr; }

  .hero { min-height: auto; }
  .project-image { max-width: 620px; }
}

@media (min-width: 901px) and (max-height: 820px) {
  .site-header { top: 30px; }
  .hero { min-height: 100svh; padding-top: 112px; padding-bottom: 24px; }
  .hero-grid { padding-top: 30px; padding-bottom: 24px; }
  .hero-copy h1 { margin-bottom: 18px; font-size: clamp(3rem, 5.2vw, 5.2rem); }
  .eyebrow { margin-bottom: 18px; }
  .hero-lede { margin-bottom: 24px; line-height: 1.5; }
  .delivery-map li { min-height: 60px; padding: 9px 0; }
  .discipline-rail { padding-top: 16px; }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 40px); }

  body { font-size: 16px; }

  .js .site-nav {
    opacity: 1;
    animation: none;
  }

  .site-header { top: 26px; }

  .brand { gap: 12px; }
  .brand img { width: 32px; height: 28px; }
  .brand-logo { width: 32px; height: 28px; flex-basis: 32px; }
  .brand-name { font-size: 0.87rem; letter-spacing: 0.25em; }

  .menu-toggle {
    display: inline-flex;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ivory);
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .menu-toggle i,
  .menu-toggle i::after {
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }

  .menu-toggle i::after { transform: translateY(6px); }

  .menu-open .menu-toggle i { transform: rotate(45deg) translateY(2px); }
  .menu-open .menu-toggle i::after { transform: rotate(-90deg); }

  .site-nav {
    position: fixed;
    inset: 82px 0 auto;
    display: none;
    padding: 28px 20px 36px;
    border-top: 1px solid var(--stone);
    border-bottom: 1px solid var(--stone);
    background: var(--ivory);
    box-shadow: 0 22px 50px rgba(43, 15, 33, 0.24);
    color: var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .menu-open .site-nav {
    display: flex;
    animation: mobile-menu-in 520ms cubic-bezier(0.22, 0.72, 0.2, 1) both;
  }
  .site-nav a:not(.nav-contact) { display: block; }
  .site-nav a { padding: 16px 0; border-bottom: 1px solid var(--stone) !important; }
  .site-nav a::after { display: none; }
  .nav-contact {
    margin-top: 18px;
    padding: 14px 18px !important;
    border-color: var(--aubergine);
    background: var(--aubergine);
    color: var(--ivory);
    text-align: center;
  }

  .hero { min-height: auto; padding: 118px 20px 28px; }
  .hero-rail span:last-child { display: none; }
  .hero-grid { min-height: auto; padding: 70px 0 58px; grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(3.15rem, 14vw, 5.2rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { padding: 4px 0; text-align: center; }
  .delivery-map { margin-top: 16px; }
  .discipline-rail { gap: 10px 0; grid-template-columns: repeat(2, 1fr); }
  .discipline-rail span { padding: 10px 0 !important; border: 0 !important; }

  .section-shell { padding: 30px 20px 90px; }
  .position-grid,
  .section-heading,
  .approach-grid,
  .contact-grid { padding-top: 60px; gap: 50px; grid-template-columns: 1fr; }
  .project-image { max-width: 520px; }

  .partners-layout { padding-top: 60px; gap: 52px; grid-template-columns: 1fr; }
  .partners-copy { order: -1; }
  .brand-item { min-height: 150px; padding: 24px; }
  .brand-mark { max-width: 74%; max-height: 68px; }
  .brand-mark-square { max-height: 72px; }

  .section-heading { padding-bottom: 50px; }

  .service { padding: 32px 0; gap: 14px; grid-template-columns: 1fr; }
  .service ul { margin-top: 10px; grid-column: auto; }

  .approach-heading { position: static; }
  .engagements article { min-height: 0; grid-template-columns: 70px 1fr; }


  .contact-copy { padding-top: 0; }
  .contact-email { overflow-wrap: anywhere; }

  .site-footer { padding: 38px 20px; justify-items: start; gap: 18px; grid-template-columns: 1fr; }
  .site-footer p,
  .site-footer p:last-child,
  .footer-email { text-align: left; }
}

@media (max-width: 420px) {
  .hero-copy h1 { font-size: 3rem; }
  .project-image figcaption { flex-direction: column; }
}
