:root {
  --cream: #f9f7f2;
  --ink: #121212;
  --gold: #a67c52;
  --gold-light: #c9a77e;
  --muted: #6b665e;
  --line: #e4dfd4;
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header — fixed, transparent, becomes cream on scroll */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  transition: background 0.5s ease;
}

.site-header.scrolled {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header:not(.scrolled) .logo { color: var(--cream); }
.site-header:not(.scrolled) .logo em { color: var(--gold-light); }
.site-header:not(.scrolled) .menu-btn { color: rgba(249,247,242,0.8); }
.site-header:not(.scrolled) .menu-btn:hover { color: var(--gold-light); }
.site-header:not(.scrolled) .lang-switcher { border-color: rgba(249,247,242,0.25); background: rgba(0,0,0,0.25); }
.site-header:not(.scrolled) .lang-btn { color: rgba(249,247,242,0.7); }
.site-header:not(.scrolled) .lang-btn.active { background: var(--cream); color: var(--ink); }
.site-header:not(.scrolled) .lang-sep { color: rgba(249,247,242,0.4); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-word {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
}

.logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.logo em { color: var(--gold); font-style: normal; }

.logo-cream { color: var(--cream); }
.logo-cream em { color: var(--gold-light); }

.menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(18, 18, 18, 0.7);
  padding: 8px 0;
}

.menu-btn:hover { color: var(--gold); }

.menu-btn-cream { color: rgba(249, 247, 242, 0.7); }
.menu-btn-cream:hover { color: var(--gold-light); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switcher { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; background: rgba(255,255,255,0.6); backdrop-filter: blur(6px); }
.site-header.scrolled .lang-switcher { background: var(--white); }
.lang-btn { background: none; border: none; cursor: pointer; font-family: var(--sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); padding: 2px 4px; border-radius: 999px; }
.lang-btn.active { background: var(--ink); color: var(--cream); padding: 2px 8px; }
.lang-sep { color: var(--line); font-size: 0.7rem; }

/* Fullscreen overlay menu */
.overlay-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.overlay-menu.open { opacity: 1; visibility: visible; }

.overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(249, 247, 242, 0.08);
}

.overlay-nav {
  flex: 1;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overlay-nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(249, 247, 242, 0.1);
  padding: 22px 4px;
  color: var(--cream);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 300;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.overlay-nav a:hover { color: var(--gold-light); padding-left: 12px; }

.overlay-nav a span { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; }

.overlay-foot {
  padding: 24px 0 40px;
  text-align: center;
}

/* Hero — dark editorial like base44 (stairs, person, light) */
.hero {
  background: #0a0a0a;
  color: var(--cream);
  padding: 190px 0 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url("/images/hero.jpg");
  background-size: cover;
  background-position: center 40%;
  opacity: 0.55;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.65));
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero .kicker {
  color: var(--gold-light);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.05;
  max-width: 860px;
  margin: 0 auto 24px;
  font-style: italic;
  color: var(--cream);
}

.hero p {
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 44px;
  color: rgba(249,247,242,0.75);
  font-weight: 300;
}
.hero .btn-pill { background: var(--cream); color: var(--ink); }
.hero .btn-pill:hover { background: var(--gold-light); }
.hero .btn-pill-outline { background: transparent; border: 1px solid rgba(249,247,242,0.5); color: var(--cream); }
.hero .btn-pill-outline:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }

