/* ==============================================
   FAIR FUTURE INITIATIVE COOPERATIVE — Homepage Stylesheet
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,300;1,9..144,400;1,9..144,700&family=Barlow+Condensed:wght@400;600;700;900&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ---- Custom Properties ---- */
:root {
  --navy:         #0F1B2D;
  --navy-mid:     #162438;
  --navy-light:   #1E3150;
  --green:        #1A4731;
  --green-mid:    #245C40;
  --gold:         #C8900A;
  --gold-light:   #E8B84B;
  --gold-pale:    #F5E4B8;
  --cream:        #F6F1E8;
  --cream-dark:   #EDE6D4;
  --rust:         #7D2E1A;
  --text-dark:    #1A1614;
  --text-mid:     #4A4441;
  --text-light:   #7A7470;
  --white:        #FDFAF5;

  --font-display: 'Fraunces', Georgia, serif;
  --font-ui:      'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Lora', Georgia, serif;

  --max-w: 1380px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---- Reset ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-out),
              box-shadow 0.4s var(--ease-out);
}

.nav.scrolled {
  background: rgba(15, 27, 45, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(200, 144, 10, 0.2);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 3px;
  object-fit: cover;
  border: 1.5px solid rgba(200, 144, 10, 0.5);
}

.nav-wordmark {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.75);
  transition: color 0.2s;
}

.nav-links a:hover       { color: var(--gold-light); }

.nav-cta {
  padding: 0.45rem 1.2rem;
  border: 1.5px solid var(--gold) !important;
  border-radius: 2px;
  color: var(--gold) !important;
  transition: background 0.2s, color 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  height: 115vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(15, 27, 45, 0.3) 0%,
      rgba(15, 27, 45, 0.2) 30%,
      rgba(15, 27, 45, 0.75) 70%,
      rgba(15, 27, 45, 0.95) 100%),
    linear-gradient(90deg,
      rgba(15, 27, 45, 0.6) 0%,
      transparent 60%);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem 5.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}


.hero-text { max-width: 900px; margin-top: 220px;}

.hero-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: red;
  background: yellow;
  margin-top: 300px;
  opacity: 1;
  transform: none;
  animation: none;
}


.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin-bottom: 2rem;
}

.hero-title-line {
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: -0.03em;
  display: block;
}

.hero-title-line--solid {
  font-size: clamp(4.5rem, 13vw, 12rem);
  color: var(--white);
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeRight 0.85s var(--ease-out) 0.4s forwards;
}

.hero-title-line--outline {
  font-size: clamp(4.5rem, 13vw, 12rem);
  color: transparent;
  -webkit-text-stroke: 2px var(--gold-light);
  margin-left: clamp(2rem, 6vw, 7rem);
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeRight 0.85s var(--ease-out) 0.55s forwards;
}

.hero-title-line--sub {
  font-size: clamp(1.8rem, 4.5vw, 4rem);
  color: var(--gold);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  margin-left: clamp(0.5rem, 1.5vw, 2rem);
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeRight 0.85s var(--ease-out) 0.7s forwards;
}

.hero-title-line--coop {
  font-size: clamp(1.2rem, 2.8vw, 2.5rem);
  color: var(--gold);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-left: clamp(0.5rem, 1.5vw, 2rem);
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeRight 0.85s var(--ease-out) 0.82s forwards;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) 0.85s forwards;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(253, 250, 245, 0.8);
  line-height: 1.65;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(200, 144, 10, 0.4);
  flex-shrink: 0;
}

.hero-location {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.45);
  display: block;
  Margin-top: 0.4rem;
}

.hero-est {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.45);
}

.hero-location-wrap {
  display: flex;
  flex-direction: column;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.7s var(--ease-out) 1s forwards;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.6s forwards;
}

