/* Spanda Collective 1.1.0 · brand stylesheet.
   Deep olive is the brand colour, burnt terracotta carries the action, with
   rose clay, ochre and a warm cream. Gradients follow Yucatán light (dusk on
   the hero, sunset into cream, olive into near-black green); shadows are tinted
   olive or terracotta and layered. Fraunces (soft display instance) and
   Alegreya Sans (humanist text, 400/500), both OFL, bundled in the package.
   Every token is --sc-*; every rule is scoped to sc-* classes or body.
   The runtime publishes <body> without attributes, so nothing depends on one.
   Contrast (WCAG 2.x): ink on cream 12.95 · soft ink on cream 6.61 · cream on
   olive 7.02 · cream on deep olive 10.85 · cream on terracotta 4.82 · cream on
   card end 6.28 · ink on rose clay 7.11 · cream on night 14.64 · clay numerals
   on olive 3.86 (large text). */

@font-face {
  font-family: "Spanda Fraunces";
  src: url("/_site-assets/font-fraunces") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spanda Alegreya Sans";
  src: url("/_site-assets/font-alegreya-sans-regular") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Spanda Alegreya Sans";
  src: url("/_site-assets/font-alegreya-sans-medium") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --sc-olive: #4D522A;
  --sc-olive-deep: #31351A;
  --sc-olive-night: #1A1D0F;
  --sc-terracotta: #A94B28;
  --sc-terracotta-warm: #B5532F;
  --sc-terracotta-deep: #8E3E1F;
  --sc-clay: #DDA58F;
  --sc-clay-light: #E9BDA8;
  --sc-ochre: #D6A04A;
  --sc-ochre-light: #E8C27E;
  --sc-cream: #F7ECD9;
  --sc-cream-deep: #EFDCBF;
  --sc-field: #FCF5E9;
  --sc-ink: #2A2615;
  --sc-ink-soft: #5A5332;
  --sc-mist: #E2D6B8;
  --sc-focus: #A94B28;
  --sc-serif: "Spanda Fraunces", "Fraunces", Georgia, "Times New Roman", serif;
  --sc-sans: "Spanda Alegreya Sans", "Alegreya Sans", "Gill Sans", "Trebuchet MS", sans-serif;
  --sc-gutter: clamp(1rem, 4.5vw, 4rem);
  --sc-max: 82rem;
  --sc-radius: 1.5rem;
  --sc-radius-small: 0.75rem;
  --sc-shadow-olive: 0 2px 4px rgba(26, 29, 15, 0.18), 0 18px 36px -14px rgba(26, 29, 15, 0.45), 0 48px 90px -40px rgba(26, 29, 15, 0.55);
  --sc-shadow-clay: 0 2px 4px rgba(142, 62, 31, 0.16), 0 20px 40px -16px rgba(142, 62, 31, 0.42), 0 50px 90px -44px rgba(77, 82, 42, 0.5);
  --sc-shadow-card: 0 3px 6px rgba(26, 29, 15, 0.22), 0 28px 56px -20px rgba(26, 29, 15, 0.62), 0 60px 120px -50px rgba(169, 75, 40, 0.65);
}

@media (max-width: 480px) {
  :root {
    --sc-gutter: 1rem;
  }
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--sc-cream);
  color: var(--sc-ink);
  font-family: var(--sc-sans);
  font-size: 1.1875rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body img,
body video {
  display: block;
  max-width: 100%;
  height: auto;
}

body a {
  color: inherit;
}

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

body h1,
body h2,
body h3 {
  margin: 0;
  font-family: var(--sc-serif);
  font-weight: 400;
  color: inherit;
  text-wrap: balance;
}

