/* Henosis — cinematic, industries-led landing.
   Direction per the DHP/Henosis master briefing (v3, 2026-07-25):
   lead with what we make possible, not what we do; must NOT read as a
   transportation, logistics or agency company. */

@font-face {
  font-family: 'Bebas Neue';
  src: url('fonts/bebas-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}

:root {
  --bg: #08090a;
  --bg-soft: #0e1012;
  --bg-lift: #14171a;
  --line: #23272b;
  --line-soft: #191d20;
  --text: #f2f0ec;
  --muted: #9aa0a6;
  --dim: #6b7176;
  /* Single sharp accent — ember. Used only for kickers, rules and the CTA. */
  --accent: #e1532b;
  --accent-soft: rgba(225, 83, 43, 0.14);
  --display: 'Bebas Neue', Impact, sans-serif;
  --body: 'Manrope', system-ui, sans-serif;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --max: 84rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}
.kicker::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }

.display {
  font-family: var(--display);
  letter-spacing: 0.005em;
  line-height: 0.9;
  text-transform: uppercase;
}

p { text-wrap: pretty; }

/* ── Film grain, used on full-bleed plates ─────────────────────────── */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(8, 9, 10, 0.92), rgba(8, 9, 10, 0));
  transition: background-color 0.3s ease;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.wordmark {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav-links { display: none; gap: 2.5rem; }
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
@media (min-width: 62rem) { .nav-links { display: flex; } }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #0b0b0c;
  transition: background-color 0.2s ease, color 0.2s ease;
  min-height: 44px;
}
.btn:hover { background: transparent; color: var(--accent); }
.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--text); background: transparent; color: var(--text); }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.66rem; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 9rem 4.5rem;
  overflow: hidden;
}
/* PHOTO SLOT — replace .plate background with real cinematic photography.
   Brief: control rooms, broadcast cameras, athletes, crowds, LED stages. */
.hero .plate {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 72% 18%, rgba(225, 83, 43, 0.18), transparent 58%),
    radial-gradient(90% 70% at 18% 82%, rgba(70, 92, 120, 0.22), transparent 62%),
    linear-gradient(160deg, #0e1114 0%, #08090a 62%);
}
.hero .plate::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.028) 0 1px, transparent 1px 8.3333%);
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.hero-content { position: relative; width: 100%; }
/* Hero stays inside the 84rem container. The cap is tuned so the longest line
   ("Experiences people remember.") still sits on ONE line at the container's
   widest inner measure — bigger than this and it breaks mid-sentence. */
.hero h1 {
  font-size: clamp(2.2rem, 7.6vw, 6.75rem);
  max-width: none;
  margin-bottom: 1.5rem;
}
.hero h1 .line2 { color: var(--muted); }
.hero p {
  max-width: 58ch;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 300;
  color: var(--muted);
  margin: 0 0 2.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ── Spine ─────────────────────────────────────────────────────────── */
.spine {
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
  padding-block: 3.5rem;
}
.spine-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.7rem);
  font-weight: 300;
  color: var(--text);
  max-width: 46ch;
  margin: 0 0 2.5rem;
}
.spine-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 48rem) { .spine-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .spine-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.step { background: var(--bg-soft); padding: 1.4rem 1.2rem; }
.step span {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--dim);
  margin-bottom: 0.35rem;
}
.step strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Sections ──────────────────────────────────────────────────────── */
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2.1rem, 5.5vw, 4.25rem); margin-bottom: 1.25rem; }
.section-head p { color: var(--muted); font-weight: 300; font-size: 1.05rem; margin: 0; }

/* Industries — the primary organising principle, per the brief */
.industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 44rem) { .industries { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 68rem) { .industries { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.industry {
  position: relative;
  background: var(--bg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background-color 0.3s ease;
}
.industry::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.industry:hover { background: var(--bg-lift); }
.industry:hover::before { transform: scaleX(1); }
.industry-no {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--dim);
  margin-bottom: auto;
}
.industry h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-bottom: 0.75rem;
}
.industry p { margin: 0; color: var(--muted); font-size: 0.95rem; font-weight: 300; }

/* Disciplines — "what we make possible", shown lower per the brief */
.disciplines {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3rem;
}
@media (min-width: 48rem) { .disciplines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .disciplines { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.discipline { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.discipline h3 {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
}
.discipline p { margin: 0; color: var(--muted); font-size: 0.92rem; font-weight: 300; }

/* Operations — the invisible layer. Mobility lives here, deliberately. */
.ops {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.ops .plate {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(80% 100% at 85% 50%, rgba(70, 92, 120, 0.28), transparent 60%),
    linear-gradient(100deg, #0b0d0f, #101416);
}
.ops-inner {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-block: clamp(4rem, 8vw, 7rem);
}
@media (min-width: 62rem) { .ops-inner { grid-template-columns: 1.05fr 1fr; align-items: center; } }
.ops h2 { font-size: clamp(2rem, 5vw, 3.75rem); margin-bottom: 1.25rem; }
.ops p { color: var(--muted); font-weight: 300; max-width: 52ch; }
.ops-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ops-list li {
  background: rgba(8, 9, 10, 0.72);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.95rem;
}
.ops-list li b {
  font-family: var(--display);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  min-width: 2.25rem;
  font-weight: 400;
}
.ops-list li span { color: var(--muted); font-weight: 300; }

/* Closing */
.close {
  position: relative;
  text-align: center;
  padding-block: clamp(5rem, 11vw, 9rem);
  overflow: hidden;
}
.close .plate {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 120% at 50% 0%, rgba(225, 83, 43, 0.16), transparent 62%),
    linear-gradient(180deg, #0b0c0e, #08090a);
}
.close-inner { position: relative; }
.close h2 {
  font-size: clamp(2.3rem, 7vw, 6rem);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.close p { color: var(--muted); font-weight: 300; max-width: 46ch; margin: 0 auto 2.5rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer h4 {
  margin: 0 0 0.9rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.footer p { color: var(--muted); font-size: 0.92rem; font-weight: 300; margin: 0 0 0.35rem; }
/* Text links still need a real hit target — 44px on touch. */
.footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
}
.footer a:hover { color: var(--text); }
.footer p > a { min-height: 0; padding-block: 0.5rem; }
.footer-base {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Reveal on scroll ──────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1), transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

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