:root {
  --ink: #121316;
  --paper: #f7f5ef;
  --white: #fffdf8;
  --muted: #5e625f;
  --line: rgba(18, 19, 22, 0.14);
  --cyan: #1aa6a6;
  --coral: #dc5847;
  --leaf: #2f7d5d;
  --gold: #c6922e;
  --violet: #6750a4;
  --shadow: 0 22px 70px rgba(18, 19, 22, 0.18);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 0.9rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  background: rgba(18, 19, 22, 0.88);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 0;
}

.brand img {
  width: 2.15rem;
  height: 2.15rem;
}

.brand span {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 253, 248, 0.42);
  background: transparent;
  color: var(--white);
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  font-size: 1.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  padding: 0.55rem 0.72rem;
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.84);
  font-size: 0.94rem;
}

.site-nav a[aria-current="page"],
.site-nav a:hover {
  background: rgba(255, 253, 248, 0.14);
  color: var(--white);
}

.hero {
  min-height: min(760px, calc(92vh - 4rem));
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 19, 22, 0.92) 0%, rgba(18, 19, 22, 0.64) 52%, rgba(18, 19, 22, 0.28) 100%),
    image-set(url("assets/sorathia.png") type("image/png"));
  background-size: cover;
  background-position: center;
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: min(760px, calc(92vh - 4rem));
  padding: clamp(2rem, 5vw, 4rem) 1rem 2.2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 410px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid rgba(255, 253, 248, 0.34);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 1rem 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 690px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  color: rgba(255, 253, 248, 0.88);
}

.hero-actions,
.actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
}

.button.primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}

.button.secondary {
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.book-stage {
  align-self: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.book-cover {
  width: min(100%, 320px);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.launch-strip {
  width: min(100%, 370px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.time-box {
  border: 1px solid rgba(255, 253, 248, 0.24);
  background: rgba(18, 19, 22, 0.52);
  padding: 0.8rem 0.55rem;
  text-align: center;
  border-radius: 8px;
}

.time-box strong {
  display: block;
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1;
}

.time-box span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.section {
  padding: clamp(3.25rem, 7vw, 6.5rem) 1rem;
}

.section.white {
  background: var(--white);
}

.section.ink {
  background: var(--ink);
  color: var(--white);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-header {
  max-width: 780px;
  margin-bottom: 2rem;
}

.kicker {
  margin: 0 0 0.55rem;
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section h2,
.section h3,
.page-hero h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1;
}

.section h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
}

.section h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.lede {
  color: var(--muted);
  font-size: 1.12rem;
}

.ink .lede,
.ink .muted {
  color: rgba(255, 253, 248, 0.72);
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  padding: 1.15rem;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.6);
}

.story-link {
  font-weight: 900;
  color: var(--cyan);
  text-decoration: none;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.feature-row img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.quote-band {
  border-block: 1px solid rgba(255, 253, 248, 0.18);
}

.quote {
  max-width: 930px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.quote cite {
  display: block;
  margin-top: 1rem;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  color: rgba(255, 253, 248, 0.68);
  font-size: 1rem;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 2rem;
  align-items: center;
}

.signup-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--white);
}

.signup-box label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

.signup-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.85rem;
  font: inherit;
  margin-bottom: 0.7rem;
}

.page-hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(18, 19, 22, 0.9), rgba(18, 19, 22, 0.45)),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.page-hero .container {
  width: 100%;
  padding: 5rem 1rem 3rem;
}

.page-hero p {
  max-width: 760px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(255, 253, 248, 0.86);
}

.story-list {
  display: grid;
  gap: 0.85rem;
}

.story-item {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.story-item strong {
  font-size: 1.08rem;
}

.story-item span {
  color: var(--muted);
}

.pill {
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  background: rgba(26, 166, 166, 0.12);
  color: #08706f;
  font-weight: 800;
  font-size: 0.78rem;
}

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

.social-card {
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.social-card b {
  font-size: 1.5rem;
  font-family: Georgia, "Times New Roman", serif;
}

.social-card span {
  color: var(--muted);
}

.social-card em {
  font-style: normal;
  font-weight: 900;
  color: var(--coral);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.78);
  padding: 2rem 1rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.75rem 1rem 1rem;
    background: rgba(18, 19, 22, 0.97);
    border-bottom: 1px solid rgba(255, 253, 248, 0.18);
  }

  .site-nav.open {
    display: grid;
    justify-content: stretch;
  }

  .site-nav a {
    border-radius: 6px;
  }

  .hero-inner,
  .feature-row,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: end;
  }

  .book-stage {
    justify-items: start;
    align-self: start;
  }

  .book-cover {
    width: min(68vw, 300px);
  }

  .cards-3,
  .social-grid {
    grid-template-columns: 1fr;
  }

  .story-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand span {
    white-space: normal;
    font-size: 0.95rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.35rem, 12vw, 2.9rem);
    overflow-wrap: break-word;
  }

  .hero-inner {
    gap: 1.15rem;
    padding: 2rem 1rem 1rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 1rem;
  }

  .book-cover {
    width: min(48vw, 190px);
  }

  .launch-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
  }

  .time-box {
    padding: 0.5rem 0.25rem;
  }

  .time-box strong {
    font-size: 1rem;
  }

  .time-box span {
    font-size: 0.58rem;
  }

  .hero-actions,
  .actions {
    display: grid;
  }
}
