:root {
  --red: #d32013;
  --red-deep: #9e160e;
  --black: #000000;
  --ink: #0d0d0d;
  --charcoal: #16120f;
  --panel: #1a1a1a;
  --muted: #b8b8b8;
  --line: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  --max: 1200px;
  --header-h: 96px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Albert Sans", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
.display {
  font-family: "Teko", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}

h1 {
  font-size: clamp(3.2rem, 10vw, 6.5rem);
}

h2 {
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

h3 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  line-height: 1.05;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--red);
  color: white;
  padding: 0.6rem 1rem;
  z-index: 2000;
}

.skip-link:focus {
  top: 1rem;
}

/* Empty media placeholders — add images later */
.media-slot {
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(211, 32, 19, 0.18), transparent 45%),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0 12px,
      rgba(255, 255, 255, 0.01) 12px 24px
    ),
    #121212;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  overflow: hidden;
}

.media-slot::after {
  content: attr(data-label);
  text-align: center;
  padding: 1rem;
}

.media-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-slot:has(img[src]:not([src=""]))::after {
  display: none;
}

.media-slot--hero {
  position: absolute;
  inset: 0;
  border: none;
  z-index: 0;
}

.media-slot--hero:has(img[src]:not([src=""])) {
  background: #0a0a0a;
  border: none;
}

.media-slot--hero img {
  object-position: center 20%;
}

.media-slot--square {
  aspect-ratio: 1;
}

.media-slot--wide {
  aspect-ratio: 16 / 9;
}

.media-slot--card {
  aspect-ratio: 4 / 3;
  margin-bottom: 1.25rem;
}

.media-slot--logo {
  width: 220px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin-inline: auto;
}

.media-slot--logo:has(img[src]:not([src=""])) {
  border: none;
  background: transparent;
}

.media-slot--logo img {
  object-fit: contain;
}

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.85rem 0;
}

.site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  flex-shrink: 0;
  z-index: 110;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  font-family: "Teko", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: white;
}

.brand-tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--red);
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--red);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  z-index: 110;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Desktop nav — horizontal links */
.site-nav {
  display: block;
  position: static;
  background: transparent;
  opacity: 1;
  pointer-events: auto;
  z-index: auto;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  display: inline-block;
  font-family: "Albert Sans", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: white;
}

.site-nav .nav-cta {
  background: var(--red);
  color: white !important;
  padding: 0.65rem 1rem;
  margin-left: 0.35rem;
}

.site-nav .nav-cta::after {
  display: none;
}

.site-nav .nav-cta:hover {
  background: var(--red-deep);
}

/* Buttons */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.95rem 1.6rem;
  background: var(--red);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.theme-btn:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}

.theme-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.theme-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: white;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn-outer {
  margin-top: 2.5rem;
  text-align: center;
}

/* Hero */
.home-banner {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
}

.home-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.92) 100%);
  z-index: 1;
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  text-align: center;
}

.banner-content h1 {
  margin-bottom: 1.5rem;
}

.banner-content .line-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  display: block;
}

.banner-content .line-red {
  color: var(--red);
  display: block;
}

.banner-content .line-solid {
  color: white;
  display: block;
}

.banner-content .lead {
  max-width: 38rem;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 52vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #0a0a0a;
  padding-top: calc(var(--header-h) + 1rem);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.9));
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  padding: 3rem 0 3.25rem;
  text-align: center;
}

.page-hero p {
  max-width: 36rem;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.75);
}

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section--charcoal {
  background: var(--charcoal);
}

.section--panel {
  background: var(--ink);
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.75rem;
}

.section-head p {
  margin-top: 0.85rem;
}

/* Intro split */
.intro-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.intro-split .ghost-title {
  position: absolute;
  left: 0;
  right: 0;
  top: -0.4em;
  font-family: "Teko", sans-serif;
  font-size: clamp(3rem, 12vw, 8rem);
  color: rgba(255, 255, 255, 0.04);
  text-align: center;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 0.85;
}

.intro-copy {
  position: relative;
}

.intro-copy h2 {
  margin-bottom: 1.1rem;
}

.watermark-wrap {
  position: relative;
  text-align: center;
}

/* Media band */
.media-band {
  padding: 0 0 5rem;
}

.media-band .media-slot {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Services / programmes grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card h3 strong {
  color: var(--red);
  font-weight: 600;
}

.service-card p {
  font-size: 0.98rem;
}

.programme-block {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1rem;
}

.programme-block .num {
  font-family: "Teko", sans-serif;
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.person {
  background: var(--panel);
  padding: 1.35rem;
}

.person .media-slot {
  margin-bottom: 1rem;
}

.person .role {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.person .title {
  font-weight: 700;
  color: white;
  margin-bottom: 0.65rem;
}

.person.featured {
  grid-column: span 2;
}

/* Involve cards */
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.involve-card {
  background: #111;
  border: 1px solid var(--line);
  padding: 1.75rem 1.4rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.involve-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}

.involve-card h3 {
  margin-bottom: 0.65rem;
}

/* Values strip */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--line);
  text-align: center;
}

.value:last-child {
  border-right: none;
}

.value strong {
  display: block;
  font-family: "Teko", sans-serif;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: white;
  margin-bottom: 0.25rem;
}

.value span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Contact / form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-details li {
  list-style: none;
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.contact-details ul {
  margin: 1.25rem 0 0;
  padding: 0;
}

.contact-details a:hover {
  color: white;
}

.enquiry-form {
  background: #111;
  border: 1px solid var(--line);
  padding: 1.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.enquiry-form label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.7);
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  background: #0a0a0a;
  border: 1px solid var(--line);
  color: white;
  padding: 0.85rem 0.9rem;
  font: inherit;
  margin-bottom: 0.85rem;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.enquiry-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.75rem;
}

.address-box {
  border-left: 3px solid var(--red);
  padding-left: 1rem;
  margin-top: 1.5rem;
}

.address-box strong {
  display: block;
  font-family: "Teko", sans-serif;
  font-size: 1.6rem;
  color: white;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.address-box address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.7;
}

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .brand-name {
  font-size: 1.8rem;
}

.footer-col h4 {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 960px) {
  .intro-split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .team-grid,
  .involve-grid {
    grid-template-columns: 1fr 1fr;
  }

  .person.featured {
    grid-column: span 2;
  }

  .values {
    grid-template-columns: 1fr 1fr;
  }

  .value:nth-child(2) {
    border-right: none;
  }

  .value:nth-child(1),
  .value:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
    z-index: 105;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
  }

  .site-nav a {
    font-family: "Teko", sans-serif;
    font-size: clamp(2.2rem, 9vw, 3.4rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.15rem 0;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin: 0.85rem 0 0;
    font-family: "Albert Sans", sans-serif;
    font-size: 0.95rem;
  }

  .brand-text {
    display: none;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 680px) {
  .grid-2,
  .grid-3,
  .team-grid,
  .involve-grid,
  .values,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .person.featured {
    grid-column: span 1;
  }

  .value {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .value:last-child {
    border-bottom: none;
  }

  .banner-content {
    padding-bottom: 3.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