.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.4);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, rgba(200, 144, 10, 0.5), transparent);
  animation: pulse 2s ease-in-out 2s infinite;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2.1rem;
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.25s var(--ease-out),
              background 0.25s, border-color 0.25s, color 0.25s,
              box-shadow 0.25s;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 144, 10, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(253, 250, 245, 0.4);
}
.btn-ghost:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 27, 45, 0.3);
}

.btn-text {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid transparent;
  padding-left: 0;
  padding-right: 0;
}
.btn-text:hover {
  color: var(--gold);
}

/* ================================================================
   SECTION UTILITIES
   ================================================================ */
.section-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-label--light {
  color: rgba(200, 144, 10, 0.7);
}
/* ================================================================
   MISSION STATEMENT
   ================================================================ */
.mission {
  background: var(--cream);
  padding: 7rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.mission::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    var(--gold) 0%,
    var(--rust) 35%,
    var(--green) 70%,
    var(--navy) 100%);
}

.mission::after {
  content: 'FFI';
  position: absolute;
  right: -1rem;
  bottom: -3rem;
  font-family: var(--font-display);
  font-size: 22rem;
  font-weight: 900;
  color: rgba(200, 144, 10, 0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.05em;
}

.mission-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr 180px;
  gap: 5rem;
  align-items: start;
}

.mission-left {
  padding-top: 0.5rem;
}

.mission-logo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--gold);
  margin-top: 1.5rem;
  filter: grayscale(10%);
}

.mission-body {
  position: relative;
}

.mission-quote-glyph {
  font-family: var(--font-display);
  font-size: 14rem;
  line-height: 0.65;
  color: var(--gold);
  opacity: 0.15;
  position: absolute;
  top: -1.5rem;
  left: -2.5rem;
  pointer-events: none;
  user-select: none;
  font-style: italic;
}

.mission-statement {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.mission-statement strong {
  font-weight: 700;
  color: var(--green);
  font-style: italic;
}

.mission-attrs {
  margin-top: 3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.mission-pill {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid rgba(26, 71, 49, 0.3);
  border-radius: 100px;
  color: var(--green);
  background: rgba(26, 71, 49, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.mission-pill:hover {
  background: rgba(26, 71, 49, 0.12);
  border-color: rgba(26, 71, 49, 0.5);
}

.mission-right {
  padding-top: 0.5rem;
}

.mission-since {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

.mission-since-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-top: 0.25rem;
}

.mission-since-sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-mid);
  margin-top: 0.5rem;
}

/* ================================================================
   FOCUS AREAS — Six Pillars
   ================================================================ */
.focus {
  background: var(--navy);
  padding: 7rem 2.5rem;
  position: relative;
}

.focus-header {
  max-width: var(--max-w);
  margin: 0 auto 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.focus-heading-group {}

.focus-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.focus-title em {
  font-style: italic;
  color: var(--gold-light);
}

.focus-lead {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(253, 250, 245, 0.5);
  line-height: 1.7;
  max-width: 280px;
  text-align: right;
}

.focus-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 2px;
}

.focus-card {
  background: rgba(253, 250, 245, 0.03);
  border: 1px solid rgba(200, 144, 10, 0.1);
  padding: 2.75rem 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.35s var(--ease-out),
              border-color 0.35s var(--ease-out);
}

.focus-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width 0.45s var(--ease-out);
}

.focus-card:hover {
  background: rgba(253, 250, 245, 0.065);
  border-color: rgba(200, 144, 10, 0.35);
}

.focus-card:hover::before {
  width: 100%;
}

.focus-card--feat {
  grid-column: 1;
  grid-row: 1 / 3;
  background: rgba(26, 71, 49, 0.45);
  border-color: rgba(26, 71, 49, 0.7);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
}

.focus-card--feat::before {
  background: var(--gold-light);
}

.focus-card--wide {
  grid-column: 1 / -1;
  grid-row: 3;
  background: rgba(200, 144, 10, 0.08);
  border-color: rgba(200, 144, 10, 0.25);
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 2.75rem 3rem;
}

.focus-card--wide::before {
  background: var(--gold-light);
}

.focus-card--wide .focus-card-body {
  flex: 1;
}

.focus-card-num {
  font-family: var(--font-ui);
  font-size: 5.5rem;
  font-weight: 900;
  color: rgba(200, 144, 10, 0.1);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.focus-card--feat .focus-card-num {
  font-size: 9rem;
  margin-bottom: auto;
}

.focus-card--wide .focus-card-num {
  font-size: 6rem;
  flex-shrink: 0;
  color: rgba(200, 144, 10, 0.2);
}

.focus-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.focus-card--feat .focus-card-name {
  font-size: 1.85rem;
}

.focus-card--wide .focus-card-name {
  font-size: 1.55rem;
}

.focus-card-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(253, 250, 245, 0.6);
}

.focus-card--feat .focus-card-desc {
  color: rgba(253, 250, 245, 0.7);
}

/* ================================================================
   COMMUNITY PHOTO BREAK
   ================================================================ */
.photo-break {
  position: relative;
  height: 52vh;
  min-height: 380px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-break-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.05);
  transition: transform 12s linear;
}

