/* ============================================================
   12X MEDIA PRESS — MAIN STYLESHEET
   assets/css/styles.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&display=swap');

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --navy:       #08111f;
  --navy-mid:   #0e1e33;
  --navy-light: #142540;
  --gold:       #D4AF37;
  --gold-light: #E8C84A;
  --gold-dark:  #B8960C;
  --parchment:  #f5f0e8;
  --parchment-dark: #ede5d6;
  --card-text:  #2c2416;
  --body-text:  #FFFFFF;
  --muted:      #a0b0c0;
  --border:     rgba(212, 175, 55, 0.18);

  --font-serif: 'Inter', system-ui, sans-serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --container:  1200px;
  --gutter:     2rem;
  --section-gap: 5rem;

  --radius:      4px;
  --radius-card: 6px;
}

/* ---- RESET ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---- BASE ---- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--navy);
  color: var(--body-text);
  font-family: var(--font-sans);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--gold-light);
}

ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: #FFFFFF;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-family: var(--font-sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.1rem;
  color: var(--parchment);
  line-height: 1.85;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.6rem;
}

/* ---- LAYOUT ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: var(--section-gap) 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  color: var(--body-text);
  font-size: 1rem;
  max-width: 580px;
  margin: 0.75rem auto 0;
}

/* ---- HEADER / NAVIGATION ---- */
.site-header {
  background-color: var(--navy);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.5rem;
  position: relative;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.logo-tagline {
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.main-nav a {
  font-family: var(--font-serif);
  font-size: 0.82rem;
  color: var(--body-text);
  text-decoration: none;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius);
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
  background-color: rgba(212, 175, 55, 0.08);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.55rem;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--gold);
  transition: all 0.25s;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  white-space: nowrap;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.btn-gold {
  background-color: var(--gold);
  color: var(--navy);
  font-weight: bold;
}
.btn-gold:hover {
  background-color: var(--gold-light);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  border-color: var(--gold-light);
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  padding: 0.38rem 0.85rem;
  font-size: 0.78rem;
}


/* ---- STATUS TAGS ---- */
.status-tag {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 2px;
  font-size: 0.65rem;
  font-family: var(--font-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-available {
  background-color: rgba(212, 175, 55, 0.15);
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.status-coming-soon {
  background-color: rgba(200, 196, 188, 0.08);
  color: var(--muted);
  border: 1px solid rgba(200, 196, 188, 0.15);
}

.status-in-progress {
  background-color: rgba(100, 140, 200, 0.08);
  color: #8ab4e8;
  border: 1px solid rgba(100, 140, 200, 0.18);
}

/* ---- HERO ---- */
.hero {
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero__inner { max-width: 740px; }

.hero__pretitle {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.hero h1 { margin-bottom: 0.6rem; }

.hero__sub {
  font-size: 1.05rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero__copy {
  font-size: 1rem;
  color: var(--body-text);
  line-height: 1.9;
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 { margin-bottom: 0.5rem; }

.page-hero .page-intro {
  font-size: 1rem;
  color: var(--body-text);
  max-width: 580px;
  line-height: 1.85;
}

/* ---- GRID LAYOUTS ---- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.grid-books {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* ---- SECTION BACKGROUNDS ---- */
.section-mid  { background-color: var(--navy-mid); }
.section-deep { background-color: var(--navy-light); }

/* ---- BOOK CARD ---- */
.book-card {
  background-color: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.book-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.book-card:hover { border-color: rgba(212,175,55,0.35); background: var(--navy-light); }
.book-card:hover::before { opacity: 1; }

.book-cover {
  background: linear-gradient(160deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid var(--gold-dark);
  padding: 1.25rem;
}

.book-cover__inner {
  text-align: center;
  color: var(--gold);
  font-family: var(--font-serif);
}

.book-cover__title {
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.book-cover__author {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.book-card__body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.book-card__body h3 {
  color: #FFFFFF;
  font-size: 0.95rem;
  line-height: 1.35;
}

.book-card__body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.book-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.75rem;
  margin-top: auto;
}

/* ---- CARD (dark, generic) ---- */
.card {
  background-color: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.card:hover { border-color: rgba(212,175,55,0.35); background: var(--navy-light); }
.card:hover::before { opacity: 1; }

.card h3 {
  color: #FFFFFF;
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ---- ESSAY CARD ---- */
.essay-card {
  background-color: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.essay-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.essay-card:hover { border-color: rgba(212,175,55,0.35); background: var(--navy-light); }
.essay-card:hover::before { opacity: 1; }

.essay-card__category {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.essay-card h3 { color: #FFFFFF; font-size: 1.2rem; line-height: 1.35; }

.essay-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.essay-card__meta {
  font-size: 0.85rem;
  color: var(--muted);
}

.essay-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  margin-top: auto;
  gap: 0.5rem;
}

/* ---- STORY CARD ---- */
.story-card {
  background-color: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.story-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.story-card:hover { border-color: rgba(212,175,55,0.35); background: var(--navy-light); }
.story-card:hover::before { opacity: 1; }

.story-card__category {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.story-card h3 { color: #FFFFFF; font-size: 1.2rem; line-height: 1.35; }

.story-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.story-card__footer {
  padding-top: 0.5rem;
  margin-top: auto;
}

/* ---- FREE SHELF CARD ---- */
.free-card {
  background-color: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.free-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.free-card:hover { border-color: rgba(212,175,55,0.35); background: var(--navy-light); }
.free-card:hover::before { opacity: 1; }

.free-card__audience {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.free-card h3 { color: #FFFFFF; font-size: 1.2rem; line-height: 1.35; }

.free-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.free-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 0.5rem;
  margin-top: auto;
}

/* ---- ANSWER CARD ---- */
.answer-card {
  background-color: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.answer-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.answer-card:hover { border-color: rgba(212,175,55,0.35); background: var(--navy-light); }
.answer-card:hover::before { opacity: 1; }

.answer-card__question {
  font-size: 1rem;
  color: #FFFFFF;
  font-style: italic;
  line-height: 1.45;
}

.answer-card__thread {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.answer-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.answer-card__actions {
  padding-top: 0.5rem;
  margin-top: auto;
}

/* ---- SONG CARD ---- */
.song-card {
  background-color: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  transition: border-color 0.25s, background 0.25s;
}
.song-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); opacity: 0; transition: opacity 0.3s;
}
.song-card:hover { border-color: rgba(212,175,55,0.35); background: var(--navy-light); }
.song-card:hover::before { opacity: 1; }

.song-card__theme {
  font-size: 0.85rem;
  color: var(--gold);
  font-style: italic;
}

.song-card h3 { color: #FFFFFF; font-size: 1.25rem; }

.song-card p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.song-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding-top: 0.5rem;
  margin-top: auto;
}

/* ---- DARK CARD (on navy background) ---- */
.dark-card {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dark-card h3 { font-size: 1.15rem; }

.dark-card p {
  font-size: 1rem;
  color: var(--body-text);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

/* ---- PATHWAY CARDS ---- */
.pathway-card {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pathway-card h3 { font-size: 1.15rem; }

.pathway-card p {
  font-size: 1rem;
  color: var(--body-text);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

/* ---- WIP LIST ---- */
.wip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.wip-item {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.wip-item h4 {
  font-size: 0.9rem;
  color: var(--body-text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: normal;
  line-height: 1.4;
}

.wip-item p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* ---- FEATURED LETTER ---- */
.featured-letter {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 3rem;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.featured-letter::before {
  content: '\201C';
  font-size: 9rem;
  color: rgba(212, 175, 55, 0.07);
  font-family: Georgia, serif;
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.featured-letter h3 { margin-bottom: 1rem; font-size: 1.3rem; }

.featured-letter p {
  font-size: 0.97rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.letter-signature {
  color: var(--gold) !important;
  font-style: italic;
  margin-top: 1.5rem !important;
}

/* ---- PREVIEW HEADER ---- */
.preview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.preview-header h2 { margin: 0; }

/* ---- EMAIL SIGNUP ---- */
.email-signup {
  background-color: var(--navy-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}

.signup-inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.signup-inner h2 { margin-bottom: 0.6rem; }

.signup-inner > p {
  color: var(--body-text);
  margin-bottom: 1.75rem;
}

.signup-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.signup-form input {
  flex: 1 1 190px;
  padding: 0.6rem 0.9rem;
  background-color: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--body-text);
  font-family: var(--font-serif);
  font-size: 0.88rem;
}

.signup-form input::placeholder { color: var(--muted); }
.signup-form input:focus { outline: none; border-color: var(--gold); }

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

/* ---- CONTACT FORM ---- */
.contact-form {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  max-width: 620px;
}

.form-group { margin-bottom: 1.4rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.9rem;
  background-color: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--body-text);
  font-family: var(--font-serif);
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9a961'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}

.form-group select option {
  background-color: var(--navy-mid);
  color: var(--body-text);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* ---- CATEGORY FILTER ---- */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 2rem;
}

.cat-btn {
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-family: var(--font-serif);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
}

.cat-btn:hover,
.cat-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(212, 175, 55, 0.08);
}

/* ---- WIDER WORLD CARD ---- */
.world-card {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.world-card h3 { font-size: 1.1rem; }

.world-card p {
  font-size: 0.9rem;
  color: var(--body-text);
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.world-card__tag {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- READER'S CIRCLE BLOCK ---- */
.circle-block {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 3rem;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}

.circle-block h2 { margin-bottom: 1rem; }
.circle-block p { margin-bottom: 1.5rem; }

/* ---- ABOUT / PROSE ---- */
.about-portrait {
  background: linear-gradient(160deg, var(--navy-light), var(--navy-mid));
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  aspect-ratio: 3/4;
  max-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  padding: 1.5rem;
  line-height: 1.6;
}

.about-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.prose p {
  font-size: 0.97rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
  color: var(--body-text);
}

.prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.prose ul li {
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 0.35rem;
  color: var(--body-text);
}

/* ---- STUDIO FEATURE GRID ---- */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.studio-feature {
  background-color: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.studio-feature h4 {
  font-size: 0.88rem;
  color: var(--gold);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
  font-weight: normal;
}

.studio-feature p {
  font-size: 0.83rem;
  color: var(--body-text);
  margin: 0;
  line-height: 1.6;
}

/* ---- LEGAL PAGES ---- */
.legal-content {
  max-width: 720px;
  padding: 3.5rem 0 5rem;
}

.legal-note {
  font-size: 0.82rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin-top: 2.5rem;
  margin-bottom: 0.6rem;
}

.legal-content p,
.legal-content li {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.6rem;
}

/* ---- START HERE GRID ---- */
.start-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* ---- PURCHASE PAGE ---- */
.purchase-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.purchase-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border);
  font-weight: normal;
}

.purchase-table td {
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--body-text);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  vertical-align: middle;
}

.purchase-table tr:last-child td { border-bottom: none; }

/* ---- DIVIDERS ---- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ---- FOOTER ---- */
.site-footer {
  background-color: var(--navy-mid);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.3rem;
  font-weight: normal;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0;
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: normal;
}

.footer-col ul li { margin-bottom: 0.35rem; }

.footer-col ul a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold); }

.footer-col h4 + h4,
.footer-col ul + h4 {
  margin-top: 1.75rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-layout {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-gap: 3.5rem;
    --gutter: 1.25rem;
  }

  /* Mobile nav */
  .site-header { position: relative; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--navy-mid);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem var(--gutter) 1rem;
    z-index: 100;
  }

  .main-nav.open { display: block; }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.6rem 0.2rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    font-size: 0.9rem;
  }

  .main-nav ul li:last-child a { border-bottom: none; }

  .nav-toggle { display: flex; }

  .grid-3,
  .grid-2,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero { padding: 3rem 0 3rem; }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .preview-header {
    flex-direction: column;
    gap: 0.4rem;
  }

  .featured-letter { padding: 1.75rem; }
  .featured-letter::before { font-size: 5rem; }

  .circle-block { padding: 2rem; }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 100%;
    aspect-ratio: auto;
    min-height: 200px;
  }

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

  .contact-form { padding: 1.75rem; }
}

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

  .signup-form .form-row {
    flex-direction: column;
  }

  .signup-form input,
  .signup-form .btn {
    width: 100%;
    flex: none;
  }

  .hero__actions .btn { width: 100%; text-align: center; }

  .story-card h3,
  .song-card h3,
  .free-card h3 { font-size: 1.1rem; }

  .story-card p,
  .song-card p,
  .free-card p { font-size: 0.95rem; }

  .story-card__category,
  .free-card__audience { font-size: 0.8rem; }

  .song-card__theme { font-size: 0.85rem; }
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */

.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: var(--gold);
  color: var(--navy);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s;
  transform: translateY(8px);
  z-index: 999;
  font-weight: 700;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--gold-light);
}

/* ============================================================
   12X.AU HEADER BACK-LINK
   ============================================================ */

.logo-world-link {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-top: 0.25rem;
  transition: color 0.2s;
}

.logo-world-link:hover {
  color: var(--gold);
}
