/* =========================================================
   Tokens — mirror these into Tailwind @theme in Phase 2
   ========================================================= */
:root {
  --ink: #111110;
  --white: #F6F3EE;
  --sand: #E6DFD3;
  --concrete: #8C877F;
  --copper: #B06A3B;
  --line: rgba(17, 17, 16, .14);
  --line-inv: rgba(246, 243, 238, .16);
  --muted-inv: #A39E95; /* concrete lifted for AA contrast on ink */
  --muted: #67625B;     /* concrete deepened for AA body text on warm white / sand */

  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-accent: "Instrument Serif", Georgia, serif;

  /* Type scale — measured against the reference at 1440 / 375 */
  --fs-hero: clamp(3.75rem, 10.8vw, 9.75rem);     /* 60 → 156 */
  --fs-display: clamp(3.5rem, 9.3vw, 8.375rem);    /* 56 → 134 */
  --fs-h2: clamp(2.5rem, 4.45vw, 4rem);            /* 40 → 64 */
  --fs-feature: clamp(2rem, 3.5vw, 3.125rem);      /* 32 → 50 */
  --fs-lead: clamp(1.625rem, 2.8vw, 2.5rem);       /* 26 → 40 */
  --fs-list: clamp(1.5rem, 2.5vw, 2.25rem);        /* 24 → 36 */
  --fs-h3: clamp(1.25rem, 1.55vw, 1.375rem);       /* 20 → 22 */
  --fs-body: clamp(1.0625rem, 1.25vw, 1.125rem);   /* 17 → 18 */
  --fs-small: .875rem;

  --gutter: clamp(1.25rem, 4.2vw, 3.75rem);        /* 20 → 60 */
  --gap: 1rem;
  --section: clamp(6rem, 11vw, 10rem);             /* 96 → 160 */
  --radius: 5px;
  --header-h: 5.25rem;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 var(--fs-body)/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }

/* =========================================================
   Layout primitives
   ========================================================= */
.container { width: 100%; max-width: 100rem; margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.section { padding-block: var(--section); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: var(--white); }

/* =========================================================
   Typography
   ========================================================= */
.t-hero, .t-display, .t-h2, .t-feature, .t-lead, .t-h3 {
  font-family: var(--f-display); font-weight: 500; text-wrap: balance;
}
.t-hero    { font-size: var(--fs-hero);    line-height: .95; letter-spacing: -.035em; }
.t-display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.03em; }
.t-h2      { font-size: var(--fs-h2);      line-height: 1.08; letter-spacing: -.02em; }
.t-feature { font-size: var(--fs-feature); line-height: 1.1;  letter-spacing: -.015em; }
.t-lead    { font-size: var(--fs-lead);    line-height: 1.18; letter-spacing: -.015em; }
.t-h3      { font-size: var(--fs-h3);      line-height: 1.2;  letter-spacing: -.005em; }
.t-small   { font-size: var(--fs-small); line-height: 1.4; }
.t-muted   { color: var(--muted); }
.bg-ink .t-muted { color: var(--muted-inv); }
.measure   { max-width: 34rem; }
/* The signature device: one italic serif word */
.accent {
  font-family: var(--f-accent); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; color: var(--copper);
  font-size: 1.08em; line-height: 0; /* serif x-height is smaller; keep line box steady */
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-display); font-weight: 500; font-size: 1rem;
  padding-block: .35rem; border-bottom: 1px solid currentColor;
  transition: color .25s var(--ease), gap .35s var(--ease);
}
.link-arrow::after { content: "→"; font-family: var(--f-body); }
.link-arrow:hover { color: var(--copper); gap: .8em; }

/* Pill button */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.75rem; padding: .6rem 1.35rem; border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: 1rem; line-height: 1;
  background: var(--ink); color: var(--white);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.pill:hover { background: var(--copper); color: var(--white); }
.pill--light { background: var(--white); color: var(--ink); }
.pill--light:hover { background: var(--copper); color: var(--white); }

/* Section header: heading left, support line, link right */
.section-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section-head__meta { display: grid; gap: 1.25rem; justify-items: start; }
@media (min-width: 64rem) {
  .section-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .section-head__title { grid-column: 1 / span 7; }
  .section-head__meta  { grid-column: 9 / span 4; }
  .section-head--top { align-items: start; }
}

/* =========================================================
   Media & placeholders
   ========================================================= */