.photo-break:hover .photo-break-img {
  transform: scale(1);
}

.photo-break-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg,
    rgba(26, 71, 49, 0.88) 0%,
    rgba(15, 27, 45, 0.78) 100%);
}

.photo-break-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 2rem 2.5rem;
  text-align: center;
}

.photo-break-pull {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  line-height: 1.5;
}

.photo-break-pull::before,
.photo-break-pull::after {
  content: '"';
  color: var(--gold-light);
  opacity: 0.6;
}

/* ================================================================
   ROOTS / GET INVOLVED
   ================================================================ */
.roots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 58vh;
}

.roots-photo {
  overflow: hidden;
  position: relative;
}

.roots-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.8s var(--ease-out);
}

.roots-photo:hover .roots-photo-img {
  transform: scale(1.04);
}

.roots-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15, 27, 45, 0.35) 0%,
    transparent 50%);
  pointer-events: none;
}
.roots-content {
  background: var(--cream);
  padding: 5.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.roots-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15%;
  bottom: 15%;
  width: 3px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}

.roots-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.roots-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.roots-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.roots-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.roots-contact {
  margin-top: 0.5rem;
}

.contact-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.contact-offices {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-office {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-email a {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(15, 27, 45, 0.28);
  transition: border-color 0.2s;
}

.contact-email a:hover {
  border-color: var(--green);
  color: var(--green);
}

.contact-city {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-address {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.55;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: var(--text-dark);
  padding: 4.5rem 2.5rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
  margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(253, 250, 245, 0.08);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.footer-brand-tag {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(253, 250, 245, 0.45);
  max-width: 320px;
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.5);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(253, 250, 245, 0.25);
}

.footer-tagline-bottom {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(200, 144, 10, 0.4);
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeRight {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out),
              transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .mission-inner {
    grid-template-columns: 180px 1fr;
  }
  .mission-right { display: none; }

  .focus-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .focus-lead { text-align: left; max-width: 100%; }
}

@media (max-width: 900px) {
  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }
  .focus-card--feat {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .focus-card--wide {
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 1.5rem;
  }

  .roots {
    grid-template-columns: 1fr;
  }
  .roots-photo { height: 320px; }
  .roots-content { padding: 4rem 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }

  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 3.5rem;
    gap: 0;
  }
  .hero-scroll { display: none; }

  .hero-meta { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero-divider { display: none; }

  .mission { padding: 5rem 1.5rem; }
  .mission-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .mission-logo { width: 70px; height: 70px; }
  .mission-quote-glyph { display: none; }
  .mission-attrs { display: none; }

  .focus { padding: 5rem 1.5rem; }
  .focus-grid { grid-template-columns: 1fr; gap: 2px; }
  .focus-card--wide { flex-direction: column; gap: 1rem; }

  .photo-break { height: 55vh; }

  .roots-content { padding: 3.5rem 2rem; }
  .roots-content::before { display: none; }

  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .hero-title-line--outline {
    -webkit-text-stroke-width: 1.5px;
    margin-left: 1.5rem;
  }

  .mission { padding: 4rem 1.25rem; }
  .mission-statement { font-size: 1.3rem; }

  .focus { padding: 4rem 1.25rem; }
  .roots-content { padding: 3rem 1.5rem; }

  .btn { padding: 0.75rem 1.6rem; font-size: 0.82rem; }
}


/* ================================================================
   REQUESTED UPDATES — original design preserved
   ================================================================ */

/* Prevent background scrolling while the mobile navigation is open. */
body.menu-open {
  overflow: hidden;
}

/* Slightly stronger contrast for the contact details on the cream panel. */
.contact-email a {
  font-weight: 500;
}

.contact-address {
  font-weight: 500;
}

/* Mobile dropdown and hero-photo protection. */
@media (max-width: 768px) {
  .nav {
    background: rgba(15, 27, 45, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(200, 144, 10, 0.2);
  }

  .nav-inner {
    padding: 0 1rem;
    gap: 1rem;
  }

  .nav-wordmark {
    max-width: 215px;
    font-size: 0.9rem;
    line-height: 1.12;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1.25rem;
    background: rgba(15, 27, 45, 0.985);
    border-top: 1px solid rgba(200, 144, 10, 0.22);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.24);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.25s var(--ease-out),
      transform 0.25s var(--ease-out),
      visibility 0.25s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li,
  .nav-links a {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.95rem 0.8rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(253, 250, 245, 0.08);
  }

  .nav-links li:last-child a {
    border-bottom: 0;
  }

  .nav-cta {
    margin-top: 0.65rem;
    text-align: center;
  }

  .nav-menu-btn[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-menu-btn[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-menu-btn[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /*
    Keep the original faded-photo treatment, but stop the headline from
    covering a face. On phones the complete photograph is shown first,
    then it fades naturally into the original navy hero area.
  */
  .hero {
    height: auto;
    min-height: 0;
    display: block;
    padding-top: var(--nav-h);
    background: var(--navy);
    overflow: hidden;
  }

  .hero-bg {
    position: relative;
    inset: auto;
    width: 100%;
    background: var(--navy);
  }

  .hero-bg-img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center top;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(15, 27, 45, 0.03) 0%,
        rgba(15, 27, 45, 0.03) 60%,
        rgba(15, 27, 45, 0.45) 82%,
        var(--navy) 100%
      );
  }

  .hero-content {
    margin-top: -1px;
    padding: 2.25rem 1.5rem 3.75rem;
    background: var(--navy);
  }

  .hero-text {
    max-width: 100%;
    margin-top: 0;
  }

  .hero-title {
    margin-bottom: 1.65rem;
  }

  .hero-title-line--solid,
  .hero-title-line--outline {
    font-size: clamp(3.6rem, 18vw, 5.5rem);
  }

  .hero-title-line--outline {
    margin-left: 1.25rem;
  }

  .hero-title-line--sub {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .hero-title-line--coop {
    font-size: clamp(1rem, 5vw, 1.5rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .nav-wordmark {
    max-width: 180px;
    font-size: 0.82rem;
  }

  .hero-content {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hero-title-line--solid,
  .hero-title-line--outline {
    font-size: clamp(3.25rem, 17vw, 4.5rem);
  }
}


/* Keep the six focus pillars in their HTML order on tablets and phones. */
@media (max-width: 900px) {
  .focus-card,
  .focus-card--feat,
  .focus-card--wide {
    grid-column: auto;
    grid-row: auto;
  }
}


/* ================================================================
   HERO FACE-SAFE LAYOUT
   Keeps the original full-width faded-photo look while ensuring the
   FAIR/FUTURE headline begins below the faces at every screen size.
   ================================================================ */

.hero {
  height: auto;
  min-height: 0;
  display: block;
  padding-top: var(--nav-h);
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: relative;
  inset: auto;
  width: 100%;
  background: var(--navy);
}

.hero-bg-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
}

.hero-overlay {
  background:
    linear-gradient(
      180deg,
      rgba(15, 27, 45, 0.03) 0%,
      rgba(15, 27, 45, 0.03) 58%,
      rgba(15, 27, 45, 0.34) 74%,
      rgba(15, 27, 45, 0.82) 90%,
      var(--navy) 100%
    ),
    linear-gradient(
      90deg,
      rgba(15, 27, 45, 0.28) 0%,
      transparent 48%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  margin: -11vw auto 0;
  padding: 13vw max(2.5rem, calc((100vw - var(--max-w)) / 2 + 2.5rem)) 5.5rem;
  background:
    linear-gradient(
      180deg,
      rgba(15, 27, 45, 0) 0%,
      rgba(15, 27, 45, 0.94) 22%,
      var(--navy) 44%,
      var(--navy) 100%
    );
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero-text {
  max-width: 900px;
  margin-top: 0;
}

.hero-eyebrow {
  margin-top: 0;
}

@media (min-width: 769px) and (max-height: 800px) {
  .hero-content {
    margin-top: -8vw;
    padding-top: 11vw;
  }

  .hero-title-line--solid,
  .hero-title-line--outline {
    font-size: clamp(4.25rem, 10vw, 9rem);
  }
}

@media (max-width: 768px) {
  .hero-content {
    margin-top: -1px;
    padding: 2.25rem 1.5rem 3.75rem;
    background: var(--navy);
  }
}


/* ================================================================
   HERO IMAGE FINISHING TOUCHES
   - Crops the top 20% of the source photo
   - Adds a soft navy fade on all four sides
   - Adds subtle warmth and film grain
   ================================================================ */

.hero-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg-img {
  width: 100%;
  height: 125%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: translateY(-20%);
  filter: saturate(1.04) sepia(0.035) contrast(1.02);
}

.hero-overlay {
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(15, 27, 45, 0.72) 0%,
      rgba(15, 27, 45, 0.10) 16%,
      rgba(15, 27, 45, 0.03) 48%,
      rgba(15, 27, 45, 0.18) 76%,
      rgba(15, 27, 45, 0.96) 100%
    ),
    linear-gradient(
      to right,
      rgba(15, 27, 45, 0.82) 0%,
      rgba(15, 27, 45, 0.12) 15%,
      rgba(15, 27, 45, 0.02) 50%,
      rgba(15, 27, 45, 0.12) 85%,
      rgba(15, 27, 45, 0.82) 100%
    );
}

/* Fine, nearly invisible texture so the hero feels less flat. */
.hero-overlay::after {
  opacity: 0.22;
  mix-blend-mode: soft-light;
}

@media (max-width: 768px) {
  .hero-bg {
    aspect-ratio: 5 / 3;
  }

  .hero-bg-img {
    width: 100%;
    height: 125%;
    object-fit: cover;
    transform: translateY(-20%);
  }

  .hero-overlay {
    background:
      linear-gradient(
        to bottom,
        rgba(15, 27, 45, 0.72) 0%,
        rgba(15, 27, 45, 0.08) 15%,
        rgba(15, 27, 45, 0.02) 52%,
        rgba(15, 27, 45, 0.22) 76%,
        rgba(15, 27, 45, 0.98) 100%
      ),
      linear-gradient(
        to right,
        rgba(15, 27, 45, 0.76) 0%,
        rgba(15, 27, 45, 0.08) 12%,
        rgba(15, 27, 45, 0.01) 50%,
        rgba(15, 27, 45, 0.08) 88%,
        rgba(15, 27, 45, 0.76) 100%
      );
  }
}
