/* ══════════════════════════════════════════════════════════════
   THEE ANGELBOY — Premium Creative Hub
   Stack: Plain HTML / CSS / Vanilla JS
   ══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── DARK CHARCOAL PALETTE ──────────────────────────────────
     Backup of silver/copper scheme preserved in style.css.backup-silver
     To revert: cp style.css.backup-silver style.css              */

  /* Accent — cognac leather */
  --silver-light:   #d4b896;
  --silver-mid:     #b89060;
  --silver-dark:    #8c6840;
  --platinum:       #e8d5b8;
  --copper:         #A8692E;       /* cognac copper accent */
  --copper-soft:    rgba(168, 105, 46, 0.38);
  --copper-glow:    rgba(168, 105, 46, 0.14);
  --white:          #A8692E;       /* cognac for text on cream */
  --off-white:      #c4834a;
  --dark-text:      #1a0d00;
  --mid-text:       #5c3418;

  /* Section backgrounds — warm cream */
  --bg-s1: #E8D5B0;   /* hero */
  --bg-s2: #E4D0A8;   /* stats */
  --bg-s3: #E0CBA0;   /* about */
  --bg-s4: #DCC698;   /* services */
  --bg-s5: #D8C190;   /* work */
  --bg-s6: #D4BC88;   /* community */
  --bg-footer: #1a0d00;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container-max: 1160px;
  --container-pad: clamp(1.25rem, 5vw, 3rem);

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--white);
  background: var(--bg-s1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── FILM GRAIN CANVAS ─────────────────────────────────────── */
#grain {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: multiply;
}

/* ─── TYPOGRAPHY UTILITIES ─────────────────────────────────── */
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.18);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
}

.body-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.8;
  color: rgba(168, 105, 46, 0.85);
  margin-bottom: 1rem;
  text-shadow: none;
}

.body-text em {
  font-style: italic;
  color: rgba(168, 105, 46, 1);
}

/* ─── CONTAINER ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─── SECTION HEADER ────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2.1rem;
  border-radius: 2px;
  cursor: pointer;
  border: none;
  transition: all 0.28s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.28s var(--ease);
}

.btn--primary {
  background: #A8692E;
  color: #E8D5B0;
  box-shadow: 0 2px 14px rgba(168,105,46,0.2);
}

.btn--primary:hover {
  background: #8c5520;
  box-shadow: 0 4px 24px rgba(168,105,46,0.3);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--copper);
}

.btn--ghost:hover {
  background: var(--copper-glow);
  box-shadow: 0 0 18px var(--copper-soft), inset 0 0 12px rgba(168,105,46,0.08);
  color: #E8D5B0;
  transform: translateY(-1px);
}

.btn__arrow {
  font-size: 1rem;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ─────────────────────────────────────────────────────────────
   NAV
   ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.4rem 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
              padding 0.35s var(--ease), box-shadow 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(232, 213, 176, 0.92);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  padding: 1rem 0;
  box-shadow: 0 1px 0 rgba(160,152,144,0.12);
}

.nav__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(2rem, 5vw, 4rem);
}

.nav__logo {
  text-decoration: none;
}

.nav__logo-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.nav__links a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(168, 105, 46, 0.75);
  transition: color 0.22s var(--ease);
  text-shadow: none;
}

.nav__links a:hover {
  color: var(--copper);
}

/* Donate — distinct copper treatment in nav */
.nav__link--donate {
  color: var(--copper) !important;
  border: 1px solid rgba(168,105,46,0.4);
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  transition: background 0.22s var(--ease), box-shadow 0.22s var(--ease), color 0.22s var(--ease) !important;
}

.nav__link--donate:hover {
  background: var(--copper-glow);
  box-shadow: 0 0 14px var(--copper-soft);
  color: #E8D5B0 !important;
}

/* Donate in footer */
.footer__nav--donate {
  color: var(--copper) !important;
}

.footer__nav--donate:hover {
  color: #E8D5B0 !important;
}

/* ─────────────────────────────────────────────────────────────
   HERO
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    170deg,
    #E8D5B0 0%,
    #E4D0A8 40%,
    #E0CBA0 70%,
    #DCC698 100%
  );
  overflow: hidden;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 75% at 50% 40%,
    transparent 0%,
    rgba(168, 105, 46, 0.06) 55%,
    rgba(168, 105, 46, 0.14) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero__streaks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--container-pad);
  max-width: 900px;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--white);
  -webkit-text-stroke: 0px transparent;
  paint-order: stroke fill;
  text-shadow:
    0 2px 16px rgba(0,0,0,0.55),
    0 8px 50px rgba(0,0,0,0.35);
  margin-bottom: 1.8rem;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  font-size: 0.68em;
  display: block;
  opacity: 0.88;
  /* Shifted left so the trailing "e" hovers above the "a" in AngelBoy.
     position: relative + left as a % nudges the whole word from its
     centered default; margin-bottom controls drop distance toward AngelBoy. */
  position: relative;
  left: -21%;
  margin-bottom: -0.18em;
}

