/* Living Word Centre — site styles
   One look across every page: bold uppercase headings, charcoal on white and warm cream,
   big rounded photos, and dark "light shining" heroes. Accent colours come from the logo.
   Colours and fonts are set once here; change them to restyle every page. */
:root {
  --white: #ffffff;
  --black: #2b2b2b;      /* text, headings and buttons */
  --ink-2: #55514b;      /* secondary text */
  --muted: #7a756d;
  --faint: #d3cdc3;
  --line: #e7e1d7;
  --cream: #faf7f2;      /* warm background for alternate sections and cards */
  --sand: #f2ece2;
  --blue: #17479e;       /* "LIVING" in the logo */
  --red: #d7312a;        /* "CENTRE" and the flame in the logo */
  --night: #070b19;      /* dark background behind the heroes */
  --radius: 24px;        /* photos and cards */
  --font: "Inter Tight", Arial, "Helvetica Neue", Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--white);
  color: var(--black);
  font: 400 17px/1.55 var(--font);
  letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 64px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 100; }

/* ---------- Type: bold uppercase headings everywhere ---------- */
.hero h1, .page-hero h1, .section-head h2, .steps-head h2, .band h2 {
  font-weight: 700; text-transform: uppercase; letter-spacing: -.025em; line-height: .95;
}
.photo-card h3, .card h3, .report h3, .trustee h4, .doc h5, .about-photo .caption, .site-footer .motto {
  font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; line-height: 1.02;
}

/* "Read More ↗" style links */
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--black); font-size: 17px; font-weight: 500; white-space: nowrap; }
.more svg { transition: transform .2s; }
a:hover .more svg { transform: translate(2px, -2px); }

/* ---------- Header (sits over the dark hero at the top of every page) ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; padding: 22px 0; }
.site-header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.brand { justify-self: start; display: block; line-height: 0; }
.brand img { height: 64px; width: auto; }
.nav {
  display: flex; gap: 2px; list-style: none; margin: 0; padding: 5px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
}
.nav a {
  display: block; padding: 8px 14px; border-radius: 9px;
  color: var(--white); text-decoration: none; font-size: 15px; white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(255, 255, 255, .16); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .22); }
.header-cta { justify-self: end; }
.menu-btn {
  display: none; justify-self: end; background: var(--white); border: 0; border-radius: 999px;
  padding: 10px 18px; font: 500 15px var(--font); color: var(--black); cursor: pointer;
}

/* Once the page scrolls, only the nav stays — as a light floating pill */
.nav-float {
  position: fixed; top: 16px; left: 50%; z-index: 60;
  transform: translate(-50%, -90px); transition: transform .35s ease;
}
.nav-float .nav { background: rgba(250, 247, 242, .92); border-color: var(--line); box-shadow: 0 6px 24px -10px rgba(0, 0, 0, .25); }
.nav-float .nav a { color: var(--black); }
.nav-float .nav a:hover { background: rgba(0, 0, 0, .05); }
.nav-float .nav a[aria-current="page"] { background: var(--black); color: var(--white); }
.scrolled .nav-float { transform: translate(-50%, 0); }

/* ---------- Buttons & labels ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid var(--black);
  background: var(--black); color: var(--white); text-decoration: none; font-size: 16px; font-weight: 500;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn.light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.light:hover { background: var(--cream); border-color: var(--cream); }
.btn.outline { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn.outline:hover { background: var(--white); color: var(--black); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.label { display: block; font-size: 15px; font-weight: 500; color: var(--black); margin-bottom: 16px; }
.label::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 10px; vertical-align: 1px; }

/* ---------- Dark heroes: a warm light shining down from the top ----------
   The photos are small (640px), so they are shown at card size, never stretched full-screen. */
