@font-face {
  font-family: "Young Serif";
  src: url("fonts/young-serif-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green: #101f16;               /* dark green background */
  --green-surface: #16281e;       /* cards / panels */
  --green-surface-alt: #1c3226;   /* nested items / cards */
  --green-border: rgba(255, 255, 255, 0.12);

  --cream: #f7f3ec;               /* off-cream */
  --cream-muted: #efe8db;
  --cream-soft: rgba(247, 243, 236, 0.12);
  --cream-border: rgba(247, 243, 236, 0.28);

  --white: #ffffff;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.82);
  --text-dim: rgba(255, 255, 255, 0.55);
  --line: rgba(255, 255, 255, 0.14);

  --font-display: "Young Serif", "Recoleta", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --z-header: 20;
  --z-skip: 30;

  --wordmark-filter: brightness(0) invert(1);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--green);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--white);
  text-wrap: balance;
}
p { margin: 0; color: var(--text-muted); text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--cream); color: var(--green);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 14px; }

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

/* ---------- Eyebrow labels ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  border-radius: var(--radius-pill);
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: .9375rem; }

.btn-primary,
.btn-cream {
  background: var(--cream);
  color: var(--green);
}
.btn-primary:hover,
.btn-cream:hover {
  background: var(--white);
  color: var(--green);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream-border);
}
.btn-ghost:hover {
  border-color: var(--cream);
  background: var(--cream-soft);
  color: var(--white);
  transform: translateY(-1px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(16, 31, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: border-color .25s var(--ease);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; height: 74px;
}
.brand img {
  width: 82px;
  filter: var(--wordmark-filter);
  transition: opacity .2s var(--ease);
}
.brand:hover img { opacity: 0.85; }

.site-header nav { margin-left: auto; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--text-muted);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--cream); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- Sections Layout ---------- */
.section { padding: 96px 0; }
@media (max-width: 720px) {
  .section { padding: 64px 0; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 48px 0 96px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: 56px;
  align-items: center;
  min-height: min(calc(100dvh - 74px - 140px), 620px);
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: -0.02em;
}
.hero .lede {
  margin-top: 24px;
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 44ch;
}
.cta-row {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px;
}

/* Hero Media */
.hero-media {
  position: relative;
  margin: 0;
}
.hero-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-surface);
  border: 1px solid var(--cream-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.hero-frame:hover {
  border-color: rgba(247, 243, 236, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}
.hero-frame img {
  width: 100%;
  aspect-ratio: 1024 / 440;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .hero { padding: 32px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .hero-media { margin-top: 12px; }
}

/* ---------- Our Story ---------- */
.story-section {
  background: var(--green);
  border-bottom: 1px solid var(--line);
}
.story-card {
  max-width: 760px;
}
.story-card h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 24px;
}
.story-body p {
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
}

/* ---------- Events (Primary Focus) ---------- */
.events-section {
  background: var(--green);
  border-bottom: 1px solid var(--line);
}
.events-card {
  background: var(--green-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 68px);
}
.events-header {
  max-width: 720px;
}
.events-header h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin-bottom: 18px;
}
.events-intro {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 48px 0;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.event-item {
  display: flex;
  flex-direction: column;
}
.event-step {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 12px;
}
.event-item h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
.event-item p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.events-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.events-cta-row h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}
.events-cta-row p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .events-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 36px 0;
    padding: 28px 0;
  }
  .events-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- The Future ---------- */
.future-section {
  background: var(--green);
  border-bottom: 1px solid var(--line);
}
.future-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
}
.future-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  margin-bottom: 20px;
}
.future-copy p {
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.future-sub {
  font-size: 0.9375rem;
  color: var(--cream-muted);
  border-left: 2px solid var(--cream);
  padding-left: 14px;
  margin-top: 20px;
}

.future-media {
  margin: 0;
}
.future-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-surface);
  border: 1px solid var(--cream-border);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.future-frame:hover {
  border-color: rgba(247, 243, 236, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}
.future-frame img {
  width: 100%;
  aspect-ratio: 1024 / 696;
  object-fit: cover;
  display: block;
}
.future-media figcaption {
  margin-top: 10px;
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-align: right;
}

@media (max-width: 860px) {
  .future-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- Contact Section & Enquiry Form ---------- */
.contact-section {
  background: var(--green);
}
.contact-card {
  background: var(--green-surface);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 68px);
  max-width: 840px;
  margin-inline: auto;
}
.contact-header {
  margin-bottom: 36px;
}
.contact-header h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  margin-bottom: 14px;
}
.contact-intro {
  font-size: 1.0625rem;
  line-height: 1.6;
}
.contact-intro a {
  color: var(--cream);
  font-weight: 500;
}
.contact-intro a:hover {
  color: var(--white);
}

.enquiry-form {
  display: grid;
  gap: 22px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
}
.field .required {
  color: var(--cream);
}
.field .optional {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-dim);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  color: var(--white);
  font: 400 1rem/1.5 var(--font-body);
  transition: border-color .2s var(--ease), outline-color .2s var(--ease), background .2s var(--ease);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--cream);
  outline-offset: 1px;
  border-color: var(--cream);
  background: rgba(0, 0, 0, 0.4);
}
.field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f7f3ec' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.field select option {
  background-color: var(--green-surface);
  color: var(--white);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #fca5a5;
}
.field-error {
  font-size: 0.8125rem;
  color: #fca5a5;
  font-weight: 500;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-actions button[aria-busy="true"] {
  opacity: 0.75;
  pointer-events: none;
}
.form-status {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  min-height: 1.5em;
}
.form-status.is-success {
  color: var(--cream);
}
.form-status.is-error {
  color: #fca5a5;
}
.form-status a {
  color: var(--cream);
  font-weight: 600;
}
.form-status a:hover {
  color: var(--white);
}

@media (max-width: 680px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .field-full { grid-column: auto; }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .form-actions .btn {
    width: 100%;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 44px;
  background: var(--green);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-mark {
  width: 72px;
  filter: var(--wordmark-filter);
}
.footer-tagline {
  font-size: 0.875rem;
  color: var(--cream-muted);
}
.footer-contact a {
  color: var(--white);
  font-size: 0.9375rem;
  text-decoration: underline;
}
.footer-contact a:hover {
  color: var(--cream);
}
.footer-meta .small {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
