:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: #b7c5df;
  --deep: #04091a;
  --navy: #071129;
  --panel: #0b1732;
  --cyan: #5ee9ff;
  --blue: #4c82ff;
  --purple: #b77cff;
  --gold: #ffd261;
  --coral: #ff795d;
  --line: rgba(126, 205, 255, 0.25);
  --page: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--deep);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle at 15% 12%, rgba(93, 114, 255, 0.11), transparent 27%), radial-gradient(circle at 84% 44%, rgba(155, 72, 255, 0.08), transparent 28%);
}

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

a {
  color: inherit;
}

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

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

.page-width {
  width: var(--page);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: #041027;
  background: white;
  border-radius: 8px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 8px max(22px, calc((100vw - 1180px) / 2));
  background: rgba(3, 8, 24, 0.91);
  border-bottom: 1px solid rgba(128, 206, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  text-decoration: none;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 15px;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.brand-copy span {
  margin-top: 6px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.primary-navigation a {
  color: #dfe9fa;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.primary-navigation a:hover {
  color: var(--cyan);
}

.primary-navigation .nav-contact {
  padding: 9px 14px;
  color: #071126;
  background: var(--gold);
  border-radius: 999px;
}

.primary-navigation .nav-contact:hover {
  color: #071126;
  background: #ffe296;
}

.primary-navigation .nav-contact.is-disabled {
  color: #c4cad6;
  background: rgba(255, 255, 255, 0.09);
  cursor: not-allowed;
}

.menu-button {
  display: none;
  padding: 9px 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: 0.83rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 78px));
  overflow: hidden;
  border-bottom: 1px solid rgba(123, 207, 255, 0.2);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 73% 61%;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(3, 8, 25, 0.98) 0%, rgba(3, 8, 25, 0.87) 32%, rgba(3, 8, 25, 0.34) 59%, rgba(3, 8, 25, 0.07) 100%), linear-gradient(0deg, rgba(3, 8, 25, 0.74) 0%, transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: min(760px, calc(100svh - 78px));
  padding-block: 78px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(3.1rem, 6.5vw, 6.1rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-wrap: balance;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--cyan);
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-intro {
  max-width: 550px;
  margin: 24px 0 0;
  color: #dde8f8;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: 0.015em;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

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

.button-primary {
  color: #071126;
  background: var(--gold);
  box-shadow: 0 14px 40px rgba(255, 191, 75, 0.2);
}

.button-primary:hover {
  background: #ffe39a;
  box-shadow: 0 17px 44px rgba(255, 191, 75, 0.28);
}

.button-secondary {
  color: var(--ink);
  background: rgba(99, 58, 161, 0.72);
  border-color: rgba(205, 170, 255, 0.55);
  backdrop-filter: blur(12px);
}

.button-secondary:hover {
  background: rgba(121, 71, 190, 0.92);
}

.mission {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 450px;
  margin-top: 58px;
  overflow: hidden;
  color: #101c3c;
  background: #f6f0e8;
  border: 1px solid rgba(185, 124, 255, 0.55);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.25);
}

.mission-copy {
  align-self: center;
  padding: clamp(34px, 6vw, 76px);
}

.mission-copy .eyebrow {
  color: #7242b5;
}

.mission-copy h2,
.section-heading h2,
.author-bio h2,
.educators-content h2 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.mission-copy > p:last-of-type {
  max-width: 630px;
  margin: 18px 0 0;
  color: #39445e;
  font-size: 1.08rem;
}

.mission-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 27px 0 0;
  padding: 0;
  list-style: none;
}

.mission-values li {
  padding: 8px 12px;
  color: #173b5b;
  background: white;
  border: 1px solid rgba(31, 125, 166, 0.2);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mission-visual {
  min-height: 420px;
  margin: 0;
}

.mission-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.books-section {
  padding: 110px 0 116px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 38px;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.section-heading > p:last-child {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.book-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 18px;
}

.book-card {
  position: relative;
  min-width: 0;
}

.book-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(125, 219, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.38);
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.book-card:hover img {
  transform: translateY(-6px);
  border-color: rgba(94, 233, 255, 0.78);
  box-shadow: 0 24px 58px rgba(0, 8, 28, 0.72);
}

.book-card > div {
  padding: 14px 4px 0;
}

.book-card span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.book-card h3 {
  margin: 5px 0 0;
  font-size: 0.95rem;
  line-height: 1.25;
}

.book-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.author-section {
  display: grid;
  grid-template-columns: 0.82fr 1.1fr 1fr;
  gap: clamp(24px, 4vw, 50px);
  align-items: stretch;
  padding: 20px 0 110px;
}

.author-photo {
  align-self: center;
  min-height: 0;
  aspect-ratio: 238 / 212;
  background-image: url("landing-reference.webp");
  background-position: 1.6% 56.85%;
  background-size: 360.1% auto;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 210, 97, 0.44);
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
}

.author-bio {
  align-self: center;
}

.author-bio h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
}

.author-role {
  margin: 10px 0 22px;
  color: var(--cyan);
  font-weight: 800;
}

.author-bio > p:last-child,
.reader-note p {
  color: #c8d5e9;
}

.reader-note {
  align-self: center;
  margin: 0;
  padding: 32px;
  background: rgba(9, 29, 60, 0.8);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: inset 0 0 50px rgba(51, 91, 255, 0.08);
}

.reader-note .eyebrow {
  color: var(--cyan);
}

.reader-note cite {
  display: block;
  margin-top: 22px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1.02rem;
}

.educators-section {
  position: relative;
  min-height: 570px;
  margin-bottom: 90px;
  overflow: hidden;
  border: 1px solid rgba(96, 224, 255, 0.34);
  border-radius: 28px;
}

.educators-section > img,
.educators-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.educators-section > img {
  object-fit: cover;
  object-position: 72% 58%;
}

.educators-shade {
  background: linear-gradient(90deg, rgba(4, 11, 31, 0.98) 0%, rgba(4, 11, 31, 0.91) 40%, rgba(4, 11, 31, 0.28) 72%, rgba(4, 11, 31, 0.06) 100%);
}

.educators-content {
  position: relative;
  z-index: 1;
  width: min(610px, 65%);
  padding: clamp(38px, 6vw, 72px);
}

.educators-content > p:not(.eyebrow) {
  color: #d2deef;
}

.educators-content ul {
  display: grid;
  gap: 12px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.educators-content li {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 3px solid var(--cyan);
}

.educators-content li strong {
  color: white;
}

.educators-content li span {
  color: #b9c7dc;
  font-size: 0.9rem;
}

.site-footer {
  padding: 58px 0 20px;
  background: #020715;
  border-top: 1px solid rgba(110, 210, 255, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 50px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

.footer-brand div {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-size: 1.12rem;
}

.footer-brand span,
.site-footer nav a,
.site-footer nav > span,
.copyright {
  color: #9dacbf;
  font-size: 0.82rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 7px;
}

.site-footer nav a {
  width: fit-content;
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--cyan);
}

.site-footer nav > span[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.copyright {
  width: var(--page);
  margin: 42px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(126, 205, 255, 0.11);
  text-align: center;
}

@media (max-width: 1000px) {
  .site-header {
    padding-inline: 20px;
  }

  .menu-button {
    display: inline-flex;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 14px;
    background: rgba(4, 10, 29, 0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.54);
  }

  .primary-navigation.is-open {
    display: grid;
  }

  .primary-navigation a {
    padding: 11px 10px;
  }

  .primary-navigation .nav-contact {
    margin-top: 5px;
    text-align: center;
  }

  .hero,
  .hero-content {
    min-height: 620px;
  }

  .hero-content {
    justify-content: flex-start;
    padding-block: 80px;
  }

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

  .author-section {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .reader-note {
    grid-column: 1 / -1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --page: min(100% - 28px, 1180px);
  }

  html {
    scroll-padding-top: 76px;
  }

  .site-header {
    min-height: 68px;
    padding: 7px 14px;
  }

  .brand img {
    width: 48px;
    height: 48px;
    border-radius: 13px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .brand-copy span {
    font-size: 0.66rem;
  }

  .hero,
  .hero-content {
    min-height: min(780px, calc(100svh - 68px));
  }

  .hero-image {
    object-position: 59% 52%;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(3, 8, 25, 0.99) 0%, rgba(3, 8, 25, 0.84) 50%, rgba(3, 8, 25, 0.18) 100%);
  }

  .hero-content {
    justify-content: flex-end;
    padding-block: 66px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4.4rem);
  }

  .hero-intro {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
  }

  .mission {
    grid-template-columns: 1fr;
    margin-top: 28px;
    border-radius: 22px;
  }

  .mission-copy {
    padding: 34px 24px;
  }

  .mission-visual {
    min-height: 330px;
  }

  .books-section {
    padding: 76px 0 82px;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .book-card > div {
    padding-inline: 1px;
  }

  .book-card h3 {
    font-size: 0.86rem;
  }

  .author-section {
    grid-template-columns: 1fr;
    padding-bottom: 80px;
  }

  .author-photo {
    min-height: 0;
  }

  .reader-note {
    grid-column: auto;
    padding: 25px;
  }

  .educators-section {
    min-height: 680px;
    margin-bottom: 70px;
  }

  .educators-section > img {
    object-position: 56% 24%;
  }

  .educators-shade {
    background: linear-gradient(0deg, rgba(4, 11, 31, 0.99) 0%, rgba(4, 11, 31, 0.94) 55%, rgba(4, 11, 31, 0.13) 100%);
  }

  .educators-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    min-height: 680px;
    padding: 32px 23px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }
}

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

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

/* Kids e-book storefront */
.ebook-shelf {
  margin: 0 0 72px;
  padding: clamp(24px, 4vw, 42px);
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 0%, rgba(94, 233, 255, 0.16), transparent 29%),
    linear-gradient(145deg, rgba(14, 32, 70, 0.98), rgba(7, 17, 41, 0.98));
  border: 1px solid rgba(94, 233, 255, 0.35);
  border-radius: 28px;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.3);
  scroll-margin-top: 98px;
}

.ebook-shelf-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
}

.ebook-shelf-heading h3,
.collection-heading h3 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.ebook-shelf-heading p:last-child {
  max-width: 710px;
  margin: 14px 0 0;
  color: #c5d6eb;
}

.ebook-shelf-heading > img {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.42));
}

