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

/* ============================================================
   Christopher S. Krafcky — Author Site
   Redesigned stylesheet — clean, editorial, cinematic
   ============================================================ */

/* --- Custom properties --- */
:root {
  --display: "Lato", sans-serif;
  --sans: "Lato", sans-serif;

  --bg:        #090a0c;
  --bg2:       #0e0f12;
  --surface:   #13141a;
  --surface2:  #191b23;
  --ink:       #f0f1f4;
  --ink-soft:  #e4e1d9;
  --muted:     #9ea4b0;
  --muted2:    #7a8090;
  --line:      rgba(255,255,255,.07);

  --brand:     #c49a50;   /* antique gold — slightly warmer */
  --brand-dim: rgba(196,154,80,.18);
  --accent:    #3d7050;   /* leaf green */
  --accent-dim:rgba(61,112,80,.14);

  --shadow-sm: 0 4px 16px rgba(0,0,0,.35);
  --shadow:    0 12px 40px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.6);

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 26px;

  --max:   1160px;
  --gutter: 28px;

  --transition: .22s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 600px at 15% -5%,  rgba(196,154,80,.18) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 90%  8%,  rgba(61,112,80,.12)  0%, transparent 58%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(196,154,80,.06) 0%, transparent 55%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img  { max-width: 100%; display: block; height: auto; }
a    { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
p    { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.2rem; }
li { margin: .4em 0; }
hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

/* --- Layout helpers --- */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: 840px; margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: .015em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); letter-spacing: .008em; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; }

.kicker {
  font-family: var(--display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .6rem;
  display: block;
}
.muted  { color: var(--muted); }
.muted2 { color: var(--muted2); }
.subhead {
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 56ch;
}

blockquote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--brand);
  background: rgba(196,154,80,.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
}
blockquote small { display: block; margin-top: .5rem; font-style: normal; color: var(--muted); font-size: .85rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .72rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.btn:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.btn.primary {
  background: linear-gradient(135deg, var(--brand) 0%, rgba(196,154,80,.75) 100%);
  border-color: rgba(196,154,80,.6);
  color: #0e0c08;
  font-weight: 600;
}
.btn.primary:hover {
  background: linear-gradient(135deg, #d4aa5a 0%, var(--brand) 100%);
  border-color: var(--brand);
  box-shadow: 0 6px 24px rgba(196,154,80,.28);
  color: #0e0c08;
}
.btn.ghost {
  background: transparent;
  border-color: rgba(196,154,80,.4);
  color: var(--ink-soft);
}
.btn.ghost:hover {
  background: rgba(196,154,80,.08);
  border-color: rgba(196,154,80,.65);
  color: var(--ink-soft);
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .8rem;
  border: 1px solid rgba(196,154,80,.4);
  background: rgba(10,11,13,.55);
  border-radius: 999px;
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .07em;
  color: var(--ink-soft);
  backdrop-filter: blur(10px);
}
.badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px rgba(196,154,80,.8);
  flex-shrink: 0;
}

/* --- Status pills --- */
.status {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .85rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(20,21,26,.5);
  color: var(--muted);
}
.status.available {
  border-color: rgba(61,112,80,.4);
  background: rgba(61,112,80,.12);
  color: #7ecb97;
}
.status.soon {
  border-color: rgba(196,154,80,.4);
  background: rgba(196,154,80,.1);
  color: var(--brand);
}

/* --- Progress bar --- */
.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 300;
  background: linear-gradient(90deg, var(--brand) 0%, rgba(61,112,80,.7) 100%);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* --- Header & Nav --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9,10,12,.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img { height: 32px; width: auto; opacity: .92; }
.nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav ul a {
  font-size: .82rem;
  color: var(--muted);
  padding: .4rem .5rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  letter-spacing: .01em;
  white-space: nowrap;
}
.nav ul a:hover { color: var(--ink); background: rgba(255,255,255,.05); }
.nav .buy { padding: .52rem 1rem; }
.nav-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(20,21,26,.6);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: .42rem .75rem;
  font-size: .88rem;
  cursor: pointer;
}

