@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --purpose-bg: #F5F2EB;
  --ethos-bg: #ECE8E0;
  --ink: #111111;
  --white: #FFFFFF;
  --purple: #1F0A23;
  --purple-mid: #350F2E;
  --purple-glow: #442044;
  --footer-bg: #190817;
  --gold: #C79D52;
  --gold-hi: #E0BC65;
  --gold-edge: #B58A40;
  --green: #525E4F;
  --stone: #D8D2C3;
  --gold-text: #845F24;

  --gold-field: linear-gradient(90deg, var(--gold-edge) 0%, var(--gold-hi) 52%, var(--gold) 100%);
  --font: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --container: 1060px;
  --gutter: 24px;
  --focus: var(--gold-hi);

  --fs-hero: clamp(46px, 6.34vw, 76px);
  --fs-h2: clamp(34px, 5vw, 60px);
  --fs-body: clamp(17px, 1.6vw, 19px);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.4;
  color: var(--ink);
  background: var(--purple);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; }

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

.sr-only,
.svg-defs {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

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

.line { display: block; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: 2px;
  background: var(--gold-field);
  color: var(--ink);
  font: 700 13px/1 var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.button:hover { filter: brightness(1.07) saturate(1.05); }
.button:active { transform: translateY(1px); }
.button[disabled] { cursor: progress; filter: saturate(0.6); }

.button .arrow {
  flex: none;
  width: 20px;
  height: 10px;
  transition: transform 0.2s ease;
}

.button:hover .arrow { transform: translateX(3px); }

.button-sm { min-height: 48px; padding-inline: 30px; }

/* Wordmark */

.wordmark {
  display: block;
  flex: none;
  width: 230px;
  color: var(--white);
  text-decoration: none;
}

.wordmark-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.wordmark-descriptor {
  fill: var(--gold);
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 500;
}

.wordmark-gold { color: var(--gold); }

/* Header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--white);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 30px;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 48px;
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: clamp(20px, 2.9vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-list a:hover { color: var(--gold-hi); }

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(224, 188, 101, 0.55);
  border-radius: 2px;
  background: transparent;
  color: var(--gold-hi);
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle-bars { top: 21px; }
.menu-toggle-bars::before,
.menu-toggle-bars::after { content: ""; left: 0; }
.menu-toggle-bars::before { top: -6px; }
.menu-toggle-bars::after { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(6px) rotate(45deg); background: var(--gold-hi); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); background: var(--gold-hi); }

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: clamp(520px, 46.34vw, 760px);
  color: var(--white);
  background-color: var(--purple);
  background-image:
    linear-gradient(90deg, rgba(31, 10, 35, 0.62) 0%, rgba(31, 10, 35, 0.3) 34%, rgba(31, 10, 35, 0) 58%),
    url("img/hero.jpg");
  background-image:
    linear-gradient(90deg, rgba(31, 10, 35, 0.62) 0%, rgba(31, 10, 35, 0.3) 34%, rgba(31, 10, 35, 0) 58%),
    image-set(url("img/hero.webp") type("image/webp"), url("img/hero.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-copy {
  padding: 148px 0 36px;
}

.hero h1 {
  max-width: 530px;
  margin: 0 0 18px;
  font-size: var(--fs-hero);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-lead {
  max-width: 530px;
  margin: 0 0 24px;
  text-shadow: 0 1px 18px rgba(31, 10, 35, 0.6);
}

/* Purpose and ethos */

.feature {
  padding-block: clamp(56px, 5.4vw, 64px);
  --focus: var(--purple-mid);
}

.purpose { background: var(--purpose-bg); }
.ethos { background: var(--ethos-bg); }

.feature-grid {
  display: grid;
  align-items: center;
  column-gap: clamp(32px, 5vw, 64px);
}

.purpose .feature-grid { grid-template-columns: minmax(0, 0.84fr) minmax(0, 1fr); }
.ethos .feature-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.84fr); }

.purpose .feature-art { order: -1; }

.feature-art .art {
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  overflow: visible;
}

.ethos .feature-art .art { margin-left: auto; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-bottom: 18px;
  background: var(--gold);
}