.ebook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ebook-card {
  display: grid;
  grid-template-columns: minmax(92px, 0.62fr) minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  min-width: 0;
  padding: 16px;
  background: rgba(2, 9, 27, 0.76);
  border: 1px solid rgba(137, 186, 255, 0.24);
  border-radius: 19px;
}

.ebook-card > img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(94, 233, 255, 0.28);
  border-radius: 11px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.38);
}

.ebook-card span {
  color: var(--cyan);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ebook-card h4 {
  margin: 6px 0 0;
  font-size: 0.93rem;
  line-height: 1.24;
}

.ebook-card p {
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
}

.ebook-buy {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 0.76rem;
  cursor: pointer;
}

.ebook-actions {
  display: grid;
  gap: 9px;
}

.ebook-paperback {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  color: var(--ink);
  font-size: 0.72rem;
}

.paperback-status {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  color: #d8e6f6;
  background: rgba(111, 132, 170, 0.16);
  border: 1px solid rgba(180, 202, 236, 0.22);
  border-radius: 999px;
  font-size: 0.68rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
}

.ebook-buy:disabled,
.submit-request:disabled,
.visit-actions .button:disabled {
  opacity: 0.68;
  transform: none;
}

.ebook-buy:disabled,
.visit-actions .button:disabled {
  cursor: not-allowed;
}

.ebook-buy[data-loading="true"],
.submit-request:disabled {
  cursor: wait;
}

.schedule-form[aria-disabled="true"] {
  opacity: 0.72;
}

.schedule-form[aria-disabled="true"] input,
.schedule-form[aria-disabled="true"] select,
.schedule-form[aria-disabled="true"] textarea {
  cursor: not-allowed;
}

.form-status[data-state="paused"] {
  color: #75440a;
  font-weight: 800;
}

.store-message {
  min-height: 1.4em;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.store-message[data-state="error"] {
  color: #ffab9a;
}

.store-message[data-state="setup"] {
  color: #ffe18a;
}

.collection-heading {
  margin: 0 0 28px;
}

.collection-heading h3 {
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 18px;
  align-items: center;
}

.development-label,
.development-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.development-label::before,
.development-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(255, 210, 97, 0.78);
}

/* Visit request system */
.schedule-page {
  background:
    radial-gradient(circle at 10% 28%, rgba(76, 130, 255, 0.12), transparent 30%),
    radial-gradient(circle at 90% 65%, rgba(183, 124, 255, 0.1), transparent 26%),
    var(--deep);
}

.schedule-hero {
  padding: 68px 0 58px;
  border-bottom: 1px solid rgba(126, 205, 255, 0.18);
}

.schedule-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
}