body h1 {
  font-size: clamp(3rem, 1.4rem + 7vw, 8.25rem);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

body h2 {
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

body h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

body p {
  margin: 0;
  text-wrap: pretty;
}

.sc-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.75rem 1rem;
  border-radius: var(--sc-radius-small);
  background: var(--sc-olive-night);
  color: var(--sc-cream);
  text-decoration: none;
}

.sc-skip:focus {
  top: 1rem;
}

.sc-wrap {
  width: 100%;
  max-width: var(--sc-max);
  margin: 0 auto;
  padding: 0 var(--sc-gutter);
}

/* The one primary button: burnt terracotta, tinted shadow, no icon. */
.sc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.9rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sc-terracotta-warm) 0%, var(--sc-terracotta) 55%, var(--sc-terracotta-deep) 100%);
  color: var(--sc-cream);
  font: 500 1.125rem/1.2 var(--sc-sans);
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.28), 0 2px 4px rgba(26, 29, 15, 0.25), 0 14px 30px -10px rgba(142, 62, 31, 0.7);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

body .sc-button {
  color: var(--sc-cream);
}

.sc-button:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 236, 214, 0.28), 0 3px 6px rgba(26, 29, 15, 0.28), 0 20px 38px -12px rgba(142, 62, 31, 0.8);
}

.sc-button:active {
  transform: translateY(1px);
}

.sc-button[disabled],
.sc-button[aria-busy="true"] {
  cursor: progress;
  opacity: 0.82;
}

/* Header: transparent over the hero footage. */
.sc-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: var(--sc-cream);
  --sc-focus: var(--sc-cream);
}

.sc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
}

.sc-brand {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  flex-shrink: 0;
}

.sc-brand img {
  width: 12.5rem;
  height: auto;
}

.sc-nav {
  display: none;
  gap: 2rem;
}

.sc-nav a,
.sc-lang,
.sc-header__cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--sc-cream);
  font-size: 1.0625rem;
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(26, 29, 15, 0.45);
}

.sc-nav a:hover,
.sc-lang:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.sc-header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.sc-header__cta {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--sc-ochre-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

.sc-header__cta:hover {
  color: var(--sc-ochre-light);
}

@media (min-width: 1080px) {
  .sc-nav {
    display: flex;
  }
  .sc-brand img {
    width: 14rem;
  }
}

@media (max-width: 420px) {
  .sc-header__inner {
    min-height: 4.25rem;
    gap: 0.75rem;
  }
  .sc-brand img {
    width: 9.25rem;
  }
  .sc-header__actions {
    gap: 1rem;
  }
}

@media (max-width: 340px) {
  .sc-brand img {
    width: 8.25rem;
  }
}

/* Hero: full-bleed footage, dusk veil, the title set large on top. */
.sc-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(100svh, 60rem);
  color: var(--sc-cream);
  background: var(--sc-olive-night);
  --sc-focus: var(--sc-cream);
}

.sc-hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sc-hero__media img,
.sc-hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.sc-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 0% 100%, rgba(169, 75, 40, 0.5) 0%, rgba(169, 75, 40, 0) 60%),
    linear-gradient(180deg, rgba(26, 29, 15, 0.55) 0%, rgba(26, 29, 15, 0) 22%, rgba(26, 29, 15, 0.08) 45%, rgba(31, 33, 16, 0.72) 78%, rgba(26, 29, 15, 0.9) 100%);
}

.sc-hero__copy {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 1.5rem;
  padding-top: 8rem;
  padding-bottom: clamp(3.5rem, 9vw, 7rem);
}

.sc-hero h1 {
  max-width: 11.5ch;
  text-shadow: 0 2px 30px rgba(26, 29, 15, 0.35);
}

.sc-lede {
  max-width: 30rem;
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  line-height: 1.45;
  color: var(--sc-cream);
}

@media (prefers-reduced-motion: reduce) {
  .sc-hero__video {
    display: none !important;
  }
}

