@font-face {
  font-family: "Archivo";
  src: url("assets/archivo-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --black: #080a0b;
  --black-soft: #0d1113;
  --panel: #111619;
  --white: #f4f2ed;
  --muted: #c5c3bc;
  --gold: #e4b84e;
  --gold-bright: #f2cd70;
  --cyan: #59c9e8;
  --line: rgba(228, 184, 78, 0.36);
  --line-cool: rgba(244, 242, 237, 0.16);
  --page-pad: clamp(1.25rem, 4.25vw, 4.75rem);
  --header-height: 5.6rem;
  --display-heading-size: clamp(3.2rem, 5.2vw, 5.8rem);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  color: var(--black);
  background: var(--gold-bright);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 var(--page-pad);
  border-bottom: 1px solid rgba(244, 242, 237, 0.2);
  background: rgba(5, 7, 8, 0.88);
  backdrop-filter: blur(12px);
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: min(25rem, 29vw);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--gold), transparent 42%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  width: max-content;
  text-decoration: none;
}

.brand-mark {
  width: 3rem;
  height: 3rem;
  fill: var(--gold);
  stroke: var(--gold);
  stroke-width: 1.7;
}

.brand-mark circle { fill: none; }
.brand-mark path:last-child,
.footer-brand path:last-child {
  fill: none;
  stroke: var(--black);
  stroke-width: 2;
  stroke-linecap: round;
}

.brand-type {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  white-space: nowrap;
}

.brand-type b { color: var(--gold-bright); font-weight: 850; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.85rem 1.55rem;
  border: 1px solid var(--gold);
  border-radius: 0.18rem;
  color: inherit;
  background: none;
  font-size: 0.76rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.button span { margin-left: 0.75rem; font-size: 1rem; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: 0.68; transform: none; }

.button-gold {
  color: var(--black);
  background: linear-gradient(115deg, var(--gold-bright), var(--gold));
  box-shadow: 0 0.6rem 2rem rgba(228, 184, 78, 0.16);
}

.button-outline { color: var(--white); background: rgba(8, 10, 11, 0.46); }
.button-outline:hover, .button-outline:focus-visible { color: var(--black); background: var(--gold); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 900px;
  padding: 9rem var(--page-pad) 3.25rem;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line-cool);
}

.hero-media, .hero-scrim, .mission-media, .mission-scrim {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.hero-media, .mission-media {
  right: auto;
  left: 50%;
  width: min(100%, 1440px);
  overflow: hidden;
  transform: translateX(-50%);
}

.hero-media::after, .mission-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media::after {
  background:
    linear-gradient(90deg, var(--black), rgba(8, 10, 11, 0.72) 4%, transparent 14%, transparent 86%, rgba(8, 10, 11, 0.72) 96%, var(--black)),
    linear-gradient(180deg, var(--black), transparent 11%, transparent 89%, var(--black)),
    rgba(0, 0, 0, 0.35);
}

.hero-media img, .mission-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(4, 6, 7, 0.08), rgba(4, 6, 7, 0.18) 38%, rgba(4, 6, 7, 0.82) 58%, rgba(4, 6, 7, 0.97)),
    linear-gradient(0deg, rgba(4, 6, 7, 0.8), rgba(4, 6, 7, 0) 45%),
    rgba(4, 6, 7, 0.16);
}

.hero-content {
  width: min(62.5rem, calc(56.25vw + 7px));
  margin-right: -7px;
  animation: hero-enter 0.9s cubic-bezier(.16,.8,.25,1) both;
}

.overline {
  margin: 0 0 1.2rem;
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.34em;
}

.hero-overline { display: flex; align-items: center; gap: 0.9rem; }
.hero-overline::before { content: ""; width: 2.6rem; height: 1px; background: var(--gold); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, .service-card h3, .organisation-card h3 {
  text-transform: uppercase;
  font-variation-settings: "wdth" 72, "wght" 840;
}

h1 {
  margin-bottom: 1.2rem;
  font-size: var(--display-heading-size);
  font-variation-settings: "wdth" 62, "wght" 840;
  line-height: 0.84;
  letter-spacing: -0.045em;
  word-spacing: 0.06em;
  text-wrap: balance;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.62);
}

h1 span { display: block; }
.gold { color: var(--gold-bright); }

.hero-copy {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: #deddd7;
  line-height: 1.55;
}