.hero-btns {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Pill buttons like original */
.btn-pill {
  display: inline-block;
  border: none;
  cursor: pointer;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  padding: 17px 38px;
  border-radius: 9999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-pill:hover { background: var(--gold); color: var(--ink); }

.btn-pill-outline {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
}

.btn-pill-outline:hover { border-color: var(--gold); }

.btn-pill-cream {
  background: var(--cream);
  color: var(--ink);
}

.btn-pill-cream:hover { background: var(--gold-light); }

/* Sections */
.section { padding: 90px 0; position: relative; }


.section .container { position: relative; z-index: 1; }

.section-head {
  text-align: center;
  margin-bottom: 54px;
}

.section-head .kicker {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ink);
  line-height: 1.15;
}

.section-title em {
  color: var(--gold);
  font-style: italic;
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 12px auto 0;
}


@media (max-width: 640px) {
  .journal-item { flex-direction: column; gap: 10px; }
  .journal-arrow { display: none; }
}


/* Responsive */
@media (max-width: 640px) {
  .header-inner { flex-direction: column; height: auto; padding: 16px 0; gap: 12px; }
  .nav { gap: 22px; }
  .hero { padding: 80px 0 70px; }
  .section { padding: 60px 0; }
  .article-header { padding: 60px 0 36px; }
  .footer-inner { flex-direction: column; }
  .grid { gap: 28px; }
}
/* ===== Original Motiva Hub sections ===== */
.kicker {
  color: var(--gold);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.link-ochre {
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
}

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

/* Premise */
.premise {
  padding: 110px 0;
  text-align: center;
}

.premise h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 22px;
}

.premise h2 em { color: var(--gold); font-style: italic; }

.premise-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.25;
  max-width: 880px;
  margin: 0 auto;
  color: var(--ink);
}

.premise-title em { color: var(--gold); font-style: italic; }

.premise-line {
  height: 1px;
  background: var(--line);
  margin: 48px auto;
  max-width: 880px;
}

.pillar-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 10px;
}

.premise-sub {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 60px;
  font-size: 1rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.pillar { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pillar-img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; margin-bottom: 16px; display: block; }

.pillar-word {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}

.pillar p:last-child { color: var(--muted); font-size: 0.9rem; }

/* Feed */
.feed { background: var(--white); padding: 110px 0; }

.feed-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.feed-head .kicker { margin-bottom: 0; }

.feed-list {
  border-top: 1px solid var(--line);
}

.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding: 38px 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease;
}

.feed-item:hover { background: var(--cream); }

.feed-num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  min-width: 46px;
  padding-top: 4px;
}

.feed-body { flex: 1; }

.feed-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.feed-tag {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.feed-desc { color: var(--muted); font-size: 0.92rem; max-width: 640px; }

.feed-arrow {
  font-size: 1.5rem;
  color: var(--gold);
  padding-top: 6px;
  transition: transform 0.2s ease;
}

.feed-item:hover .feed-arrow { transform: translateX(6px); }

/* Blueprint + Bookstand */
.blueprint { padding: 110px 0; }

.bookstand { background: var(--ink); padding: 110px 0; }

.bookstand .kicker { color: var(--gold-light); }

.bp-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 14px;
}

.bp-title em { color: var(--gold); font-style: italic; }

.bookstand .bp-title { color: var(--cream); }
.bookstand .bp-title em { color: var(--gold-light); }

.bookstand .premise-sub { color: rgba(249, 247, 242, 0.6); }

.bp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 26px;
  margin-top: 54px;
}

.bp-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
}

.bookstand .bp-card { background: var(--graphite, #2a2a2a); border-color: rgba(249, 247, 242, 0.12); }
.bookstand .bp-card h3 { color: var(--cream); }
.bookstand .bp-card p:not(.bp-meta) { color: rgba(249, 247, 242, 0.65); }

.bp-meta {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.bp-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.25;
}

.bp-card > p:not(.bp-meta) { color: var(--muted); font-size: 0.9rem; flex: 1; }

/* Journal section (home) */
.journal { padding: 110px 0; }

.journal-meta {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .premise, .feed, .blueprint, .bookstand, .journal { padding: 70px 0; }
  .hero { padding: 140px 0 80px; }
  .feed-item { flex-direction: column; gap: 14px; }
  .feed-arrow { display: none; }
}

/* Quotes page */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
}

.quote-card p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.4;
  flex: 1;
}

.quote-card cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* About / Contact */
.about-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  margin: 40px 0 14px;
}

.about-body p { color: var(--muted); margin-bottom: 16px; max-width: 680px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-bottom: 70px;
}

.contact-block {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px;
}

.contact-block h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
}