/* Retreat: sunset falling into cream; photos spill into the olive section. */
.sc-retreat {
  position: relative;
  z-index: 2;
  padding: clamp(4.5rem, 9vw, 8.5rem) 0 0;
  background: linear-gradient(180deg, #DE9A63 0%, #E8B97F 16%, #F1D6AA 36%, var(--sc-cream) 62%);
}

.sc-retreat__grid {
  display: grid;
  gap: 1.75rem;
}

.sc-retreat h2 {
  max-width: 13ch;
}

.sc-retreat__text {
  display: grid;
  gap: 1.1rem;
  max-width: 34rem;
  color: var(--sc-ink-soft);
}

.sc-retreat__text p:first-child {
  color: var(--sc-ink);
  font-size: clamp(1.25rem, 1.15rem + 0.4vw, 1.4375rem);
  line-height: 1.45;
}

.sc-photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--sc-radius);
  background: var(--sc-cream-deep);
}

.sc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sc-retreat__media {
  position: relative;
  margin-top: 1rem;
  padding-bottom: 5rem;
  margin-bottom: -5rem;
}

.sc-retreat__wide {
  width: 88%;
  aspect-ratio: 4 / 3;
  box-shadow: var(--sc-shadow-clay);
}

.sc-retreat__tall {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 42%;
  aspect-ratio: 2 / 3;
  border: 0;
  box-shadow: var(--sc-shadow-olive);
}

@media (min-width: 900px) {
  .sc-retreat__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 2rem);
    row-gap: 2.5rem;
  }
  .sc-retreat h2 {
    grid-column: 1 / span 9;
  }
  .sc-retreat__text {
    grid-column: 1 / span 5;
    align-self: start;
    padding-top: 1rem;
  }
  .sc-retreat__media {
    grid-column: 6 / span 7;
    margin-top: -1rem;
    padding-bottom: 9rem;
    margin-bottom: -9rem;
  }
  .sc-retreat__wide {
    width: 84%;
    margin-left: auto;
  }
  .sc-retreat__tall {
    left: 0;
    right: auto;
    width: 36%;
  }
}

/* Practices: deep olive, editorial numbered list and a mounted photo set. */
.sc-practices {
  position: relative;
  z-index: 1;
  padding: clamp(8rem, 14vw, 13rem) 0 clamp(5rem, 9vw, 8rem);
  color: var(--sc-cream);
  background:
    radial-gradient(90% 60% at 100% 0%, rgba(214, 160, 74, 0.16) 0%, rgba(214, 160, 74, 0) 60%),
    linear-gradient(180deg, var(--sc-olive) 0%, var(--sc-olive-deep) 58%, var(--sc-olive-night) 100%);
  --sc-focus: var(--sc-cream);
}

.sc-practices__grid {
  display: grid;
  gap: 2.5rem;
}

.sc-practices__head {
  display: grid;
  gap: 1.25rem;
  max-width: 34rem;
}

.sc-practices__head p {
  color: var(--sc-mist);
}

.sc-practices__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sc-practice;
}

.sc-practices__list li {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  column-gap: 1rem;
  row-gap: 0.4rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(247, 236, 217, 0.16);
  counter-increment: sc-practice;
}

.sc-practices__list li::before {
  content: counter(sc-practice);
  grid-row: 1 / span 2;
  font-family: var(--sc-serif);
  font-size: clamp(2.75rem, 2.2rem + 2vw, 3.75rem);
  line-height: 0.85;
  color: var(--sc-clay);
}

.sc-practices__list h3,
.sc-practices__list p {
  grid-column: 2;
}

.sc-practices__list p {
  max-width: 32rem;
  color: var(--sc-mist);
  font-size: 1.125rem;
}

.sc-practices__media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  max-width: 34rem;
}

@media (max-width: 899px) {
  .sc-practices__list {
    order: 2;
  }
  .sc-practices__list li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
}

.sc-practices__photo {
  position: absolute;
  box-shadow: var(--sc-shadow-olive);
  background: var(--sc-olive-deep);
}

.sc-practices__photo--1 {
  left: 0;
  top: 0;
  width: 64%;
  aspect-ratio: 2 / 3;
}