/* ─── ANGEL WINGS + HALO ────────────────────────────────────── */
.hero__title-angelboy {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  gap: 0 0.15em;
  line-height: 1;
}

/* Wrapper around AngelBoy text + halo — lets halo float above */
.hero__angelboy-wrap {
  position: relative;
  display: inline-block;
  line-height: 1;
}

/* Halo ring — positioned above the "el" in AngelBoy (~62% from left) */
.hero__halo {
  position: absolute;
  bottom: calc(100% + 0.04em);
  left: 62%;
  transform: translateX(-50%);
  width: 32%;
  height: auto;
  pointer-events: none;
  animation: haloFloat 5s ease-in-out infinite;
  will-change: transform, opacity;
}

@keyframes haloFloat {
  0%   { transform: translateX(-50%) translateY(0)    rotate(-1deg);   opacity: 0.82; }
  30%  { transform: translateX(-50%) translateY(-4px) rotate(0.5deg);  opacity: 0.95; }
  60%  { transform: translateX(-50%) translateY(-2px) rotate(-0.5deg); opacity: 0.88; }
  100% { transform: translateX(-50%) translateY(0)    rotate(-1deg);   opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__halo { animation: none; opacity: 0.8; }
}

.wing {
  width: 100%;   /* fills the fixed grid column exactly */
  height: clamp(35px, 5.7vw, 72px);
  overflow: visible;
  display: block;
  will-change: transform, opacity;
}

/* Left wing — hugs right side of its column toward the text */
.wing--left {
  justify-self: end;
  transform-origin: right center;
  animation: flapLeft 4.2s ease-in-out infinite;
}

/* Right wing — hugs left side of its column toward the text */
.wing--right {
  justify-self: start;
  transform-origin: left center;
  animation: flapRight 4.2s ease-in-out infinite;
}

/* Flap keyframes — subtle scaleX mimics wing spreading outward */
@keyframes flapLeft {
  0%   { transform: scaleX(1)    scaleY(1);    opacity: 0.78; }
  25%  { transform: scaleX(0.72) scaleY(0.88); opacity: 0.55; }
  50%  { transform: scaleX(1)    scaleY(1);    opacity: 0.78; }
  75%  { transform: scaleX(0.82) scaleY(0.93); opacity: 0.65; }
  100% { transform: scaleX(1)    scaleY(1);    opacity: 0.78; }
}

@keyframes flapRight {
  0%   { transform: scaleX(1)    scaleY(1);    opacity: 0.78; }
  25%  { transform: scaleX(0.72) scaleY(0.88); opacity: 0.55; }
  50%  { transform: scaleX(1)    scaleY(1);    opacity: 0.78; }
  75%  { transform: scaleX(0.82) scaleY(0.93); opacity: 0.65; }
  100% { transform: scaleX(1)    scaleY(1);    opacity: 0.78; }
}

/* Honour OS-level reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .wing--left,
  .wing--right {
    animation: none;
    opacity: 0.7;
  }
}

.hero__sub {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.7;
  color: rgba(168, 105, 46, 0.72);
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
  text-shadow: none;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.br-desk {
  display: none;
}

@media (min-width: 700px) {
  .br-desk { display: block; }
}

/* ─────────────────────────────────────────────────────────────
   STATS BAR
   ───────────────────────────────────────────────────────────── */
.stats {
  background: var(--bg-s2);
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid rgba(160, 152, 144, 0.14);
  border-bottom: 1px solid rgba(160, 152, 144, 0.14);
}

.stats__grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
}

.stats__item {
  flex: 1;
  text-align: center;
  padding: 1.5rem 2rem;
}

.stats__divider {
  width: 1px;
  background: var(--copper);
  opacity: 0.3;
  align-self: stretch;
  flex-shrink: 0;
}

.stats__num {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5rem);
  line-height: 1;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.14);
  margin-bottom: 0.4rem;
}