.contact-form {
  max-width: 520px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-form .form-group { margin-top: 20px; }

/* Page head */
.page-head { padding: 150px 0 50px; }
.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-head h1 em { color: var(--gold); }
.page-head p:last-child { color: var(--muted); max-width: 620px; }

/* Grid + cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
}

.card-img-link { display: block; overflow: hidden; }
.card-img { width: 100%; height: 320px; object-fit: cover; transition: transform 0.4s ease; }
.card-img-link:hover .card-img { transform: scale(1.04); }
.card-pad { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }

.card-meta {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.card h3, .card h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.card h3 a, .card h2 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { color: var(--gold); }

.card p:not(.card-meta):not(.card-date) { color: var(--muted); font-size: 0.92rem; flex: 1; }

.card-date {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 14px 0 0;
}

.read-more {
  margin-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--ink);
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  align-self: flex-start;
  transition: all 0.2s ease;
}

.read-more:hover { background: var(--gold); border-color: var(--gold); color: var(--cream); }
.read-more-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  border-style: dashed;
  background: transparent;
  color: var(--ink);
  pointer-events: none;
}
.bookstand .read-more { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.bookstand .read-more:hover { background: var(--gold-light); border-color: var(--gold-light); }
.bookstand .read-more-disabled { background: transparent; color: var(--cream); border-color: rgba(249,247,242,0.3); }

/* Featured card */
.featured-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  margin-bottom: 50px;
}

.featured-card .card-pad { padding: 40px 40px; justify-content: center; }
.featured-card h2 { font-size: 1.8rem; }
.featured-card .card-img { height: 100%; min-height: 320px; }

@media (max-width: 800px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-card .card-img { height: 240px; min-height: 0; }
}

/* Topic filter */
.topic-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.topic-filter a {
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.topic-filter a:hover { border-color: var(--gold); color: var(--gold); }
.topic-filter a.active { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* Article nav */
.article-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

/* Topics grid */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
}

.topic-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.topic-top h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; }
.topic-count { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.topic-card > p { color: var(--muted); font-size: 0.92rem; flex: 1; }

/* Books */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.book-card {
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 18, 18, 0.08);
}

.book-cover { width: 130px; height: 200px; object-fit: cover; }
.book-cat { position: absolute; top: 12px; left: 12px; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cream); background: rgba(18,18,18,0.55); padding: 5px 8px; backdrop-filter: blur(4px); }
.book-body { padding: 22px 20px; display: flex; flex-direction: column; }
.book-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin-bottom: 4px; }
.book-author { font-size: 0.78rem; color: var(--muted); margin-bottom: 10px; font-style: italic; }
.book-desc { font-size: 0.88rem; color: var(--muted); margin-bottom: 8px; }
.book-reason { font-size: 0.85rem; color: var(--muted); flex: 1; }
.book-reason strong { color: var(--ink); }
.bookstand .book-grid { display: flex; gap: 28px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.bookstand .book-grid::-webkit-scrollbar { height: 6px; }
.bookstand .book-grid::-webkit-scrollbar-thumb { background: rgba(249,247,242,0.2); border-radius: 999px; }
.bookstand .book-card { background: transparent; border: none; display: flex; flex-direction: column; flex: 0 0 300px; scroll-snap-align: start; }
.bookstand .book-cover { width: 100%; height: 360px; }
.bookstand .book-body { padding: 18px 0 0; }
.bookstand .book-card h3 { color: var(--cream); }
.bookstand .book-author { color: rgba(249,247,242,0.65); }
.bookstand .book-desc { color: rgba(249,247,242,0.6); }
.bookstand .book-reason { color: rgba(249,247,242,0.5); }
.bookstand .book-reason strong { color: var(--gold-light); }
.bookstand .book-cat { background: rgba(255,255,255,0.12); }

.affiliate-note {
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding-top: 20px;
  max-width: 720px;
}

.book-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink);
  margin-top: 26px;
}

/* Quote band (home) */
.quote-band { padding: 90px 0; text-align: center; }
.band-quote { max-width: 760px; margin: 0 auto 26px; }
.band-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 16px;
}
.band-quote cite { font-style: normal; color: rgba(249, 247, 242, 0.6); font-size: 0.85rem; letter-spacing: 0.1em; }

/* Goals tracker */
.goals-section { padding: 90px 0; }
.goals {
  background: var(--ink);
  padding: 60px;
  max-width: 680px;
  margin: 0 auto;
  color: var(--cream);
}
.goals-head { text-align: center; margin-bottom: 26px; }
.goals-head .kicker { color: var(--gold-light); }
.goals-head h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; margin-bottom: 6px; }
.goals-sub { color: rgba(249, 247, 242, 0.6); font-size: 0.9rem; }

