/* =========================================================
   Iron Built — Core page stylesheet
   Layout, typography and content components for every page.

   Header, nav and footer chrome live in unified-navbar.css
   and unified-footer.css, which load after this file.

   Motion-free by design: no transitions, no keyframes, no
   transform on hover. Hover states change colour and shadow.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --ink:      #12181f;
  --ink-2:    #1b2631;
  --paper:    #f7f7f5;
  --surface:  #ffffff;
  --white:    #ffffff;
  --muted:    #414b57;
  --body:     #232c36;
  --line:     #dcdfe5;
  --line-2:   rgba(18, 24, 31, .1);
  --orange:   #f37321;
  --orange-2: #ff9b56;
  --orange-dk:#d85f12;
  --orange-sf:#fff3ea;
  --orange-btn:#c2510c;  /* deep enough for white label text */
  --max:      1440px;
  --radius:   16px;
  --radius-sm: 10px;
  --shadow:   0 2px 10px rgba(18, 24, 31, .05);
  --shadow-lg: 0 18px 44px rgba(18, 24, 31, .12);
}

/* ─── BASE ───────────────────────────────────────────────── */
* { box-sizing: border-box; }

html {
  scroll-behavior: auto;          /* jumps, never glides */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

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

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

::selection { background: var(--orange); color: #fff; }

.shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.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: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  background: var(--orange);
  color: #fff;
  padding: 14px 22px;
  border-radius: 0 0 10px 10px;
  font-size: 1rem;
  font-weight: 800;
}

.skip-link:focus { top: 0; }

/* ─── HEADINGS ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  /* No colour here on purpose: headings inherit, so a white heading
     on a coloured or dark panel keeps its white. */
  line-height: 1.15;
  letter-spacing: -.02em;
}

/* ═════════════════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 68vh, 780px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, #33475a 0, transparent 34%),
    linear-gradient(118deg, #0c1219, #1f2c37 68%, #0f161d);
  color: #fff;
}

.page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(92deg, rgba(8, 13, 18, .82) 0%, rgba(8, 13, 18, .5) 52%, rgba(8, 13, 18, .18) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 26%;
  z-index: -1;
  background: linear-gradient(transparent, rgba(8, 13, 18, .35));
}

/* Static grid texture — it used to drift, now it holds still. */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .07;
  background-image:
    linear-gradient(rgba(255, 255, 255, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .2) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.hero-content { padding-block: 130px 90px; }

.page-hero h1 {
  max-width: 17ch;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.04em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .4);
}

.hero-summary {
  max-width: 62ch;
  margin: 24px 0 32px;
  color: #ffffff;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.65;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .5);
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 800;
  color: var(--orange-2);
}

.eyebrow span {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: currentColor;
  margin: 0 14px 5px;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .92rem;
  font-weight: 800;
}

.hero-scroll span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
}

.hero-scroll:hover span {
  background: var(--orange);
  border-color: var(--orange);
}

/* ═════════════════════════════════════════════════════════
   BUTTONS
   ═════════════════════════════════════════════════════════ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  background: var(--orange-btn);
  color: #fff;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
.button:focus-visible { background: #a8450a; color: #fff; }

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-light:hover,
.button-light:focus-visible { background: var(--ink); color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-dk);
  font-size: .95rem;
  font-weight: 700;
  margin-top: 22px;
  border-bottom: 2px solid transparent;
}

.text-link:hover,
.text-link:focus-visible { border-bottom-color: var(--orange); }

/* ═════════════════════════════════════════════════════════
   CONTENT SECTIONS
   ═════════════════════════════════════════════════════════ */
.content-section {
  padding: clamp(72px, 9vw, 132px) 0;
  background: var(--paper);
}

.kicker {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--orange-dk);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  margin: 0 0 40px;
  letter-spacing: -.03em;
}

/* ─── Source-imported article bodies ─────────────────────── */
.source-content { font-size: 1rem; }

.source-content > h1:first-child,
.source-content > h2:first-child {
  font-size: clamp(1.9rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 28px;
}

.source-content h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 48px; }
.source-content h3 { margin-top: 42px; font-size: clamp(1.3rem, 2.4vw, 1.85rem); }
.source-content h4 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-top: 32px; }

.source-content p {
  max-width: 78ch;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.75;
}

.source-content li {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.source-content ul { padding-left: 24px; max-width: 78ch; }

.source-content strong { color: var(--ink); font-weight: 700; }

.source-content img {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 46px 0;
}

.source-content table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 36px 0;
  display: block;
  overflow-x: auto;
  font-size: 1.05rem;
}

.source-content th {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.source-content td,
.source-content th {
  border-bottom: 1px solid var(--line);
  padding: 18px 22px;
  text-align: left;
}

/* Imported five-column feature block */
.source-content .fb__c5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 40px 0;
}

