/* California Culture Charity Foundation — static site */
:root {
  --teal: #0a5c68;
  --teal-deep: #063f48;
  --teal-soft: #e6f3f4;
  --gold: #d4a017;
  --gold-bright: #f0c14a;
  --ink: #142428;
  --muted: #4a6066;
  --paper: #f7faf9;
  --white: #ffffff;
  --line: rgba(10, 92, 104, 0.14);
  --shadow: 0 18px 50px rgba(6, 63, 72, 0.12);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --max: 1120px;
  --nav-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(212, 160, 23, 0.12), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(10, 92, 104, 0.1), transparent 50%),
    linear-gradient(180deg, #eef6f6 0%, var(--paper) 28%, #f3f8f7 100%);
  line-height: 1.65;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--teal-deep);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 250, 249, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--teal-deep);
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}

.brand-text span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links a[aria-current="page"] {
  color: var(--teal);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  background: var(--teal);
  color: var(--white) !important;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--teal-deep);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--gold-bright);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 63, 72, 0.35) 0%, rgba(6, 63, 72, 0.55) 45%, rgba(6, 63, 72, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 63, 72, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 5rem 0 4rem;
  max-width: 40rem;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero-brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  padding: 0.35rem;
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  color: var(--white);
}

.hero-brand-name span {
  display: block;
  font-size: 0.72em;
  font-weight: 500;
  opacity: 0.92;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  animation: fadeUp 0.8s ease 0.12s both;
}

.hero .lede {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  animation: fadeUp 0.8s ease 0.22s both;
}

.hero .btn-group {
  animation: fadeUp 0.8s ease 0.32s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Page hero (inner) —— */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.page-hero .hero-media::after {
  background: linear-gradient(180deg, rgba(6, 63, 72, 0.4), rgba(6, 63, 72, 0.85));
}

.page-hero .hero-content {
  padding: 4rem 0 2.75rem;
  max-width: 38rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--white);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-hero .eyebrow {
  color: var(--gold-bright);
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(10, 92, 104, 0.06), transparent);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.split-visual {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.split-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.split-visual::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(6, 63, 72, 0.35));
  pointer-events: none;
  z-index: 1;
}

/* —— Focus strips (not cards) —— */
.focus-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.focus-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.focus-item img {
  width: 140px;
  height: 100px;
  object-fit: cover;
}

.focus-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
}

.focus-item p {
  margin: 0;
  color: var(--muted);
}

/* —— Trust / legal —— */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-bar strong {
  color: var(--teal-deep);
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

/* —— Blog —— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.75rem;
}

.blog-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.two-col {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.blog-item:hover h3 {
  color: var(--teal);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 1rem;
  transition: transform 0.45s ease;
}

.blog-item:hover img {
  transform: scale(1.03);
}

.blog-meta {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.blog-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.45rem;
}

.blog-item p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
}

.article .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 0 0 2rem;
}

.article p {
  font-size: 1.05rem;
}

.article h2 {
  margin-top: 2rem;
  font-size: 1.55rem;
}

/* —— Leadership —— */
.leader-list {
  display: grid;
  gap: 0;
}

.leader {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.leader:first-child {
  border-top: 1px solid var(--line);
}

.leader img {
  width: 200px;
  height: 220px;
  object-fit: cover;
}

.leader-role {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.leader h3 {
  font-size: 1.55rem;
  margin-bottom: 0.65rem;
}

.leader p {
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* —— Membership —— */
.tier-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.tier {
  display: grid;
  grid-template-columns: 10rem 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  margin: 0;
  color: var(--teal-deep);
}

.tier-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
  white-space: nowrap;
}

.tier p {
  margin: 0;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
}

/* —— Donate —— */
.donate-panel {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: var(--white);
  padding: 2.5rem;
}

.donate-panel h2 {
  color: var(--white);
}

.donate-panel p {
  color: rgba(255, 255, 255, 0.9);
}

.donate-panel a {
  color: var(--gold-bright);
}

/* —— Reveal motion —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— Footer —— */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 0.25rem;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.85;
}

.site-footer h4 {
  color: var(--gold-bright);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  opacity: 0.8;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-copy {
    order: 0;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tier {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .leader {
    grid-template-columns: 140px 1fr;
  }

  .leader img {
    width: 140px;
    height: 160px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    background: rgba(247, 250, 249, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .focus-item {
    grid-template-columns: 1fr;
  }

  .focus-item img {
    width: 100%;
    height: 160px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .leader {
    grid-template-columns: 1fr;
  }

  .leader img {
    width: 100%;
    height: 220px;
  }

  .hero-brand img {
    width: 72px;
    height: 72px;
  }
}
