/* ============================================================
   HH FORCE I/S — hhforce.dk
   Static one-pager · Ensō / LGS build · 2026
   Palette derived from brand logo: #394931 green + ink black
   ============================================================ */

:root {
  --green:       #394931;
  --green-deep:  #2C3A26;
  --ink:         #15180F;
  --ink-section: #181D13;
  --ink-footer:  #101408;
  --paper:       #F5F4EF;
  --paper-2:     #E9E8DE;
  --card:        #FBFAF6;
  --sage:        #9AA88F;
  --sage-soft:   #E3E7DC;
  --line:        rgba(21, 24, 15, .14);
  --line-dark:   rgba(245, 244, 239, .16);
  --ink-60:      rgba(21, 24, 15, .68);
  --paper-70:    rgba(245, 244, 239, .78);

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(24px, 4vw, 48px);
  --header-h: 84px;
}

/* ---------- Self-hosted fonts (OFL) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/oswald-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/oswald-500-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/oswald-600-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--green); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
.section-dark :focus-visible,
.quote-band :focus-visible,
.site-footer :focus-visible { outline-color: var(--sage); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; z-index: 100; font-size: 14px;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */
h1, h2, .h3, .phase-name, .fact-value, .partner-name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1.04;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); }
h1 em { font-style: normal; color: var(--green); }
.section-dark h1 em, .quote-band h1 em { color: var(--sage); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 22px;
}
.section-dark .eyebrow, .contact .eyebrow { color: var(--sage); }

