:root {
  color-scheme: light;
  --bg: #f6f1ea;
  --bg-deep: #efe7dc;
  --ink: #142026;
  --muted: #3f4c57;
  --accent: #d98439;
  --accent-strong: #bd6f2b;
  --accent-soft: #f6d4b2;
  --accent-2: #2c6e6a;
  --surface: #ffffff;
  --surface-2: #fbf7f1;
  --line: rgba(20, 32, 38, 0.12);
  --shadow: 0 24px 70px rgba(20, 32, 38, 0.15);
  --radius: 18px;
  --radius-lg: 28px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, var(--bg), #fff7ec 45%, var(--bg-deep));
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% 0 auto 0;
  height: 60vh;
  background: radial-gradient(circle at 20% 20%, rgba(217, 132, 57, 0.22), transparent 60%),
    radial-gradient(circle at 70% 10%, rgba(44, 110, 106, 0.18), transparent 55%);
  pointer-events: none;
  z-index: -1;
}

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

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

a:hover,
a:focus-visible {
  color: var(--accent-strong);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 50;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(246, 241, 234, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  display: grid;
  place-items: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

.logo-tag {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.nav a {
  position: relative;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 30px rgba(217, 132, 57, 0.25);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-strong);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.hero {
  padding: 5rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content {
  grid-column: span 7;
}

.hero-content h1 {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2.5rem, 3.6vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 600;
  margin: 0 0 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
}

.stat {
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--line);
}

.stat-value {
  display: block;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-media {
  grid-column: span 5;
}

.hero-figure {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.hero-figure figcaption {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--surface);
}

.section {
  padding: 4.5rem 0;
  scroll-margin-top: 100px;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  margin: 0 0 1rem;
}

.section-heading p {
  color: var(--muted);
  margin: 0;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  grid-column: span 5;
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-content {
  grid-column: span 7;
}

.split-content h2 {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  margin: 0 0 1rem;
}

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

.callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.callout-title {
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--line);
  box-shadow: 0 18px 35px rgba(20, 32, 38, 0.08);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  margin: 0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.badge {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-live {
  background: rgba(44, 110, 106, 0.15);
  color: var(--accent-2);
}

.badge-soon {
  background: rgba(217, 132, 57, 0.15);
  color: var(--accent-strong);
}

.badge-invite {
  background: rgba(20, 32, 38, 0.08);
  color: var(--muted);
}

.text-link {
  font-weight: 600;
  color: var(--accent-2);
}

.text-muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.principles {
  background: linear-gradient(140deg, rgba(44, 110, 106, 0.08), transparent 40%),
    linear-gradient(300deg, rgba(217, 132, 57, 0.12), transparent 50%);
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.principle {
  padding: 1.5rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.principle h3 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

.contact {
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.contact-card {
  grid-column: span 7;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  margin-top: 0;
}

.contact-card p {
  color: var(--muted);
}

.contact-details {
  grid-column: span 5;
  display: grid;
  gap: 1.5rem;
}

.detail-block {
  background: var(--surface-2);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.detail-title {
  font-weight: 600;
  margin: 0 0 0.75rem;
}

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

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .hero-grid,
  .split-grid,
  .contact-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .hero-content,
  .hero-media,
  .split-media,
  .split-content,
  .contact-card,
  .contact-details {
    grid-column: span 1;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
  }

  .nav {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .footer-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn {
    transition: none;
  }
}
