@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Nunito:wght@300;400;600&family=Nunito+Sans:wght@300;400;600&display=swap');

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

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-accent: #bf3c42;
  --color-dark: #17161c;
  --color-navy: #1f222f;
  --color-yellow: #f4dd10;
  --color-salmon: #fe805d;
  --color-border: #e5e5e5;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Nunito', system-ui, sans-serif;
  --max-width: 1100px;
  --section-padding: 5rem 1.5rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
a:hover { opacity: 0.75; text-decoration: underline; }

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

/* ── NAVIGATION ─────────────────────────────────────────── */

nav {
  background: var(--color-yellow);
  padding: 0 40px;
  position: relative;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 81px;
}

.nav-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.69rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.nav-brand:hover { opacity: 0.8; text-decoration: none; }

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
  text-decoration: none;
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── HERO — split grid: book spans both halves ───────────── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  min-height: 680px;
}

.hero-book-col {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(to bottom, #ffffff 50%, var(--color-dark) 50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 3rem 3rem 3rem 4rem;
}

.hero-book-cover {
  width: clamp(281px, 33.6vw, 374px);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.30));
}

.hero-right-top {
  grid-column: 2;
  grid-row: 1;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem 2rem 3rem;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
  text-align: center;
}

.hero-right-bottom {
  grid-column: 2;
  grid-row: 2;
  background: var(--color-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 4rem 3.5rem 3rem;
  gap: 1.5rem;
}

.hero-available-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  text-align: center;
}

.hero-cta {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  width: auto;
}

/* ── BUTTONS ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; opacity: 1; }

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.btn-primary:hover { background: #a82e34; border-color: #a82e34; color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}
.btn-outline:hover { background: var(--color-accent); color: #fff; }

/* White outlined buttons for dark backgrounds */
.btn-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  justify-content: center;
  text-align: center;
  padding: 0.85rem 1.75rem;
  font-size: 0.9rem;
  white-space: nowrap;
}
.btn-white:hover { background: #fff; color: var(--color-dark); border-color: #fff; }

/* ── AWARDS + RESOURCES BAR ──────────────────────────────── */

.awards {
  padding: 2.5rem 2rem;
  background: var(--color-accent);
}

.awards-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.awards-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.award-img {
  height: 110px;
  width: auto;
  display: block;
}

.awards-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.award-link-group {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}

.award-link {
  color: #fff;
  text-decoration: underline;
}
.award-link:hover { opacity: 0.85; text-decoration: underline; }

/* ── GENERIC SECTIONS ────────────────────────────────────── */

.section {
  padding: var(--section-padding);
  background: #fff;
}

.section-alt {
  background: #faf9f7;
}

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

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.section-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
  max-width: 720px;
}

/* ── DARK SECTION (endorsements) ─────────────────────────── */

.section-dark {
  background: var(--color-navy);
  padding: var(--section-padding);
}

.section-dark .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-dark .section-label {
  color: var(--color-salmon);
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .divider {
  background: var(--color-salmon);
}

/* ── ENDORSEMENTS ───────────────────────────────────────── */

.endorsements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.endorsement-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
}

.endorsement-card::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--color-salmon);
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
}

.endorsement-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}

.endorsement-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-salmon);
}

.endorsement-author-title {
  display: block;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

/* ── ABOUT THE AUTHOR ────────────────────────────────────── */

.author-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.author-photo-col {
  overflow: hidden;
}

.author-photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: grayscale(100%);
}

.author-text-col {
  background: var(--color-yellow);
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.author-text-col .section-label {
  color: rgba(0,0,0,0.55);
}

.author-text-col .section-title {
  color: var(--color-dark);
}

.author-text-col .divider {
  background: var(--color-dark);
  opacity: 0.25;
}

.author-text-col .section-text {
  color: var(--color-dark);
  max-width: 480px;
}

/* ── FEATURED QUOTE (Dybdahl) ────────────────────────────── */

.featured-quote-section {
  background: var(--color-dark);
  padding: 5rem 2rem;
}

.featured-quote-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.featured-quote-inner::before {
  content: "\201C";
  font-family: var(--font-serif);
  font-size: 8rem;
  line-height: 0.7;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: -1rem;
  left: -2rem;
  pointer-events: none;
}

.featured-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic;
  line-height: 1.85;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
}

.featured-quote-attr {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
}

/* ── ABOUT THE BOOK LAYOUT ───────────────────────────────── */

.book-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 5rem;
  align-items: center;
}

.book-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--color-text);
}

/* ── BLOG POST CARD ──────────────────────────────────────── */

.post-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: 0 0 8px 8px;
  max-width: 740px;
  margin: 0 auto;
  overflow: hidden;
}

.post-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.post-date {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}

.post-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-text);
}

.post-body {
  padding: 1.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.post-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--color-text);
}