.hero, .page-hero, .band { position: relative; overflow: hidden; isolation: isolate; color: var(--white); background: var(--night); }
.hero::before, .page-hero::before, .band::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 55% 60% at 50% -8%, rgba(255, 196, 120, .36), transparent 70%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(23, 71, 158, .55), transparent 70%),
    radial-gradient(ellipse 40% 50% at 100% 95%, rgba(215, 49, 42, .26), transparent 70%);
}
/* Light rays turning slowly behind the headline */
.hero::after, .band::after {
  content: ""; position: absolute; left: 50%; top: 0; z-index: -1;
  width: 220vmax; height: 220vmax; transform: translate(-50%, -50%);
  background: repeating-conic-gradient(rgba(255, 255, 255, .05) 0deg 2deg, transparent 2deg 9deg);
  -webkit-mask-image: radial-gradient(circle, #000, transparent 30%);
          mask-image: radial-gradient(circle, #000, transparent 30%);
  animation: rays 90s linear infinite;
}
@keyframes rays { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero .label, .page-hero .label { color: rgba(255, 255, 255, .85); }

/* Home hero */
.hero { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding: 170px 0 0; text-align: center; }
.hero .container { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.hero h1 { font-size: clamp(46px, 8vw, 116px); max-width: 10em; margin-bottom: 40px; }
.hero h1 .shine {
  background: linear-gradient(100deg, #ffd99a 0%, #ff9a5c 50%, #ff4e3e 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Endless strip of photos along the bottom of the home hero */
.strip {
  margin-top: 80px; padding-bottom: 40px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.strip-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.strip:hover .strip-track { animation-play-state: paused; }
.strip figure { margin: 0; flex: none; height: clamp(170px, 20vw, 250px); aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .06); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }

/* Inner page heroes: title on the left, the page photo framed on the right */
.page-hero { display: flex; align-items: center; min-height: 580px; padding: 170px 0 80px; }
.page-hero h1 { font-size: clamp(40px, 5.4vw, 78px); max-width: 52%; margin: 0; }
.page-hero::after {
  content: ""; position: absolute; top: 150px; bottom: 72px; right: max(32px, calc((100% - 1200px) / 2));
  width: min(460px, 38%); border-radius: var(--radius);
  background: var(--hero) center / cover no-repeat;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
}

/* ---------- Sections ---------- */
section { padding: 120px 0; }
.bg-cream { background: var(--cream); }
.divider { border-top: 1px solid var(--line); }

/* Big centred statement; words darken as it scrolls into view */
.statement { text-align: center; font-size: clamp(32px, 5vw, 64px); line-height: 1.12; letter-spacing: -.04em; max-width: 18em; margin: 0 auto; }
.statement .w { color: var(--faint); transition: color .25s; }
.statement .w.on { color: var(--black); }

/* Label on the left, large text on the right */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split .big p { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.3; letter-spacing: -.03em; }
.split .big p:first-child { color: var(--muted); }

/* Section heading on the left, short paragraph or button on the right */
.section-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 64px); margin: 0; }
.section-head p { color: var(--ink-2); margin: 0; }
.section-head.single { grid-template-columns: 1fr; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 32px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-weight: 700; text-transform: uppercase; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.03em; line-height: 1; margin-bottom: 14px; }
.fact span { color: var(--ink-2); font-size: 15px; }

/* Photo cards (What We Do) — same look as the report cards */
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.photo-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.photo-card .ph { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; margin-bottom: 28px; background: var(--sand); }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a.photo-card:hover .ph img { transform: scale(1.04); }
.photo-card .tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: rgba(250, 247, 242, .92); color: var(--black); border-radius: 999px;
  padding: 5px 12px; font-size: 14px; font-weight: 600;
}
.photo-card h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 12px; }
.photo-card p { color: var(--ink-2); margin: 0 0 24px; }
.photo-card .more { margin-top: auto; }

/* Two-up text cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.card { background: var(--cream); border-radius: var(--radius); padding: 44px; }
.card .icon { width: 52px; height: 52px; border-radius: 16px; background: var(--white); display: grid; place-items: center; color: var(--red); margin-bottom: 56px; }
.card h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.card p { color: var(--ink-2); margin: 0; }

/* Dark band (same light-shining background as the heroes) */
.band { text-align: center; padding: 160px 0; }
.band h2 { font-size: clamp(40px, 6vw, 88px); max-width: 10em; margin: 0 auto 28px; }
.band p { color: rgba(255, 255, 255, .85); max-width: 36em; margin: 0 auto 36px; }

/* Featured Activities: bold heading, round arrow buttons and a sliding row of report cards */
.steps { background: var(--cream); }
.steps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 64px; }
.steps-head h2 { font-size: clamp(40px, 5.6vw, 80px); margin: 0; max-width: 11em; }
.arrows { display: flex; gap: 12px; flex: none; }
.arrow-btn {
  width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--black);
  background: transparent; color: var(--black); display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s, opacity .2s;
}
.arrow-btn:hover { background: var(--black); color: var(--cream); }
.arrow-btn:disabled { opacity: .3; cursor: default; background: transparent; color: var(--black); }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 3); gap: 32px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.report { display: flex; flex-direction: column; text-decoration: none; color: inherit; scroll-snap-align: start; }
.report .ph { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; background: var(--sand); }
.report img { aspect-ratio: 16 / 11; object-fit: cover; width: 100%; transition: transform .6s ease; }
.report:hover img { transform: scale(1.04); }
.report h3 { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 10px; }
.report h5 { font-size: 17px; color: var(--muted); letter-spacing: -.01em; margin-bottom: 28px; }

