:root {
  --ink: #241916;
  --muted: #77645e;
  --paper: #fff8f4;
  --soft: #f5e5dc;
  --accent: #b76e5b;
  --accent-dark: #7f3d33;
  --cream: #fffdf9;
  --line: rgba(36, 25, 22, 0.14);
  --shadow: 0 24px 70px rgba(55, 31, 25, 0.16);
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 248, 244, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(36, 25, 22, 0.08);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 70px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  height: auto;
  max-height: 54px;
  width: auto;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

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

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 0;
  width: 42px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 7px auto;
  transition: transform 180ms ease;
  width: 24px;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.hero {
  align-items: center;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 110px clamp(20px, 6vw, 88px) 54px;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(23, 13, 12, 0.78), rgba(23, 13, 12, 0.22) 54%, rgba(23, 13, 12, 0.05)),
    url("https://images.unsplash.com/photo-1595476108010-b4d1f102b1b1?auto=format&fit=crop&w=1800&q=82") center / cover;
  transform: scale(1.03);
}

.hero-overlay {
  background: linear-gradient(0deg, rgba(36, 25, 22, 0.24), transparent 45%);
}

.hero-content {
  color: var(--cream);
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f3b6a6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 500;
}

h1 {
  font-size: clamp(54px, 10vw, 124px);
  letter-spacing: 0;
  margin-bottom: 26px;
  max-width: 900px;
}

h2 {
  font-size: clamp(34px, 5vw, 66px);
  letter-spacing: 0;
  margin-bottom: 0;
}

h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.hero-copy {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 570px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 15px 23px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--cream);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  border: 1px solid rgba(255, 253, 249, 0.62);
  color: var(--cream);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

.scroll-cue {
  bottom: 26px;
  color: rgba(255, 253, 249, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  position: absolute;
  right: clamp(20px, 6vw, 88px);
  text-transform: uppercase;
  z-index: 2;
}

.section {
  padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 88px);
}

.intro {
  align-items: end;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
}

.intro p:last-child {
  color: var(--muted);
  font-size: 19px;
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: clamp(34px, 5vw, 58px);
  max-width: 820px;
}

.course-grid {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-item {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 280px;
  padding: clamp(24px, 4vw, 42px);
  transition: background 180ms ease, transform 180ms ease;
}

.course-item:nth-child(3n) {
  border-right: 0;
}

.course-item:hover {
  background: rgba(255, 253, 249, 0.7);
  transform: translateY(-4px);
}

.course-item span {
  color: var(--accent);
  display: block;
  font-family: var(--font-display);
  font-size: 36px;
  margin-bottom: 34px;
}

.course-item p,
.proof p {
  color: var(--muted);
  margin-bottom: 0;
}

.split-section {
  background: var(--ink);
  color: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 720px;
}

.split-image {
  background:
    linear-gradient(180deg, rgba(36, 25, 22, 0.04), rgba(36, 25, 22, 0.24)),
    url("https://images.unsplash.com/photo-1522335789203-aabd1fc54bc9?auto=format&fit=crop&w=1400&q=82") center / cover;
}

.split-copy {
  align-self: center;
  padding: clamp(48px, 7vw, 96px);
}

.split-copy h2 {
  margin-bottom: 42px;
}

.service-list {
  border-top: 1px solid rgba(255, 253, 249, 0.18);
  list-style: none;
  margin: 0 0 38px;
  padding: 0;
}

.service-list li {
  border-bottom: 1px solid rgba(255, 253, 249, 0.18);
  display: grid;
  gap: 18px;
  grid-template-columns: 120px 1fr;
  padding: 22px 0;
}

.service-list span {
  color: #f3b6a6;
  font-weight: 800;
}

.service-list strong {
  font-size: 18px;
  font-weight: 600;
}

.text-link {
  color: #f3b6a6;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.academy {
  display: grid;
  gap: 60px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.proof-row {
  display: grid;
  gap: 22px;
}

.proof {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.proof strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  margin-bottom: 10px;
}

.gallery-section {
  background: var(--soft);
  padding: clamp(70px, 9vw, 120px) 0;
}

.gallery-text {
  margin: 0 auto clamp(38px, 6vw, 70px);
  max-width: 1180px;
  padding: 0 clamp(20px, 6vw, 88px);
}

.gallery-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  min-height: 520px;
}

.gallery-image {
  background-position: center;
  background-size: cover;
}

.gallery-one {
  background-image: url("https://images.unsplash.com/photo-1512496015851-a90fb38ba796?auto=format&fit=crop&w=1000&q=82");
}

.gallery-two {
  background-image: url("https://images.unsplash.com/photo-1560066984-138dadb4c035?auto=format&fit=crop&w=1000&q=82");
  margin-top: 70px;
}

.gallery-three {
  background-image: url("https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=1000&q=82");
  margin-bottom: 70px;
}

.contact-section {
  background: var(--cream);
  display: grid;
  gap: clamp(38px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 520px);
  padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 88px);
}

.contact-copy h2 {
  margin-bottom: 36px;
}

.contact-lines {
  border-top: 1px solid var(--line);
}

.contact-lines p {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
  grid-template-columns: 90px 1fr;
  margin: 0;
  padding: 18px 0;
}

.contact-lines span {
  color: var(--accent);
  font-weight: 800;
}

.enquiry-form {
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 44px);
}

.enquiry-form label {
  color: var(--muted);
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  background: var(--cream);
  border: 1px solid rgba(36, 25, 22, 0.16);
  border-radius: 0;
  color: var(--ink);
  font: inherit;
  min-height: 52px;
  padding: 13px 14px;
  width: 100%;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(183, 110, 91, 0.22);
}

.enquiry-form .button {
  border: 0;
  cursor: pointer;
  width: 100%;
}

.form-status {
  color: var(--accent-dark);
  font-weight: 700;
  margin: 16px 0 0;
  min-height: 24px;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 88px);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f3b6a6;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    background: var(--cream);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0;
    left: 18px;
    opacity: 0;
    padding: 12px;
    pointer-events: none;
    position: fixed;
    right: 18px;
    top: 84px;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    border-bottom: 1px solid var(--line);
    padding: 16px;
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .intro,
  .academy,
  .contact-section,
  .split-section {
    grid-template-columns: 1fr;
  }

  .split-section {
    min-height: 0;
  }

  .split-image {
    min-height: 460px;
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-item:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .course-item:nth-child(2n) {
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .gallery-image {
    min-height: 360px;
  }

  .gallery-two,
  .gallery-three {
    margin: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 70px;
  }

  .brand img {
    max-height: 46px;
  }

  .hero {
    min-height: 94svh;
    padding-top: 100px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, rgba(23, 13, 12, 0.86), rgba(23, 13, 12, 0.36)),
      url("https://images.unsplash.com/photo-1595476108010-b4d1f102b1b1?auto=format&fit=crop&w=1000&q=82") center / cover;
  }

  h1 {
    font-size: clamp(44px, 16vw, 72px);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

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

  .course-item,
  .course-item:nth-child(2n),
  .course-item:nth-child(3n) {
    border-right: 0;
  }

  .service-list li,
  .contact-lines p {
    grid-template-columns: 1fr;
  }

  .split-copy {
    padding: 54px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

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