/* --- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero-sweep {
  position: absolute;
  inset: -30% -20%;
  background:
    radial-gradient(45% 40% at 18% 22%, rgba(196,154,80,.11) 0%, transparent 60%),
    radial-gradient(40% 35% at 82% 28%, rgba(61,112,80,.09) 0%, transparent 60%),
    linear-gradient(115deg,
      transparent 0%,
      rgba(255,255,255,.05) 22%,
      transparent 40%,
      transparent 60%,
      rgba(255,255,255,.04) 76%,
      transparent 90%);
  filter: blur(22px);
  opacity: .6;
  animation: heroSweep 16s ease-in-out infinite;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes heroSweep {
  0%   { transform: translate3d(-3%,-2%,0) rotate(-.8deg); opacity: .5; }
  50%  { transform: translate3d( 4%, 2%,0) rotate( .8deg); opacity: .68; }
  100% { transform: translate3d(-3%,-2%,0) rotate(-.8deg); opacity: .5; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin: 14px 0 16px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* Cover wrap */
.cover-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(196,154,80,.08),
    inset 0 1px 0 rgba(255,255,255,.06);
  transform: translateZ(0);
}
.cover-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 35% at 60% 38%, rgba(196,154,80,.18) 0%, transparent 60%);
  pointer-events: none;
}
.cover-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .6s ease;
}
.cover-wrap:hover img { transform: scale(1.02); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: rgba(233,230,223,.55);
  letter-spacing: .25em;
  font-size: .66rem;
  text-transform: uppercase;
  pointer-events: none;
}
.scroll-cue__chev {
  width: 16px; height: 16px;
  border-right: 1.5px solid rgba(196,154,80,.55);
  border-bottom: 1.5px solid rgba(196,154,80,.55);
  transform: rotate(45deg);
  animation: cueBounce 1.8s ease-in-out infinite;
}
@keyframes cueBounce {
  0%,100% { transform: rotate(45deg) translate3d(0,0,0); opacity: .7; }
  50%      { transform: rotate(45deg) translate3d(0,5px,0); opacity: 1; }
}

/* --- Sections --- */
.section { padding: 80px 0; }
.section.alt {
  background:
    linear-gradient(180deg, rgba(20,21,26,.5) 0%, rgba(14,15,19,.3) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* --- Page hero (internal pages) --- */
.page-hero--compact { padding: 52px 0 36px; }
.page-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--ink-soft);
  letter-spacing: .01em;
  margin: 0 0 12px;
  line-height: 1.08;
}
.page-title--plain {
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
  letter-spacing: .06em;
  color: rgba(196,154,80,.92);
  text-transform: uppercase;
  font-weight: 700;
}

/* --- Book cards grid --- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(15,16,21,.6);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  backdrop-filter: blur(10px);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(255,255,255,.12);
}
.card .cover { flex: 0 0 auto; position: relative; }
.card .cover img,
.card > img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s ease;
}
/* Devotional cover is taller — anchor to top so the title isn't cropped */
.card .cover img[src*="devotional"] {
  object-position: center top;
}
.card:hover .cover img,
.card:hover > img { transform: scale(1.03); }

/* Overflow clip for the image zoom */
.card { overflow: hidden; }
.card .cover { overflow: hidden; }

.card .p {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 20px;
}
.card h3 { margin: 4px 0 4px; font-size: 1.1rem; }
.card .meta {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.card .actions {
  margin-top: auto;
  padding-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.card .actions .btn {
  width: 100%;
  justify-content: center;
  padding-left: 10px;
  padding-right: 10px;
  font-size: .86rem;
}
.card .actions .btn:only-child { grid-column: 1 / -1; }

/* --- Split layout (About, book detail) --- */
.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 52px;
  align-items: center;
}
.portrait {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(196,154,80,.08) 0%, transparent 55%);
  pointer-events: none;
}
.portrait img { width: 100%; height: auto; display: block; }

/* --- Signup panels --- */
.signup-panel { padding: 0; }
.signup-panel__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
  border: 1px solid rgba(196,154,80,.18);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(196,154,80,.1) 0%, transparent 60%),
    radial-gradient(500px 280px at 92% 10%, rgba(61,112,80,.08) 0%, transparent 60%),
    linear-gradient(180deg, rgba(19,20,26,.9) 0%, rgba(13,14,18,.8) 100%);
  box-shadow: var(--shadow);
}
.signup-panel__eyebrow {
  display: block;
  margin: 0 0 8px;
  color: rgba(196,154,80,.85);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-family: var(--display);
  font-weight: 700;
}
.signup-panel__content h2 { margin: 0 0 10px; }
.signup-panel__content p  { color: var(--muted); }

