:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #626262;
  --paper: #f7f4ef;
  --surface: #ffffff;
  --soft: #ece6dd;
  --line: #d8d0c5;
  --accent: #b84f3d;
  --sage: #52685f;
  --gold: #b88939;
  --shadow: 0 22px 60px rgba(17, 17, 17, 0.12);
  font-family:
    "Helvetica Neue", Arial, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--surface);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-visible {
  color: var(--ink);
  background: rgba(247, 244, 239, 0.96);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  display: grid;
  gap: 0;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-logo strong {
  font-size: 1.05rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: flex;
  align-items: center;
  padding: 110px clamp(20px, 5vw, 72px) 76px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.86) 0%, rgba(17, 17, 17, 0.65) 42%, rgba(17, 17, 17, 0.1) 78%),
    var(--hero-image, url("assets/hero-acceptance.png"));
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: grayscale(1);
}

.hero-panel {
  max-width: 760px;
  color: var(--surface);
}

.eyebrow,
.section-kicker,
.article-meta,
.space-type {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0d59a;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.9;
}

.hero-lede {
  max-width: 650px;
  margin: 26px 0 0;
  font-size: 1.28rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.hero-note {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--surface);
  background: rgba(17, 17, 17, 0.44);
  backdrop-filter: blur(16px);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
}

.button-primary {
  color: var(--surface);
  background: var(--ink);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.22);
}

.hero .button-primary {
  color: var(--ink);
  background: var(--surface);
}

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

.button-secondary {
  color: var(--surface);
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.section,
.intro-band,
.contact-section {
  padding: 88px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band,
.spaces-section {
  background: var(--surface);
}

.intro-grid,
.movement-layout,
.contact-layout,
.footer-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.02;
}

h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.25;
}

.intro-copy p,
.movement-layout p,
.contact-layout p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.06rem;
}

.theme-grid,
.article-grid,
.space-grid {
  display: grid;
  gap: 18px;
}

.theme-grid {
  grid-template-columns: repeat(4, 1fr);
}

.theme-card,
.article-card,
.space-card,
.contact-form,
.movement-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.theme-card,
.article-card {
  min-height: 230px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}

.theme-card:has(.theme-image) {
  padding-top: 16px;
}

.theme-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  margin-bottom: 18px;
  border-radius: 6px;
  object-fit: cover;
}

.theme-card:has(.theme-image) .theme-number {
  margin-bottom: 14px;
}

.theme-number {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--sage);
  font-weight: 900;
}

.theme-card p,
.article-card p,
.space-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.space-grid {
  grid-template-columns: 1.18fr 1fr 1fr;
}

.space-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.space-card:hover,
.space-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.space-card strong {
  margin-top: auto;
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
  width: fit-content;
}

.featured-space {
  color: var(--surface);
  background: var(--ink);
  border-color: var(--ink);
}

.featured-space p,
.featured-space .space-type,
.featured-space strong {
  color: rgba(255, 255, 255, 0.84);
}

.featured-space strong {
  border-color: var(--accent);
}

.movement-band {
  color: var(--surface);
  background: var(--ink);
}

.movement-band .section-kicker {
  color: #f0d59a;
}

.movement-band p {
  color: rgba(255, 255, 255, 0.72);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: currentColor;
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

.movement-card {
  min-height: 330px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  padding: 32px;
  color: var(--ink);
  text-align: center;
  background: var(--surface);
}

.movement-card span,
.movement-card strong {
  display: block;
  font-size: clamp(1.1rem, 3vw, 2.1rem);
  line-height: 0.9;
}

.movement-card strong {
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.movement-card p,
.movement-card small {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 900;
}

.movement-card small {
  margin-top: 0;
}

.article-grid {
  grid-template-columns: repeat(3, 1fr);
}

.article-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
}

.article-card a {
  width: fit-content;
  margin-top: auto;
  color: var(--ink);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}

.contact-section {
  background: var(--soft);
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-weight: 900;
}

.contact-details a {
  color: var(--ink);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c9c0b5;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--surface);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
  outline: 3px solid rgba(184, 79, 61, 0.18);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.site-footer {
  padding: 26px 0;
  color: var(--surface);
  background: var(--ink);
}

.footer-layout {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
}

.footer-layout p {
  margin: 0;
}

.footer-layout div {
  display: flex;
  gap: 18px;
  font-weight: 900;
}

.space-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
  background: var(--paper);
}

.space-page-card {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 54px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.space-page-card h1 {
  margin: 0;
  font-size: clamp(2.3rem, 7vw, 5.4rem);
  line-height: 0.9;
}

.space-page-card p {
  color: var(--muted);
  font-size: 1.08rem;
}

.space-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.space-page-actions .button-secondary {
  color: var(--ink);
  border-color: var(--ink);
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 90svh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background-position: 62% center;
  }

  .hero-note {
    position: static;
    flex-wrap: wrap;
    width: fit-content;
    margin-top: 34px;
  }

  .intro-grid,
  .movement-layout,
  .contact-layout,
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .theme-grid,
  .space-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-space {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand-logo strong {
    font-size: 0.94rem;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 88svh;
    padding: 94px 20px 52px;
    background:
      linear-gradient(180deg, rgba(17, 17, 17, 0.84) 0%, rgba(17, 17, 17, 0.68) 58%, rgba(17, 17, 17, 0.32) 100%),
      var(--hero-image, url("assets/hero-acceptance.png"));
    background-position: 68% center;
  }

  .hero-lede {
    font-size: 1.08rem;
  }

  .hero-note {
    display: none;
  }

  .hero-actions,
  .space-page-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .intro-band,
  .contact-section {
    padding: 62px 0;
  }

  .theme-grid,
  .space-grid {
    grid-template-columns: 1fr;
  }

  .theme-card,
  .article-card,
  .space-card,
  .contact-form {
    padding: 20px;
  }

  .footer-layout div {
    flex-wrap: wrap;
  }
}