.trust-row {
  display: flex;
  gap: clamp(1.1rem, 2.5vw, 2.8rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-cool);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-item svg, .line-icon, .organisation-card svg {
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold-bright);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item svg { width: 1.9rem; height: 1.9rem; stroke-width: 2; }

.hero-rail {
  position: absolute;
  left: var(--page-pad);
  bottom: 6.4rem;
  display: grid;
  gap: 0.15rem;
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-rail::after { content: ""; width: 100%; height: 1px; margin-top: 0.65rem; background: var(--gold); }
.hero-rule { position: absolute; right: var(--page-pad); bottom: 3.25rem; left: var(--page-pad); height: 1px; background: linear-gradient(90deg, var(--gold), transparent 34%, rgba(244, 242, 237, 0.35)); }

.section-shell { padding: clamp(5.5rem, 8vw, 8.5rem) var(--page-pad); }

.services {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 72% -10%, rgba(89, 201, 232, 0.08), transparent 34%), linear-gradient(180deg, #0c1012, var(--black));
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(244, 242, 237, 0.024) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 242, 237, 0.024) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.section-intro { position: relative; z-index: 1; max-width: 64rem; margin: 0 auto clamp(4rem, 6vw, 6.5rem); text-align: center; }
.section-intro h2, .bureau-copy h2, .organisation-heading h2, .mission-copy h2, .contact h2 {
  margin-bottom: 1rem;
  font-size: var(--display-heading-size);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.section-intro > p:last-child { max-width: 53rem; margin: 0 auto; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.65; }

.service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 92rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line-cool);
}

.service-card { min-width: 0; padding: 2.2rem clamp(1rem, 1.9vw, 2rem) 2.6rem; border-left: 1px solid var(--line-cool); }
.service-card:last-child { border-right: 1px solid var(--line-cool); }
.line-icon { width: 3rem; height: 3rem; margin-bottom: 1.8rem; }
.line-icon.cyan { stroke: var(--cyan); }
.service-card h3 { min-height: 3.4rem; margin-bottom: 1.1rem; font-size: 1.02rem; line-height: 1.05; }
.service-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

.bureau-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(34rem, 0.95fr);
  min-height: 720px;
  border-block: 1px solid var(--line-cool);
  background: var(--black-soft);
}

.feature-photo { position: relative; min-height: 100%; overflow: hidden; background: var(--black); }
.feature-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--black), transparent 13%, transparent 87%, var(--black)), linear-gradient(180deg, var(--black), transparent 12%, transparent 88%, var(--black)), rgba(0,0,0,.36);
}

.feature-photo picture, .feature-photo img { width: 100%; height: 100%; }
.feature-photo img { object-fit: cover; object-position: center; }
.bureau-copy { display: flex; flex-direction: column; justify-content: center; padding: 4.5rem clamp(2.2rem, 5vw, 6rem); }
.bureau-copy .lead { color: var(--white); font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.25; }
.bureau-copy > p:not(.overline) { max-width: 42rem; color: var(--muted); font-size: 1.04rem; }

.organisation { overflow: hidden; background: radial-gradient(circle at 82% 5%, rgba(89, 201, 232, 0.07), transparent 30%), linear-gradient(180deg, #0c1012, var(--black)); }
.organisation-heading { max-width: 92rem; margin: 0 auto 3rem; }
.organisation-heading h2 { font-size: clamp(2.6rem, 4.2vw, 4.8rem); }
.organisation-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  max-width: 100rem;
  margin: 0 auto;
  border: 1px solid var(--line-cool);
  border-top-color: var(--line);
}

.organisation-card {
  min-width: 0;
  min-height: 10.5rem;
  padding: 1.25rem 0.65rem;
  border-right: 1px solid var(--line-cool);
  background: rgba(255,255,255,.012);
  text-align: center;
}

.organisation-card:last-child { border-right: 0; }
.organisation-card svg { width: 2.2rem; height: 2.2rem; margin-bottom: 1.5rem; }
.organisation-card h3 { margin: 0; font-size: clamp(0.57rem, .69vw, .72rem); line-height: 1.2; overflow-wrap: anywhere; }

.mission {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 620px;
  padding: 5rem var(--page-pad);
  isolation: isolate;
  overflow: hidden;
}

.mission-media::after { background: linear-gradient(90deg, var(--black), rgba(8, 10, 11, 0.7) 4%, transparent 14%, transparent 86%, rgba(8, 10, 11, 0.7) 96%, var(--black)), linear-gradient(180deg, var(--black), transparent 12%, transparent 88%, var(--black)), rgba(0,0,0,.38); }
.mission-media img { object-position: center 42%; }
.mission-scrim { z-index: -1; background: linear-gradient(90deg, rgba(5,8,10,.94), rgba(5,8,10,.74) 44%, rgba(5,8,10,.12) 75%), linear-gradient(0deg, rgba(5,8,10,.86), transparent 56%); }
.mission-copy { max-width: 57rem; }
.mission-copy > p:not(.overline) { max-width: 46rem; margin: 0; color: #e4e1da; font-size: clamp(1.05rem, 1.55vw, 1.28rem); }

.contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.8rem, 3vw, 3rem);
  min-height: 0;
  overflow: hidden;
  background: radial-gradient(circle at 17% 43%, rgba(228, 184, 78, 0.12), transparent 26%), var(--black);
}

