:root {
  --cream: #F1ECE3;
  --cream-deep: #E8E2D6;
  --ink: #1A1A1A;
  --ink-soft: #4A4A48;
  --muted: #6B6B68;
  --border: #D9D2C4;
  --white: #FFFFFF;
  --font-serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --max-w: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ========== NAV ========== */
.site-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 2rem 0;
}

.site-nav.dark-nav {
  position: relative;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.site-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  transition: opacity 0.2s ease;
}

.dark-nav .wordmark { color: var(--ink); }

.wordmark:hover { opacity: 0.7; }

.site-nav nav a {
  font-family: var(--font-sans);
  margin-left: 2.5rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s ease;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}

.dark-nav nav a { color: var(--ink-soft); }

.site-nav nav a:hover,
.site-nav nav a.active {
  border-bottom-color: currentColor;
  opacity: 1;
}

.site-nav nav a:hover { opacity: 0.85; }

/* ========== HOME HERO ========== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background-image:
    linear-gradient(to bottom, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.4) 100%),
    url('home-shasta.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
}

.hero-brand {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 2rem 0;
  line-height: 1;
  padding-left: 0.35em;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background: rgba(255,255,255,0.6);
  margin: 2rem auto;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
  max-width: 560px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* ========== INNER PAGE HERO ========== */
.inner-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  max-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.35) 100%);
}

.inner-hero.about {
  background-image: url('about-redwoods.jpg');
}

.inner-hero.principals {
  background-image: url('principals-sacramento.jpg');
}

.inner-hero.contact {
  background-image: url('contact-hills.jpg');
}

.inner-hero .content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 800px;
}

.inner-hero .eyebrow {
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.25rem;
}

.inner-hero h1 {
  color: var(--white);
  margin-bottom: 0;
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 300;
}

/* ========== INNER PAGES ========== */
main.inner {
  flex: 1;
  padding: 6rem 0 6rem;
}

main.inner .content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: block;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 3rem;
  color: var(--ink);
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin: 0 0 3rem 0;
  opacity: 0.4;
}

p {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

p.lead {
  font-size: 1.625rem;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 2.5rem;
}

p:last-child { margin-bottom: 0; }

/* ========== PRINCIPAL BLOCK ========== */
.principal {
  margin-bottom: 2.5rem;
}

.principal-name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
  color: var(--ink);
}

.principal-title {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

/* ========== CONTACT ========== */
.contact-block {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.contact-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.contact-block a {
  font-family: var(--font-serif);
  color: var(--ink);
  text-decoration: none;
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.contact-block a:hover {
  border-color: var(--ink);
}

/* ========== FOOTER ========== */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover { color: var(--ink); }

/* ========== MOBILE ========== */
@media (max-width: 720px) {
  .container { padding: 0 1.5rem; }
  .site-nav { padding: 1.25rem 0; }
  .site-nav .container { flex-direction: column; gap: 1rem; }
  .site-nav nav a { margin-left: 0; margin-right: 1.25rem; font-size: 0.75rem; }
  .site-nav nav a:last-child { margin-right: 0; }

  .hero { min-height: 560px; padding-top: 6rem; }
  .hero-brand { font-size: 1.75rem; letter-spacing: 0.3em; }
  .hero-tagline { font-size: 1.125rem; }

  .inner-hero { min-height: 320px; height: 45vh; }
  .inner-hero h1 { font-size: 2.25rem; }

  main.inner { padding: 4rem 0 3rem; }
  main.inner .content { padding: 0 1.5rem; }
  h1 { font-size: 2rem; margin-bottom: 2rem; }
  p { font-size: 1.1875rem; }
  p.lead { font-size: 1.3125rem; }
  .principal-name { font-size: 1.625rem; }
  .contact-block a { font-size: 1.25rem; }

  footer .container { flex-direction: column; gap: 0.75rem; text-align: center; }
}
