:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  --page: #f6f2e8;
  --paper: #fffdf7;
  --ink: #161c19;
  --muted: #59625d;
  --line: rgba(22, 28, 25, 0.2);
  --accent: #bd573f;
  --accent-ink: #ffffff;
  --deep: #111714;
  --hero-ink: #ffffff;
  --hero-wash: rgba(7, 15, 20, 0.72);
  --focus: #f5c84b;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--ink);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  background: #ffffff;
  color: #111111;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(100% - 3rem, 1160px);
  margin-inline: auto;
}

.story-hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--deep);
  color: var(--hero-ink);
}

.story-hero__image {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-breathe 22s ease-in-out infinite alternate;
}

.story-hero__wash {
  position: absolute;
  z-index: -2;
  inset: 0 auto 0 0;
  width: min(68%, 920px);
  background: var(--hero-wash);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.story-hero__content {
  padding-block: 4.5rem 4rem;
}

.story-hero__content > * {
  max-width: 710px;
}

.status-label,
.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.status-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.status-label span {
  width: 0.62rem;
  height: 0.62rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--focus);
  box-shadow: 0 0 0 0.35rem rgba(255, 255, 255, 0.16);
}

.eyebrow {
  color: var(--accent);
}

.story-hero .eyebrow {
  color: inherit;
  opacity: 0.76;
}

h1,
h2,
.domain-name {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: 3.7rem;
}

h2 {
  font-size: 2.7rem;
}

.story-hero__prose {
  display: grid;
  gap: 0.8rem;
}

.prose {
  margin: 0;
  font-size: 1.05rem;
}

.prose--hero {
  max-width: 68ch;
  color: inherit;
}

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.5rem;
  color: inherit;
  font-weight: 800;
  text-underline-offset: 0.3rem;
}

.domain-offer,
.story-continuation,
.education,
.support,
.contact,
.disclaimer {
  padding-block: 6.5rem;
}

.story-continuation {
  padding-block: 4rem;
  background: var(--deep);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

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

.domain-offer {
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.domain-offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 9rem;
  height: 0.5rem;
  background: var(--accent);
}

.domain-offer__grid,
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 6rem;
  align-items: start;
}

.domain-name {
  max-width: 100%;
  color: var(--deep);
  font-size: 4rem;
  overflow-wrap: anywhere;
}

.domain-description {
  max-width: 58ch;
  margin: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.domain-offer__notes,
.reading-column {
  display: grid;
  gap: 1.25rem;
}

.domain-offer__notes {
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font: inherit;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button--secondary {
  margin-top: 0.75rem;
  background: var(--deep);
  color: #ffffff;
}

.button--quiet {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.education {
  background: var(--page);
}

.section-heading h2 {
  max-width: 12ch;
}

.support {
  background: var(--deep);
  color: #ffffff;
}

.support .eyebrow {
  color: var(--focus);
}

.contact {
  background: var(--accent);
  color: var(--accent-ink);
}

.contact__inner {
  text-align: center;
}

.contact .eyebrow {
  color: inherit;
  opacity: 0.75;
}

.contact__email {
  display: inline-block;
  max-width: 100%;
  margin-block: 1.5rem 2rem;
  color: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-underline-offset: 0.35rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.contact .button--primary {
  background: var(--deep);
}

.copy-status {
  min-height: 1.65rem;
  margin: 0.8rem 0 0;
  font-weight: 700;
}

.disclaimer {
  padding-block: 2.5rem;
  background: #f2eee4;
  color: #3d4541;
  border-bottom: 1px solid var(--line);
}

.disclaimer p {
  max-width: 90ch;
  margin: 0;
  font-size: 0.9rem;
}

footer {
  padding-block: 1.5rem;
  background: #f2eee4;
  color: #4d5651;
  font-size: 0.82rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}

.footer__privacy {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
  cursor: pointer;
}

.consent-panel {
  position: fixed;
  z-index: 50;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  width: min(100% - 2rem, 980px);
  margin-inline: auto;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  background: #111714;
  color: #ffffff;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.28);
}

.consent-panel[hidden] {
  display: none;
}

.consent-panel h2 {
  margin-bottom: 0.45rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.consent-panel p {
  max-width: 62ch;
  margin: 0;
  color: #dbe1dd;
  font-size: 0.88rem;
  line-height: 1.5;
}

.consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.consent-choice {
  min-height: 3rem;
  padding: 0.7rem 1rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.consent-choice:hover {
  background: rgba(255, 255, 255, 0.1);
}

.privacy-dialog {
  width: min(100% - 2rem, 720px);
  max-height: min(88vh, 760px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.35);
}

.privacy-dialog::backdrop {
  background: rgba(8, 13, 11, 0.72);
}

.privacy-dialog__inner {
  position: relative;
  padding: 2.5rem;
}

.privacy-dialog__close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.privacy-copy {
  display: grid;
  gap: 0.85rem;
  margin-block: 1.5rem;
}

.privacy-copy p,
.privacy-state {
  margin: 0;
}

.privacy-state {
  min-height: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-weight: 700;
}

.theme-starlet {
  --page: #edf1ef;
  --paper: #f9f5eb;
  --ink: #151d22;
  --muted: #56636a;
  --accent: #d85d49;
  --accent-ink: #ffffff;
  --deep: #071c2e;
  --hero-wash: rgba(5, 20, 34, 0.76);
  --focus: #9ee2dc;
}

.theme-gloriana {
  --page: #e6f0eb;
  --paper: #fffdf5;
  --ink: #18332f;
  --muted: #526a64;
  --accent: #bd5f49;
  --accent-ink: #ffffff;
  --deep: #103c37;
  --hero-ink: #153731;
  --hero-wash: rgba(241, 245, 224, 0.78);
  --focus: #edbd4e;
}

.theme-tishawocka {
  --page: #f1ead9;
  --paper: #fffaf0;
  --ink: #202820;
  --muted: #616359;
  --accent: #ad4434;
  --accent-ink: #ffffff;
  --deep: #1e372a;
  --hero-wash: rgba(30, 45, 32, 0.78);
  --focus: #f1bf43;
}

@keyframes hero-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.025); }
}

@media (max-width: 860px) {
  .story-hero {
    min-height: auto;
  }

  .story-hero__wash {
    width: 100%;
    border-right: 0;
  }

  .story-hero__content {
    padding-block: 5.5rem 3.5rem;
  }

  h1 {
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .domain-name {
    font-size: 3rem;
  }

  .domain-offer__grid,
  .content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .domain-offer,
  .story-continuation,
  .education,
  .support,
  .contact {
    padding-block: 5rem;
  }

  .story-continuation__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .consent-panel {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 2rem, 1160px);
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .domain-name {
    font-size: 2rem;
  }

  .prose,
  .domain-description {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .story-continuation {
    padding-block: 3rem;
  }

  .contact__email {
    font-size: 1rem;
  }

  .footer__inner {
    display: grid;
  }

  .consent-actions {
    grid-template-columns: 1fr;
  }

  .privacy-dialog__inner {
    padding: 2rem 1.25rem 1.25rem;
  }
}

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

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