/* Scriel. Midnight, parchment, mulberry. No tracking, no script. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-500.woff2") format("woff2");
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/cormorant-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/jost-400.woff2") format("woff2");
}

@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/jost-500.woff2") format("woff2");
}

:root {
  --ink: #1c1a33;
  --parchment: #f5efe4;
  --clay: #e6cfc4;
  --gold: #b58b4c;
  --gold-bright: #d9b27a;
  --plum: #5a3d6b;
  --mulberry: #8c3f63;
  --mulberry-deep: #732e4e;
  --serif: "Cormorant Garamond", Palatino, "Palatino Linotype", "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  text-wrap: balance;
}

a {
  color: var(--mulberry);
}

a:hover {
  color: var(--mulberry-deep);
}

:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-180%);
  background: var(--parchment);
  color: var(--ink);
  padding: 0.55rem 0.9rem;
  z-index: 5;
  font-weight: 500;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

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

.kicker {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.kicker.on-dark {
  color: var(--gold-bright);
}

.kicker.on-light {
  color: var(--plum);
}

.kicker.mark {
  color: var(--mulberry);
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.band {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 38rem;
  margin: 0 auto 2.5rem;
}

.section-head h2 {
  font-size: clamp(2.45rem, 5vw, 3.75rem);
  line-height: 1.08;
  color: var(--ink);
}

.intro {
  margin-top: 1rem;
  color: var(--plum);
}

.hero {
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(90, 61, 107, 0.5), transparent 62%),
    var(--ink);
  padding: 0.65rem;
  -webkit-font-smoothing: antialiased;
}

.hero-frame {
  position: relative;
  border: 1px solid rgba(217, 178, 122, 0.6);
  padding: 2.4rem 1rem 3.1rem;
  text-align: center;
}

.hero :focus-visible,
.notify-card :focus-visible {
  outline-color: var(--gold-bright);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  margin-bottom: 2.4rem;
}

.nav a {
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a:visited:hover {
  color: var(--gold-bright);
}

.nav a:visited {
  color: var(--parchment);
}

.lockup {
  width: min(100%, 34rem);
  height: auto;
  margin: 0 auto 1.65rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 9.2vw, 5.6rem);
  line-height: 1.02;
  color: var(--parchment);
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
}

.lede {
  max-width: 34rem;
  margin: 1.3rem auto 0;
  color: var(--parchment);
  font-size: 1.125rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.05rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--mulberry);
  color: var(--parchment);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.3;
  text-align: center;
}

.button:visited {
  color: var(--parchment);
  background: var(--mulberry);
}

.button:hover,
.button:visited:hover {
  background: var(--mulberry-deep);
  color: var(--parchment);
}

.sky {
  display: none;
}

.cards {
  display: grid;
  gap: 1rem;
}

.card {
  background: var(--clay);
  border: 1px solid rgba(28, 26, 51, 0.08);
  padding: 1.7rem 1.4rem 1.9rem;
  text-align: left;
}

.card h3 {
  font-size: clamp(1.85rem, 3vw, 2.2rem);
  line-height: 1.12;
  margin-bottom: 0.75rem;
}

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

.how {
  background: var(--clay);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.steps li + li {
  border-top: 1px solid rgba(28, 26, 51, 0.14);
  margin-top: 1.75rem;
  padding-top: 1.75rem;
}

.num {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--mulberry);
  margin-bottom: 0.55rem;
}

.steps h3 {
  font-size: clamp(1.7rem, 2.5vw, 2rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.steps p {
  color: var(--plum);
  max-width: 36rem;
}

.notify-card {
  width: min(40rem, calc(100% - 2.5rem));
  margin-inline: auto;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(90, 61, 107, 0.5), transparent 62%),
    var(--ink);
  color: var(--parchment);
  border: 1px solid rgba(217, 178, 122, 0.6);
  padding: 3rem 1.35rem 2.7rem;
  text-align: center;
  -webkit-font-smoothing: antialiased;
}

.notify-card h2 {
  color: var(--parchment);
}

.notify-card .intro {
  color: var(--parchment);
  margin-inline: auto;
}

.notify-card .button {
  margin-top: 1.6rem;
}

.address {
  margin-top: 1.15rem;
}

.address a,
.address a:visited {
  color: var(--gold-bright);
  font-weight: 500;
  text-underline-offset: 0.25em;
}

.address a:hover {
  color: var(--parchment);
}

.footer {
  text-align: center;
  padding: 3.25rem 1.25rem 3.75rem;
  border-top: 1px solid rgba(28, 26, 51, 0.12);
  color: var(--plum);
}

.footer-mark {
  width: 52px;
  height: auto;
  margin: 0 auto 0.7rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.footer a,
.footer a:visited {
  color: var(--mulberry);
  font-weight: 500;
  text-underline-offset: 0.22em;
}

.social {
  margin: 0.8rem 0 1.5rem;
}

.dot {
  color: var(--gold);
  margin-inline: 0.6rem;
}

.legal {
  color: var(--ink);
  font-size: 0.95rem;
}

.disclaimer {
  margin-top: 0.3rem;
  font-size: 0.95rem;
}

::selection {
  background: var(--clay);
  color: var(--ink);
}

@media (min-width: 720px) {
  .hero {
    padding: 1rem;
  }

  .hero-frame {
    padding: 3.4rem 2rem 4.2rem;
  }

  .band {
    padding: 6.25rem 0;
  }

  .wrap {
    width: min(72rem, calc(100% - 4rem));
  }

  .card {
    padding: 2rem 1.7rem 2.15rem;
  }

  .notify-card {
    padding: 3.5rem 2.5rem 3.1rem;
  }
}

@media (min-width: 880px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
    align-items: stretch;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .steps li + li {
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }
}

@media (min-width: 1100px) {
  .sky {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .sky svg {
    position: absolute;
    display: block;
  }

  .s1 { width: 18px; height: 18px; top: 13%; left: 6%; }
  .s2 { width: 11px; height: 11px; top: 24%; right: 9%; }
  .s3 { width: 22px; height: 22px; bottom: 16%; left: 8%; }
  .s4 { width: 12px; height: 12px; bottom: 22%; right: 7%; }
  .s5 { width: 8px; height: 8px; top: 62%; left: 13%; }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (prefers-contrast: more) {
  .hero-frame,
  .notify-card {
    border-color: var(--gold-bright);
  }

  .card,
  .steps li + li {
    border-color: var(--ink);
  }
}

@media print {
  .hero,
  .notify-card {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