.schedule-intro h1 {
  max-width: 760px;
  margin: 12px 0 0;
  font-family: Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.9rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
  text-transform: uppercase;
}

.schedule-lede {
  max-width: 680px;
  margin: 23px 0 0;
  color: #d4e2f3;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.development-pill {
  margin-bottom: 24px;
  padding: 8px 12px;
  background: rgba(255, 210, 97, 0.08);
  border: 1px solid rgba(255, 210, 97, 0.3);
  border-radius: 999px;
}

.request-notice {
  display: grid;
  gap: 4px;
  max-width: 690px;
  margin-top: 26px;
  padding: 17px 19px;
  background: rgba(16, 47, 86, 0.62);
  border: 1px solid rgba(94, 233, 255, 0.35);
  border-radius: 16px;
}

.request-notice strong {
  color: var(--cyan);
}

.request-notice span {
  color: #c7d5e9;
  font-size: 0.9rem;
}

.schedule-art {
  position: relative;
  margin: 0;
}

.schedule-art > img:first-child {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(94, 233, 255, 0.35);
  border-radius: 32px;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.45);
}

.schedule-art .schedule-logo {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: clamp(82px, 10vw, 126px);
  height: auto;
  border: 1px solid rgba(255, 210, 97, 0.42);
  border-radius: 28%;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.6));
}