/* Signature slash — echoes the slanted bars of the H mark */
.slash {
  display: inline-block; flex: none;
  width: 18px; height: 12px;
  background: var(--green);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.section-dark .slash, .site-footer .slash { background: var(--sage); }
.slash-lg { width: 34px; height: 22px; background: var(--sage); }

.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); line-height: 1.75; color: var(--ink-60); }
.br-d { display: none; }
@media (min-width: 1025px) { .br-d { display: inline; } }
@media (hover: none) { .field textarea { resize: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  border-radius: 2px;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.btn-solid { background: var(--green); color: var(--paper); }
.btn-solid:hover { background: var(--green-deep); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid currentColor; padding: 11px 22px; }
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #fff; transform: translateY(-2px); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  color: var(--ink);
}
.arrow-link span { transition: transform .25s ease; }
.arrow-link:hover { color: var(--green); }
.arrow-link:hover span { transform: translateX(6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0;
  z-index: 50;
  transition: border-color .3s ease;
  border-bottom: 1px solid transparent;
}
/* Frosted bar lives on a pseudo, NOT the header itself: backdrop-filter on an
   ancestor makes it the containing block for the fixed mobile menu in WebKit
   (iOS menu collapsed to the header box — 2026-06-11 incident). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(245, 244, 239, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .3s ease;
}
.site-header.scrolled::before { opacity: 1; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  transition: height .3s ease;
}
.site-header.scrolled .header-inner { height: 66px; }
.brand img { width: auto; height: 34px; transition: height .3s ease; }
.site-header.scrolled .brand img { height: 28px; }

.site-nav { display: flex; align-items: center; gap: 38px; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav ul a {
  position: relative;
  font-size: 14px; font-weight: 500;
  padding: 6px 0;
  color: var(--ink);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s ease;
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  position: relative; z-index: 60;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--ink);
  transition: transform .3s ease, opacity .3s ease, background-color .3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 72px;
  overflow: hidden;
}
.hero::before {
  /* faint slanted field echoing the mark geometry */
  content: ""; position: absolute;
  top: 0; right: -12vw;
  width: 46vw; height: 100%;
  background: linear-gradient(180deg, rgba(57, 73, 49, .055), rgba(57, 73, 49, .015));
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  width: 100%;
}
.hero-copy .lead { max-width: 56ch; margin-top: 30px; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 42px; flex-wrap: wrap; }

.hero-art { display: flex; justify-content: flex-end; }
.hero-art img {
  width: clamp(220px, 26vw, 380px);
  height: auto;
  will-change: transform;
}

/* ---------- Fact band ---------- */
.fact-band {
  background: var(--green);
  color: var(--paper);
  padding: clamp(28px, 3.4vw, 40px) 0;
}
/* lead fact left, the three short facts grouped right; bars hug their content */
.fact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  gap: clamp(36px, 5.5vw, 92px);
  align-items: start;
}
.fact {
  position: relative;
  padding-left: 22px;
}
.fact::before {
  content: ""; position: absolute; left: 0; top: 5px; bottom: 3px;
  width: 7px;
  background: rgba(245, 244, 239, .35);
  clip-path: polygon(45% 0, 100% 0, 55% 100%, 0 100%);
}
/* one size for ALL values; label tight under its value */
.fact-value { display: block; font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 500; margin-bottom: 8px; }
.fact-label {
  display: block;
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--paper-70);
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-light { background: var(--paper); }
.section-alt { background: var(--paper-2); }
.section-dark { background: var(--ink-section); color: var(--paper); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.wide { max-width: 880px; }
.section-intro { margin-top: 26px; font-size: 1.07rem; color: var(--ink-60); max-width: 70ch; }
.section-dark .section-intro { color: var(--paper-70); }

/* Split (sticky head + body) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(44px, 6vw, 110px);
  align-items: start;
}
.split-head { position: sticky; top: 120px; }
.split-body > p + p { margin-top: 26px; }
.split-body > p { max-width: 64ch; }

.pill-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.pill-row li {
  font-size: 13.5px; font-weight: 500;
  padding: 10px 18px;
  background: var(--sage-soft);
  border-left: 3px solid var(--green);
  border-radius: 2px;
}

/* ---------- Sector index ---------- */
.sector-index { border-bottom: 1px solid var(--line-dark); }
.sector-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
}
.sector-no {
  font-family: var(--font-display);
  font-weight: 500; font-size: 15px;
  letter-spacing: .08em;
  color: var(--sage);
}
.sector-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.15;
  color: rgba(245, 244, 239, .92);
  transition: transform .28s ease, color .28s ease;
}
.sector-more {
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage);
  white-space: nowrap;
  transition: color .25s ease;
}
a.sector-row:hover .sector-name { color: #fff; transform: translateX(10px); }
a.sector-row:hover .sector-more { color: var(--paper); }

/* ---------- Data centre phases ---------- */
.phase-list { border-bottom: 1px solid var(--line); }
.phase { border-top: 1px solid var(--line); }
.phase-toggle {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 24px 0;
  text-align: left;
}
.phase-no {
  font-family: var(--font-display);
  font-weight: 500; font-size: 15px;
  letter-spacing: .08em;
  color: var(--green);
}
.phase-name {
  font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  letter-spacing: .02em;
  transition: color .25s ease;
}
.phase-toggle:hover .phase-name { color: var(--green); }
.phase-icon { position: relative; width: 22px; height: 22px; justify-self: end; }
.phase-icon::before, .phase-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--green);
  transition: transform .35s ease;
}
.phase-icon::before { width: 18px; height: 2px; transform: translate(-50%, -50%); }
.phase-icon::after  { width: 2px; height: 18px; transform: translate(-50%, -50%); }
.phase.open .phase-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.phase-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s cubic-bezier(.33, 1, .68, 1);
}
.phase.open .phase-panel { grid-template-rows: 1fr; }
.phase-panel-inner { overflow: hidden; min-height: 0; }
.phase-panel-inner > p {
  max-width: 62ch;
  color: var(--ink-60);
  padding-left: 82px;
}
.role-chips {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 20px 0 34px 82px;
}
.role-chips li {
  font-size: 13.5px; font-weight: 500;
  padding: 9px 16px;
  background: var(--sage-soft);
  border-left: 3px solid var(--green);
  border-radius: 2px;
}