.media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sand); isolation: isolate; }
.media > img, .media > video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.media--flush { border-radius: 0; }
.zoom:hover .media > img, .zoom:hover .media > video, .zoom:hover .media > .ph__fill,
.zoom:focus-visible .media > img { transform: scale(1.045); }

.ph__fill { position: absolute; inset: 0; transition: transform 1.4s var(--ease); }
.ph__label {
  position: absolute; left: .875rem; bottom: .875rem; z-index: 1; max-width: calc(100% - 1.75rem);
  font: 400 .75rem/1.35 var(--f-body); color: var(--white);
  background: rgba(17,17,16,.6); padding: .35rem .65rem; border-radius: 4px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ph__label b { font-weight: 500; }

/* Tonal placeholder fills — palette-derived, editorial rather than decorative */
.tone-dusk   { background: radial-gradient(120% 80% at 70% 85%, #B06A3B 0%, rgba(176,106,59,0) 55%), linear-gradient(180deg, #2A2724 0%, #4A3A2E 55%, #7A5238 100%); }
.tone-night  { background: radial-gradient(90% 70% at 30% 20%, #3A3632 0%, rgba(58,54,50,0) 60%), linear-gradient(160deg, #1C1B19 0%, #2E2B27 100%); }
.tone-sand   { background: radial-gradient(100% 90% at 20% 10%, #F6F3EE 0%, rgba(246,243,238,0) 60%), linear-gradient(170deg, #E6DFD3 0%, #CFC4B2 100%); }
.tone-stone  { background: radial-gradient(90% 90% at 80% 0%, #B9B3A9 0%, rgba(185,179,169,0) 60%), linear-gradient(200deg, #8C877F 0%, #5E5A54 100%); }
.tone-copper { background: radial-gradient(100% 80% at 50% 100%, #D59A6E 0%, rgba(213,154,110,0) 60%), linear-gradient(180deg, #C9A583 0%, #B06A3B 100%); }
.tone-haze   { background: linear-gradient(180deg, #D8D2C8 0%, #C4BCAF 45%, #A89F92 100%); }
.tone-sea    { background: radial-gradient(120% 70% at 50% 110%, #7C8A89 0%, rgba(124,138,137,0) 60%), linear-gradient(180deg, #E6DFD3 0%, #A9ADA6 60%, #6F7773 100%); }
/* Faint structural linework to read as architecture, not a flat swatch */
.ph__fill::after {
  content: ""; position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay;
  background-image: repeating-linear-gradient(90deg, #fff 0 1px, transparent 1px 72px), repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 72px);
}

/* =========================================================
   Header
   ========================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-solid, .header.is-open { background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: inline-flex; align-items: center; color: inherit; }
.wordmark--lg .logo { height: clamp(2.25rem, 5vw, 3.75rem); }

/* Logo — inline SVG; tile + letters follow currentColor, the T knocks out to the background */
.logo { display: block; height: 1.75rem; width: auto; overflow: visible; }
.logo__tile, .logo__word { fill: currentColor; transition: fill .4s var(--ease); }
.logo__knock { fill: var(--logo-knock, var(--white)); transition: fill .4s var(--ease); }
.logo__accent { fill: var(--copper); }
.header { --logo-knock: var(--ink); }
.header.is-solid, .header.is-open { --logo-knock: var(--white); }
.bg-ink { --logo-knock: var(--ink); }
.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 2.25rem; }
.nav__link { display: inline-flex; align-items: center; gap: .4rem; font: 500 1rem/1 var(--f-display); padding-block: .75rem; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .35rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__item { display: flex; align-items: center; }
.nav__item.is-open > .nav__link::after { transform: scaleX(1); }
.nav__toggle { width: 1.75rem; height: 2.75rem; display: grid; place-items: center; margin-left: .1rem; border-radius: 4px; }
.nav__toggle svg { width: .7rem; transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__toggle:hover { color: var(--copper); }
.header .pill { background: var(--white); color: var(--ink); }
.header.is-solid .pill, .header.is-open .pill { background: var(--ink); color: var(--white); }
.header .pill:hover { background: var(--copper); color: var(--white); }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__contact { display: none; }

.menu-btn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; margin-right: -.5rem; }
.menu-btn span { display: block; width: 1.5rem; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.menu-btn span + span { margin-top: -.5rem; }
.menu-btn__lines { display: grid; gap: .45rem; }

@media (min-width: 64rem) {
  .nav { display: block; margin-left: auto; }
  .header__contact { display: inline-flex; }
  .menu-btn { display: none; }
}

/* Dropdown — two clean text columns, no imagery */
.dropdown {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px rgba(17,17,16,.18);
  opacity: 0; visibility: hidden; transform: translateY(-.5rem);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown__inner { padding-block: 2.5rem 3rem; }
.dropdown__main { grid-column: 1 / span 9; }
.dropdown__aside { grid-column: 11 / span 2; justify-self: end; align-self: end; display: grid; gap: 1rem; justify-items: start; }
.dropdown__label { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1.25rem; }
.dropdown__links { display: grid; gap: .55rem; }
.dropdown__links a { font: 500 1.375rem/1.2 var(--f-display); letter-spacing: -.01em; transition: color .2s; }
.dropdown__links a:hover { color: var(--copper); }
.dropdown__links--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.dropdown__links--desc { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem var(--gap); }
.dropdown__links--desc a { display: flex; gap: .75rem; align-items: baseline; }
.dropdown__links--desc small { display: block; margin-top: .35rem; font: 400 .875rem/1.4 var(--f-body); letter-spacing: 0; color: var(--muted); }
.dropdown__num { font: 500 .75rem/1 var(--f-display); color: var(--copper); }

/* Mobile overlay menu */
.mnav {
  position: fixed; inset: 0; z-index: 60; background: var(--white); color: var(--ink);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.mnav.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.mnav__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.mnav__close { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; margin-right: -.5rem; }
.mnav__close svg { width: 1.25rem; }
.mnav__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding-block: 1.5rem 2rem; }
.mnav__list > li { border-bottom: 1px solid var(--line); }
.mnav__row { display: flex; align-items: center; justify-content: space-between; }
.mnav__row .mnav__link { width: auto; flex: 1; }
.mnav__toggle { width: 3rem; height: 3rem; display: grid; place-items: center; margin-right: -.75rem; }
.mnav__group--2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
.mnav__link { width: 100%; display: flex; justify-content: space-between; align-items: center; padding-block: 1rem; font: 500 clamp(2rem, 9vw, 2.75rem)/1.1 var(--f-display); letter-spacing: -.02em; text-align: left; }
.mnav__plus { position: relative; width: 1.1rem; height: 1.1rem; flex: none; }
.mnav__plus::before, .mnav__plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.mnav__plus::after { transform: rotate(90deg); }
[aria-expanded="true"] > .mnav__plus::after { transform: rotate(0); }
.mnav__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mnav__panel.is-open { grid-template-rows: 1fr; }
.mnav__panel > div { overflow: hidden; }
.mnav__group { padding-bottom: 1.5rem; }
.mnav__group p { font-size: var(--fs-small); color: var(--muted); margin: .5rem 0 .5rem; }
.mnav__group a { display: block; padding-block: .4rem; font: 500 1.25rem/1.25 var(--f-display); }
.mnav__foot { display: grid; gap: 1.25rem; justify-items: start; }
.mnav__body { justify-content: flex-start; }
.mnav__foot { margin-top: auto; }
.mnav__quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.mnav__action { display: flex; align-items: center; gap: .65rem; min-height: 3.5rem; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: #FBFAF7; transition: border-color .2s, background-color .2s; }
.mnav__action:hover, .mnav__action:active { border-color: var(--ink); }
.mnav__action svg { width: 1.25rem; flex: none; color: var(--copper); }
.mnav__action span { display: grid; min-width: 0; }
.mnav__action b { font: 500 1rem/1.2 var(--f-display); }
.mnav__action small { font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* =========================================================
   1. Hero
   ========================================================= */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.hero__media { position: absolute; inset: 0; border-radius: 0; background: var(--ink); }
.hero__media .ph__fill, .hero__media > img { animation: drift 38s ease-in-out infinite alternate; transform-origin: 60% 60%; }
.hero__media .ph__label { bottom: auto; top: calc(var(--header-h) + .75rem); left: var(--gutter); }
@keyframes drift { from { transform: scale(1.08) translate3d(-1.5%, 0, 0); } to { transform: scale(1.14) translate3d(1.5%, -1.5%, 0); } }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,17,16,.45) 0%, rgba(17,17,16,0) 28%, rgba(17,17,16,0) 45%, rgba(17,17,16,.6) 100%); }
.hero__content { position: relative; padding-bottom: clamp(2.5rem, 6vw, 4.5rem); padding-top: calc(var(--header-h) + 4rem); display: grid; gap: 2rem; }
.hero__title .accent { display: block; line-height: .95; margin-top: .04em; }
.hero__sub { max-width: 24rem; color: rgba(246,243,238,.86); }
@media (min-width: 64rem) {
  .hero__content { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .hero__title { grid-column: 1 / span 9; }
  .hero__sub { grid-column: 10 / span 3; justify-self: end; }
}

/* =========================================================
   2. Manifesto
   ========================================================= */
.manifesto { row-gap: 2.5rem; }
.manifesto__lead { grid-column: 1 / -1; }
.manifesto__media { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
.manifesto__body { grid-column: 1 / -1; display: grid; gap: 1.25rem; justify-items: start; }
.manifesto__body .link-arrow { margin-top: .75rem; }
@media (min-width: 48rem) {
  .manifesto { row-gap: 4rem; }
  .manifesto__lead  { grid-column: 1 / span 10; }
  .manifesto__media { grid-column: 1 / span 6; grid-row: 2; }
  .manifesto__body  { grid-column: 8 / span 5; grid-row: 2; align-self: end; }
  .manifesto__media { aspect-ratio: 5 / 4; }
  .manifesto__media > img { object-position: 50% 72%; }
}
/* Desktop: image left, headline top-right, copy bottom-right — both columns share the image height */
@media (min-width: 64rem) {
  .manifesto { row-gap: 2rem; grid-template-rows: auto 1fr; }
  .manifesto__media { grid-column: 1 / span 6; grid-row: 1 / span 2; }
  .manifesto__lead  { grid-column: 8 / span 5; grid-row: 1; align-self: start; }
  .manifesto__body  { grid-column: 8 / span 4; grid-row: 2; align-self: end; }
}

/* =========================================================
   3. Highlights strip
   ========================================================= */
.strip { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-inline: var(--gutter); padding-bottom: 1rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.strip::-webkit-scrollbar { display: none; }
.strip__item { flex: 0 0 auto; width: min(80vw, 27.5rem); scroll-snap-align: start; }
.strip__item:nth-child(2n) { width: min(80vw, 22rem); }
.strip__item .media { aspect-ratio: 4 / 5; }
.strip__item:nth-child(2n) .media { aspect-ratio: 3 / 4; }
.strip__cap { margin-top: 1.1rem; display: grid; gap: .4rem; }
.strip__sub { color: var(--muted); font-size: 1rem; line-height: 1.45; max-width: 24rem; }
.strip__kind { position: absolute; top: .875rem; left: .875rem; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; font: 500 .75rem/1 var(--f-body); color: var(--white); background: rgba(17,17,16,.55); border-radius: 999px; padding: .35rem .6rem; }
.strip__kind svg { width: .6rem; }
.strip-controls { display: flex; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.strip-progress { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.strip-progress span { position: absolute; inset: 0 auto 0 0; width: 20%; background: var(--ink); transition: transform .2s linear; transform-origin: left; }
.round-btn { width: 3rem; height: 3rem; border-radius: 999px; border: 1px solid var(--line); display: grid; place-items: center; transition: background-color .25s, color .25s, border-color .25s, opacity .25s; }
.round-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn svg { width: 1rem; }

/* =========================================================
   4. Featured project
   ========================================================= */
.feature { position: relative; background: var(--ink); color: var(--white); }
.feature + .feature { border-top: 1px solid var(--line-inv); }
.feature__media { aspect-ratio: 4 / 3; }
.feature__media > img { object-position: 72% 50%; } /* keep the subject (right of frame) in the mobile crop */
.feature__content { padding-block: 2.5rem 3rem; display: grid; gap: 2.5rem; }
.feature__info { display: grid; gap: 1rem; justify-items: start; align-content: start; max-width: 36rem; }
.feature__tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag { display: inline-flex; align-items: center; font: 500 .75rem/1 var(--f-display); padding: .5rem .7rem; border-radius: 999px; background: var(--white); color: var(--ink); }
.tag--outline { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1px currentColor; }
.feature__meta { font: 500 var(--fs-h3)/1.25 var(--f-display); color: rgba(246,243,238,.78); }
.feature__stat { border-top: 1px solid var(--line-inv); padding-top: 1.5rem; }
.feature__stat strong { display: block; font: 500 var(--fs-feature)/1.05 var(--f-display); letter-spacing: -.02em; }
.feature__stat span { color: rgba(246,243,238,.78); }
.feature .link-arrow:hover { color: var(--sand); }
@media (min-width: 64rem) {
  .feature { min-height: 100svh; display: flex; }
  .feature__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .feature__media::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(17,17,16,.62) 0%, rgba(17,17,16,.2) 45%, rgba(17,17,16,0) 70%), linear-gradient(0deg, rgba(17,17,16,.5) 0%, rgba(17,17,16,0) 35%); }
  .feature__media .ph__label { left: auto; right: var(--gutter); justify-content: flex-end; }
  .feature__content { position: relative; z-index: 2; flex: 1; padding-block: calc(var(--header-h) + 1rem) 3.5rem; grid-template-rows: 1fr auto; align-content: stretch; }
  .feature__stat { border-top: 0; padding-top: 0; max-width: 20rem; }
}

/* =========================================================
   5. Sectors — hover reveal
   ========================================================= */
.sectors__intro { display: grid; gap: 1.5rem; justify-items: start; margin-top: 1.5rem; margin-bottom: 3rem; max-width: 22rem; }
.sectors__list { border-top: 1px solid var(--line-inv); }
.sector { border-bottom: 1px solid var(--line-inv); }
.sector__link { display: flex; align-items: center; gap: 1rem; padding-block: .85rem; }
.sector__thumb { width: 4rem; aspect-ratio: 1; flex: none; border-radius: 3px; }
.sector__thumb .ph__label { display: none; }
.sector__name { font: 500 var(--fs-list)/1.1 var(--f-display); letter-spacing: -.015em; transition: color .35s var(--ease); }
.sector__arrow { margin-left: auto; color: var(--muted-inv); transition: transform .35s var(--ease), color .35s; }
.sectors__stage { display: none; }

@media (min-width: 64rem) {
  .sectors__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .sectors__aside { grid-column: 1 / span 6; position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding-block: calc(var(--header-h) + 2rem) 3rem; }
  .sectors__stage { display: block; position: relative; flex: 1; margin-block: 2rem; min-height: 14rem; max-height: 28rem; aspect-ratio: 16 / 10; }
  .sectors__frame { position: absolute; inset: 0; opacity: 0; transition: opacity .7s var(--ease); }
  .sectors__frame.is-active { opacity: 1; }
  .sectors__frame .media { position: absolute; inset: 0; }
  .sectors__intro { margin: 0; }
  .sectors__nav { grid-column: 8 / span 5; padding-block: calc(var(--section) * .9); align-self: start; }
  .sectors__list { border-top: 0; }
  .sector { border-bottom: 0; }
  .sector__thumb, .sector__arrow { display: none; }
  .sector__link { padding-block: .35rem; }
  .sectors__list.has-active .sector__name { color: var(--muted-inv); }
  .sectors__list.has-active .sector.is-active .sector__name { color: var(--white); }
  .sectors__desc { display: none; }
}

/* =========================================================
   6. Services — five text columns
   ========================================================= */
.services__grid { display: grid; gap: 0; }
.svc { border-top: 1px solid var(--line); padding-block: 1.75rem 2rem; }
.svc h3 { margin-bottom: 1.25rem; }
.svc h3 a { transition: color .2s; }
.svc h3 a:hover { color: var(--copper); }
.svc ul { display: grid; gap: .5rem; }
.svc li a { color: #3B3934; transition: color .2s; }
.svc li a:hover { color: var(--copper); }
@media (min-width: 40rem) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); } }
@media (min-width: 64rem) { .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .services__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } .svc h3 { min-height: 2.5em; } }

/* =========================================================
   7. Across the Emirates
   ========================================================= */
.reach { display: grid; gap: 3rem; align-items: center; }
.reach__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem var(--gap); margin-top: 2.5rem; max-width: 26rem; }
.reach__list li { display: flex; align-items: center; gap: .6rem; }
.reach__list li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--copper); flex: none; }
.reach__list li.is-intl::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--copper); }
.map { width: 100%; height: auto; }
.map__land { fill: rgba(246,243,238,.55); stroke: var(--ink); stroke-width: 1.25; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map__grid line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__dot { fill: var(--copper); }
.map__ring { fill: none; stroke: var(--copper); stroke-width: 1; opacity: .5; vector-effect: non-scaling-stroke; }
.map__label { font: 500 13px var(--f-body); fill: var(--ink); }
.map__leader { stroke: var(--concrete); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__intl { font: 500 13px var(--f-body); fill: var(--copper); }
@media (max-width: 40rem) { .map__label, .map__leader { display: none; } .map__intl { font-size: 22px; } }
.map__intl-line { stroke: var(--copper); stroke-width: 1; stroke-dasharray: 3 4; fill: none; vector-effect: non-scaling-stroke; }
@media (min-width: 64rem) {
  .reach { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .reach__text { grid-column: 1 / span 5; }
  .reach__map { grid-column: 7 / span 6; }
}

/* =========================================================
   8. Footer
   ========================================================= */
.footer { padding-block: clamp(4rem, 8vw, 6.5rem) 2rem; }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer__cols { display: grid; gap: 2.5rem var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer__intro { grid-column: 1 / -1; max-width: 22rem; display: grid; gap: 1.5rem; align-content: start; }
.footer__contact { display: grid; gap: .4rem; }
address { font-style: normal; }
.footer__address { font-size: var(--fs-small); line-height: 1.6; }
.footer__contact a:hover, .footer__col h2 a:hover { color: var(--copper); }
.footer__col--sectors { grid-column: 1 / -1; }
.footer__2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
.footer__col h2 { font: 500 1rem/1.3 var(--f-display); margin-bottom: 1rem; color: var(--muted-inv); }
.footer__col ul { display: grid; gap: .55rem; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: var(--copper); }
.footer__legal { border-top: 1px solid var(--line-inv); padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; color: var(--muted-inv); }
@media (min-width: 64rem) {
  .footer__cols { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer__intro { grid-column: 1 / span 4; }
  .footer__col--services { grid-column: 5 / span 3; }
  .footer__col--sectors  { grid-column: 8 / span 3; }
  .footer__col--company  { grid-column: 11 / span 2; }

}

/* =========================================================
   Motion
   ========================================================= */
/* JS adds .reveal only to elements that start below the fold */
.reveal { opacity: 0; transform: translate3d(0, 1.5rem, 0); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
/* Stagger: data-reveal="1…8" adds 50 ms steps (no inline styles, so a strict CSP can apply) */
[data-reveal="1"] { --d: 0.05s; }
[data-reveal="2"] { --d: 0.10s; }
[data-reveal="3"] { --d: 0.15s; }
[data-reveal="4"] { --d: 0.20s; }
[data-reveal="5"] { --d: 0.25s; }
[data-reveal="6"] { --d: 0.30s; }
[data-reveal="7"] { --d: 0.35s; }
[data-reveal="8"] { --d: 0.40s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .zoom:hover .media > * { transform: none !important; }
}
body.menu-open { overflow: hidden; }

/* =========================================================
   Utilities
   ========================================================= */
.mt-3 { margin-top: .75rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2.5rem; }
.t-lead-sm { font: 400 clamp(1.125rem, 1.6vw, 1.375rem)/1.5 var(--f-body); color: #3B3934; max-width: 40rem; }
.link-inline { border-bottom: 1px solid currentColor; transition: color .2s; }
.link-inline:hover { color: var(--copper); }
.section--flush-top { padding-top: 0; }
.ph__label code { font: inherit; opacity: .8; }

/* =========================================================
   Inner page hero (text-led, solid header above)
   ========================================================= */
.page-hero { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 7rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-hero--tight { padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.page-hero__grid { display: grid; gap: 1.5rem; }
.page-hero__title { max-width: 14ch; }
@media (min-width: 64rem) {
  .page-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .page-hero__title { grid-column: 1 / span 7; }
  .page-hero__intro { grid-column: 8 / span 5; padding-bottom: .75rem; }
}
.page-hero--404 { min-height: 70svh; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; }

/* Anchor chips (What we do) */
/* Sticky service tabs (What we do) */
.anchors { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); padding-block: .75rem; box-shadow: 0 1px 0 transparent; transition: box-shadow .3s var(--ease); }
.anchors.is-stuck { box-shadow: 0 1px 0 var(--line); }
.anchors__list { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.anchors__list::-webkit-scrollbar { display: none; }
.anchors__list li { flex: none; }
.chip[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip[aria-current] .chip__num { color: var(--sand); }
.chip { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; font: 500 .9375rem/1.2 var(--f-display); transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip__num { color: var(--copper); font-size: .75rem; }
.chip:hover .chip__num { color: var(--sand); }

/* =========================================================
   What we do — service blocks
   ========================================================= */
.service { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 4rem); }
.service--flip { background: var(--sand); border-top: 0; }
.service--flip + .service { border-top: 0; }
.service__grid { display: grid; gap: 2rem; }
.service__num { font: 500 .875rem/1 var(--f-display); color: var(--copper); margin-bottom: 1rem; }
.service__media { aspect-ratio: 3 / 2; }
.service__summary { font: 400 clamp(1.125rem, 1.5vw, 1.25rem)/1.55 var(--f-body); max-width: 36rem; }
.service__list { margin-block: 2rem 2.5rem; border-top: 1px solid var(--line); }
.service__list li { padding-block: 1rem; border-bottom: 1px solid var(--line); display: grid; gap: .25rem; scroll-margin-top: calc(var(--header-h) + 5rem); }
.service__list h3 { font: 500 1.125rem/1.3 var(--f-display); }
.service__list p { color: var(--muted); font-size: 1rem; }
.service__list li:target h3 { color: var(--copper); }
@media (min-width: 40rem) { .service__list li { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; align-items: baseline; } }
@media (min-width: 64rem) {
  .service__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2.5rem; align-items: start; }
  .service__head  { grid-column: 1 / -1; }
  .service__media { grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 6rem); }
  .service__body  { grid-column: 8 / span 5; }
  .service--flip .service__media { grid-column: 7 / span 6; grid-row: 2; }
  .service--flip .service__body  { grid-column: 1 / span 5; grid-row: 2; }
  .service__list li { grid-template-columns: 1fr; gap: .25rem; }
}

/* =========================================================
   CTA band
   ========================================================= */
.cta { padding-block: clamp(4.5rem, 9vw, 8rem); }
.cta__inner { display: grid; gap: 2rem; }
.cta__inner .t-h2 { max-width: 18ch; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; }
.cta .link-arrow:hover { color: var(--sand); }
@media (min-width: 64rem) { .cta__inner { grid-template-columns: 1fr auto; align-items: end; } }

/* =========================================================
   Sectors page — full-scale hover reveal
   ========================================================= */
.xsectors { padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); }
.xsectors__aside { display: none; }
.xsectors__list { display: grid; gap: 2.5rem; }
.xsector { scroll-margin-top: calc(var(--header-h) + 1rem); }
.xsector__media { aspect-ratio: 16 / 10; margin-bottom: 1.25rem; }
.xsector__btn { display: flex; align-items: baseline; gap: 1rem; width: 100%; text-align: left; cursor: default; font: 500 clamp(1.75rem, 4vw, 3.25rem)/1.1 var(--f-display); letter-spacing: -.02em; }
.xsector__num { font: 500 .8125rem/1 var(--f-display); color: var(--copper); letter-spacing: 0; min-width: 1.75rem; }
.xsector__body p { color: var(--muted-inv); max-width: 32rem; margin-top: .75rem; }
@media (min-width: 64rem) {
  .xsectors__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .xsectors__aside { display: block; grid-column: 1 / span 6; }
  .xsectors__stage { position: sticky; top: calc(var(--header-h) + 2rem); aspect-ratio: 4 / 3; max-height: none; margin: 0; }
  .xsectors__list { grid-column: 8 / span 5; gap: 0; border-top: 1px solid var(--line-inv); }
  .xsector { border-bottom: 1px solid var(--line-inv); padding-block: 1.1rem; }
  .xsector__media { display: none; }
  .xsector__btn { cursor: pointer; color: var(--muted-inv); transition: color .35s var(--ease); }
  .xsector.is-active .xsector__btn { color: var(--white); }
  .xsector__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
  .xsector__body > div { overflow: hidden; }
  .xsector.is-active .xsector__body { grid-template-rows: 1fr; }
  .xsector__body p { padding-left: 2.75rem; }
}

/* =========================================================
   Projects — filters + grid
   ========================================================= */
.projects { padding-bottom: var(--section); }
.filters { display: grid; gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters__field { display: grid; gap: .4rem; }
.filters__field label { font: 500 .875rem/1 var(--f-display); color: var(--muted); }
.filters__actions { display: flex; align-items: end; }
.filters__clear { min-height: 2.75rem; font: 500 1rem/1 var(--f-display); border-bottom: 1px solid currentColor; padding-inline: 0; }
.filters__clear:hover { color: var(--copper); }
.filters__count { margin-block: 1.5rem 2rem; color: var(--muted); font-size: var(--fs-small); }
@media (min-width: 48rem) { .filters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; column-gap: 1.5rem; } }

select, input, textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem; border-radius: var(--radius);
  border: 1px solid rgba(17,17,16,.28); background: #FBFAF7; color: var(--ink);
  font: 400 1rem/1.4 var(--f-body); transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; padding-right: 2.5rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111110' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; background-size: .75rem; }
textarea { min-height: 9rem; resize: vertical; }
select:hover, input:hover, textarea:hover { border-color: var(--ink); }
select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--copper); outline-offset: 1px; border-color: var(--ink); }

.pgrid { display: grid; gap: clamp(2rem, 4vw, 3rem) var(--gap); }
@media (min-width: 48rem) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pcard[hidden] { display: none; }
.pcard__media { aspect-ratio: 3 / 2; }
.pcard__body { margin-top: 1.1rem; display: grid; gap: .35rem; }
.pcard__tag { font: 500 .8125rem/1.3 var(--f-display); color: var(--copper); }
.pcard__meta { color: #3B3934; }
.pcard__services { color: var(--muted); font-size: var(--fs-small); }
.pgrid__empty { padding-block: 3rem; display: grid; gap: .75rem; }

/* =========================================================
   About
   ========================================================= */
.about-hero { aspect-ratio: 16 / 9; }
@media (max-width: 47.99rem) { .about-hero { aspect-ratio: 4 / 3; } }
.statement { row-gap: 2rem; }
.statement__lead { grid-column: 1 / -1; }
.statement__body { grid-column: 1 / -1; display: grid; gap: 1.25rem; }
@media (min-width: 64rem) {
  .statement__lead { grid-column: 1 / span 6; }
  .statement__body { grid-column: 8 / span 5; padding-top: .5rem; }
}
.principles { display: grid; gap: 0; border-top: 1px solid var(--line); counter-reset: none; }
.principle { display: grid; gap: .5rem; padding-block: 1.75rem; border-bottom: 1px solid var(--line); }
.principle__num { font: 500 .875rem/1 var(--f-display); color: var(--copper); }
.principle p { color: #3B3934; max-width: 34rem; }
@media (min-width: 48rem) {
  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
}
@media (min-width: 80rem) {
  .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.company { display: grid; gap: 2.5rem; }
.company__media .media { aspect-ratio: 4 / 5; }
@media (min-width: 64rem) {
  .company { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
  .company__media { grid-column: 1 / span 5; }
  .company__text { grid-column: 7 / span 6; }
}
.facts { margin-top: 2rem; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: .25rem; padding-block: .9rem; border-bottom: 1px solid var(--line); }
.facts dt { font: 500 .875rem/1.3 var(--f-display); color: var(--muted); }
.facts dd { margin: 0; }
@media (min-width: 40rem) { .facts > div { grid-template-columns: 11rem 1fr; gap: 1.5rem; } }

/* =========================================================
   Contact
   ========================================================= */
.contact { display: grid; gap: 3rem; }
.facts--contact { margin-top: 0; }
@media (min-width: 64rem) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .contact__details { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); }
  .form { grid-column: 6 / span 7; }
  .facts--contact > div { grid-template-columns: 1fr; gap: .25rem; }
}
.form__grid { display: grid; gap: 1.25rem var(--gap); }
@media (min-width: 40rem) { .form__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .45rem; align-content: start; }
.field label { font: 500 .9375rem/1.3 var(--f-display); }
.field__hint { font-size: var(--fs-small); color: var(--muted); }
.field__error { font-size: var(--fs-small); color: #9A3412; font-weight: 500; }
.field [aria-invalid="true"] { border-color: #9A3412; box-shadow: inset 0 0 0 1px #9A3412; }
.field--trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__errors { margin-bottom: 1.5rem; padding: 1rem 1.25rem; border-left: 3px solid #9A3412; background: #F3E6DD; border-radius: 0 var(--radius) var(--radius) 0; }
.form__errors:focus { outline: 2px solid var(--copper); outline-offset: 2px; }
.form__errors-title { font: 500 1rem/1.3 var(--f-display); margin-bottom: .5rem; }
.form__errors ul { display: grid; gap: .25rem; }
.form__errors a { border-bottom: 1px solid currentColor; color: #9A3412; }
.form__captcha { margin-top: 1.75rem; min-height: 78px; }
.form__foot { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__submit { min-height: 3.25rem; padding-inline: 1.75rem; }
.form__submit:disabled { opacity: .6; cursor: progress; }
.form__status:empty { display: none; }
.form__status { margin-top: 1.5rem; padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--sand); }
.form__status[data-kind="success"] { background: #E3EBDD; }
.form__status[data-kind="error"] { background: #F3E6DD; color: #7C2D12; }
.form__status:focus { outline: 2px solid var(--copper); outline-offset: 2px; }