.schedule-workspace {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
  padding-block: 90px 110px;
}

.visit-guide {
  position: sticky;
  top: 108px;
  padding: 30px;
  background: rgba(10, 25, 54, 0.72);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.visit-guide h2,
.form-heading h2,
.request-success h2 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.visit-guide ol {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.visit-guide li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
}

.visit-guide li > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #071126;
  background: var(--gold);
  border-radius: 12px;
  font-weight: 900;
}

.visit-guide li p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.privacy-note {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(126, 205, 255, 0.15);
}

.privacy-note img {
  width: 66px;
  height: auto;
}

.privacy-note p {
  margin: 0;
  color: #c8d5e9;
  font-size: 0.82rem;
}

.request-card {
  padding: clamp(26px, 5vw, 54px);
  color: #17213d;
  background: #f8f3eb;
  border: 1px solid rgba(183, 124, 255, 0.46);
  border-radius: 28px;
  box-shadow: 0 30px 86px rgba(0, 0, 0, 0.35);
}

.request-card .eyebrow {
  color: #6c3ca9;
}

.form-heading > p:last-child {
  margin: 11px 0 0;
  color: #5b6478;
  font-size: 0.86rem;
}

.schedule-form {
  margin-top: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.schedule-form label,
.date-fields legend {
  color: #26324c;
  font-size: 0.86rem;
  font-weight: 800;
}

.schedule-form label {
  display: block;
}

.date-fields legend {
  display: grid;
  gap: 7px;
}

.schedule-form input,
.schedule-form select,
.schedule-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 12px;
  color: #111b34;
  background: white;
  border: 1px solid #bdc5d3;
  border-radius: 10px;
  font: inherit;
  font-weight: 500;
}

.schedule-form label > input,
.schedule-form label > select,
.schedule-form label > textarea {
  margin-top: 7px;
}

.schedule-form textarea {
  min-height: 126px;
  resize: vertical;
}

.schedule-form input:focus,
.schedule-form select:focus,
.schedule-form textarea:focus {
  border-color: #386dc8;
  outline: 3px solid rgba(76, 130, 255, 0.2);
}

.optional {
  color: #69748a;
  font-size: 0.74rem;
  font-weight: 600;
}

.date-fields {
  margin: 30px 0;
  padding: 24px;
  border: 1px solid #d4c7e4;
  border-radius: 16px;
}