/* Document list (Audit Updates) */
.docs { border-top: 1px solid var(--line); }
.doc {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 30px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: inherit; transition: padding .25s, background .25s;
}
.doc:hover { padding-inline: 20px; background: var(--cream); }
.doc .left { display: flex; align-items: center; gap: 22px; }
.doc .pdf { font-size: 13px; font-weight: 600; color: var(--red); border: 1.5px solid currentColor; border-radius: 999px; padding: 3px 10px; flex: none; }
.doc h5 { font-size: clamp(18px, 2vw, 26px); margin: 0; }

/* About */
.about-photo { margin-top: 80px; display: grid; grid-template-columns: 2fr 1fr; gap: 32px; align-items: end; }
.about-photo img { border-radius: var(--radius); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-photo .caption { font-size: clamp(26px, 3vw, 40px); margin: 0; }
.trustees { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.trustee img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; background: var(--sand); }
.trustee h4 { font-size: 18px; margin-bottom: 6px; }
.trustee p { color: var(--muted); font-size: 15px; margin: 0; }

/* Contact */
.contact-list { border-top: 1px solid var(--line); }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.contact-row .label { margin: 6px 0 0; }
.contact-row p, .contact-row a { font-size: clamp(22px, 2.4vw, 32px); line-height: 1.25; letter-spacing: -.03em; margin: 0; text-decoration: none; overflow-wrap: anywhere; }
.contact-row a:hover { color: var(--blue); }
.contact-row a.wa { display: inline-block; margin-top: 10px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer { padding: 96px 0 32px; font-size: 15px; border-top: 1px solid var(--line); }
.site-footer .grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }
.site-footer .foot-logo { height: 64px; width: auto; margin-bottom: 24px; }
.site-footer .motto { font-size: 28px; margin-bottom: 14px; }
.site-footer .grid p { color: var(--ink-2); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer .wa { color: var(--blue); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .bottom {
  margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted);
}

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::after, .band::after, .strip-track { animation: none; }
  .strip { overflow-x: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header-cta { display: none; }
  .site-header .container { grid-template-columns: auto 1fr; }
  .site-header .nav { justify-self: end; }
}
@media (max-width: 1000px) {
  .trustees { grid-template-columns: repeat(3, 1fr); }
  .photo-cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .site-header .nav, .header-cta { display: none; }
  .menu-btn { display: block; }
  .site-header.open .nav {
    display: flex; flex-direction: column; grid-column: 1 / -1;
    background: rgba(250, 247, 242, .98); padding: 8px;
  }
  .site-header.open .nav a { color: var(--black); padding: 12px 14px; }
  .site-header.open .nav a[aria-current="page"] { background: var(--black); color: var(--white); }
  .nav-float { display: none; }
  .brand img { height: 48px; }
}
@media (max-width: 860px) {
  .container { width: calc(100% - 32px); }
  section { padding: 80px 0; }
  .hero { padding-top: 130px; }
  .strip { margin-top: 56px; padding-bottom: 24px; }
  .page-hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 130px 0 40px; }
  .page-hero h1 { max-width: none; }
  .page-hero::after { position: static; align-self: center; width: calc(100% - 32px); aspect-ratio: 16 / 10; margin-top: 36px; }
  .split, .section-head, .contact-row, .about-photo { grid-template-columns: 1fr; gap: 24px; }
  .section-head { margin-bottom: 40px; }
  .cards { grid-template-columns: 1fr; }
  .band { padding: 110px 0; }
  .carousel { grid-auto-columns: 78%; gap: 20px; }
  .steps-head { margin-bottom: 40px; }
  .arrow-btn { width: 52px; height: 52px; }
}
@media (max-width: 560px) {
  .photo-cards, .facts, .site-footer .grid { grid-template-columns: 1fr; }
  .photo-cards { gap: 48px; }
  .trustees { grid-template-columns: 1fr 1fr; gap: 16px; }
  .fact, .fact + .fact { padding: 24px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .card { padding: 30px; }
  .card .icon { margin-bottom: 36px; }
  .doc { flex-direction: column; align-items: flex-start; gap: 12px; }
  .doc .left { gap: 14px; }
  .brand img { height: 42px; }
  .hero h1 { margin-bottom: 32px; }
  .carousel { grid-auto-columns: 88%; }
  .steps-head { flex-direction: column; align-items: flex-start; gap: 24px; }
}
