/* =============================================
   Co-op Camp Sierra — Main Stylesheet
   Theme: Grown-up Tie-Dye / Sierra Summer
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

/* --- Tokens --- */
:root {
  /* Tie-dye palette: earthy, saturated but not garish */
  --indigo:   #3D4B8F;
  --rust:     #C05A2B;
  --sage:     #4A7C59;
  --marigold: #D4882A;
  --plum:     #6B3A6B;
  --sky:      #2E7DA6;

  --ink:      #1E1A2E;   /* near-black for type */
  --stone:    #F5F0E8;   /* warm off-white background */
  --parchment:#EDE5D4;   /* slightly darker warm tone */
  --mid:      #6B6070;   /* muted body text */

  --radius:   8px;
  --shadow:   0 2px 16px rgba(30,26,46,0.10);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--stone);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h4, h5, h6 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--mid);
}

p { color: #3a3248; }

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 3px; }

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

/* --- Subtle tie-dye wash (background texture, not a poster) --- */
.tiedye-wash {
  position: relative;
  overflow: hidden;
}
.tiedye-wash::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 8% 18%,  rgba(107,58,107,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 45% 55% at 88% 12%,  rgba(46,125,166,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 65% 45% at 50% 85%,  rgba(61,75,143,0.07) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 92% 72%,  rgba(212,136,42,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 42% 35% at 12% 78%,  rgba(74,124,89,0.07) 0%, transparent 55%),
    radial-gradient(ellipse 50% 42% at 62% 38%,  rgba(192,90,43,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.tiedye-wash > * { position: relative; z-index: 1; }

/* --- Nav --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--stone);
  white-space: nowrap;
  padding: 1rem 0;
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav-logo:hover { text-decoration: none; color: #e8c87a; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-links a {
  color: #b8b0c8;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.55rem 0.85rem;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--stone);
  background: rgba(255,255,255,0.07);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--stone);
  gap: 5px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s;
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav { padding: 0 1.25rem; position: relative; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ink);
    padding: 0.75rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 0.9rem; padding: 0.6rem 0.75rem; border-radius: 6px; border-bottom: none; }
  .nav-links li { border-bottom: 1px solid rgba(255,255,255,0.05); }
  .nav-links li:last-child { border-bottom: none; }
}

/* --- Hero --- */
.hero {
  padding: 5.5rem 2rem 5rem;
  text-align: center;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}

/* Tie-dye rings as ambient glow — deep, painterly */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 25%,  rgba(107,58,107,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 55% 65% at 85% 15%,  rgba(46,125,166,0.22) 0%, transparent 58%),
    radial-gradient(ellipse 75% 50% at 50% 90%,  rgba(61,75,143,0.25) 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 90% 75%,  rgba(212,136,42,0.18) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 10% 80%,  rgba(74,124,89,0.18) 0%, transparent 52%);
  pointer-events: none;
  z-index: 0;
}
.hero > * { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8b87a;
  border: 1px solid rgba(200,184,122,0.45);
  padding: 0.3rem 1rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.8rem, 7.5vw, 6rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--stone);
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: #b8cce0;
  margin-bottom: 2rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-ctas {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  transition: transform 0.14s, box-shadow 0.14s, background 0.14s;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(0,0,0,0.18); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--rust);    color: white; }
.btn-secondary { background: transparent;    color: var(--stone); border: 1.5px solid rgba(245,240,232,0.5); }
.btn-secondary:hover { background: rgba(245,240,232,0.1); }
.btn-indigo    { background: var(--indigo);  color: white; }
.btn-sage      { background: var(--sage);    color: white; }
.btn-plum      { background: var(--plum);    color: white; }

/* --- Sections --- */
.section {
  padding: 4.5rem 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.73rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.section-body {
  font-size: 1.05rem;
  max-width: 660px;
  color: #3a3248;
  line-height: 1.75;
}

/* Bands */
.band {
  width: 100%;
  padding: 4.5rem 2rem;
}
.band-ink { background: var(--ink); color: var(--stone); }
.band-ink p { color: #c0b8d0; }
.band-ink .section-title { color: var(--stone); }
.band-ink .section-eyebrow { color: #8070a0; }

.band-parchment { background: var(--parchment); }

.band-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* --- Quote --- */
.pullquote {
  position: relative;
  padding: 1.5rem 1.75rem 1.5rem 2.25rem;
  margin: 2.5rem 0;
  max-width: 680px;
}
.pullquote::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--plum), var(--sky), var(--sage));
  border-radius: 4px;
}
.pullquote p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #3a3060;
}

/* --- Activity Grid --- */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  background: var(--parchment);
  border: 1px solid var(--parchment);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 1.75rem;
}

