/* Willpower shared subpage styles (thanks, bill, event pages) */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #08090e;
  --deep: #0d0f1a;
  --card: #141728;
  --card2: #1a1d30;
  --blue: #7baad4;
  --blue2: #5c8fbf;
  --border: rgba(255,255,255,0.10);
  --muted: rgba(255,255,255,0.58);
  --white: #ffffff;
  --t: 0.3s ease;
}

html, body {
  font-family: 'Inter', sans-serif;
  background: var(--ink);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--blue2); }

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

/* ── HEADER ── */
.sp-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(8,9,14,0.85);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}
.sp-header .brand {
  display: flex; align-items: center; gap: 0.6rem;
  color: var(--white); font-size: 0.78rem;
  letter-spacing: 0.18em; font-weight: 600; text-transform: uppercase;
}
.sp-header .brand img { height: 22px; width: auto; opacity: 0.95; }
.sp-header .sp-nav { display: flex; gap: 1.5rem; align-items: center; }
.sp-header .sp-nav a {
  font-size: 0.78rem; color: var(--muted); letter-spacing: 0.04em;
  transition: color var(--t);
}
.sp-header .sp-nav a:hover { color: var(--blue); }
.sp-header .sp-cta {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; background: var(--blue); color: var(--ink);
  padding: 0.55rem 1.1rem; border-radius: 999px;
}
.sp-header .sp-cta:hover { background: var(--blue2); color: var(--ink); }

/* ── PAGE LAYOUT ── */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 5%; }
.section { padding: 5rem 0; border-top: 1px solid var(--border); }
.section:first-of-type { border-top: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ''; display: inline-block; width: 24px; height: 1px; background: var(--blue);
}

.headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.headline em { font-style: italic; color: var(--blue); }

.body-lg {
  font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 680px;
}

h2.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 300; line-height: 1.15; margin-bottom: 1rem;
}
h2.section-title em { font-style: italic; color: var(--blue); }

h3.sub-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem;
}

p + p { margin-top: 1rem; }
p.lead { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 680px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.5rem; border-radius: 999px;
  font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer; transition: all var(--t);
  text-decoration: none;
}
.btn-primary { background: var(--blue); color: var(--ink); }
.btn-primary:hover { background: var(--blue2); color: var(--ink); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost {
  background: rgba(255,255,255,0.04); color: var(--white);
  border-color: var(--border); font-size: 0.76rem; padding: 0.55rem 1.1rem;
}
.btn-ghost:hover { background: rgba(123,170,212,0.1); border-color: var(--blue); color: var(--blue); }

.btn-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* ── HERO ── */
.sp-hero {
  padding: 6rem 0 4rem;
  background: radial-gradient(ellipse at top, rgba(123,170,212,0.08), transparent 60%);
}
.sp-hero .meta-row {
  display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.25rem;
  font-size: 0.88rem; color: var(--muted);
}
.sp-hero .meta-row span { display: inline-flex; align-items: center; gap: 0.4rem; }
.sp-hero .meta-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--blue); }

.hero-photo {
  margin-top: 3rem; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 16/9; background: var(--card);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── CARDS ── */
.card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  margin-top: 2rem;
}
.info-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 1.75rem; transition: all var(--t);
}
.info-card:hover { border-color: rgba(123,170,212,0.35); transform: translateY(-2px); }
.info-card h3,
.info-card h4 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.35rem;
  font-weight: 400; margin-bottom: 0.5rem; color: var(--blue);
}
.info-card p { font-size: 0.92rem; color: rgba(255,255,255,0.72); }

/* ── BULLETS ── */
.bullets { list-style: none; padding: 0; margin-top: 1rem; }
.bullets li {
  padding: 0.75rem 0 0.75rem 1.75rem; position: relative;
  border-bottom: 1px solid var(--border); color: rgba(255,255,255,0.8);
}
.bullets li:last-child { border-bottom: none; }
.bullets li::before {
  content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 600;
}

/* ── BRAND STRIP ── */
.brand-strip {
  display: flex; flex-wrap: wrap; gap: 2rem; align-items: center;
  justify-content: center; margin-top: 2rem; padding: 2rem 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.brand-strip img {
  height: 28px; width: auto; opacity: 0.55; filter: brightness(0) invert(1);
  transition: opacity var(--t);
}
.brand-strip img:hover { opacity: 0.95; }

/* ── PHOTO MOSAIC ── */
.photo-mosaic {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  margin-top: 2rem;
}
.photo-mosaic img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border);
}
.photo-mosaic img.wide { grid-column: span 2; aspect-ratio: 16/9; }

/* ── CTA SECTION ── */
.cta-section {
  padding: 5rem 0; text-align: center;
  background: linear-gradient(180deg, var(--deep) 0%, var(--ink) 100%);
}
.cta-section .wrap { max-width: 760px; }
.cta-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; margin-bottom: 1rem;
}
.cta-section h2 em { font-style: italic; color: var(--blue); }
.cta-section p { color: var(--muted); margin-bottom: 2rem; }
.cta-section .btn-row { justify-content: center; }

/* ── FOOTER ── */
.sp-footer {
  border-top: 1px solid var(--border); padding: 3rem 0 2rem;
  color: var(--muted); font-size: 0.82rem; background: var(--deep);
}
.sp-footer .wrap {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  align-items: center;
}
.sp-footer .fl {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); font-size: 0.72rem;
}
.sp-footer .fl img { height: 20px; opacity: 0.9; }
.sp-footer .f-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.sp-footer .f-nav a { color: var(--muted); font-size: 0.78rem; }
.sp-footer .f-nav a:hover { color: var(--blue); }

/* ── TWO-COL BLOCK ── */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.two-col .photo-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 4/5; background: var(--card);
}
.two-col .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ── STATUS PILL ── */
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(123,170,212,0.12); border: 1px solid rgba(123,170,212,0.3);
  color: var(--blue); padding: 0.4rem 0.85rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.pill.warn { background: rgba(200,169,110,0.12); border-color: rgba(200,169,110,0.3); color: #c8a96e; }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  .card-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); }
  .photo-mosaic img.wide { grid-column: span 2; }
  .sp-header { padding: 0.8rem 1rem; }
  .sp-header .sp-nav { gap: 0.9rem; }
  .section { padding: 3.5rem 0; }
  .sp-hero { padding: 3.5rem 0 2.5rem; }
}
@media (max-width: 520px) {
  .sp-header .sp-nav a:not(.sp-cta) { display: none; }
}


/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print stylesheet: light bg, dark text, hide nav/CTA for readability */
@media print {
  body { background: #fff !important; color: #111 !important; }
  .sp-header, .sp-footer, .sp-nav, .btn, .sp-cta, .cta-section, .pill { display: none !important; }
  * { color: #111 !important; background: transparent !important; box-shadow: none !important; text-shadow: none !important; }
  a { color: #111 !important; text-decoration: underline; }
  img { max-width: 100%; page-break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; }
}