.sc-practices__photo--2 {
  right: 0;
  top: 12%;
  width: 44%;
  aspect-ratio: 3 / 4;
}

.sc-practices__photo--3 {
  right: 10%;
  bottom: 0;
  width: 40%;
  aspect-ratio: 4 / 5;
  z-index: 1;
}

@media (min-width: 900px) {
  .sc-practices__grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
    row-gap: 3rem;
  }
  .sc-practices__head,
  .sc-practices__list {
    grid-column: 1;
  }
  .sc-practices__media {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: 2rem;
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1.2;
  }
  .sc-practices__list li {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
}

/* Venue: rose clay; the pool photograph bleeds to the page edge. */
.sc-venue {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: linear-gradient(160deg, var(--sc-clay-light) 0%, var(--sc-clay) 55%, #D39478 100%);
  color: var(--sc-ink);
}

.sc-venue__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  max-width: 96rem;
  margin: 0 auto;
}

.sc-venue__media {
  position: relative;
  padding-bottom: 3.5rem;
}

.sc-venue__pool {
  aspect-ratio: 4 / 3;
  border-radius: 0;
  box-shadow: var(--sc-shadow-clay);
}

.sc-venue__forest {
  position: absolute;
  right: var(--sc-gutter);
  bottom: 0;
  width: 46%;
  aspect-ratio: 3 / 2;
  box-shadow: var(--sc-shadow-olive);
}

.sc-venue__body {
  display: grid;
  gap: 1.5rem;
  align-content: center;
  padding: 0 var(--sc-gutter);
  max-width: 38rem;
}

.sc-venue__body > p {
  color: var(--sc-ink);
}

.sc-venue__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-venue__list li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(42, 38, 21, 0.2);
  font-family: var(--sc-serif);
  font-size: clamp(1.3rem, 1.2rem + 0.4vw, 1.6rem);
  line-height: 1.2;
}

.sc-venue__note {
  font-size: 1.0625rem;
}

@media (min-width: 900px) {
  .sc-venue__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
  }
  .sc-venue__pool {
    border-radius: 0 var(--sc-radius) var(--sc-radius) 0;
  }
  .sc-venue__forest {
    right: -6%;
  }
  .sc-venue__body {
    padding: 0 var(--sc-gutter) 0 clamp(1rem, 3vw, 3rem);
  }
}