.post-footer {
  padding: 1rem 2.5rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.post-byline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ── RESOURCES ───────────────────────────────────────────── */

.resources-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.resources-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.resources-list li::before {
  content: "→";
  color: var(--color-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ── ACTIVISM INTRO ──────────────────────────────────────── */

.activism-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.activism-intro-text {
  /* text stays left-aligned */
}

.activism-intro-photos {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.burton-photo {
  text-align: center;
}

.burton-photo img {
  width: 180px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.burton-photo figcaption {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ── ACTIVISM ORGS (YELLOW) ──────────────────────────────── */

.activism-yellow {
  background: var(--color-yellow);
}

.orgs-column {
  max-width: 700px;
  margin: 0 auto;
}

.activism-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.activism-intro-body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: 2.5rem;
  opacity: 0.8;
}

.orgs-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0,0,0,0.15);
}

.org-row {
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.org-row-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.org-name-inline {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  font-style: normal;
  color: var(--color-text);
  flex-shrink: 0;
}

.org-visit {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.org-visit:hover { text-decoration: underline; opacity: 1; }

.activism-yellow .org-desc {
  font-size: 0.92rem;
  color: rgba(0,0,0,0.65);
  line-height: 1.65;
  margin: 0;
}

/* ── SECOND CHANCE ───────────────────────────────────────── */

.sc-column {
  max-width: 780px;
  margin: 0 auto;
}

.sc-block {
  margin-top: 3.5rem;
}

.sc-definition {
  background: #fff;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 4px 4px 0;
  padding: 1.25rem 1.75rem;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--color-text);
}

.famm-credit {
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-align: right;
}

.famm-credit a {
  color: var(--color-accent);
}

/* ── GET INVOLVED PAGE HERO ──────────────────────────────── */

.page-hero {
  padding: 4rem 1.5rem 3rem;
  background: var(--color-dark);
}

.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.brennan-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  line-height: 1.5;
  color: #fff;
  padding-left: 2rem;
  border-left: 4px solid var(--color-salmon);
  max-width: 800px;
  margin-bottom: 0.75rem;
}

.brennan-attribution {
  padding-left: 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* ── ORG CARDS ───────────────────────────────────────────── */

.orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.org-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
}
.org-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.org-card a {
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.75rem;
}

.org-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.org-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── SECOND LOOK STATS ───────────────────────────────────── */

.second-look-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: var(--color-dark);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-yellow);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

/* ── PROCESS STEPS ───────────────────────────────────────── */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  position: relative;
  border-top: 3px solid var(--color-accent);
}

.process-step::before {
  content: counter(step);
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  background: rgba(191,60,66,0.08);
  border-radius: 2px;
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.6rem;
}

.process-step-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.09rem;
  margin-bottom: 0.4rem;
  color: var(--color-text);
  display: block;
}

.process-step-desc {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── CONTACT FORM ────────────────────────────────────────── */

.contact-block {
  max-width: 560px;
  margin: 0 auto;
}

.contact-form {
  margin-top: 2rem;
}

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

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.2s;
  appearance: none;
}

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

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

.form-success {
  display: none;
  padding: 1rem 1.25rem;
  background: #edf7ed;
  border: 1px solid #a3d9a5;
  border-radius: 4px;
  color: #2d6a2f;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
}

.form-success.visible { display: block; }

/* ── FOOTER ─────────────────────────────────────────────── */

body > footer {
  padding: 2rem 1.5rem;
  background: var(--color-accent);
  margin-top: auto;
}

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

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
}
.footer-links a:hover { color: #fff; text-decoration: none; opacity: 1; }

/* ── DIVIDER ────────────────────────────────────────────── */

.divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 1.25rem 0 1.75rem;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 81px;
    left: 0;
    right: 0;
    background: var(--color-yellow);
    border-bottom: none;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    min-height: unset;
  }
  .hero-book-col {
    grid-column: 1;
    grid-row: 1;
    background: #ffffff;
    justify-content: center;
    padding: 3rem 1.5rem 2rem;
  }
  .hero-book-cover {
    width: 240px;
  }
  .hero-right-top {
    grid-column: 1;
    grid-row: 2;
    padding: 2rem 1.5rem;
    text-align: center;
    justify-content: center;
  }
  .hero-right-bottom {
    grid-column: 1;
    grid-row: 3;
    align-items: center;
    padding: 2rem 1.5rem;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .btn-white {
    width: 100%;
    justify-content: center;
  }
  .awards-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .awards-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  .award-img {
    height: 80px;
  }

  .book-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .book-heading {
    font-size: 2.5rem;
  }
  .author-section {
    grid-template-columns: 1fr;
  }
  .author-photo-col {
    min-height: 320px;
  }
  .author-text-col {
    padding: 3rem 1.5rem;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 3rem 1.25rem;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .second-look-stats {
    grid-template-columns: 1fr 1fr;
  }
}