.goals-progress { margin-bottom: 24px; }
.goals-bar { height: 4px; background: rgba(249, 247, 242, 0.15); border-radius: 2px; overflow: hidden; }
.goals-bar span { display: block; height: 100%; width: 0; background: var(--gold-light); transition: width 0.3s ease; }
.goals-count { text-align: right; font-size: 0.75rem; margin-top: 8px; color: rgba(249, 247, 242, 0.6); }

.goals-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.goal-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(249, 247, 242, 0.06);
  padding: 14px 18px;
}
.goal-item p { flex: 1; font-size: 0.98rem; }
.goal-item.done p { text-decoration: line-through; color: rgba(249, 247, 242, 0.45); }
.goal-check {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid rgba(249, 247, 242, 0.4);
  background: none; color: var(--ink);
  cursor: pointer; font-size: 0.9rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.goal-item.done .goal-check { background: var(--gold-light); border-color: var(--gold-light); }
.goal-remove {
  background: none; border: none; color: rgba(249, 247, 242, 0.5);
  cursor: pointer; font-size: 1.3rem; line-height: 1;
}
.goal-remove:hover { color: var(--gold-light); }

.goals-add { display: flex; gap: 12px; }
.goals-add input {
  flex: 1; padding: 13px 16px; border: 1px solid rgba(249, 247, 242, 0.25);
  background: transparent; color: var(--cream); font-family: var(--sans); font-size: 0.95rem;
}
.goals-add input:focus { outline: none; border-color: var(--gold-light); }
.goals-note { margin-top: 14px; font-size: 0.78rem; color: rgba(249, 247, 242, 0.45); }

/* Newsletter */
.newsletter { background: var(--cream); border-top: 1px solid var(--line); padding: 90px 0; text-align: center; }
.newsletter h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: 14px; }
.newsletter-sub { color: var(--muted); max-width: 560px; margin: 0 auto 34px; font-size: 0.98rem; }
.newsletter-form { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1 1 160px; padding: 14px 18px; border: 1px solid var(--line);
  background: var(--white); font-family: var(--sans); font-size: 0.95rem; color: var(--ink);
}
.newsletter-form input:focus { outline: none; border-color: var(--gold); }
.newsletter-form button { flex: 0 0 auto; }
.newsletter-note { margin-top: 12px; font-size: 0.75rem; color: var(--muted); }

/* Social sharing */
.social-share { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.social-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.social-btn { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--line); padding: 9px 14px; background: var(--white); color: var(--ink); text-decoration: none; cursor: pointer; font-family: var(--sans); border-radius: 999px; transition: all 0.2s ease; }
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.social-msg { font-size: 0.78rem; color: var(--gold); margin-left: 4px; }

/* Auth */
.auth-section { padding: 150px 0 90px; }
.auth-card {
  max-width: 460px; margin: 0 auto; background: var(--white);
  border: 1px solid var(--line); padding: 50px 46px;
}
.auth-card h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2.2rem; margin-bottom: 6px; }
.auth-card h1 em { color: var(--gold); }
.auth-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 30px; }
.auth-form { display: flex; flex-direction: column; gap: 6px; }
.auth-links { display: flex; justify-content: space-between; margin-top: 22px; font-size: 0.85rem; flex-wrap: wrap; gap: 10px; }
.auth-links a { color: var(--gold); text-decoration: none; }
.auth-links a:hover { text-decoration: underline; }

/* Legal */
.legal { max-width: 720px; margin: 0 auto; padding: 140px 24px 90px; }
.legal h1 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(2rem, 4.5vw, 2.8rem); margin-bottom: 26px; }
.legal h2 { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; margin: 32px 0 12px; }
.legal p { margin-bottom: 14px; }
.legal ul { margin: 0 0 14px 26px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--gold); }

/* Hero photo */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.09;
  pointer-events: none;
}

@media (max-width: 640px) {
  .goals { padding: 36px 24px; }
  .goals-add { flex-direction: column; }
  .newsletter-form { flex-direction: column; }
  .book-card { grid-template-columns: 1fr; }
  .book-cover { width: 100%; height: 260px; }
}