.signup-form { display: grid; gap: 10px; }
.signup-form label { display: block; }
.signup-form input,
.signup-form select,
.signup-form textarea {
  width: 100%;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(14,15,19,.7);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .94rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.signup-form input::placeholder { color: rgba(255,255,255,.38); }
.signup-form input:focus,
.signup-form select:focus,
.signup-form textarea:focus {
  outline: none;
  border-color: rgba(196,154,80,.5);
  box-shadow: 0 0 0 3px rgba(196,154,80,.1);
}
.signup-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.signup-form__note {
  margin: 2px 0 0;
  color: var(--muted2);
  font-size: .82rem;
}
.signup-form__hidden { display: none; }

.signup-compact {
  width: min(100%, 420px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.signup-compact input {
  min-width: 0;
  padding: 10px 12px;
}
.signup-compact button { white-space: nowrap; }

/* --- Footer --- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: rgba(8,9,11,.7);
}
.footer .foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer .foot-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 340px;
}
.footer .foot-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer a { color: var(--muted2); font-size: .88rem; }
.footer a:hover { color: var(--brand); }
.footer .muted { font-size: .88rem; }
.footer .foot-signup { flex: 1 1 340px; max-width: 460px; }
.footer .foot-signup h3 {
  font-size: 1rem;
  margin: 0 0 4px;
  color: var(--ink-soft);
}
.footer .foot-signup p {
  margin: 0 0 10px;
  color: var(--muted2);
  font-size: .88rem;
}
.footer .foot-signup .signup-form__note { font-size: .76rem; }

/* --- Back-to-top --- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  z-index: 150;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(20,21,26,.8);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: .55rem .75rem;
  font-size: 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition);
}
.to-top:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.to-top.show { display: inline-flex; }

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* --- Hub section --- */
.hub {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  background:
    radial-gradient(700px 380px at 16% 28%, rgba(196,154,80,.13) 0%, transparent 58%),
    radial-gradient(600px 360px at 90% 18%, rgba(61,112,80,.10) 0%, transparent 58%),
    linear-gradient(180deg, rgba(20,21,26,.75) 0%, rgba(12,13,16,.4) 100%);
  box-shadow: var(--shadow);
}
.hub-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.hub-top .leadline { max-width: 65ch; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
  margin-top: 20px;
}
.hub-tile {
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(14,15,20,.55);
  border-radius: 18px;
  padding: 18px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hub-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hub-tile .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.hub-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-tile h3 { margin: 0 0 6px; font-size: 1.06rem; }
.hub-tile p  { margin: 0; color: var(--muted); font-size: .93rem; }
.actions-row { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }

/* --- Journal --- */
.journal-feature {
  border: 1px solid rgba(196,154,80,.18);
  background: linear-gradient(160deg, rgba(196,154,80,.06) 0%, rgba(14,15,20,.6) 50%);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow);
}
.journal-feature__content h2 { margin: 8px 0 12px; }
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}
.journal-card {
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(14,15,20,.5);
  border-radius: var(--radius);
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.journal-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(255,255,255,.12); }
.journal-card h3 { margin: 0; font-size: 1.04rem; line-height: 1.3; }
.journal-card p  { margin: 0; color: var(--muted); font-size: .93rem; }
.journal-meta-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.journal-tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(196,154,80,.3);
  background: rgba(196,154,80,.1);
  color: var(--brand);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: .73rem;
  letter-spacing: .04em;
  font-weight: 500;
}
.journal-date { font-size: .76rem; color: var(--muted2); }

/* --- Media/Speaking --- */
.media-intro { align-items: start; }
.media-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin-top: 16px;
}
.media-card-grid--two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.media-card {
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(14,15,20,.55);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition);
}
.media-card:hover { border-color: rgba(255,255,255,.13); }
.media-card h3 { margin: 0 0 8px; font-size: 1.02rem; }
.media-card p  { margin: 0; color: var(--muted); }
.media-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 14px;
}
.media-list-box {
  border: 1px solid rgba(255,255,255,.07);
  background: rgba(14,15,20,.45);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.media-list-box ul { margin: 0; padding-left: 1.1rem; }
.media-list-box li { margin: .4rem 0; color: var(--muted); }
.media-questions { margin: 0; padding-left: 1.05rem; }
.media-questions li { margin: .5rem 0; color: var(--muted); }
.media-cta {
  border: 1px solid rgba(196,154,80,.2);
  background: rgba(14,15,20,.55);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: grid;
  gap: 16px;
}
.media-cta h2 { margin-top: 4px; }

/* --- Contact form inputs (inline styles fallback) --- */
input[type="text"], input[type="email"], select, textarea {
  color-scheme: dark;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  :root { --gutter: 20px; }

  .hero { padding: 72px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid > .reveal:last-child { order: -1; }
  .hero h1 { text-align: center; }
  .hero .badge, .hero .subhead, .hero-actions { text-align: center; justify-content: center; }

  .grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hub-grid { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .media-card-grid, .media-card-grid--two, .media-list-grid { grid-template-columns: 1fr; }
  .signup-panel__inner { grid-template-columns: 1fr; padding: 24px 22px; }
  .signup-form__row { grid-template-columns: 1fr; }

  .nav-toggle { display: inline-flex; flex-shrink: 0; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand img { max-width: 200px; }
  .nav ul {
    position: absolute;
    right: var(--gutter);
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(9,10,12,.96);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 12px;
    min-width: 220px;
    box-shadow: var(--shadow);
  }
  .nav ul.open { display: flex; }
  .nav ul a { padding: .65rem .8rem; font-size: .92rem; }
  .nav .buy { text-align: center; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 48px; }
  .page-hero--compact { padding: 38px 0 26px; }
  .card .actions { grid-template-columns: 1fr; }
  .signup-compact { grid-template-columns: 1fr; }
  .signup-panel__inner { padding: 20px 18px; }
  .media-cta { padding: 20px 20px; }
}

@media (max-width: 400px) {
  :root { --gutter: 14px; }
}

/* --- Respect reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .hero-sweep, .scroll-cue__chev { animation: none !important; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .cover-wrap img, .card:hover .cover img, .card:hover > img { transition: none !important; }
}

/* --- hide-kicker utility --- */
.hide-kicker .kicker { display: none; }

/* === Post Pages: Editorial Minimal Overrides === */
/* Scoped to article pages only to avoid impacting the rest of the site */
body.post-page{
  /* soften the gold ambient wash on post pages only */
  background-image:
    radial-gradient(ellipse 900px 600px at 15% -5%,  rgba(196,154,80,.10) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 90%  8%,  rgba(61,112,80,.10)  0%, transparent 58%),
    radial-gradient(ellipse 600px 400px at 50% 100%, rgba(196,154,80,.04) 0%, transparent 55%);
}

/* Kicker row pills: neutral, not gold */
body.post-page .journal-tag{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}

/* Main post title in the hero: match Featured vibe, keep it white */
body.post-page .feature-title{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  margin: 10px 0 10px;
  text-transform: none;
}
body.post-page .feature-title em{
  font-style: italic;
  color: var(--ink-soft);
}

/* If any page-title styles leak in, neutralize them on post pages */
body.post-page .page-title--plain{
  text-transform: none;
  letter-spacing: .01em;
  color: var(--ink-soft);
}

/* Body typography: editorial rhythm */
body.post-page .prose{
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--ink);
}

body.post-page .prose p{
  margin: 0 0 1.05em;
}

/* Lead paragraph */
body.post-page .prose p.lead{
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 1.15em 0 1.15em;
}

/* Section headings: clean + not oversized */
body.post-page .prose h2{
  font-size: 1.15rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 2.1rem 0 .75rem;
  color: var(--ink-soft);
  text-transform: none;
}

/* Softer rules */
body.post-page hr{
  border-top: 1px solid rgba(255,255,255,.10);
  margin: 1.8rem 0;
}

/* Blockquotes: minimal (remove gold + heavy italic on post pages) */
body.post-page blockquote{
  border-left: 2px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color: var(--ink-soft);
  font-family: var(--display);
  font-style: normal;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
body.post-page blockquote .muted{
  color: var(--muted);
}

/* Ghost buttons: neutral outline on post pages (less gold) */
body.post-page .btn.ghost{
  border-color: rgba(255,255,255,.18);
  color: var(--ink-soft);
}
body.post-page .btn.ghost:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.26);
  color: var(--ink-soft);
}