:root {
  color-scheme: light;
  --ink: #1d1c22;
  --muted: #62616b;
  --paper: #f5f2ee;
  --surface: #ffffff;
  --line: #ded6c8;
  --scarlet: #c14649;
  --teal: #19b7bd;
  --gold: #d7ad58;
  --violet: #7d5cff;
  --night: #101724;
  --shadow: 0 18px 60px rgba(37, 42, 58, 0.14);
}

* {
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(248, 243, 234, 0.92);
  border-bottom: 1px solid rgba(98, 97, 107, 0.18);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #eefcff;
  background: radial-gradient(circle at 35% 28%, var(--teal), var(--violet) 48%, var(--night) 72%);
  border: 2px solid rgba(215, 173, 88, 0.92);
  border-radius: 8px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.site-nav a {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(40px, 7vw, 88px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(16, 23, 36, 0.9), rgba(16, 23, 36, 0.7) 46%, rgba(16, 23, 36, 0.1)),
    url("assets/agw.png");
  background-position: center;
  background-size: cover;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 6.4rem);
  line-height: 0.95;
  letter-spacing: 0;
  color: #fff;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.secondary-lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--scarlet), var(--violet));
  box-shadow: 0 10px 30px rgba(125, 92, 255, 0.28);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-art {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.hero-art img {
  width: 100%;
  aspect-ratio: 1.33;
  object-fit: cover;
}

.section,
.feature-section,
.publisher-band {
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
}

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

.intro-grid article,
.identity-grid article,
.book-card,
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(37, 42, 58, 0.06);
}

.intro-grid article {
  padding: 28px;
}

.identity-section {
  color: #eefcff;
  background: #101724;
}

.identity-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.identity-grid article {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 30px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(25, 183, 189, 0.16), rgba(125, 92, 255, 0.14)),
    #172033;
  border-color: rgba(255, 255, 255, 0.14);
}

.identity-letter {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.identity-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-heading.compact {
  margin-bottom: 22px;
}

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

.book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
}

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

.book-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.pill {
  padding: 5px 9px;
  color: var(--teal);
  background: rgba(31, 112, 110, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.book-card p,
.team-card p,
.publisher-list p,
.contact-section p {
  color: var(--muted);
}

.book-card .card-actions {
  margin-top: auto;
  padding-top: 18px;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: center;
  color: #fff;
  background: var(--night);
}

.feature-media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.feature-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.details div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.details dt {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.details dd {
  margin: 6px 0 0;
}

.team-card {
  padding: 24px;
}

.team-card span {
  display: block;
  margin-bottom: 12px;
  color: var(--scarlet);
  font-weight: 900;
}

.publisher-band {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.publisher-list {
  display: grid;
  gap: 12px;
}

.publisher-list p {
  margin: 0;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
}

.signup-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signup-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.signup-form input {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: #151720;
}

.site-footer p {
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .feature-section,
  .publisher-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .intro-grid,
  .book-grid,
  .team-grid,
  .details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    align-items: flex-start;
  }

  .hero-actions,
  .card-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
