/* ==========================================================================
   Yellowstone Writing Project — interim site
   ========================================================================== */

:root {
  --navy: #0d2c4a;
  --navy-dark: #071b2e;
  --navy-mid: #163f66;
  --gold: #e3a530;
  --gold-light: #f4d896;
  --gold-deep: #9c6b12;
  --forest: #33553a;
  --cream: #faf5e9;
  --cream-dark: #f0e6d0;
  --charcoal: #221f1a;
  --white: #ffffff;

  --font-head: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 44, 74, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 400;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--gold-deep);
  margin-bottom: 0.6em;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-head .rule {
  width: 70px;
  height: 3px;
  background: var(--gold);
  margin: 1.1rem auto 0;
  border-radius: 3px;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}
.section-head.left .rule { margin: 1.1rem 0 0; }

section { padding: 5rem 0; }
section.tight { padding: 3.5rem 0; }

.bg-white { background: var(--white); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-navy { background: var(--navy); color: var(--cream); }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: #cf9021; box-shadow: 0 8px 20px rgba(227, 165, 48, 0.4); }

.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: #cf9021; box-shadow: 0 8px 20px rgba(227, 165, 48, 0.4); }

.btn-outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 233, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(13, 44, 74, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }

.brand-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.1;
}
.brand-text small {
  display: block;
  max-width: 210px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 700;
  margin-top: 2px;
  line-height: 1.3;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-deep); }

.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding-left: 1.95em; padding-right: 1.95em; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.2s;
}

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid rgba(13,44,74,0.08);
  }
  .nav-links.open { max-height: 400px; padding: 10px 24px 20px; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid rgba(13,44,74,0.06); }
  .nav-cta { margin: 14px 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1b4d78 0%, var(--navy) 55%, var(--navy-dark) 100%);
  color: var(--white);
}

.hero-illustration { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5.5rem 24px 6rem;
}

.hero-card {
  max-width: 640px;
  background: rgba(13, 44, 74, 0.55);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(3px);
  padding: 2.2rem 2.4rem;
  border-radius: var(--radius);
}

.hero-card .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); }
.hero-card p.lead { font-size: 1.15rem; color: var(--cream-dark); }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #1b4d78 0%, var(--navy) 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  text-align: center;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--cream-dark); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--gold-light); }

/* ==========================================================================
   Cards / Grids
   ========================================================================== */

.grid {
  display: grid;
  gap: 1.8rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid rgba(13,44,74,0.06);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(13,44,74,0.16); }

.card-icon {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
}
.card-icon svg { width: 56px; height: 56px; }

.card-body { padding: 1.6rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: #4a463d; font-size: 0.96rem; flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: 0.8rem; }

/* Program list (icon + text row) */
.feature-row {
  display: flex;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(13,44,74,0.08);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .icon-badge {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.feature-row .icon-badge svg { width: 26px; height: 26px; }
.feature-row h3 { margin-bottom: 0.3rem; }
.feature-row p { margin: 0; color: #4a463d; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  border-top: 4px solid var(--gold);
}
.testimonial .quote-mark {
  font-family: var(--font-head);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}
.testimonial p.quote { font-style: italic; color: var(--charcoal); }
.testimonial .attr { font-weight: 700; color: var(--gold-deep); font-size: 0.9rem; }

/* ==========================================================================
   FAQ (native details/summary)
   ========================================================================== */

.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(13,44,74,0.1);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 1.4rem 1.3rem; color: #4a463d; }

/* ==========================================================================
   Team
   ========================================================================== */

.team-card { text-align: center; }
.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--navy-dark);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}
.team-card h3 { margin-bottom: 0.2rem; font-size: 1.1rem; }
.team-card .role { color: var(--gold-deep); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--navy-mid), var(--navy-dark));
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #ffe4d8; max-width: 560px; margin: 0 auto 1.6rem; }

/* ==========================================================================
   Info / detail tables (camps)
   ========================================================================== */

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(13,44,74,0.1);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}
.info-strip > div {
  background: var(--white);
  padding: 1.2rem 1.4rem;
}
.info-strip .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-deep);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.info-strip .value { font-weight: 700; color: var(--navy); }
@media (max-width: 700px) {
  .info-strip { grid-template-columns: repeat(2, 1fr); }
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.6rem;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.price-table th, .price-table td {
  text-align: left;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(13,44,74,0.08);
}
.price-table th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1rem;
}
.price-table tr:last-child td { border-bottom: none; }
.price-table td.amount { font-weight: 700; color: var(--gold-deep); }

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.55rem;
  color: #4a463d;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4em;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 3px;
}

.badge-full {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Two-column content section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy);
  color: #c9d5e0;
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 1rem; }
.footer-brand .brand-mark { width: 40px; height: 40px; }
.footer-brand span { font-family: var(--font-head); font-size: 1.15rem; color: var(--white); }
.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer p { font-size: 0.92rem; }

.social-row { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.social-row a:hover { background: var(--gold); }
.social-row svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #93a4b5;
}

.interim-banner {
  background: var(--gold);
  color: var(--navy-dark);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1rem;
}
.interim-banner a { text-decoration: underline; }
