:root {
  --bg: #101722;
  --panel: rgba(23, 31, 43, 0.58);
  --panel-strong: rgba(14, 20, 30, 0.92);
  --line: rgba(244, 224, 185, 0.18);
  --line-strong: rgba(244, 224, 185, 0.34);
  --text: #fbf4e8;
  --muted: #d7ccbb;
  --accent: #e4bf83;
  --accent-deep: #b67b3e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --max-width: 1160px;
  --hero-panel-top: rgba(24, 34, 48, 0.38);
  --hero-panel-bottom: rgba(12, 18, 29, 0.1);
  --bg-overlay-top: rgba(18, 26, 39, 0.08);
  --bg-overlay-bottom: rgba(7, 10, 16, 0.22);
  --body-glow: rgba(218, 171, 101, 0.24);
  --body-midtone: rgba(83, 113, 146, 0.08);
  --body-vignette: rgba(4, 7, 12, 0.18);
  --sun-glow: rgba(236, 196, 127, 0.34);
  --haze-glow: rgba(129, 167, 202, 0.24);
  --sky-band: rgba(255, 255, 255, 0.1);
  --wash-top: rgba(255, 214, 156, 0.22);
  --wash-bottom: rgba(39, 58, 84, 0.08);
  --atmosphere-opacity: 0.78;
  --wash-opacity: 0.74;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 28%, var(--body-glow), transparent 46%),
    radial-gradient(circle at 76% 62%, var(--body-midtone), transparent 42%),
    linear-gradient(180deg, var(--bg-overlay-top), var(--bg-overlay-bottom)),
    linear-gradient(180deg, transparent 0%, transparent 55%, var(--body-vignette) 100%),
    radial-gradient(circle at top, rgba(199, 146, 74, 0.18), transparent 40%),
    url("hangar.jpg") center center / cover fixed no-repeat;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  line-height: 1.7;
  transition: background 220ms ease, color 220ms ease;
}

body[data-lighting="morning"] {
  --bg-overlay-top: rgba(44, 63, 92, 0.06);
  --bg-overlay-bottom: rgba(10, 17, 29, 0.22);
  --body-glow: rgba(248, 214, 159, 0.42);
  --body-midtone: rgba(118, 165, 214, 0.16);
  --body-vignette: rgba(7, 12, 21, 0.16);
  --sun-glow: rgba(255, 228, 174, 0.52);
  --haze-glow: rgba(160, 204, 243, 0.34);
  --sky-band: rgba(248, 245, 239, 0.24);
  --wash-top: rgba(255, 231, 190, 0.34);
  --wash-bottom: rgba(86, 124, 170, 0.1);
  --hero-panel-top: rgba(36, 51, 72, 0.34);
  --hero-panel-bottom: rgba(14, 22, 34, 0.08);
  --atmosphere-opacity: 0.86;
  --wash-opacity: 0.82;
}

body[data-lighting="afternoon"] {
  --bg-overlay-top: rgba(18, 26, 39, 0.08);
  --bg-overlay-bottom: rgba(7, 10, 16, 0.22);
  --body-glow: rgba(218, 171, 101, 0.24);
  --body-midtone: rgba(83, 113, 146, 0.08);
  --body-vignette: rgba(4, 7, 12, 0.18);
  --sun-glow: rgba(236, 196, 127, 0.34);
  --haze-glow: rgba(129, 167, 202, 0.24);
  --sky-band: rgba(255, 255, 255, 0.1);
  --wash-top: rgba(255, 214, 156, 0.22);
  --wash-bottom: rgba(39, 58, 84, 0.08);
  --hero-panel-top: rgba(24, 34, 48, 0.38);
  --hero-panel-bottom: rgba(12, 18, 29, 0.1);
  --atmosphere-opacity: 0.78;
  --wash-opacity: 0.74;
}

body[data-lighting="dust-glow"] {
  --bg-overlay-top: rgba(44, 26, 18, 0.14);
  --bg-overlay-bottom: rgba(11, 9, 14, 0.46);
  --body-glow: rgba(233, 142, 84, 0.42);
  --body-midtone: rgba(143, 79, 55, 0.14);
  --body-vignette: rgba(5, 4, 8, 0.38);
  --sun-glow: rgba(246, 170, 111, 0.52);
  --haze-glow: rgba(190, 115, 79, 0.3);
  --sky-band: rgba(255, 210, 156, 0.16);
  --wash-top: rgba(221, 141, 81, 0.34);
  --wash-bottom: rgba(58, 33, 30, 0.14);
  --hero-panel-top: rgba(39, 24, 22, 0.54);
  --hero-panel-bottom: rgba(15, 11, 16, 0.24);
  --atmosphere-opacity: 0.96;
  --wash-opacity: 0.92;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.site-shell,
.entry-shell {
  position: relative;
  overflow: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 18%, var(--sun-glow), transparent 24%),
    radial-gradient(circle at 82% 12%, var(--haze-glow), transparent 28%),
    linear-gradient(180deg, var(--sky-band), transparent 32%);
  mix-blend-mode: screen;
  opacity: var(--atmosphere-opacity);
  transition: background 220ms ease, opacity 220ms ease;
}