.date-fields legend {
  padding: 0 8px;
  color: #512f7c;
  font-size: 1rem;
}

.date-fields > p {
  margin: 0 0 18px;
  color: #5c667a;
  font-size: 0.84rem;
}

.full-field {
  margin-top: 4px;
}

.consent-field {
  display: grid !important;
  grid-template-columns: 22px 1fr;
  gap: 11px !important;
  align-items: start;
  margin: 24px 0;
  padding: 15px;
  background: #eee7f6;
  border-radius: 12px;
}

.consent-field input {
  width: 20px;
  min-height: 20px;
  margin: 2px 0 0;
}

.submit-request {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.form-status {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: #394861;
  font-size: 0.88rem;
}

.form-status[data-state="error"] {
  color: #a12c22;
  font-weight: 800;
}

.request-success {
  padding: 18px 8px;
  text-align: center;
}

.request-success > img {
  width: 180px;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 18px 22px rgba(26, 37, 69, 0.25));
}

.request-success > p:not(.eyebrow) {
  max-width: 580px;
  margin: 18px auto 26px;
  color: #4c5870;
}

.request-success .button-secondary {
  color: white;
}

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

/* Paid order handoff */
.purchase-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 10%, rgba(76, 130, 255, 0.2), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(183, 124, 255, 0.15), transparent 27%),
    var(--deep);
}

.purchase-shell {
  display: grid;
  place-items: center;
  min-height: 100svh;
  padding: 34px 20px;
}

.purchase-card {
  position: relative;
  width: min(690px, 100%);
  padding: clamp(28px, 6vw, 58px);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(145deg, rgba(12, 31, 68, 0.98), rgba(5, 14, 35, 0.98));
  border: 1px solid rgba(94, 233, 255, 0.34);
  border-radius: 30px;
  box-shadow: 0 35px 95px rgba(0, 0, 0, 0.48);
}

.purchase-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 22px;
  text-align: left;
}

.purchase-brand img {
  width: 64px;
  height: auto;
  border-radius: 16px;
}

.purchase-brand span {
  display: grid;
  line-height: 1;
}

.purchase-brand small {
  margin-top: 7px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.purchase-scout {
  width: clamp(170px, 32vw, 250px);
  height: auto;
  margin: 0 auto 12px;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.42));
}

.purchase-card h1 {
  margin: 0;
  font-family: Arial, sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.purchase-card > p:not(.eyebrow) {
  max-width: 520px;
  margin: 18px auto 0;
  color: #c7d5e9;
}

.purchase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  justify-content: center;
  margin-top: 28px;
}

.purchase-home {
  display: inline-block;
  margin-top: 28px;
  color: var(--cyan);
  font-size: 0.84rem;
}

@media (max-width: 1000px) {
  .ebook-grid {
    grid-template-columns: 1fr;
  }

  .ebook-card {
    grid-template-columns: 140px 1fr;
  }

  .schedule-hero-grid,
  .schedule-workspace {
    grid-template-columns: 1fr;
  }

  .schedule-art {
    width: min(620px, 100%);
  }

  .visit-guide {
    position: static;
  }
}

@media (max-width: 720px) {
  .ebook-shelf {
    margin-inline: -2px;
    padding: 23px 18px;
    border-radius: 21px;
  }

  .ebook-shelf-heading {
    grid-template-columns: 1fr 88px;
    gap: 10px;
  }

  .ebook-shelf-heading > img {
    width: 88px;
  }

  .ebook-card {
    grid-template-columns: 104px 1fr;
    padding: 12px;
  }

  .visit-actions {
    align-items: stretch;
  }

  .visit-actions .button {
    width: 100%;
  }

  .schedule-hero {
    padding: 44px 0 46px;
  }

  .schedule-intro h1 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  .schedule-art .schedule-logo {
    right: -4px;
    bottom: -12px;
  }

  .schedule-workspace {
    padding-block: 48px 72px;
  }

  .visit-guide,
  .request-card {
    padding: 24px 20px;
    border-radius: 21px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .date-fields {
    padding: 18px 14px;
  }

  .submit-request {
    width: 100%;
  }

  .purchase-actions {
    display: grid;
  }
}