/* ---------- Offshore wind scope ---------- */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.scope-grid li {
  display: flex; align-items: center;
  min-height: 96px;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  padding: 22px;
  font-size: 15px; font-weight: 500;
  line-height: 1.45;
  color: rgba(245, 244, 239, .92);
}
.scope-cta { padding: 0; border-color: var(--green); background: var(--green); }
.scope-cta a {
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: space-between;
  gap: 16px;
  height: 100%; min-height: 110px;
  padding: 22px;
  transition: background-color .25s ease;
}
.scope-cta a:hover { background: var(--green-deep); }
.scope-cta a span { color: var(--paper-70); font-weight: 500; }
.scope-cta a strong { font-weight: 600; white-space: nowrap; }

/* ---------- Quote ---------- */
.quote-band {
  background: var(--green);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
}
.quote-band figure { max-width: 980px; }
.quote-band blockquote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  line-height: 1.32;
}
.quote-band figcaption {
  display: flex; align-items: center; gap: 12px;
  margin-top: 36px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--paper-70);
}
.quote-band figcaption::before {
  content: "";
  width: 18px; height: 12px;
  background: rgba(245, 244, 239, .5);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}

/* ---------- Services ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(28px, 3vw, 38px);
  display: flex; flex-direction: column;
}
.card > .slash { margin-bottom: 34px; }
.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 14px;
}
.card p { font-size: 15.5px; color: var(--ink-60); }

.growth { margin-top: clamp(72px, 9vw, 120px); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.person {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.person-photo { position: relative; aspect-ratio: 1 / 1; background: var(--sage-soft); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.03); }
.person-photo--pending {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--line);
}
.person-photo--pending span {
  font-family: var(--font-display);
  font-size: 96px; font-weight: 600;
  color: var(--green);
  opacity: .28;
  line-height: 1;
}
.person-photo--pending em {
  font-size: 12.5px; font-style: normal; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green);
}
.person-meta { padding: 24px 26px 28px; }
.person-meta h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.4rem;
  text-transform: uppercase; letter-spacing: .02em;
}
.person-role {
  margin-top: 4px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green);
}
.person-note { margin-top: 14px; font-size: 13.5px; color: var(--ink-60); }
.person-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.person-note a:hover { border-color: var(--green); }

.partner-card {
  background: var(--ink-section);
  color: var(--paper);
  border-radius: 2px;
  padding: clamp(28px, 3vw, 38px);
  display: flex; flex-direction: column; justify-content: center;
}
.partner-card .eyebrow { color: var(--sage); margin-bottom: 18px; }
.partner-card .slash { background: var(--sage); }
.partner-name { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 500; margin-bottom: 14px; }
.partner-card p:last-child { font-size: 15px; color: var(--paper-70); }

/* ---------- Contact ---------- */
.contact-sub { margin-top: 24px; color: var(--paper-70); max-width: 44ch; }
.contact-direct { margin-top: 44px; display: grid; gap: 18px; }
.contact-direct div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line-dark);
}
.contact-direct dt {
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage);
  padding-top: 3px;
}
.contact-direct dd { font-size: 15.5px; }
.contact-direct dd a {
  border-bottom: 1px solid rgba(245, 244, 239, .35);
  padding-bottom: 1px;
  transition: border-color .2s ease;
}
.contact-direct dd a:hover { border-color: var(--paper); }