.sky-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--wash-top), var(--wash-bottom));
  opacity: var(--wash-opacity);
  mix-blend-mode: soft-light;
  transition: background 220ms ease, opacity 220ms ease;
}

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

.eyebrow,
.section__kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--accent);
}

h1,
h2,
.page-section-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: 0.02em;
}

h1,
.page-section-title {
  font-size: clamp(3rem, 6vw, 5rem);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  text-wrap: balance;
}

.home-main {
  position: relative;
  z-index: 1;
  padding-top: clamp(4.3rem, 9vw, 6.4rem);
}

.page-section-title {
  font-size: clamp(2.45rem, 4.8vw, 4rem);
}

.entry-page {
  min-height: 100vh;
}

.entry-page .atmosphere,
.entry-page .sky-wash {
  opacity: calc(var(--atmosphere-opacity) + 0.06);
}

.entry-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 2.4rem), 1240px);
  margin: 0 auto;
  padding: 5vh 0;
}

.entry-copy {
  max-width: 42rem;
  text-align: center;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.62);
}

.entry-title {
  font-size: clamp(3.7rem, 8vw, 7rem);
}

.entry-tagline {
  margin: 0.8rem auto 0;
  max-width: 24ch;
  font-size: clamp(1.18rem, 2.5vw, 1.72rem);
  color: #fff4e5;
}

.entry-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

.signup__copy,
.story__panel p,
.author__card p,
.pathways__intro,
.path-card p,
.feature-card p {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.03rem;
}

.button,
.lighting-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.92rem 1.4rem;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
.lighting-button:hover,
.lighting-button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(213, 176, 116, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.button:focus-visible,
.lighting-button:focus-visible,
.footer:focus-visible,
.signup-form__input:focus-visible,
.reading-back:focus-visible {
  outline: 2px solid rgba(255, 248, 230, 0.9);
  outline-offset: 3px;
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), #f0d4a3);
  color: #16110d;
  font-weight: 700;
}

.button--secondary {
  background: rgba(246, 241, 232, 0.05);
  color: var(--text);
}

.lighting-button {
  flex: 1 1 40%;
  background: rgba(255, 248, 234, 0.05);
  color: var(--text);
}

.lighting-button.is-active {
  border-color: rgba(244, 224, 185, 0.58);
  background: rgba(244, 224, 185, 0.14);
  color: #fff8ea;
}

.lighting-button--reset {
  color: #f3d7aa;
}

.pitch,
.story,
.standout,
.author,
.pathways,
.signup {
  padding-bottom: 4.7rem;
}

.bottom-nav {
  padding-bottom: 3.6rem;
}

.bottom-nav__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 3.25rem;
}

.section__header {
  margin-bottom: 1.2rem;
}

.pitch-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.pitch-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.story__panel,
.feature-card,
.author__card,
.signup__content,
.path-card,
.pitch-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

.story__panel,
.author__card,
.signup__content,
.path-card {
  padding: clamp(1.4rem, 2.5vw, 2.35rem);
}

.home-story .story__panel {
  width: 100%;
  padding: clamp(1.55rem, 2.8vw, 2.8rem);
}

.home-story .story__panel p {
  width: 100%;
  max-width: none;
  margin: 0;
}

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

.feature-card {
  padding: clamp(1.3rem, 2.2vw, 1.9rem);
}

.pitch-card {
  padding: 1.2rem 1rem;
  min-height: 8.5rem;
  display: flex;
  align-items: end;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.42rem;
  line-height: 1.12;
}

.feature-card h3,
.path-card h3,
.pathways__subheading {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  color: #fff0d6;
}

.feature-card h3,
.path-card h3 {
  font-size: 2rem;
}

.pathways__subheading {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.feature-card p,
.path-card p,
.pathways__intro {
  margin: 0;
  color: var(--muted);
}

.pathways__content {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pathways__subheading {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
}

.pathways__intro {
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.path-card {
  width: min(100%, 34rem);
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.path-card h3 {
  margin-bottom: 0.2rem;
}

.path-card p {
  max-width: 28rem;
}

.path-card .button {
  margin-top: 0.25rem;
  align-self: center;
}

.author__note {
  margin-bottom: 0;
  color: #e5d8c3;
  font-style: italic;
}

.signup__content {
  position: relative;
}

.signup__content::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(213, 176, 116, 0.12);
  pointer-events: none;
}

.signup-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.signup-form__input {
  min-height: 3.25rem;
  padding: 0.92rem 1rem;
  border: 1px solid rgba(246, 241, 232, 0.18);
  background: rgba(10, 14, 21, 0.72);
  color: var(--text);
  font-size: 16px;
}

.signup-form__input::placeholder {
  color: #9d9ba0;
}

.footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2.4rem), var(--max-width));
  margin: 0 auto;
  padding: 1rem 0 3rem;
  color: #cbc5b6;
  text-align: center;
  user-select: none;
  cursor: pointer;
}