/* Rhythm: one day, from late light into night. */
.sc-rhythm {
  padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(5rem, 10vw, 9rem);
  color: var(--sc-cream);
  background: linear-gradient(180deg, var(--sc-terracotta) 0%, var(--sc-terracotta-deep) 30%, #4A3119 64%, var(--sc-olive-night) 100%);
  --sc-focus: var(--sc-cream);
}

.sc-rhythm__head {
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.sc-rhythm__head p {
  color: var(--sc-cream);
}

.sc-rhythm__list {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sc-rhythm__item {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.sc-rhythm__item p {
  color: var(--sc-mist);
  font-size: 1.125rem;
  max-width: 26rem;
}

.sc-rhythm__photo {
  aspect-ratio: 4 / 3;
  background: var(--sc-terracotta-deep);
  box-shadow: 0 2px 4px rgba(26, 29, 15, 0.25), 0 26px 50px -20px rgba(26, 29, 15, 0.7);
}

.sc-rhythm__item:nth-child(3) .sc-rhythm__photo {
  aspect-ratio: 4 / 5;
}

@media (max-width: 899px) {
  .sc-rhythm__item:nth-child(2) {
    width: 86%;
    margin-left: auto;
  }
}

@media (min-width: 900px) {
  .sc-rhythm__list {
    grid-template-columns: 1.15fr 1fr 0.9fr;
    column-gap: clamp(1.5rem, 3vw, 3rem);
    align-items: start;
  }
  .sc-rhythm__item:nth-child(2) {
    margin-top: 5rem;
  }
  .sc-rhythm__item:nth-child(2) .sc-rhythm__photo {
    aspect-ratio: 1 / 1;
  }
  .sc-rhythm__item:nth-child(3) {
    margin-top: 10rem;
  }
}

/* FAQ: cream page, hairline dividers only. */
.sc-faq {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  background: radial-gradient(80% 60% at 0% 0%, rgba(232, 194, 126, 0.32) 0%, rgba(232, 194, 126, 0) 70%), var(--sc-cream);
}

.sc-faq__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
}

.sc-faq__list {
  border-bottom: 1px solid rgba(42, 38, 21, 0.22);
}

.sc-faq__item {
  border-top: 1px solid rgba(42, 38, 21, 0.22);
}

body .sc-faq__item h3 {
  font-size: clamp(1.3rem, 1.2rem + 0.5vw, 1.65rem);
}

.sc-faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 1.25rem 0;
  border: 0;
  background: transparent;
  color: var(--sc-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.sc-faq__trigger:hover {
  color: var(--sc-terracotta);
}

.sc-faq__icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--sc-terracotta);
}

.sc-faq__icon::before,
.sc-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.sc-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 200ms ease;
}

.sc-faq__trigger[aria-expanded="true"] .sc-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.sc-faq__panel {
  max-width: 40rem;
  padding: 0 3rem 1.5rem 0;
  color: var(--sc-ink-soft);
}

.sc-faq__panel[hidden] {
  display: none;
}

.sc-faq__panel a {
  color: var(--sc-terracotta);
  text-underline-offset: 0.25em;
}

@media (min-width: 900px) {
  .sc-faq__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
}

@media (max-width: 600px) {
  .sc-faq__panel {
    padding-right: 0;
  }
}

/* Registration: a terracotta invitation lifted off deep olive. */
.sc-register {
  padding: clamp(4.5rem, 9vw, 8rem) 0;
  color: var(--sc-cream);
  background:
    radial-gradient(70% 60% at 85% 100%, rgba(169, 75, 40, 0.28) 0%, rgba(169, 75, 40, 0) 70%),
    linear-gradient(180deg, var(--sc-olive) 0%, var(--sc-olive-deep) 100%);
  scroll-margin-top: 0;
  --sc-focus: var(--sc-cream);
}

.sc-register__grid {
  display: grid;
}

.sc-register__photo {
  display: none;
}

.sc-register__card {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border-radius: var(--sc-radius);
  background:
    radial-gradient(90% 70% at 0% 0%, rgba(214, 160, 74, 0.22) 0%, rgba(214, 160, 74, 0) 60%),
    linear-gradient(155deg, var(--sc-terracotta) 0%, #9C4524 45%, var(--sc-terracotta-deep) 100%);
  box-shadow: var(--sc-shadow-card);
}

.sc-register__body {
  max-width: 34rem;
  color: var(--sc-cream);
}

.sc-form {
  display: grid;
  gap: 1.1rem 1rem;
  margin-top: 0.5rem;
}

.sc-field {
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.sc-field label {
  font-weight: 500;
  font-size: 1rem;
}

.sc-field__hint {
  font-size: 0.9375rem;
  color: var(--sc-cream);
}

.sc-field input {
  width: 100%;
  min-height: 3.375rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: var(--sc-radius-small);
  background: var(--sc-field);
  color: var(--sc-ink);
  font: 400 1.0625rem/1.4 var(--sc-sans);
  box-shadow: inset 0 2px 4px rgba(142, 62, 31, 0.18), 0 1px 0 rgba(255, 236, 214, 0.25);
}

.sc-field input::placeholder {
  color: #7A6F55;
}

.sc-field input:focus-visible {
  outline: 3px solid var(--sc-ochre-light);
  outline-offset: 2px;
}

.sc-field input[aria-invalid="true"] {
  box-shadow: inset 0 2px 4px rgba(142, 62, 31, 0.18), 0 0 0 3px var(--sc-olive-night);
}

.sc-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--sc-cream);
  cursor: pointer;
}

.sc-consent input {
  width: 1.3rem;
  height: 1.3rem;
  margin: 0.12rem 0 0;
  accent-color: var(--sc-olive);
}

.sc-consent input[aria-invalid="true"] {
  outline: 3px solid var(--sc-olive-night);
  outline-offset: 2px;
}

/* On the terracotta card the submit turns deep olive so it still contrasts. */
.sc-button--submit {
  width: 100%;
  min-height: 3.75rem;
  margin-top: 0.25rem;
  background: linear-gradient(180deg, var(--sc-olive) 0%, var(--sc-olive-deep) 60%, var(--sc-olive-night) 100%);
  box-shadow: inset 0 1px 0 rgba(247, 236, 217, 0.18), 0 2px 4px rgba(26, 29, 15, 0.3), 0 16px 32px -12px rgba(26, 29, 15, 0.75);
}

.sc-button--submit:hover {
  box-shadow: inset 0 1px 0 rgba(247, 236, 217, 0.18), 0 3px 6px rgba(26, 29, 15, 0.32), 0 22px 40px -14px rgba(26, 29, 15, 0.85);
}

.sc-status {
  min-height: 1.5em;
  font-size: 1rem;
  color: var(--sc-cream);
}

.sc-status:empty {
  min-height: 0;
}

.sc-status[data-state="error"],
.sc-status[data-state="success"] {
  padding: 0.6rem 0.9rem;
  border-radius: var(--sc-radius-small);
  background: rgba(26, 29, 15, 0.42);
  font-weight: 500;
}

@media (min-width: 640px) {
  .sc-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .sc-field--wide,
  .sc-consent,
  .sc-button--submit,
  .sc-status {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1000px) {
  .sc-register__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
  }
  .sc-register__photo {
    display: block;
    grid-column: 1 / span 5;
    grid-row: 1;
    aspect-ratio: 2 / 3;
    box-shadow: var(--sc-shadow-olive);
  }
  .sc-register__card {
    grid-column: 5 / span 8;
    grid-row: 1;
    z-index: 1;
  }
}

/* Toast (driven by the application lead-capture runtime) */
.sc-toast {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
  display: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.25rem 1rem;
  width: min(30rem, calc(100% - 2rem));
  padding: 1rem 1rem 1rem 1.25rem;
  border-radius: var(--sc-radius-small);
  background: var(--sc-olive-deep);
  color: var(--sc-cream);
  box-shadow: var(--sc-shadow-olive);
  transform: translateX(-50%);
  --sc-focus: var(--sc-cream);
}

.sc-toast[data-show="true"] {
  display: grid;
}

.sc-toast[data-kind="error"] {
  background: var(--sc-terracotta-deep);
}

.sc-toast__title {
  grid-column: 1;
  font-weight: 500;
}

.sc-toast__body {
  grid-column: 1;
  font-size: 1rem;
}

.sc-toast__close {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: start;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 400 1.5rem/1 var(--sc-sans);
  cursor: pointer;
}

.sc-toast__close:hover {
  background: rgba(247, 236, 217, 0.14);
}

/* Footer */
.sc-footer {
  padding: clamp(3.5rem, 7vw, 5rem) 0 2.5rem;
  background: var(--sc-olive-night);
  color: var(--sc-cream);
  --sc-focus: var(--sc-cream);
}

.sc-footer__grid {
  display: grid;
  gap: 2rem;
}

.sc-footer__brand {
  display: grid;
  gap: 0.75rem;
}

.sc-footer__brand img {
  width: 15rem;
}

.sc-footer__brand p,
.sc-footer__legal {
  color: var(--sc-mist);
  font-size: 1rem;
}

.sc-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.sc-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--sc-cream);
  text-underline-offset: 0.3em;
}

.sc-footer__links a:hover {
  color: var(--sc-ochre-light);
}

@media (min-width: 900px) {
  .sc-footer__grid {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (prefers-reduced-motion: reduce) {
  body *,
  body *::before,
  body *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
