:root {
  --navy: #062536;
  --navy-deep: #031b28;
  --orange: #d8430d;
  --orange-bright: #ef5b1a;
  --cream: #f7f0e5;
  --paper: #fffaf2;
  --ink: #172630;
  --muted: #637078;
  --line: rgba(6, 37, 54, 0.16);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Libre Franklin", Arial, sans-serif;
  --shadow: 0 18px 55px rgba(6, 28, 40, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
.shell { width: min(1380px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: white; padding: 10px 16px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 168px;
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 38px;
  background: rgba(255, 250, 242, 0.94);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: height .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { height: 160px; border-color: var(--line); box-shadow: 0 8px 30px rgba(6,37,54,.07); }
#top { scroll-margin-top: 168px; }
.brand { display: flex; align-items: center; min-width: 150px; }
.brand-logo { display: block; width: 150px; height: 150px; flex: 0 0 150px; object-fit: contain; }
.brand-copy { display: none; }
.site-nav { display: flex; justify-content: center; gap: 27px; font-size: 14px; font-weight: 600; }
.site-nav a { position: relative; padding: 38px 0 31px; white-space: nowrap; }
.site-header.is-scrolled .site-nav a { padding-block: 29px 23px; }
.site-nav a::after { position: absolute; content: ""; left: 0; right: 100%; bottom: 24px; height: 2px; background: var(--orange); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a.is-active::after { right: 0; }
.menu-button { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; white-space: nowrap; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 18px; padding: 12px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 15px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; padding-inline: 20px; }
.button-primary { color: white; background: var(--orange); box-shadow: 0 8px 20px rgba(216,67,13,.18); }
.button-primary:hover { background: #b93409; }
.button-outline { border-color: var(--navy); background: rgba(255,255,255,.55); }
.button-outline:hover { background: white; }
.button-light { background: var(--cream); color: var(--navy); }
.button-ghost { color: white; border-color: rgba(255,255,255,.75); }
.button-dark { background: var(--navy); color: white; }
a.button[href="https://gofund.me/52ac249c6"]:not(.button-primary) { color: white; background: var(--navy); border-color: var(--navy); box-shadow: none; }
a.button[href="https://gofund.me/52ac249c6"]:not(.button-primary):hover { color: white; background: var(--navy-deep); border-color: var(--navy-deep); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.text-link { color: var(--orange); font-weight: 700; font-size: 14px; }
.text-link span { padding-left: 5px; }
.eyebrow { margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.eyebrow.orange { color: var(--orange); }

.hero { min-height: 610px; display: grid; grid-template-columns: minmax(800px, 2.35fr) minmax(320px, 1fr); overflow: hidden; background: var(--cream); }
.hero-copy { position: relative; z-index: 2; min-width: 0; padding: 76px 32px 72px max(40px, calc((100vw - 1380px) / 2)); background: linear-gradient(90deg, var(--cream) 92%, transparent); }
.hero-copy h1 { margin: 0 0 22px; color: var(--navy); font-family: var(--display); font-size: clamp(39px, 3.5vw, 57px); line-height: .93; letter-spacing: -3px; text-transform: uppercase; white-space: nowrap; }
.hero-copy h1 em { color: var(--orange); font-style: normal; }
.hero-intro { max-width: 780px; margin-bottom: 30px; font-family: var(--serif); font-size: 23px; line-height: 1.35; }
.art-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-art { position: relative; min-width: 0; overflow: hidden; font-size: clamp(16px, 2vw, 22px); }
.hero-art .art-photo { object-position: center 55%; }

.feature-story { position: relative; z-index: 4; min-height: 340px; margin-top: -24px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(300px, .7fr); overflow: hidden; border-radius: 4px; color: white; background: var(--navy); box-shadow: var(--shadow); }
.feature-copy { min-width: 0; padding: 38px 42px; }
.story-meta { display: flex; align-items: center; gap: 22px; margin-bottom: 12px; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.story-meta span { color: #ff7440; }
.feature-copy h2 { max-width: 600px; margin-bottom: 14px; font-family: var(--serif); font-size: clamp(34px, 4vw, 50px); line-height: 1.02; }
.feature-copy p { max-width: 630px; color: rgba(255,255,255,.88); font-family: var(--serif); font-size: 17px; line-height: 1.4; }
.feature-image { position: relative; overflow: hidden; }
.feature-image .art-photo { object-position: center 52%; }

.pathways { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pathway { min-height: 270px; position: relative; overflow: hidden; padding: 34px 40px; color: white; }
.pathway > div:first-child { position: relative; z-index: 2; max-width: 410px; }
.pathway h2 { margin-bottom: 7px; font-family: var(--serif); font-size: 46px; line-height: 1; }
.pathway p:not(.eyebrow) { max-width: 380px; font-family: var(--serif); font-size: 17px; line-height: 1.35; }
.pathway-worker { background: linear-gradient(120deg, #ed5b14, #ca3207); }
.pathway-worker > div:first-child { max-width: min(410px, calc(100% - 210px)); }
.pathway-support { background: linear-gradient(120deg, #092f3c, #031a27); }
.botanical { position: absolute; top: auto; right: 20px; bottom: 20px; width: 190px; height: 127px; font-size: 14px; }
.support-art { position: absolute; right: 20px; bottom: -5px; width: 140px; height: 140px; font-size: 14px; }
.botanical .art-photo { width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 12px; opacity: .78; }
.support-art .art-photo { width: 150px; height: 125px; border-radius: 50%; }

#member-photo { scroll-margin-top: 110px; }
.member-home { margin-block: 62px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding: 28px; background: white; border: 1px solid #eadfd1; box-shadow: 0 5px 18px rgba(33,29,24,.06); }
.member-home-image { overflow: hidden; aspect-ratio: 1.57; background: var(--cream); }
.member-photo-coming-soon { display: grid; width: 100%; min-height: 220px; aspect-ratio: 1.34; place-items: center; border: 1px solid var(--line); color: var(--navy); background: var(--cream); font-family: var(--serif); font-size: 26px; }
.member-photo-placeholder { position: relative; overflow: hidden; color: white; }
.member-photo-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member-photo-placeholder span { position: relative; z-index: 1; padding: 8px 18px; background: rgba(3, 26, 39, .78); }
.member-home-image .member-photo-coming-soon { height: 100%; min-height: 0; aspect-ratio: auto; }
.member-home-copy h2 { margin-bottom: 12px; color: var(--navy); font-family: var(--serif); font-size: clamp(32px, 4vw, 46px); line-height: 1.05; }
.member-home-copy p:not(.eyebrow) { margin-bottom: 18px; color: #4f5a60; font-family: var(--serif); font-size: 17px; }
.news-section { padding-block: 70px 62px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 25px; }
.section-heading h2 { margin: 0; color: #281c16; font-family: var(--serif); font-size: 52px; line-height: 1; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { overflow: hidden; background: white; border: 1px solid #eadfd1; box-shadow: 0 5px 18px rgba(33,29,24,.06); transition: transform .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-image { position: relative; height: 190px; overflow: hidden; }
.card-image { position: relative; height: 190px; overflow: hidden; }
.card-image .art-photo { object-position: center; }
.card-copy { min-height: 220px; padding: 20px 22px 22px; display: flex; flex-direction: column; align-items: flex-start; }
.card-copy time { margin-bottom: 7px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: 1.7px; text-transform: uppercase; }
.card-copy h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 23px; line-height: 1.02; }
.card-copy p { margin-bottom: 18px; color: #4f5a60; font-family: var(--serif); font-size: 15px; line-height: 1.35; }
.card-copy .text-link { margin-top: auto; }

.resource-strip { border-block: 1px solid #e8dccd; background: #fbf5eb; }
.resource-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.resource { min-height: 130px; padding: 26px 22px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 17px; border-right: 1px solid #dccdbb; }
.resource:last-child { border-right: 0; }
.resource:hover strong { color: var(--orange); }
.resource-icon { color: var(--orange); font-family: var(--display); font-size: 31px; font-weight: 800; letter-spacing: -6px; }
.resource strong, .resource small { display: block; }.resource strong { font-family: var(--serif); font-size: 17px; line-height: 1.1; }.resource small { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.35; }.resource b { color: var(--orange); }

.community { min-height: 240px; padding: 38px 0 25px; display: grid; grid-template-columns: 1fr minmax(360px, 500px) 1fr; align-items: end; gap: 20px; overflow: hidden; background: linear-gradient(#f4e9da, #fff8ed); }
.community-copy { align-self: center; text-align: center; }
.community-copy h2 { margin-bottom: 12px; font-family: var(--serif); font-size: 34px; line-height: 1.08; }
.community-copy p:last-child { margin: 12px auto 0; max-width: 480px; color: #4d585e; font-family: var(--serif); }
.accent-line { display: block; width: 58px; height: 3px; margin: 0 auto; background: var(--orange); }
.skyline { height: 140px; min-width: 0; }
.skyline .art-photo { object-position: center 58%; }

.site-footer { color: rgba(255,255,255,.85); background: #291b16; }
.footer-main { min-height: 120px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 35px; }
.footer-fundraiser { display: block; width: 150px; min-width: 0; }
.footer-fundraiser img { display: block; width: 100%; height: auto; }
.footer-main nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 0; }
.footer-main nav a { padding-inline: 15px; border-right: 1px solid rgba(255,255,255,.2); font-size: 12px; }.footer-main nav a:last-child { border: 0; }
.socials { display: flex; gap: 8px; }.socials a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #291b16; background: white; font-weight: 800; }
.footer-legal { min-height: 56px; padding-block: 16px; display: flex; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.58); font-size: 10px; }.footer-legal p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Know Your Rights referral directory */
.page-hero {
  padding: 78px 20px 72px;
  color: white;
  background: var(--navy);
}
.page-hero-inner { width: min(850px, 100%); }
.page-hero .eyebrow { color: #ff7440; }
.page-hero h1 {
  margin-bottom: 20px;
  font-family: var(--display);
  font-size: clamp(36px, 5.25vw, 62px);
  line-height: .95;
  letter-spacing: -3px;
  text-transform: uppercase;
}
.page-hero p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255,255,255,.86);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.45;
}
.referral-section { padding-block: 64px 78px; }
.referral-intro {
  max-width: 780px;
  margin-bottom: 36px;
  color: #4f5a60;
  font-family: var(--serif);
  font-size: 18px;
}
.referral-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.referral-card {
  min-height: 255px;
  padding: 29px 30px 27px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: white;
  border: 1px solid #e4d8c9;
  box-shadow: 0 7px 24px rgba(6,37,54,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.referral-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.referral-card .category {
  margin-bottom: 11px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.referral-card h2, .referral-card h3 { margin-bottom: 10px; font-family: var(--serif); font-size: 26px; line-height: 1.08; }
.referral-card p { margin-bottom: 22px; color: #536068; font-size: 14px; line-height: 1.55; }
.referral-card .text-link { margin-top: auto; }
.resource-note {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: #626d73;
  font-size: 12px;
  line-height: 1.6;
}
.resource-note strong { color: var(--ink); }

/* General interior pages */
.content-section { padding-block: 64px 82px; }
.content-download { display: flex; justify-content: flex-end; margin: -18px 0 22px; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: 28px; align-items: start; }
.content-stack { display: grid; gap: 24px; }
.about-testimonials-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.about-photo-block { position: sticky; top: 140px; }
.about-photo-block .member-photo-coming-soon { max-width: 220px; min-height: 0; aspect-ratio: 1.34; }
.fighting-for-title { margin-bottom: 24px; color: var(--navy); font-family: var(--display); font-size: clamp(30px, 4.5vw, 40px); line-height: 1.05; }
.fight-priority h3 { margin-bottom: 20px; color: var(--navy); font-family: var(--serif); font-size: 30px; line-height: 1.1; }
.fight-points { margin: 0; padding-left: 22px; }
.fight-points li + li { margin-top: 18px; }
.fight-points h4 { margin-bottom: 5px; color: var(--navy); font-size: 16px; line-height: 1.35; }
.fight-points p { margin-bottom: 0; color: #4f5a60; font-family: var(--serif); font-size: 17px; line-height: 1.5; }
.content-block,
.content-card,
.news-entry { padding: 32px; border: 1px solid var(--line); border-radius: 4px; background: white; box-shadow: 0 12px 35px rgba(6,37,54,.06); }
.content-block h2,
.content-card h2,
.news-entry h2 { margin-bottom: 12px; color: var(--navy); font-family: var(--serif); font-size: 34px; line-height: 1.08; }
.content-block p:last-child,
.content-card p:last-child,
.news-entry p:last-child { margin-bottom: 0; }
.content-block ol { padding-left: 1.4em; }
.content-block ol li { padding-left: .3em; margin-bottom: 16px; line-height: 1.7; }
.content-block ol li:last-child { margin-bottom: 0; }
.member-photo-coming-soon { max-width: 860px; margin-top: 24px; }
.content-card .category,
.news-entry .category { margin-bottom: 8px; color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.fact-list { display: grid; gap: 18px; margin: 0; }
.fact-list div { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.fact-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.fact-list dt { margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.fact-list dd { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.25; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value-grid .content-card { min-height: 230px; }
.callout-panel { padding: 36px; color: white; background: var(--navy); }
.callout-panel h2 { color: white; }
.callout-panel p { color: rgba(255,255,255,.84); }
.news-list { display: grid; gap: 18px; }
.news-entry { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 28px; }
.news-entry time { color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.news-entry h2 { font-size: 30px; }
.credit-list { display: grid; gap: 16px; margin: 22px 0 0; padding-left: 22px; color: #536068; }
.credit-list a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.credit-list a:hover { color: var(--navy); }

@media (max-width: 1050px) {
  .site-header { grid-template-columns: auto auto 1fr; gap: 20px; }
  .header-actions { grid-column: 3; justify-self: end; }
  .site-nav { position: absolute; display: none; left: 0; right: 0; top: 100%; padding: 16px 30px 26px; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(6,37,54,.08); }
  .site-nav.is-open { display: flex; }.site-nav a, .site-header.is-scrolled .site-nav a { width: 100%; padding: 12px 0; }.site-nav a::after { bottom: 6px; }
  .menu-button { display: grid; gap: 5px; padding: 10px; border: 0; background: transparent; cursor: pointer; }.menu-button span:not(.sr-only) { width: 23px; height: 2px; background: var(--navy); }
  .hero { grid-template-columns: 1fr; }.hero-copy { padding: 60px 40px 54px; background: var(--cream); }.hero-copy h1 { font-size: 48px; }.hero-art { min-height: 500px; }
  .pathways { grid-template-columns: 1fr; }
  .feature-story { grid-template-columns: 1fr; }
  .feature-copy { padding: 38px; }.feature-copy h2 { font-size: 42px; }
  .feature-image { min-height: 300px; }
  .resource-grid { grid-template-columns: 1fr 1fr; }.resource:nth-child(2) { border-right: 0; }.resource:nth-child(-n+2) { border-bottom: 1px solid #dccdbb; }
  .referral-grid { grid-template-columns: 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .about-testimonials-layout { grid-template-columns: minmax(0, 1fr) 250px; }
  .value-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .about-testimonials-layout { grid-template-columns: 1fr; }
  .about-photo-block { position: static; }
  .shell { width: min(100% - 28px, 600px); } #top { scroll-margin-top: 125px; }.site-header { height: 125px; padding-inline: 18px; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px; }.site-header.is-scrolled { height: 121px; }.brand { min-width: 0; }.brand-logo { width: 117px; height: 117px; flex-basis: 117px; }.header-cta { display: none; }.header-donate { min-height: 38px; padding-inline: 10px; font-size: 13px; }.menu-button { grid-column: 2; grid-row: 1; }.header-actions { grid-column: 3; grid-row: 1; }.site-nav { grid-column: 1 / -1; }
  .hero { min-height: 0; display: flex; flex-direction: column; }.hero-copy { padding: 56px 24px 50px; background: var(--cream); }.hero-copy h1 { font-size: clamp(32px, 9.75vw, 44px); letter-spacing: -2px; white-space: normal; }.hero-intro { font-size: 19px; }.hero-art { min-height: 440px; }
  .feature-story { margin-top: 0; width: 100%; grid-template-columns: 1fr; border-radius: 0; }.feature-copy { padding: 34px 25px; }.feature-image { min-height: 260px; }.feature-copy .button { width: 100%; }.feature-copy h2 { font-size: 36px; }
  .pathways { width: 100%; margin-top: 0; grid-template-columns: 1fr; gap: 0; }.pathway { padding: 34px 25px; }.pathway h2 { font-size: 40px; }
  .pathway-worker > div:first-child { max-width: min(410px, calc(100% - 150px)); }
  .botanical { top: auto; right: 16px; bottom: 18px; width: min(160px, 30vw); height: auto; aspect-ratio: 1.5; }
  #member-photo { scroll-margin-top: 110px; }
.member-home { margin-block: 42px; padding: 18px; grid-template-columns: 1fr; gap: 22px; }.member-home-image { aspect-ratio: 1.57; }
  .news-section { padding-block: 50px; }.section-heading { align-items: flex-start; gap: 20px; }.section-heading h2 { font-size: 42px; }.news-grid { grid-template-columns: 1fr; }.news-card { max-width: 520px; margin-inline: auto; width: 100%; }
  .resource-grid { grid-template-columns: 1fr; }.resource, .resource:nth-child(2) { border-right: 0; border-bottom: 1px solid #dccdbb; }.resource:last-child { border-bottom: 0; }
  .community { grid-template-columns: 1fr; padding-top: 48px; }.community-copy { grid-row: 1; padding-inline: 25px; }.skyline-left { grid-row: 2; }.skyline-right { display: none; }
  .footer-main { padding-block: 30px; grid-template-columns: 1fr; text-align: center; }.footer-fundraiser { width: 132px; justify-self: center; }.socials { justify-content: center; }.footer-legal { flex-direction: column; text-align: center; gap: 8px; }
  .page-hero { padding: 56px 0 50px; }.page-hero h1 { font-size: 33px; letter-spacing: -1.5px; }.page-hero p:last-child { font-size: 18px; }.referral-section { padding-block: 46px 56px; }.referral-card { min-height: 0; padding: 25px 23px; }
  .content-section { padding-block: 46px 58px; }.content-block, .content-card, .news-entry, .callout-panel { padding: 25px 23px; }.content-block h2, .content-card h2, .news-entry h2 { font-size: 28px; }.news-entry { grid-template-columns: 1fr; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Confirmed UWA Instagram link */
.socials a { width: auto; min-width: 34px; padding-inline: 12px; border-radius: 999px; white-space: nowrap; }