.activity-card {
  background: var(--stone);
  padding: 1.4rem 1.25rem;
  transition: background 0.15s;
}
.activity-card:hover { background: white; }
.activity-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.activity-card p {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.45;
}
.activity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.pricing-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.pricing-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c0b0d8;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  color: #c0b8d0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.price-row:last-child { border-bottom: none; }
.price-label { color: #a09ab8; }
.price-val { font-weight: 700; color: var(--stone); }

.pricing-label {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8070a0;
  margin: 2rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pricing-note-block {
  background: rgba(212,136,42,0.12);
  border-left: 3px solid var(--marigold);
  border-radius: 0 6px 6px 0;
  padding: 0.75rem 1.1rem;
  font-size: 0.88rem;
  color: #d4c09a;
  margin: 1rem 0;
}

/* --- Registration Steps --- */
.reg-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}
.step-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--rust);
}
.step-card:nth-child(2) { border-top-color: var(--indigo); }
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--rust);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-card:nth-child(2) .step-num { color: var(--indigo); }
.step-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.step-card p { font-size: 0.9rem; color: var(--mid); }
.step-card a { color: var(--indigo); }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.75rem;
}
@media (max-width: 580px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.contact-card h3 {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--parchment);
}
.contact-card address { font-style: normal; }
.contact-card p,
.contact-card address p { font-size: 1rem; color: #3a3248; line-height: 1.7; }
.contact-card a { color: var(--indigo); font-weight: 600; }

/* --- Social Links --- */
.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.social-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  border: 1px solid #d0c8dc;
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.social-links a:hover { color: var(--indigo); border-color: var(--indigo); }

/* --- Paypal box --- */
.paypal-box {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.paypal-box p { font-size: 0.9rem; color: var(--mid); }
.paypal-box strong { color: var(--ink); }

/* --- Google Form Embed --- */
.google-form-wrap {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}
.google-form-wrap iframe {
  width: 100%;
  min-height: 600px;
  border: none;
  border-radius: 4px;
}

/* --- Footer --- */
.site-footer {
  background: #130f1f;
  color: #7a7090;
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  font-size: 0.85rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--stone);
  display: block;
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.footer-links a {
  color: #7a7090;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--stone); }
.footer-links a + a::before {
  content: '·';
  margin-right: 0.5rem;
  color: #3a3450;
}
.site-footer a { color: #9888b8; }
.site-footer a:hover { color: var(--stone); }

/* --- Page hero (inner pages) --- */
.page-hero {
  background: var(--ink);
  text-align: center;
  padding: 3.5rem 2rem 3rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 30%, rgba(107,58,107,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(46,125,166,0.18) 0%, transparent 58%),
    radial-gradient(ellipse 55% 50% at 60% 80%, rgba(61,75,143,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  color: var(--stone);
}
.page-hero p {
  color: #a8a0c0;
  font-size: 1rem;
  max-width: 560px;
  margin: 0.75rem auto 0;
}
.page-hero .page-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c8b87a;
  border: 1px solid rgba(200,184,122,0.4);
  padding: 0.25rem 0.85rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

/* --- Info strip (homepage quick facts) --- */
.info-strip {
  background: var(--parchment);
  border-top: 1px solid #ddd4c4;
  border-bottom: 1px solid #ddd4c4;
}
.info-strip-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.info-item h4 { margin-bottom: 0.35rem; color: var(--mid); }
.info-item p { font-size: 0.95rem; color: #3a3248; line-height: 1.5; }

/* --- Responsive --- */
@media (max-width: 580px) {
  .section { padding: 3rem 1.25rem; }
  .band { padding: 3rem 1.25rem; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .page-hero { padding: 2.5rem 1.25rem 2.25rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =============================================
   Additional styles — v2 updates
   ============================================= */

/* --- Nav CTA button --- */
.nav-cta {
  display: inline-block;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--rust);
  color: white !important;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: background 0.15s, transform 0.12s;
  white-space: nowrap;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: #a84a20; transform: translateY(-1px); }
@media (max-width: 720px) {
  .nav-cta { margin-left: 0; margin-top: 0.25rem; display: inline-block; width: auto; }
}

/* --- Hero with background image --- */
.hero-bg {
  background-color: var(--ink);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
/* Overlay that sits between image and tie-dye glow */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 35, 0.60);
  z-index: 0;
  pointer-events: none;
}
/* tie-dye glow sits on top of the dim overlay */
.hero-bg::before { z-index: 1; }
.hero-bg > * { position: relative; z-index: 2; }

/* Page hero with image */
.page-hero-bg {
  background-color: var(--ink);
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 15, 35, 0.58);
  z-index: 0;
  pointer-events: none;
}
.page-hero-bg::before { z-index: 1; }
.page-hero-bg > * { position: relative; z-index: 2; }

/* --- Photo placeholder blocks --- */
.photo-block {
  background: var(--parchment);
  border: none;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9a9080;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  gap: 0.5rem;
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
  position: relative;
}
.photo-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}
.photo-block-label {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
}

/* Photo grid layouts */
.photo-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
.photo-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.photo-grid-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
@media (max-width: 640px) {
  .photo-grid-2, .photo-grid-3, .photo-grid-hero { grid-template-columns: 1fr; }
}

/* Photo caption */
.photo-caption {
  font-size: 0.8rem;
  color: var(--mid);
  font-style: italic;
  margin-top: 0.4rem;
  text-align: center;
}

/* --- Schedule / Week-at-a-Glance --- */
.schedule-section { margin-top: 3rem; }

.schedule-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0;
  border-bottom: 2px solid var(--parchment);
  padding-bottom: 0;
}
.schedule-tab {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 6px 6px 0 0;
  background: var(--parchment);
  color: var(--mid);
  border: none;
  cursor: pointer;
  border: 1px solid #d8cebc;
  border-bottom: none;
  transition: background 0.12s, color 0.12s;
  margin-bottom: -2px;
}
.schedule-tab.active {
  background: var(--stone);
  color: var(--ink);
  border-color: var(--parchment);
  border-bottom-color: var(--stone);
}
.schedule-tab:hover:not(.active) { background: #ede5d4; }

.schedule-panel {
  display: none;
  background: var(--stone);
  border: 1px solid var(--parchment);
  border-top: none;
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 1.5rem;
}
.schedule-panel.active { display: block; }

/* PDF download list */
.pdf-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.pdf-list li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--indigo);
  border: 1px solid #c8d0e8;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  background: white;
  transition: background 0.12s, border-color 0.12s;
  text-decoration: none;
}
.pdf-list li a:hover { background: #eef0f8; border-color: var(--indigo); }
.pdf-icon { font-size: 1rem; }

/* Embedded PDF viewer */
.pdf-embed-wrap {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--parchment);
  overflow: hidden;
  margin-top: 1rem;
}
.pdf-embed-wrap iframe {
  width: 100%;
  height: 520px;
  border: none;
  display: block;
}

/* --- Twin Pines newspaper archive --- */
.newspaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.newspaper-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.newspaper-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(30,26,46,0.14);
  text-decoration: none;
}
.newspaper-card-thumb {
  height: 160px;
  background: var(--parchment);
  border-bottom: 1px solid #e8e0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.newspaper-card-thumb iframe {
  width: 200%;
  height: 200%;
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
  border: none;
}
.newspaper-card-thumb .thumb-placeholder {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #c8b890;
  text-align: center;
  padding: 1rem;
}
.newspaper-card-body {
  padding: 1rem 1.1rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.newspaper-card-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  margin-bottom: 0.3rem;
}
.newspaper-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.newspaper-card-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--indigo);
  margin-top: auto;
  letter-spacing: 0.04em;
}

/* Submit article form */
.article-form {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 640px;
}
.article-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.article-form p.form-sub {
  font-size: 0.9rem;
  color: var(--mid);
  margin-bottom: 1.5rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.form-row label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
}
.form-row input,
.form-row textarea {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--stone);
  border: 1px solid #d0c8bc;
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  transition: border-color 0.12s;
  width: 100%;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--indigo);
  background: white;
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-note {
  font-size: 0.82rem;
  color: var(--mid);
  margin-top: 0.75rem;
  font-style: italic;
}