.contact::before { content: ""; position: absolute; top: 50%; left: -13rem; width: 42rem; aspect-ratio: 1; border: 1px solid rgba(228,184,78,.13); border-radius: 50%; transform: translateY(-50%); }
.contact > * { position: relative; z-index: 1; }
.contact-intro { width: min(100%, 52rem); padding-top: 1rem; text-align: center; }

.contact-enquiry { width: min(100%, 52rem); }
.enquiry-form { width: 100%; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { margin-bottom: 0.5rem; color: var(--white); font-size: 0.78rem; font-weight: 750; text-transform: uppercase; letter-spacing: 0.1em; }
.optional { color: var(--muted); font-size: 0.68rem; font-weight: 500; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid rgba(244,242,237,.28);
  border-radius: 0.12rem;
  color: var(--white);
  background: rgba(17,22,25,.86);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input { min-height: 3.4rem; padding: 0.75rem 0.9rem; }
.field textarea { min-height: 10rem; padding: 0.9rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(228,184,78,.64); }
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan); outline: 0; }
.field [aria-invalid="true"] { border-color: #ff9b8d; }
.field-hint, .field-error { min-height: 1.3rem; margin-top: 0.35rem; font-size: 0.76rem; }
.field-hint { color: var(--muted); }
.field-error { color: #ffb4a9; }
.form-error-summary { margin-bottom: 1.5rem; padding: 1rem 1.2rem; border-left: 3px solid #ff9b8d; color: var(--white); background: rgba(132, 35, 26, .3); }
.form-error-summary a { color: #ffd0c9; }
.form-error-summary ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.form-actions { display: flex; align-items: center; gap: 1.25rem; margin-top: 1.7rem; }
.form-status { margin: 0; color: var(--muted); font-size: 0.9rem; }
.form-status[data-state="success"] { color: #a9edc0; }
.form-status[data-state="error"] { color: #ffb4a9; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 9rem; padding: 2rem var(--page-pad); border-top: 1px solid var(--line-cool); color: var(--muted); background: #050607; }
.site-footer p { margin: 0; font-size: 0.8rem; letter-spacing: 0.08em; }
.footer-brand svg { display: block; width: 2.7rem; height: 2.7rem; fill: var(--gold); stroke: var(--gold); stroke-width: 1.7; }
.footer-brand circle { fill: none; }

.reveal { animation: reveal 0.8s 0.12s cubic-bezier(.2,.8,.2,1) both; }

@keyframes hero-enter { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1200px) {
  .organisation-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .organisation-card { border-bottom: 1px solid var(--line-cool); }
  .organisation-card:nth-child(6n) { border-right: 0; }
  .organisation-card:nth-last-child(-n+6) { border-bottom: 0; }
}

@media (max-width: 980px) {
  .hero-content { width: min(47rem, calc(56.25vw + 7px)); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:nth-child(n+4) { border-top: 1px solid var(--line-cool); }
  .bureau-story { grid-template-columns: 1fr 1fr; }
  .contact-enquiry { max-width: none; }
}

@media (max-width: 720px) {
  :root { --page-pad: 1.25rem; --header-height: 4.7rem; --display-heading-size: clamp(2.8rem, 13vw, 4.1rem); }
  .site-header { min-height: var(--header-height); background: rgba(5,7,8,.92); }
  .site-header::after { left: 0; }
  .brand { gap: .5rem; }
  .brand-mark { width: 2.4rem; height: 2.4rem; }
  .brand-type { font-size: .69rem; letter-spacing: .16em; }
  .header-button { min-height: 2.55rem; padding: .55rem .75rem; font-size: .62rem; }
  .header-button span { display: none; }

  .hero { display: block; min-height: 850px; padding-top: 28rem; padding-bottom: 1.6rem; }
  .hero-media { right: 0; left: 0; width: 100%; height: 27rem; transform: none; }
  .hero-media img { object-position: center 25%; }
  .hero-media::after { background: linear-gradient(90deg, rgba(8,10,11,.7), transparent 24%, transparent 76%, rgba(8,10,11,.7)), linear-gradient(0deg, var(--black), transparent 32%, rgba(8,10,11,.2)), rgba(0,0,0,.18); }
  .hero-scrim { background: linear-gradient(0deg, var(--black), var(--black) 47%, rgba(4,6,7,.95) 55%, rgba(4,6,7,.12) 78%); }
  .hero-content { width: 100%; margin-right: 0; }
  .hero-overline { margin-bottom: .85rem; }
  h1 { margin-bottom: .9rem; line-height: .86; }
  .hero-copy { max-width: 22rem; margin-bottom: 1.2rem; font-size: .88rem; line-height: 1.45; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem .8rem; padding-top: .9rem; }
  .trust-item { gap: .5rem; font-size: .58rem; }
  .trust-item svg { width: 1.45rem; height: 1.45rem; }
  .hero-rail { display: none; }
  .hero-rule { right: 1.25rem; bottom: 1.4rem; left: 1.25rem; }

  .section-shell { padding-top: 5rem; padding-bottom: 5rem; }
  .section-intro { margin-bottom: 3.4rem; text-align: left; }
  .section-intro h2, .bureau-copy h2, .organisation-heading h2, .mission-copy h2, .contact h2 { font-size: var(--display-heading-size); }
  .section-intro > p:last-child { font-size: .98rem; }
  .service-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .service-card, .service-card:nth-child(n+4) { display: grid; grid-template-columns: 3.4rem 1fr; grid-template-rows: auto auto; gap: 0 1rem; padding: 1.6rem 0; border: 0; border-bottom: 1px solid var(--line-cool); }
  .service-card:last-child { border-right: 0; }
  .line-icon { grid-row: 1 / 3; width: 2.8rem; height: 2.8rem; margin: 0; }
  .service-card h3 { min-height: 0; margin-bottom: .45rem; }

  .bureau-story { display: block; min-height: 0; }
  .feature-photo { height: 24rem; min-height: 0; }
  .feature-photo img { object-position: center; }
  .bureau-copy { padding: 4.5rem 1.25rem 5rem; }
  .bureau-copy > p:not(.overline) { font-size: .98rem; }

  .organisation-heading { margin-bottom: 2.4rem; }
  .organisation-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .organisation-card { min-height: 9.5rem; padding: 1.2rem .5rem; border-right: 1px solid var(--line-cool); border-bottom: 1px solid var(--line-cool); }
  .organisation-card:nth-child(3n) { border-right: 0; }
  .organisation-card:nth-last-child(-n+3) { border-bottom: 0; }
  .organisation-card svg { width: 2rem; height: 2rem; margin-bottom: 1.2rem; }
  .organisation-card h3 { font-size: .6rem; }

  .mission { min-height: 540px; padding: 3.5rem 1.25rem; }
  .mission-media { right: 0; left: 0; width: 100%; transform: none; }
  .mission-media img { object-position: center 35%; }
  .mission-scrim { background: linear-gradient(0deg, rgba(5,8,10,.97), rgba(5,8,10,.58) 62%, rgba(5,8,10,.14)), linear-gradient(90deg, rgba(5,8,10,.76), transparent 90%); }
  .mission-copy > p:not(.overline) { font-size: 1rem; }

  .contact { display: block; min-height: 0; }
  .contact::before { left: -22rem; }
  .contact-intro { margin-bottom: 3rem; }
  .contact h2 br { display: none; }
  .form-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .field-wide { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 340px) {
  :root { --page-pad: 1rem; }
  .brand-type { font-size: .62rem; letter-spacing: .11em; }
  .header-button { padding-inline: .55rem; font-size: .58rem; }
  .hero { min-height: 880px; padding-top: 27.5rem; }
  .hero-media { height: 26.5rem; }
  .trust-row { grid-template-columns: 1fr; }
  .organisation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .organisation-card:nth-child(3n) { border-right: 1px solid var(--line-cool); }
  .organisation-card:nth-child(2n) { border-right: 0; }
  .organisation-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--line-cool); }
  .organisation-card:nth-last-child(-n+2) { border-bottom: 0; }
}

@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; }
}