.footer p {
  margin: 0.25rem 0;
}

.footer__hint {
  display: inline-block;
  margin-top: 0.75rem;
  color: rgba(228, 191, 131, 0.74);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.egg-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 30;
  width: min(360px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--line-strong);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.egg-panel.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.egg-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.egg-panel__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  color: var(--accent);
}

.egg-panel__close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.egg-panel__message {
  margin: 0.8rem 0 1rem;
  color: var(--muted);
}

.egg-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  display: none;
}

.egg-backdrop.is-visible {
  display: block;
}

.reading-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 20%, rgba(218, 171, 101, 0.22), transparent 38%),
    linear-gradient(180deg, rgba(18, 24, 35, 0.94), rgba(10, 12, 18, 0.96)),
    #0c1118;
}

.reading-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 231, 189, 0.12), transparent 30%),
    url("hawkins-air-service.png") center 34% / min(70vw, 920px) auto no-repeat;
  opacity: 0.14;
  filter: grayscale(100%) contrast(0.84);
  z-index: 0;
}

.reading-page::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 21, 0.12), rgba(10, 14, 21, 0.3));
  z-index: 0;
}

.reading-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), 780px);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.reading-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
  color: #e6d2af;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.reading-back:hover,
.reading-back:focus-visible {
  color: #fff0d6;
}

.reading-header {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(244, 224, 185, 0.14);
}

.reading-title {
  margin-top: 0.25rem;
}

.reading-subtitle {
  margin: 1rem 0 0;
  max-width: 44ch;
  color: #d9cdbd;
}

.reading-frame {
  position: relative;
  padding: clamp(1.4rem, 3vw, 3rem);
  border: 1px solid rgba(244, 224, 185, 0.14);
  background: linear-gradient(180deg, rgba(18, 24, 35, 0.72), rgba(12, 16, 24, 0.54));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reading-frame::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(244, 224, 185, 0.08);
  pointer-events: none;
}

.reading-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("hawkins-air-service.png") center center / min(64vw, 800px) auto no-repeat;
  opacity: 0.11;
  filter: grayscale(100%) contrast(0.82);
  pointer-events: none;
}

.reading-copy {
  position: relative;
  display: grid;
  gap: 1.1rem;
  max-width: 62ch;
  margin: 0 auto;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.3rem, 2vw, 1.62rem);
  line-height: 1.68;
  color: #f8efe0;
  text-wrap: pretty;
}

.reading-copy p {
  margin: 0;
}

.reading-cta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 62ch;
  margin: 2rem auto 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(244, 224, 185, 0.14);
}

.reading-cta__copy {
  margin: 0;
  max-width: 38ch;
  color: #e1d4c4;
}

.reading-footer {
  margin-top: 2rem;
  padding-bottom: 2.5rem;
}

.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;
}

@media (max-width: 980px) {
  .pitch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-main {
    padding-top: 4rem;
  }

  .entry-hero {
    width: min(calc(100% - 2rem), 1240px);
  }

  .entry-copy {
    max-width: 34rem;
  }
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
  }

  .section,
  .footer {
    width: min(calc(100% - 1.1rem), var(--max-width));
  }

  .home-main {
    padding-top: 2.8rem;
  }

  .story__panel p,
  .author__card p,
  .feature-card p,
  .signup__copy,
  .pathways__intro,
  .path-card p {
    font-size: 0.98rem;
  }

  .pitch,
  .story,
  .standout,
  .author,
  .pathways,
  .signup {
    padding-bottom: 2.9rem;
  }

  .bottom-nav {
    padding-bottom: 2.5rem;
  }

  .pitch-grid,
  .signup-form__row {
    grid-template-columns: 1fr;
  }

  .pitch-card {
    min-height: auto;
    padding: 1.05rem 0.92rem;
  }

  .button,
  .lighting-button,
  .signup-form__input {
    width: 100%;
  }

  .entry-hero {
    width: min(calc(100% - 1.3rem), 1240px);
    padding: 4vh 0;
  }

  .entry-copy {
    max-width: 21rem;
  }

  .entry-title {
    font-size: clamp(3rem, 13vw, 4.4rem);
  }

  .entry-tagline {
    max-width: 17ch;
  }

  .path-card {
    max-width: none;
  }

  .reading-shell {
    width: min(calc(100% - 1rem), 780px);
    padding-top: 1rem;
    padding-bottom: 2.6rem;
  }

  .reading-header {
    margin-bottom: 1.35rem;
    padding-bottom: 0.9rem;
  }

  .reading-frame {
    padding: 1.15rem 0.95rem 1.4rem;
  }

  .reading-frame::before {
    inset: 0.75rem;
  }

  .reading-frame::after {
    background-size: min(92vw, 560px) auto;
    opacity: 0.12;
  }

  .reading-copy {
    gap: 0.95rem;
    font-size: 1.16rem;
    line-height: 1.62;
  }

  .reading-cta {
    align-items: stretch;
    margin-top: 1.45rem;
  }
}