.contact-form .field { margin-bottom: 20px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--sage);
}
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 15.5px;
  color: var(--paper);
  background: rgba(245, 244, 239, .055);
  border: 1px solid rgba(245, 244, 239, .25);
  border-radius: 2px;
  padding: 14px 16px;
  transition: border-color .22s ease, background-color .22s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  background: rgba(245, 244, 239, .09);
}
.field input.invalid, .field textarea.invalid { border-color: #C96F4A; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0 0 18px; font-size: 14px; color: #E3A183; }
.contact-form button[type="submit"] { margin-top: 6px; }

.form-success {
  border: 1px solid var(--sage);
  border-radius: 2px;
  padding: clamp(36px, 4vw, 56px);
}
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 1.6rem;
  text-transform: uppercase; letter-spacing: .02em;
  margin: 22px 0 10px;
}
.form-success p { color: var(--paper-70); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-footer); color: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-brand img { width: 200px; height: auto; }
.footer-brand p { margin-top: 20px; font-size: 14.5px; color: var(--paper-70); }
.footer-nav ul { display: grid; gap: 12px; }
.footer-nav a { font-size: 14.5px; color: var(--paper-70); transition: color .2s ease; }
.footer-nav a:hover { color: var(--paper); }
.footer-meta { font-size: 14.5px; color: var(--paper-70); display: grid; gap: 16px; align-content: start; }
.footer-partner { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.footer-bottom {
  border-top: 1px solid rgba(245, 244, 239, .12);
  padding: 22px 0;
}
.footer-bottom p { font-size: 13px; color: rgba(245, 244, 239, .55); }

/* ---------- Reveal animations (JS-gated; content visible by default) ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease var(--d, 0s), transform .6s cubic-bezier(.33, 1, .68, 1) var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art img { animation: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@keyframes mark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
html.js .hero-art img { animation: mark-float 9s ease-in-out infinite; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split-head { position: static; }
  .split-head h2 { max-width: 640px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .card-grid .card:last-child { grid-column: span 2; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .partner-card { grid-column: span 2; }
  .scope-grid { grid-template-columns: repeat(3, 1fr); }
  .fact-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed; inset: 0;
    z-index: 55;
    flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 0;
    padding: 100px var(--gutter) 60px;
    background: var(--ink-section);
    color: var(--paper);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .42s cubic-bezier(.33, 1, .68, 1), visibility 0s .42s;
  }
  @media (max-height: 520px) {
    .site-nav { justify-content: flex-start; padding-top: 84px; }
  }
  body.menu-open .site-nav { transform: none; visibility: visible; transition-delay: 0s; }
  .site-nav ul { flex-direction: column; gap: 8px; width: 100%; }
  .site-nav ul a {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--paper);
    padding: 10px 0;
  }
  .site-nav ul a::after { display: none; }
  .nav-cta { margin-top: 36px; border-color: var(--sage); color: var(--paper); }
  .nav-cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
  .nav-toggle { display: flex; }
  body.menu-open .nav-toggle span { background: var(--paper); }
  body.menu-open .nav-toggle span:first-child { transform: translateY(4.5px) rotate(45deg); }
  body.menu-open .nav-toggle span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 48px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art {
    position: absolute;
    top: 16px; right: -40px;
    opacity: .07;
    pointer-events: none;
  }
  .hero-art img { width: 240px; }
  .hero::before { display: none; }

  .scope-grid { grid-template-columns: 1fr 1fr; }
  .phase-panel-inner > p, .role-chips { padding-left: 0; }
  .phase-toggle { grid-template-columns: 48px minmax(0, 1fr) 26px; }
  .sector-row { grid-template-columns: 48px minmax(0, 1fr); row-gap: 6px; }
  .sector-more { grid-column: 2; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid .card:last-child { grid-column: auto; }
  .team-grid { grid-template-columns: 1fr; }
  .partner-card { grid-column: auto; }
  .fact-grid { gap: 22px; }
  .fact:first-child, .fact:last-child { grid-column: span 2; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .field-row .field { margin-bottom: 20px; }
  .contact-form button[type="submit"] { width: 100%; }
  .hero-actions { gap: 24px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-direct div { grid-template-columns: 1fr; gap: 4px; }
  .scope-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .scope-grid li { padding: 16px; font-size: 14px; }
  .scope-cta { grid-column: span 2; }
  .scope-cta a { min-height: 84px; }
}

/* Hero entrance — CSS-only so first paint never waits for JS (LCP-safe) */
@keyframes enter-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.enter { animation: enter-up .6s cubic-bezier(.33, 1, .68, 1) var(--d, 0s) both; }
@media (prefers-reduced-motion: reduce) { .enter { animation: none; } }
