:root {
  --bg: #f4efe7;
  --bg-deep: #e9ddd0;
  --panel: rgba(255, 248, 239, 0.82);
  --panel-strong: rgba(255, 251, 246, 0.96);
  --line: rgba(57, 41, 32, 0.14);
  --line-strong: rgba(57, 41, 32, 0.24);
  --text: #191311;
  --muted: #66584e;
  --accent: #815a45;
  --accent-deep: #533529;
  --forest: #243d39;
  --forest-soft: #3e5b56;
  --shadow: 0 24px 70px rgba(54, 39, 29, 0.12);
  --shadow-soft: 0 18px 40px rgba(54, 39, 29, 0.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.74), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(129, 90, 69, 0.12), transparent 26%),
    linear-gradient(180deg, #f8f3ed 0%, var(--bg) 34%, #efe5d8 100%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1rem 0 0;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(248, 242, 235, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

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

.brand-lockup {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.7rem;
}

.brand-mark {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
  padding-bottom: 0.08rem;
}

.brand-name {
  color: var(--text);
  font-size: 2.25rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.brand-tagline {
  color: var(--text);
  font-size: 0.82rem;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

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

.nav-pill,
.nav-cta {
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-pill {
  border: 1px solid rgba(36, 61, 57, 0.22);
  background: rgba(255, 251, 246, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.nav-pill:hover,
.nav-pill:focus-visible {
  border-color: rgba(36, 61, 57, 0.34);
  background: rgba(255, 251, 246, 0.98);
}

.nav-pill-secondary {
  color: var(--forest) !important;
}

.nav-cta {
  color: #f7f0e7 !important;
  background: linear-gradient(135deg, var(--forest), var(--forest-soft));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-section {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.hero-grid > *,
.section-grid > *,
.vision-grid > *,
.location-grid > *,
.register-grid > *,
.highlight-grid > *,
.process-steps > *,
.vision-list > *,
.footer-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cinzel", serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.9rem, 5.8vw, 5.6rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.22rem;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.hero-lead {
  max-width: 58ch;
  margin-top: 1.35rem;
  font-size: 1.18rem;
}

.hero-copy {
  max-width: 760px;
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.92rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease,
    color 220ms ease;
  cursor: pointer;
}

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

.button-primary {
  color: #f8f4ee;
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  box-shadow: 0 18px 34px rgba(83, 53, 41, 0.22);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255, 251, 246, 0.7);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(83, 53, 41, 0.28);
  background: rgba(255, 251, 246, 0.95);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.fact-card,
.highlight-card,
.step-card,
.location-card,
.interest-form,
.hero-side-note,
.vision-panel {
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: var(--panel);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

.fact-card {
  padding: 1.2rem 1rem 1rem;
  border-radius: var(--radius-md);
}

.fact-value {
  display: block;
  color: var(--text);
  font-family: "Cinzel", serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.fact-label {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.9;
  pointer-events: none;
}

.hero-visual::before {
  top: -2rem;
  right: 4rem;
  width: 11rem;
  height: 11rem;
  background: rgba(134, 106, 79, 0.12);
}

.hero-visual::after {
  bottom: 2rem;
  left: -1rem;
  width: 7rem;
  height: 7rem;
  background: rgba(36, 61, 57, 0.14);
}

.hero-render-frame {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.94), rgba(241, 231, 220, 0.94));
  box-shadow: var(--shadow);
}

.hero-render-frame img {
  width: 100%;
  height: auto;
}

.render-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-side-note {
  width: min(320px, calc(100% - 2rem));
  margin: -3rem 0 0 auto;
  padding: 1.25rem 1.3rem;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

.note-label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-text {
  margin-top: 0.55rem;
  font-size: 0.98rem;
}

section {
  position: relative;
}

.overview-section,
.process-section,
.location-section,
.faq-section,
.register-section {
  padding: 2rem 0 0;
}

.vision-section {
  padding: 2rem 0 0;
}

.section-grid,
.vision-grid,
.location-grid,
.register-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  align-items: start;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.compact-heading {
  margin-bottom: 2rem;
}

.overview-copy,
.process-steps,
.vision-list {
  display: grid;
  gap: 1rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-card,
.step-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.highlight-card p,
.step-card p,
.vision-list p {
  margin-top: 0.75rem;
}

.vision-panel {
  padding: 2rem;
  border-radius: 32px;
}

.vision-panel p:last-child {
  margin-top: 1rem;
}

.vision-list {
  align-self: stretch;
}

.vision-list article {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.vision-list article:first-child {
  padding-top: 0;
}

.vision-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: "Cinzel", serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.location-card {
  padding: 1.8rem;
  border-radius: 30px;
}

.location-card dl {
  display: grid;
  gap: 1.15rem;
}

.location-card dt {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.8rem;
  font-weight: 700;
}

.location-card dd {
  margin: 0.4rem 0 0;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-list details {
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background: rgba(255, 249, 242, 0.76);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-family: "Cinzel", serif;
  font-size: 1.02rem;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin-top: 0.85rem;
}

.register-grid {
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 252, 247, 0.88), rgba(241, 230, 219, 0.92)),
    linear-gradient(180deg, rgba(129, 90, 69, 0.04), transparent);
  box-shadow: var(--shadow);
}

.register-note {
  margin-top: 1rem;
  font-size: 0.98rem;
}

.register-note a {
  color: var(--forest);
  text-decoration: underline;
}

.interest-form {
  padding: 1.4rem;
  border-radius: 28px;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.field-row.single {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 600;
}

.field label span,
.form-meta span {
  color: var(--accent-deep);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.96rem 1rem;
  border: 1px solid rgba(82, 61, 48, 0.16);
  border-radius: 16px;
  background: rgba(255, 253, 250, 0.94);
  color: var(--text);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(82, 61, 48, 0.24);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: rgba(83, 53, 41, 0.36);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 4px rgba(129, 90, 69, 0.12);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: rgba(143, 57, 45, 0.55);
  box-shadow: 0 0 0 4px rgba(143, 57, 45, 0.09);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-meta {
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.4rem;
  margin-top: 1rem;
  color: var(--forest);
  font-size: 0.96rem;
}

.site-footer {
  padding: 2.25rem 0 3.25rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.footer-brand {
  max-width: 420px;
}

.footer-lockup {
  align-items: flex-end;
}

.footer-mark {
  width: 50px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  justify-content: flex-end;
  color: var(--muted);
}

.footer-links a {
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

@media (max-width: 1024px) {
  .hero-grid,
  .section-grid,
  .vision-grid,
  .location-grid,
  .register-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2rem;
  }

  .section-heading h2 {
    max-width: 100%;
  }

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

@media (max-width: 860px) {
  .site-header {
    padding-top: 0.8rem;
  }

  .nav-wrap {
    padding: 0.9rem 1rem;
    border-radius: 26px;
    align-items: center;
  }

  .brand-name {
    font-size: 1.95rem;
  }

  .site-nav {
    gap: 0.7rem;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .site-nav .nav-pill,
  .site-nav .nav-cta {
    text-align: center;
    padding: 0.76rem 1rem;
  }

  .hero-facts,
  .field-row,
  .form-footer,
  .footer-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-side-note {
    width: 100%;
    margin: 1rem 0 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--max-width));
  }

  .hero-section {
    padding-top: 4rem;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.35rem);
    line-height: 0.99;
  }

  h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.35rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .fact-card,
  .highlight-card,
  .step-card,
  .vision-panel,
  .location-card,
  .interest-form,
  .register-grid {
    border-radius: 22px;
  }

  .register-grid {
    padding: 1.35rem;
  }

  .interest-form {
    padding: 1rem;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .nav-wrap {
    gap: 0.8rem;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a:not(.nav-cta) {
    font-size: 0.86rem;
  }

  .site-nav .nav-pill,
  .site-nav .nav-cta {
    width: auto;
    min-height: 44px;
    padding: 0.7rem 0.95rem;
    font-size: 0.86rem;
  }

  .brand-lockup {
    gap: 0.55rem;
  }

  .brand-mark,
  .footer-mark {
    width: 46px;
  }

  .brand-name {
    font-size: 1.55rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .location-card dd,
  p {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
