/* ==========================================================================
   ANTHOLOGY — Women Leaders Club
   Editorial stylesheet
   ========================================================================== */

:root{
  --ink:        #171717;   /* charcoal black */
  --ink-soft:   #454340;
  --ivory:      #f7f4ef;   /* ivory white */
  --paper:      #efeae1;   /* soft gray panel */
  --gray:       #dbdad5;   /* soft gray */
  --warm-gray:  #8a8578;   /* warm gray */
  --stone:      #b7a992;   /* taupe retreat accent */
  --burgundy:   #6d2732;   /* rare restrained accent */
  --line:       rgba(23,23,23,0.13);

  --serif:  "Playfair Display", "Times New Roman", serif;
  --sans:   "Montserrat", -apple-system, "Segoe UI", sans-serif;

  --max: 1180px;
  --gutter: clamp(24px, 5vw, 72px);
  --radius: 14px;
  --radius-pill: 999px;
}

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

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea{
  font-family: inherit;
}

a{ color: inherit; text-decoration: none; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1{ font-size: clamp(1.7rem, 3.6vw, 2.7rem); font-weight: 600; letter-spacing: -0.005em; }
h2{ font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3{ font-size: clamp(1.2rem, 2vw, 1.5rem); }

p{
  margin: 0 0 1.2em;
  max-width: 62ch;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
p.wide{ max-width: 74ch; }
em, i, cite{ font-style: normal; }

.lede{
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 46ch;
}

.eyebrow{
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--warm-gray);
  font-weight: 700;
  margin-bottom: 1.1em;
  display: block;
}

.section{
  padding: clamp(32px, 5vw, 64px) 0;
}
.section + .section{ border-top: 1px solid var(--line); }
.section.tight{ padding: clamp(20px, 3vw, 38px) 0; }
.dark{ background: var(--ink); color: var(--ivory); }
.dark h1, .dark h2, .dark h3, .dark p{ color: var(--ivory); }
.dark .eyebrow{ color: var(--stone); }
.dark .field label{ color: rgba(250,246,239,0.75); }
.dark .field input, .dark .field select, .dark .field textarea{ background: var(--ivory); color: var(--ink); border-color: transparent; }
.dark #form-note{ color: var(--stone) !important; }
.section.panel{ background: var(--paper); }

/* ---------- header / nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  gap: 18px;
}
.brand{
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand small{
  display: block;
  font-family: var(--sans);
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--gray);
  margin-top: 5px;
}
.nav-links{
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.74rem;
}
.nav-links li{ flex: 0 0 auto; }
.nav-links a{
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  white-space: nowrap;
}
.nav-links a:hover{ border-color: var(--ink); }
.nav-links a.current{ border-color: var(--burgundy); color: var(--burgundy); }
.nav-links .join-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  background: var(--ink);
  color: var(--ivory) !important;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border-bottom: none;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  word-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  transition: background .2s ease;
}
.nav-links .join-btn:hover{ background: var(--stone); color: var(--ink) !important; border-color: transparent; }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 980px){
  .nav{ flex-wrap: wrap; }
  .nav-toggle{ display: block; }
  .nav-links{
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    font-size: 1rem;
    max-height: 0;
    overflow: hidden;
    padding: 0 2px;
    transition: max-height .32s ease, padding .32s ease;
  }
  .nav-links.open{
    max-height: 700px;
    padding: 20px 2px 26px;
  }
  .join-btn{ margin-top: 6px; }
}

/* ---------- buttons / links (pill-shaped, per brand template) ---------- */
.btn{
  display: inline-block;
  background: var(--ink);
  color: var(--ivory);
  border: 1px solid var(--ink);
  padding: 14px 34px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:hover{ background: var(--warm-gray); border-color: var(--warm-gray); transform: translateY(-1px); }
.btn.solid{ background: var(--ink); color: var(--ivory); }
.btn.solid:hover{ background: var(--stone); border-color: var(--stone); color: var(--ink); }
.btn.outline{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.outline:hover{ background: var(--ink); color: var(--ivory); }
.btn.on-dark{ background: transparent; border-color: var(--ivory); color: var(--ivory); }
.btn.on-dark:hover{ background: var(--ivory); color: var(--ink); }

.text-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

/* ---------- hero ---------- */
.hero{
  padding: clamp(90px,14vw,170px) 0 clamp(60px,8vw,100px);
  text-align: center;
}
.hero .brand-word{
  font-family: var(--serif);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.95;
  margin-bottom: 0.15em;
}
.hero .brand-sub{
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 1.6em;
}
.hero .tagline{
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--burgundy);
  margin-bottom: 0.6em;
}
.hero .lede{ margin: 0 auto 2.2em; text-align: center; }
.hero-image{
  margin-top: clamp(50px,8vw,90px);
  aspect-ratio: 16/8;
  overflow: hidden;
  border-radius: var(--radius);
}
.hero-image img{ width: 100%; height: 100%; object-fit: cover; }

/* ---------- full-bleed overlay hero (matches brand template) ---------- */
.hero-full{
  position: relative;
  width: 100%;
  min-height: 60vh;
  max-height: 660px;
  overflow: hidden;
}
.hero-full img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 35%;
}
.hero-full::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(23,23,23,0.68) 0%, rgba(23,23,23,0.38) 40%, rgba(23,23,23,0.05) 65%);
}
.hero-full-content{
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 60vh;
  max-height: 660px;
  display: flex;
  align-items: center;
  padding-left: clamp(24px, 6vw, 90px);
}
.hero-full-content .inner{ max-width: 420px; }
.hero-full-content .eyebrow{ color: rgba(255,255,255,0.75); }
.hero-full-content h1,
.hero-full-content p{ color: #fff; }
.hero-full-content .lede{ color: rgba(255,255,255,0.88); }
.hero-full-content .tagline{
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 0.4em;
}
@media (max-width: 700px){
  .hero-full, .hero-full-content{ min-height: 78vh; }
  .hero-full::after{ background: linear-gradient(180deg, rgba(23,23,23,0.35) 0%, rgba(23,23,23,0.72) 78%); }
  .hero-full-content{ align-items: flex-end; padding-bottom: 50px; }
}

/* ---------- side-by-side hero (template style) ---------- */
.hero-split{
  padding: clamp(28px,4vw,44px) 0;
}
.hero-split .tagline{
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 0.5em;
}
.hero-split .media{
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
@media (max-width: 900px){
  .hero-split .wrap{ grid-template-columns: 1fr !important; gap: 24px !important; }
  .hero-split .media{ order: -1; }
}
.hero-split .media img{
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.media-caption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 24px;
  background: linear-gradient(180deg, rgba(23,23,23,0) 0%, rgba(23,23,23,0.68) 100%);
}
.media-caption span{
  font-family: var(--serif);
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #fff;
}

/* page hero (inner pages) */
.page-hero{
  padding: clamp(28px,4vw,44px) 0 clamp(28px,4vw,44px);
}
.page-hero .eyebrow{ margin-bottom: 0.6em; }
/* When a hero is immediately followed by a full-width image, don't stack
   the hero's own bottom padding with the section's top padding too. */
.page-hero + .section.tight{ padding-top: 0; }

/* ---------- grid helpers ---------- */
.grid{ display: grid; gap: var(--gutter); }
.grid.cols-2{ grid-template-columns: 1fr 1fr; }
.grid.cols-3{ grid-template-columns: repeat(3,1fr); }
.grid.cols-4{ grid-template-columns: repeat(4,1fr); }
@media (max-width: 900px){
  .grid.cols-2, .grid.cols-3, .grid.cols-4{ grid-template-columns: 1fr; }
}

.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 900px){ .split{ grid-template-columns: 1fr; } }
.split img{ width: 100%; border-radius: var(--radius); }
.split.reverse .media{ order: 2; }
@media (max-width: 900px){ .split.reverse .media{ order: 0; } }

/* ---------- cards (offerings) ---------- */
.offer-card{
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.offer-card .num{
  font-family: var(--serif);
  font-style: normal;
  color: var(--stone);
  font-size: 1rem;
  margin-bottom: 0.6em;
  display: block;
}
.offer-card h3{ margin-bottom: 0.35em; }
.offer-card p{ color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- icon-circle offering grid (template style) ---------- */
.icon-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
@media (max-width: 900px){ .icon-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px){ .icon-grid{ grid-template-columns: repeat(2, 1fr); } }

.icon-card{
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 14px;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.icon-card:hover{ border-color: var(--stone); transform: translateY(-3px); }
.icon-circle{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}
.icon-circle svg{ width: 22px; height: 22px; stroke: var(--ink); fill: none; }
.icon-card h4{
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.icon-grid.cols-5{ grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px){ .icon-grid.cols-5{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px){ .icon-grid.cols-5{ grid-template-columns: repeat(2, 1fr); } }
.icon-card p{
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 10px 0 14px;
}
.icon-card .text-link{
  font-size: 0.78rem;
  border-bottom: none;
  justify-content: center;
}

/* ---------- photo collage grid (template style) ---------- */
.collage-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.collage-grid.five{ grid-template-columns: repeat(5, 1fr); }
.collage-grid.three{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .collage-grid.five{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px){ .collage-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .collage-grid.five{ grid-template-columns: repeat(2, 1fr); } }
.collage-grid img{
  width: 100%;
  height: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}
.collage-caption{
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  aspect-ratio: 3/4;
}
.collage-caption h4{
  font-family: var(--serif);
  font-style: normal;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ivory);
  margin: 0;
}

/* ---------- identity boxes (Community: Many Women, Many Journeys) ---------- */
.identity-card{
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.identity-card:hover{ border-color: var(--stone); transform: translateY(-3px); }
.identity-card h3{
  font-style: normal;
  color: var(--burgundy);
  margin-bottom: 0.4em;
}
.identity-card p{
  font-size: 0.95rem;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- mini link boxes (Stories: Podcast / Articles / Featured Women / Book) ---------- */
.mini-boxes{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.8em;
}
.mini-box{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.mini-box:hover{ background: var(--ink); color: var(--ivory); border-color: var(--ink); }

/* ---------- opt-in banner (top of homepage) ---------- */
.optin-banner{
  background: var(--ink);
  color: var(--ivory);
}
.optin-banner .wrap{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  padding-top: 14px;
  padding-bottom: 14px;
  text-align: center;
}
.optin-banner p{
  font-family: var(--sans);
  font-size: 0.82rem;
  color: rgba(250,246,239,0.9);
  margin: 0;
  max-width: 46ch;
}
.optin-form{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.optin-form input[type="email"]{
  padding: 10px 14px;
  border: 1px solid rgba(250,246,239,0.3);
  background: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 0.85rem;
  border-radius: var(--radius-pill);
  min-width: 220px;
}
.optin-form input[type="email"]::placeholder{ color: rgba(250,246,239,0.55); }
.optin-form .btn{
  padding: 10px 22px;
  font-size: 0.68rem;
  white-space: nowrap;
}
.optin-note{
  width: 100%;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--stone);
  margin: 0;
}
@media (max-width: 700px){
  .optin-form input[type="email"]{ min-width: 0; flex: 1 1 auto; }
}

/* ---------- belief / value rows ---------- */
.belief{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.belief:last-child{ border-bottom: 1px solid var(--line); }
.belief h3{ margin-bottom: 0; }
@media (max-width: 800px){
  .belief{ grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- quote / founder ---------- */
.pull-quote{
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.35;
  max-width: 20ch;
  color: var(--ink);
}
.signature{
  font-family: var(--serif);
  font-style: normal;
  font-size: 1.3rem;
  color: var(--burgundy);
  margin-top: 1.2em;
}

/* ---------- modal (e.g. "Meet the Founder" full story) ---------- */
.modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal:target{ display: flex; }
.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(23,23,23,0.65);
}
.modal-box{
  position: relative;
  box-sizing: border-box;
  background: var(--ivory);
  width: min(640px, 92vw);
  aspect-ratio: 1 / 1;
  max-height: 88vh;
  overflow-y: auto;
  padding: 52px 44px;
  border-radius: var(--radius);
  z-index: 1;
}
.modal-close{
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s ease;
}
.modal-close:hover{ background: var(--paper); }
@media (max-width: 600px){
  .modal-box{
    aspect-ratio: auto;
    width: 94vw;
    height: 82vh;
    padding: 40px 24px;
  }
}

/* ---------- feature strip ---------- */
.photo-frame{
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}
.photo-frame img{ width: 100%; height: 100%; object-fit: cover; display:block; }
.photo-frame.ratio-portrait{ aspect-ratio: 4/5; }
.photo-frame.ratio-square{ aspect-ratio: 1/1; }
.photo-frame.ratio-wide{ aspect-ratio: 16/9; }

/* ---------- final CTA band ---------- */
.cta-band{
  text-align: center;
  padding: clamp(36px,5.5vw,64px) 0;
}
.cta-band h2{ max-width: 16ch; margin-left: auto; margin-right: auto; }

/* ---------- lists ---------- */
.chip-list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  padding: 0;
  margin: 1.4em 0;
}
.chip-list li{
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.plain-list{
  list-style: none;
  padding: 0;
  margin: 1.2em 0;
}
.plain-list li{
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.plain-list li:first-child{ border-top: 1px solid var(--line); }

/* ---------- form ---------- */
.form-grid{ display:grid; gap: 20px; max-width: 640px; }
.field label{
  display:block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 2px;
}
.field textarea{ min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: 2px solid var(--stone);
  outline-offset: 1px;
}

/* ---------- footer ---------- */
.site-footer{
  background: var(--ink);
  color: var(--ivory);
  padding: 64px 0 30px;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(250,246,239,0.15);
}
@media (max-width: 800px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
.footer-top h4{
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--stone);
  margin-bottom: 1em;
  font-weight: 700;
}
.footer-top ul{ list-style:none; margin:0; padding:0; }
.footer-top li{ margin-bottom: 10px; font-size: 0.9rem; color: rgba(250,246,239,0.85); }
.footer-top a:hover{ color: var(--stone); }
.footer-brand{ font-family: var(--serif); font-size: 1.6rem; margin-bottom: 10px; }
.footer-tag{ color: rgba(250,246,239,0.6); font-size: 0.88rem; max-width: 34ch; font-family: var(--sans); }
.footer-bottom{
  display:flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  font-size: 0.78rem;
  color: rgba(250,246,239,0.55);
}

/* ---------- reveal animation (single orchestrated fade for hero only) ---------- */
@media (prefers-reduced-motion: no-preference){
  .hero .brand-word, .hero .brand-sub, .hero .tagline, .hero .lede, .hero .btn, .hero-image{
    animation: rise .8s ease both;
  }
  .hero .brand-sub{ animation-delay: .08s; }
  .hero .tagline{ animation-delay: .16s; }
  .hero .lede{ animation-delay: .24s; }
  .hero .btn{ animation-delay: .32s; }
  .hero-image{ animation-delay: .4s; }
}
@keyframes rise{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

:focus-visible{ outline: 2px solid var(--burgundy); outline-offset: 2px; }


/* ==========================================================================
   Round of edits
   ========================================================================== */

/* smaller intro text: same size as the body paragraphs under it */
.lede.sm{
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 62ch;
}
.lede.sm-plus{          /* "a little bit" smaller than the old lede */
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.5;
}
.hero-full-content .lede{ font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; }

/* "Coming soon" button */
.btn.soon{
  background: transparent;
  color: var(--warm-gray);
  border: 1px dashed var(--warm-gray);
  cursor: default;
  pointer-events: none;
}

/* Community: 3 + 2 identity cards, second row centered */
.identity-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: left;
}
.identity-grid .identity-card{ flex: 0 1 calc((100% - 40px) / 3); }
@media (max-width: 900px){ .identity-grid .identity-card{ flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px){ .identity-grid .identity-card{ flex-basis: 100%; } }

.big-photo{
  max-width: 880px;
  margin: 0 auto 36px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f0ebe3;
}
.big-photo img{ width: 100%; height: auto; display: block; }

/* Book: "You may choose to write about" as boxes side by side */
.topic-grid{
  list-style: none;
  padding: 0;
  margin: 1.6em 0 1.8em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.topic-grid li{
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  min-height: 84px;
  transition: border-color .2s ease, transform .2s ease;
}
.topic-grid li:hover{ border-color: var(--stone); transform: translateY(-2px); }

/* Book: contributor journey, step by step */
.journey{
  list-style: none;
  margin: 2.4em 0 1.6em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  counter-reset: step;
}
.journey li{
  position: relative;
  text-align: center;
  padding: 0 10px;
  counter-increment: step;
}
.journey .dot{
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 6px var(--ivory);
}
.journey li:last-child .dot{ background: var(--burgundy); }
.journey .label{
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.45;
  color: var(--ink);
}
/* connecting line + arrowhead between steps */
.journey li:not(:last-child)::before{
  content: "";
  position: absolute;
  top: 25px;
  left: calc(50% + 34px);
  width: calc(100% - 68px);
  height: 2px;
  background: linear-gradient(90deg, var(--stone), var(--stone));
  z-index: 1;
}
.journey li:not(:last-child)::after{
  content: "";
  position: absolute;
  top: 20px;
  left: calc(150% - 45px);
  width: 10px; height: 10px;
  border-top: 2px solid var(--stone);
  border-right: 2px solid var(--stone);
  transform: rotate(45deg);
  z-index: 1;
}
@media (max-width: 900px){
  .journey{ grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .journey li{
    display: flex; align-items: center; gap: 18px;
    text-align: left; padding: 0 0 34px 0;
  }
  .journey li:last-child{ padding-bottom: 0; }
  .journey .dot{ margin: 0; flex: 0 0 52px; }
  .journey li:not(:last-child)::before{
    top: 52px; left: 25px; width: 2px; height: calc(100% - 52px);
  }
  .journey li:not(:last-child)::after{
    top: auto; bottom: 8px; left: 20px;
    transform: rotate(135deg);
  }
}

/* centered one-line page title (Community) */
.title-center{ text-align:center; }
.title-center h1{ max-width:none; white-space:nowrap; margin-bottom:0; }
@media (max-width: 600px){ .title-center h1{ white-space:normal; } }

[id]{ scroll-margin-top: 90px; }

.nav-links a.nav-book{ text-transform: none; letter-spacing: 0.01em; }

.mini-box.mini-book{ text-transform: none; letter-spacing: 0.01em; }
.h1-std{ font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.direct-list p{ margin: 0 0 18px; line-height: 1.45; }
.direct-list em{ color: var(--warm-gray); font-style: italic; }

/* plain ampersand (Playfair's ampersand is very ornate) */
.amp{ font-family: Georgia, "Times New Roman", serif; font-style: normal; font-weight: 700; }