.stats__label {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.6rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.stats__desc {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.82rem;
  color: rgba(168, 105, 46, 0.6);
  letter-spacing: 0.02em;
  text-shadow: none;
}

/* ─────────────────────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────────────────────── */
.about {
  background: var(--bg-s3);
  padding: var(--section-pad) 0;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about__image-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 1px;
}

.about__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    145deg,
    rgba(40,38,34,0.9) 0%,
    rgba(25,24,20,0.95) 100%
  );
  border: 1px solid rgba(160,152,144,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image-label {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ─── PORTRAIT PHOTO ────────────────────────────────────────── */
.about__portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;  /* keep face in frame */
  display: block;
  /* Subtle warm-dark vignette blended over the photo */
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 72%,
    rgba(0,0,0,0) 100%
  );
  filter: contrast(1.06) brightness(0.96);
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.about__image-wrap:hover .about__portrait {
  transform: scale(1.03);
  filter: contrast(1.08) brightness(1.0);
}

/* ─────────────────────────────────────────────────────────────
   SERVICES
   ───────────────────────────────────────────────────────────── */
.services {
  background: var(--bg-s4);
  padding: var(--section-pad) 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(160,152,144,0.08);
  border: 1px solid rgba(160,152,144,0.08);
}

.service-card {
  background: rgba(30, 29, 26, 0.85);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s var(--ease);
}

.service-card:hover {
  background: rgba(38, 36, 32, 0.95);
}

.service-card__num {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--copper);
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  opacity: 0.85;
}

.service-card__icon {
  font-size: 1.4rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.14);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.service-card__desc {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  flex-grow: 1;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.28);
}

.service-card__link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.6);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.22s var(--ease);
  align-self: flex-start;
}

.service-card:hover .service-card__link {
  color: var(--copper);
}

.service-card__arrow {
  font-size: 1rem;
  transition: transform 0.25s var(--ease), color 0.22s var(--ease);
  color: inherit;
}

.service-card:hover .service-card__arrow {
  transform: translateX(5px);
  color: var(--copper);
}

/* ─────────────────────────────────────────────────────────────
   WORK / CATALOG
   ───────────────────────────────────────────────────────────── */
.work {
  background: var(--bg-s5);
  padding: var(--section-pad) 0;
}

.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.work-card {
  cursor: pointer;
}

.work-card__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 1px;
  background: rgba(30,28,25,0.9);
  margin-bottom: 1rem;
  border: 1px solid rgba(160,152,144,0.1);
}

.work-card__placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(200,200,220,0.2) 0%,
    rgba(150,150,175,0.1) 100%
  );
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-card__placeholder {
  transform: scale(1.03);
}

/* ─── COVER ART IMAGE ───────────────────────────────────────── */
.work-card__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* fills the 16/10 box, crops edges */
  object-position: center;
  display: block;
  z-index: 1;
  transition: transform 0.6s var(--ease);
}

.work-card:hover .work-card__cover {
  transform: scale(1.03);
}

/* When playing — keep play button always visible on audio card */
.work-card--audio .work-card__play {
  z-index: 3;
}

.work-card--audio.is-playing .work-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  background: rgba(0,0,0,0.55);
  border-color: var(--copper);
}

/* Pause icon state */
.work-card--audio.is-playing .play-icon::before {
  content: '\23F8'; /* ⏸ pause */
}
.work-card--audio.is-playing .play-icon {
  font-size: 0;  /* hide the ▶ char */
}
.work-card--audio.is-playing .play-icon::before {
  font-size: 1rem;
}

/* ─── AUDIO PROGRESS BAR ────────────────────────────────────── */
.work-card__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.12);
  z-index: 4;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.work-card--audio.is-playing .work-card__progress {
  opacity: 1;
}

.work-card__progress-fill {
  height: 100%;
  width: 0%;
  background: var(--copper);
  transition: width 0.5s linear;
  box-shadow: 0 0 6px var(--copper-soft);
}

.work-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease);
  backdrop-filter: blur(6px);
}

.work-card:hover .work-card__play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.work-card__play:hover {
  background: var(--copper-glow) !important;
  border-color: var(--copper) !important;
}

.play-icon {
  font-size: 1rem;
  color: var(--white);
  margin-left: 3px;
}