h2 {
  margin: 0 0 22px;
  font-size: var(--fs-h2);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.feature-copy p:not(.eyebrow) {
  max-width: 34em;
  margin: 0;
}

/* Contact */

.contact {
  padding-block: clamp(56px, 5vw, 60px);
  color: var(--white);
  background: radial-gradient(ellipse at 48% 20%, var(--purple-glow) 0%, var(--purple-mid) 40%, var(--purple) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  column-gap: clamp(40px, 7vw, 110px);
  align-items: start;
}

.contact .eyebrow { color: var(--gold); }

.contact h2 { margin-bottom: 16px; }

.contact-copy p:not(.eyebrow) {
  max-width: 22em;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.contact-copy::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 26px;
  background: var(--gold);
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 4px;
}

.field { position: relative; }
.field-wide { grid-column: 1 / -1; }

.field input,
.field textarea {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 19px 14px 6px;
  border: 1px solid rgba(216, 210, 195, 0.42);
  border-radius: 3px;
  background: rgba(31, 10, 35, 0.4);
  color: var(--white);
  font: 400 15px/1.35 var(--font);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field textarea {
  min-height: 96px;
  padding-top: 24px;
  resize: vertical;
}

.field input:hover,
.field textarea:hover { border-color: rgba(216, 210, 195, 0.65); }

.field input:focus,
.field textarea:focus {
  border-color: var(--gold-hi);
  background: rgba(31, 10, 35, 0.6);
  outline: none;
}

.field input:focus-visible,
.field textarea:focus-visible { box-shadow: 0 0 0 1px var(--gold-hi); }

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--gold-hi);
  box-shadow: inset 3px 0 0 var(--gold-hi);
}

.field label {
  position: absolute;
  top: 50%;
  left: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
  transform-origin: left top;
  transition: top 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.field-area label { top: 16px; transform: none; }

.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: 7px;
  color: var(--gold-hi);
  transform: scale(0.82);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  margin-top: 2px;
}

.form-actions .button { min-height: 44px; }

.form-status {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.form-status:empty { display: none; }

.contact-form.is-sent .field,
.contact-form.is-sent .cf-turnstile,
.contact-form.is-sent .form-actions .button { display: none; }

.contact-form.is-sent .form-status {
  padding: 22px 24px;
  border: 1px solid rgba(224, 188, 101, 0.5);
  border-radius: 3px;
  font-size: var(--fs-body);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.site-footer {
  padding: 34px 0 24px;
  border-top: 1px solid rgba(199, 157, 82, 0.32);
  background: var(--footer-bg);
  color: var(--gold);
}

.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px 40px;
}

.site-footer .wordmark { width: 180px; }

.footer-nav {
  justify-content: center;
  gap: clamp(18px, 2.4vw, 32px);
}

.footer-nav a { font-size: 13px; }

.social {
  display: flex;
  justify-self: end;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a,
.social span {
  display: block;
  width: 22px;
  height: 22px;
  color: var(--gold);
  transition: color 0.2s ease;
}

.social a:hover { color: var(--gold-hi); }

.social svg {
  display: block;
  width: 100%;
  height: 100%;
}

.tagline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(199, 157, 82, 0.22);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
}

.tagline::before,
.tagline::after {
  content: "";
  flex: none;
  width: 40px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 0;
  margin: 14px 0 0;
  color: rgba(199, 157, 82, 0.72);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
}

.legal span + span::before {
  content: "·";
  margin: 0 12px;
  color: rgba(199, 157, 82, 0.5);
}

/* Tablet: keep the desktop composition, tighten the header */

@media (max-width: 1024px) {
  .wordmark { width: 190px; }
  .site-menu { gap: 28px; }
  .button-sm { padding-inline: 20px; }
}

/* Phone and small tablet */

@media (max-width: 768px) {
  .header-row { flex-wrap: wrap; padding-top: 20px; }
  .wordmark { width: 150px; }

  .js .menu-toggle { display: block; }

  .js .site-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    margin: 0;
    padding: 12px var(--gutter) 28px;
    background: var(--footer-bg);
    border-bottom: 1px solid rgba(199, 157, 82, 0.32);
  }

  .js .site-menu.is-open { display: flex; }

  .site-header:has(.site-menu.is-open) { background: var(--footer-bg); }
  .site-header:has(.site-menu.is-open) .header-row { padding-bottom: 12px; }

  .js .site-menu .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .js .site-menu .nav-list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(199, 157, 82, 0.18);
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .hero {
    --art-h: max(340px, 50vw);
    min-height: 0;
    background-color: var(--purple);
    background-image:
      linear-gradient(180deg, var(--purple) 0%, var(--purple) calc(100% - var(--art-h) + 10px), rgba(31, 10, 35, 0.55) calc(100% - var(--art-h) * 0.68), rgba(31, 10, 35, 0) calc(100% - var(--art-h) * 0.42)),
      url("img/hero.jpg");
    background-image:
      linear-gradient(180deg, var(--purple) 0%, var(--purple) calc(100% - var(--art-h) + 10px), rgba(31, 10, 35, 0.55) calc(100% - var(--art-h) * 0.68), rgba(31, 10, 35, 0) calc(100% - var(--art-h) * 0.42)),
      image-set(url("img/hero.webp") type("image/webp"), url("img/hero.jpg") type("image/jpeg"));
    background-size: 100% 100%, auto var(--art-h);
    background-position: 0 0, 86% 100%;
  }

  .hero-copy { padding: 128px 0 calc(var(--art-h) - 60px); }
  .hero h1 { font-size: clamp(46px, 13.4vw, 56px); }

  .feature-grid,
  .purpose .feature-grid,
  .ethos .feature-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
  }

  .purpose .feature-art { order: 0; }

  .feature-art .art,
  .ethos .feature-art .art {
    max-width: 280px;
    margin-inline: auto;
  }

  h2 { font-size: clamp(34px, 9.6vw, 40px); }

  .contact-form { grid-template-columns: minmax(0, 1fr); }

  .footer-row {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .tagline { gap: 12px; letter-spacing: 0.16em; font-size: 11px; }

  .legal { flex-direction: column; line-height: 1.6; }
  .legal span + span::before { content: none; }
  .tagline::before,
  .tagline::after { width: 24px; }
}

@media (max-width: 380px) {
  .button { padding-inline: 20px; letter-spacing: 0.14em; }
}

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