.source-content .fb__col {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.source-content .fb__col:hover { box-shadow: var(--shadow-lg); }

.source-content .fb__col__title {
  min-height: 92px;
  padding: 22px;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.3;
  display: flex;
  align-items: end;
}

.source-content .fb__col__body { padding: 24px; flex: 1; font-size: 1.02rem; }
.source-content .fb__col__footer { height: 8px; }

.source-content .text__block {
  display: grid;
  grid-template-columns: 240px 1fr;
  margin: 56px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.source-content .text__block__highlight { padding: 32px; color: #fff; font-size: 1.15rem; }
.source-content .text__block__info { padding: 30px 34px; }
.source-content .text__block__info p { margin: 0; }

/* ─── Editorial two-column ───────────────────────────────── */
.editorial-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 7vw;
  align-items: start;
}

.editorial-grid h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  margin: 10px 0 16px;
  letter-spacing: -.035em;
}

.editorial-grid p {
  max-width: 70ch;
  color: var(--body);
  font-size: 1rem;
}

.editorial-grid .lead {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
}

/* ─── Benefit grid ───────────────────────────────────────── */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
}

.benefit-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.benefit-grid article:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.benefit-grid article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--orange-dk);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.benefit-grid h3 { font-size: 1.3rem; margin: 0 0 10px; }
.benefit-grid p { color: var(--body); font-size: .95rem; margin: 0; }

/* ─── Contact / enquiry ──────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
}

.contact-grid h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); margin: 12px 0 16px; }
.contact-grid p { color: var(--body); font-size: 1rem; }

.enquiry-form {
  display: grid;
  gap: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--shadow);
}

.enquiry-form label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--ink);
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fafbfc;
  padding: 13px 16px;
  font-size: .95rem;
  color: var(--ink);
  outline: none;
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(243, 115, 33, .16);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: #087148;
  font-size: 1rem;
  font-weight: 600;
}

/* ═════════════════════════════════════════════════════════
   PROOF BAND
   ═════════════════════════════════════════════════════════ */
.proof-band { background: var(--ink); color: #fff; }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid > div {
  padding: 60px 34px;
  border-right: 1px solid rgba(255, 255, 255, .12);
}

.proof-grid > div:last-child { border-right: 0; }

.proof-grid strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--orange-2);
}

.proof-grid span {
  display: block;
  margin-top: 10px;
  color: #d7dde3;
  font-size: .875rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* ═════════════════════════════════════════════════════════
   RELATED CARDS
   ═════════════════════════════════════════════════════════ */
.related-section { padding: clamp(72px, 9vw, 120px) 0; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.related-card {
  position: relative;
  min-height: 250px;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.related-card:hover,
.related-card:focus-visible {
  border-color: var(--orange);
  box-shadow: var(--shadow-lg);
}

.related-card span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
}

.related-card small {
  margin-top: 12px;
  color: var(--body);
  font-size: .9rem;
  line-height: 1.55;
}

.related-card b {
  position: absolute;
  right: 28px;
  bottom: 24px;
  color: var(--orange);
  font-size: 1.4rem;
}

/* ═════════════════════════════════════════════════════════
   CTA BAND
   ═════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--orange);
  padding: 80px 0;
  color: #fff;
}

.cta-band > .shell {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
}

.cta-band p {
  margin: 0 0 8px;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}

.cta-band h2 {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  max-width: 20ch;
  line-height: 1.08;
  margin: 0;
  color: #fff;
  letter-spacing: -.035em;
}

/* Reveal hooks are inert: content is always visible. */
.reveal,
.reveal.in-view,
.motion-reveal {
  opacity: 1;
  transform: none;
}

/* ═════════════════════════════════════════════════════════
   RESPONSIVE
   ═════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .source-content .fb__c5 { grid-template-columns: repeat(3, 1fr); }
  .benefit-grid, .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: .9375rem; }
  .shell { width: min(100% - 32px, var(--max)); }

  .page-hero { min-height: 460px; }
  .hero-content { padding-block: 80px 56px; }
  .page-hero h1 { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-summary { font-size: 1rem; }

  .editorial-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }

  .benefit-grid,
  .related-grid { grid-template-columns: 1fr; }
  .benefit-grid { margin-top: 36px; }

  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { padding: 36px 18px; }
  .proof-grid > div:nth-child(2n) { border-right: 0; }

  .source-content { font-size: .9375rem; overflow-wrap: anywhere; }
  .source-content p, .source-content li { font-size: .9375rem; }
  .source-content .fb__c5 { grid-template-columns: 1fr; }
  .source-content .text__block { grid-template-columns: 1fr; }
  .source-content img { margin: 28px 0; }

  .cta-band > .shell { align-items: flex-start; flex-direction: column; }
  .related-card { min-height: 0; padding: 24px; }
}

@media (max-width: 420px) {
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
}

/* Nothing animates anywhere, so reduced-motion needs no overrides —
   this block only stops smooth scrolling from being re-enabled. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