/* ── Mobile tap hint: pulsing ring on audio cards ───────────── */
@keyframes tapPulse {
  0%   { box-shadow: 0 0 0 0   rgba(160,152,144,0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(160,152,144,0);   }
  100% { box-shadow: 0 0 0 0   rgba(160,152,144,0);   }
}

@media (hover: none) {
  /* Touch devices — play button always visible, full size, with pulse ring */
  .work-card--audio .work-card__play {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
    background: rgba(0, 0, 0, 0.42);
    border-color: rgba(255, 255, 255, 0.45);
    animation: tapPulse 2s ease-out infinite;
  }
  /* Stop pulsing once playing */
  .work-card--audio.is-playing .work-card__play {
    animation: none;
    background: rgba(0, 0, 0, 0.55);
    border-color: var(--copper);
  }
}

.work-card__tag {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  background: rgba(20, 20, 30, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.6rem;
  border-radius: 1px;
  border: 1px solid rgba(193,127,58,0.3);
}

.work-card__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.12);
  margin-bottom: 0.25rem;
}

.work-card__sub {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(168, 105, 46, 0.6);
  text-shadow: none;
}

/* ─────────────────────────────────────────────────────────────
   COMMUNITY
   ───────────────────────────────────────────────────────────── */
.community {
  background: var(--bg-s6);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.community__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 90vw);
  height: min(400px, 60vh);
  background: radial-gradient(
    ellipse at center,
    rgba(160, 152, 144, 0.10) 0%,
    rgba(160, 152, 144, 0.04) 45%,
    transparent 75%
  );
  pointer-events: none;
  border-radius: 50%;
}

.community__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.community__desc {
  max-width: 420px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.community__form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.community__input-wrap {
  display: flex;
  width: 100%;
  max-width: 440px;
  gap: 0;
}

.community__input {
  flex: 1;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--white);
  background: rgba(168,105,46,0.06);
  border: 1px solid rgba(168,105,46,0.25);
  border-right: none;
  border-radius: 2px 0 0 2px;
  padding: 0.9rem 1.2rem;
  outline: none;
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
}

.community__input::placeholder {
  color: rgba(168,105,46,0.45);
}

.community__input:focus {
  background: rgba(168,105,46,0.1);
  border-color: rgba(168,105,46,0.6);
}

.community__submit {
  border-radius: 0 2px 2px 0;
  padding: 0.9rem 1.8rem;
}

.community__note {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(168,105,46,0.5);
  text-shadow: none;
}

.community__success {
  display: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--copper);
  margin-top: 1.5rem;
  letter-spacing: 0.02em;
}

.community__success.visible {
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(160,152,144,0.12);
  padding: 3rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.22s var(--ease);
}

.footer__logo:hover {
  color: var(--white);
}

.footer__nav {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  transition: color 0.22s var(--ease);
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.footer__nav a:hover {
  color: var(--copper);
}

.footer__copy {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__image-wrap {
    /* Let the portrait show in full on mobile — no forced crop */
    aspect-ratio: unset;
    max-height: unset;
    height: auto;
  }

  .about__portrait {
    /* Show the whole photo — natural height, no cropping */
    height: auto;
    width: 100%;
    object-fit: contain;
    object-position: center center;
    /* Extend the fade-out lower so bottom of photo stays visible */
    mask-image: linear-gradient(
      to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 88%,
      rgba(0,0,0,0) 100%
    );
    -webkit-mask-image: linear-gradient(
      to bottom,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 88%,
      rgba(0,0,0,0) 100%
    );
  }
}

/* ─── HAMBURGER BUTTON ───────────────────────────────────────── */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 100001;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(168, 105, 46, 0.85);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── MOBILE DROPDOWN MENU ───────────────────────────────────── */
.nav__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(232, 213, 176, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(160,152,144,0.15);
  padding: 1.2rem 0 1.8rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.nav__mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.nav__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.nav__mobile-links li a {
  display: block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(168, 105, 46, 0.78);
  text-decoration: none;
  padding: 0.85rem 2rem;
  width: 100%;
  text-align: center;
  transition: color 0.2s ease;
}

.nav__mobile-links li a:hover {
  color: var(--copper);
}

.nav__mobile-links .nav__link--donate {
  color: var(--copper) !important;
}

@media (max-width: 700px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .nav__mobile-menu {
    display: block;
  }

  .work__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    flex-direction: column;
  }

  .stats__divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .stats__item {
    padding: 1.5rem 1rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  /* Move "Book a Service" (2nd button) to top on mobile */
  .hero__ctas a:nth-child(2) {
    order: -1;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .community__input-wrap {
    flex-direction: column;
  }

  .community__input {
    border-right: 1px solid rgba(168,105,46,0.25);
    border-bottom: none;
    border-radius: 2px 2px 0 0;
  }

  .community__submit {
    border-radius: 0 0 2px 2px;
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(3.5rem, 20vw, 5.5rem);
  }
}

/* ─────────────────────────────────────────────────────────────
   SCROLL REVEAL ANIMATIONS
   ───────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.44s; }
