/* =================================================================
   North Wales Wild Bird Care — shared stylesheet
   Aesthetic: coastal naturalist / editorial field-guide
   Palette pulled from the logo: deep teal-navy, gull grey,
   warm beak-yellow, on a soft sand/cream ground.
   ================================================================= */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400..900;1,9..144,400..700&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap');

/* ---- Design tokens ---- */
:root {
  --ink:        #14282f;   /* near-black teal, body text */
  --teal:       #1d4150;   /* primary brand */
  --teal-deep:  #122e39;   /* darker brand / footer */
  --teal-soft:  #2c5b6c;
  --grey:       #8c9aa1;   /* gull grey */
  --grey-soft:  #c3cdd1;
  --sand:       #f8f3e8;   /* page ground */
  --sand-2:     #f1e8d6;   /* panel ground */
  --sand-3:     #ece0c9;
  --paper:      #fffdf8;   /* cards */
  --gold:       #eeb13c;   /* beak / leg accent */
  --gold-deep:  #d4922a;
  --rust:       #bf4a2c;   /* emergency / urgent */
  --rust-deep:  #9c3a20;

  --maxw: 1180px;
  --gap: clamp(1.25rem, 4vw, 2.75rem);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 18px 50px -24px rgba(18, 46, 57, .45);
  --shadow-soft: 0 10px 30px -18px rgba(18, 46, 57, .4);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; padding: 0; }

/* paper-grain atmosphere */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--teal-deep);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 580; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }
p { max-width: 68ch; }
.lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.55; color: var(--teal); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block;
}

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.center { text-align: center; }
.center p { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-body); font-weight: 700;
  font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.5rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border: none; border-radius: 100px;
  text-decoration: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  box-shadow: 0 10px 24px -14px rgba(18,46,57,.7);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(18,46,57,.7); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--teal-deep); }
.btn--gold:hover { --btn-bg: var(--gold-deep); }
.btn--rust { --btn-bg: var(--rust); --btn-fg: #fff; }
.btn--rust:hover { --btn-bg: var(--rust-deep); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--teal-deep);
  box-shadow: inset 0 0 0 2px rgba(29,65,80,.3);
}
.btn--outline:hover { --btn-bg: rgba(29,65,80,.06); box-shadow: inset 0 0 0 2px rgba(29,65,80,.55); }
.btn--lg { padding: 1.1rem 1.9rem; font-size: 1.08rem; }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* =================================================================
   Header + navigation
   ================================================================= */
.topbar {
  background: var(--rust);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar .container {
  display: flex; align-items: center; justify-content: center;
  gap: .65rem; padding-block: .55rem; text-align: center;
}
.topbar .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #ffe2b0;
  box-shadow: 0 0 0 0 rgba(255,226,176,.8);
  animation: pulse 2s infinite; flex: none;
}
.topbar strong { font-weight: 800; }
.topbar .topbar-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,226,176,.7); }
  70% { box-shadow: 0 0 0 10px rgba(255,226,176,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,226,176,0); }
}

.site-header {
  position: sticky; top: 0;
  /* z-index must sit ABOVE .nav-scrim (150): the mobile drawer lives inside this
     header, so the header's stacking level determines whether the drawer renders
     above or below the scrim. Too low and the scrim covers the drawer and steals
     its taps (links appear dead). */
  z-index: 200;
  /* NOTE: do not add backdrop-filter/filter/transform here — it would make this
     element the containing block for the fixed-position mobile nav drawer and
     break the slide-in menu. Keep the background opaque instead. */
  background: rgba(248,243,232,.96);
  border-bottom: 1px solid rgba(29,65,80,.1);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; flex: none; }
.brand img { width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  color: var(--teal-deep); letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 700; margin-top: 2px;
}
.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: 0.97rem;
  color: var(--teal); padding: .5rem .8rem; border-radius: 100px;
  transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(29,65,80,.08); }
.nav-links a.active { color: var(--teal-deep); background: rgba(29,65,80,.1); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px; color: var(--teal-deep);
}
.nav-toggle svg { margin: auto; }

@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav-drawer {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: var(--paper); z-index: 200;
    transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
    box-shadow: -20px 0 60px -30px rgba(0,0,0,.5);
    display: flex; flex-direction: column; padding: 1.5rem;
    overflow-y: auto;
  }
  body.nav-open .nav-drawer { transform: translateX(0); }
  body.nav-open .nav-scrim {
    opacity: 1; pointer-events: auto;
  }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(18,46,57,.45); z-index: 150;
    opacity: 0; pointer-events: none; transition: opacity .35s; border: none;
  }
  .nav-drawer .nav-links { flex-direction: column; align-items: stretch; gap: .2rem; margin-top: 1rem; }
  .nav-drawer .nav-links a { padding: .85rem 1rem; font-size: 1.08rem; }
  .nav-drawer .nav-cta { flex-direction: column; align-items: stretch; margin-top: 1.25rem; }
  .nav-drawer .nav-cta .btn { justify-content: center; }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; }
  .drawer-close { background: none; border: none; cursor: pointer; color: var(--teal-deep); width:40px;height:40px; }
}
@media (min-width: 921px) {
  .nav-drawer { display: flex; align-items: center; margin-inline: auto; }
  .nav-drawer .drawer-head { display: none; }
  .nav-drawer .nav-cta { display: none; }
  .nav-scrim { display: none; }
}

/* =================================================================
   Hero
   ================================================================= */
.hero { position: relative; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 1rem 0 1.25rem; }
.hero h1 em { font-style: italic; color: var(--gold-deep); font-weight: 500; }
.hero .lead { margin-bottom: 2rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 4/3.4; object-fit: cover;
  border-radius: 26px; box-shadow: var(--shadow);
}
.hero-figure .badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--paper); border-radius: 16px; padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: .85rem;
  max-width: 250px;
}
.hero-figure .badge .dot { width: 42px; height: 42px; border-radius: 12px; background: var(--sand-2);
  display: grid; place-items: center; flex: none; color: var(--teal); }
.hero-figure .badge b { font-family: var(--font-display); font-size: 1.05rem; color: var(--teal-deep); display:block; line-height:1.2; }
.hero-figure .badge small { color: var(--grey); font-size: .82rem; }
.hero-blob {
  position: absolute; z-index: 0; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(238,177,60,.28), transparent 60%);
  top: -120px; right: -120px; filter: blur(8px);
}

/* =================================================================
   Emergency module (used on home + reusable)
   ================================================================= */
.emergency {
  background: linear-gradient(135deg, var(--teal-deep), var(--teal));
  color: #fff; border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem);
  position: relative; overflow: hidden; box-shadow: var(--shadow);
}
.emergency::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(238,177,60,.22), transparent 65%);
}
.emergency h2 { color: #fff; }
.emergency .eyebrow { color: var(--gold); }
.emergency p { color: rgba(255,255,255,.86); }
.emergency-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem,4vw,3rem); align-items: center; position: relative; z-index: 1; }
.emergency-steps { display: grid; gap: .75rem; }
.emergency-steps li {
  display: flex; gap: .85rem; align-items: flex-start;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  padding: .9rem 1.1rem; border-radius: 12px;
}
.emergency-steps .n {
  font-family: var(--font-display); font-weight: 600; color: var(--gold);
  font-size: 1.25rem; line-height: 1; flex: none; width: 1.6rem;
}
.emergency-steps b { color: #fff; }
.emergency-steps span { color: rgba(255,255,255,.8); font-size: .95rem; }
.emergency-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* =================================================================
   Generic section pieces
   ================================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--media img { border-radius: 22px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.stack > * + * { margin-top: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.card {
  background: var(--paper); border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid rgba(29,65,80,.08); box-shadow: var(--shadow-soft);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--sand-2); color: var(--teal); margin-bottom: 1rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--teal-soft); font-size: .98rem; }

/* threats chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.chip {
  background: var(--paper); border: 1px solid rgba(29,65,80,.14);
  padding: .55rem 1rem; border-radius: 100px; font-weight: 600; font-size: .92rem;
  color: var(--teal); display: inline-flex; align-items: center; gap: .5rem;
}
.chip svg { color: var(--rust); }

/* panel band */
.band { background: var(--teal-deep); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band p { color: rgba(255,255,255,.82); }
.panel { background: var(--sand-2); }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 1rem; }
.stat { text-align: center; padding: 1.25rem; }
.stat b { font-family: var(--font-display); font-size: clamp(2rem,4vw,2.8rem); color: var(--gold); display: block; line-height: 1; }
.stat span { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: .4rem; display: block; }

/* =================================================================
   Step list (Found a Bird)
   ================================================================= */
.steps { counter-reset: step; display: grid; gap: 1.25rem; max-width: 820px; }
.step {
  background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.6rem 5.2rem;
  position: relative; border: 1px solid rgba(29,65,80,.08); box-shadow: var(--shadow-soft);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 1.4rem; top: 1.4rem;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--teal); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 1.3rem; display: grid; place-items: center;
}
.step.is-warn::before { background: var(--rust); }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--teal-soft); }
.step ul.ticks { margin-top: .75rem; display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.3rem; color: var(--teal-soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.ticks li a { color: var(--teal); font-weight: 600; }

/* =================================================================
   Referral directory (Other Help)
   ================================================================= */
.rescue-card { display: flex; flex-direction: column; height: 100%; }
.rescue-logo {
  width: 62px; height: 62px; border-radius: 15px; object-fit: contain;
  background: #fff; border: 1px solid rgba(29,65,80,.1); padding: 7px; margin-bottom: 1rem;
}
.res-logo {
  width: 46px; height: 46px; border-radius: 11px; object-fit: contain;
  background: #fff; border: 1px solid rgba(29,65,80,.1); padding: 4px; flex: none;
}
.rescue-card h3 { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.rescue-card .area { font-family: var(--font-body); font-weight: 600; font-size: .8rem; color: var(--grey); white-space: nowrap; margin-top: .35rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0 1.1rem; }
.tag {
  font-size: .8rem; font-weight: 600; color: var(--teal); background: var(--sand-2);
  border: 1px solid rgba(29,65,80,.1); padding: .3rem .7rem; border-radius: 100px;
}
.contact-lines { display: grid; gap: .5rem; margin-top: auto; }
.contact-lines a, .contact-lines span {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none;
  color: var(--teal-deep); font-weight: 600; font-size: .95rem;
}
.contact-lines a:hover { color: var(--gold-deep); }
.contact-lines svg { color: var(--gold-deep); flex: none; }

.featured-rehabber {
  background: linear-gradient(160deg, var(--teal), var(--teal-deep)); color: #fff;
  border-radius: var(--radius); padding: 1.9rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.featured-rehabber h3 { color: #fff; }
.featured-rehabber p { color: rgba(255,255,255,.85); }
.featured-rehabber .area { color: var(--gold); }
.featured-rehabber .btn { margin-top: 1.25rem; align-self: flex-start; }

.resource-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1rem; }
.resource-list a {
  display: flex; gap: .9rem; align-items: flex-start; background: var(--paper);
  border: 1px solid rgba(29,65,80,.1); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem;
  text-decoration: none; transition: transform .25s, box-shadow .25s;
}
.resource-list a:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.resource-list .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--sand-2); color: var(--teal); display: grid; place-items: center; flex: none; }
.resource-list b { color: var(--teal-deep); font-family: var(--font-display); font-weight: 600; display: block; line-height: 1.2; }
.resource-list small { color: var(--teal-soft); font-size: .88rem; }

/* callout */
.callout {
  border-left: 4px solid var(--gold); background: var(--sand-2);
  padding: 1.25rem 1.5rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout.warn { border-color: var(--rust); }
.callout p { color: var(--teal); }

/* =================================================================
   Donate cards
   ================================================================= */
.donate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.25rem; }
.donate-card {
  background: var(--paper); border-radius: var(--radius); padding: 1.9rem;
  border: 1px solid rgba(29,65,80,.08); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.donate-card.feature { background: linear-gradient(160deg, var(--teal), var(--teal-deep)); color: #fff; }
.donate-card.feature h3, .donate-card.feature .ic-lg { color: #fff; }
.donate-card.feature p { color: rgba(255,255,255,.85); }
.ic-lg { width: 56px; height: 56px; border-radius: 16px; background: var(--sand-2); color: var(--teal); display: grid; place-items: center; margin-bottom: 1.1rem; }
.feature .ic-lg { background: rgba(255,255,255,.14); }
.detail-row { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed rgba(255,255,255,.2); }
.donate-card:not(.feature) .detail-row { border-color: rgba(29,65,80,.12); }
.detail-row span { opacity: .8; font-size: .92rem; }
.detail-row b { font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }
.donate-card .btn { margin-top: auto; align-self: flex-start; }
.donate-card.feature .btn { margin-top: 1.4rem; }

/* =================================================================
   CTA banner
   ================================================================= */
.cta-banner {
  background: var(--gold); border-radius: var(--radius);
  padding: clamp(2rem,5vw,3.25rem); text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { color: var(--teal-deep); }
.cta-banner p { color: var(--teal-deep); opacity: .85; margin-inline: auto; }
.cta-banner .hero-actions { justify-content: center; margin-top: 1.5rem; }

/* =================================================================
   Footer
   ================================================================= */
.site-footer { background: var(--teal-deep); color: rgba(255,255,255,.78); padding-block: clamp(3rem,6vw,4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.site-footer .brand-text b { color: #fff; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 1rem; font-weight: 700; }
.site-footer a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-links { display: grid; gap: .6rem; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.55);
}
.footer-credit { margin-top: .85rem; font-size: .76rem; line-height: 1.6; color: rgba(255,255,255,.38); }
.footer-credit a { color: rgba(255,255,255,.52); text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--gold); }
.fb-pill {
  display: inline-flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.08);
  padding: .7rem 1.1rem; border-radius: 100px; font-weight: 600; color: #fff; text-decoration: none;
  transition: background .2s;
}
.fb-pill:hover { background: rgba(255,255,255,.16); color: #fff; }

/* =================================================================
   Full-width photo band
   ================================================================= */
.photo-band {
  position: relative; min-height: clamp(320px, 44vw, 500px);
  display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden;
}
.photo-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,46,57,.32), rgba(18,46,57,.74)); }
.photo-band .pb-inner { position: relative; z-index: 1; padding: 2rem; max-width: 740px; }
.photo-band h2 { color: #fff; }
.photo-band p { color: rgba(255,255,255,.92); margin-inline: auto; }
.photo-band .eyebrow { justify-content: center; color: var(--gold); }

/* Feature variant: subject kept on the right, text on the left over open water */
.photo-band--feature { place-items: center start; text-align: left; }
.photo-band--feature img.bg { object-position: 70% 18%; }
.photo-band--feature::after {
  background: linear-gradient(90deg, rgba(18,46,57,.88) 0%, rgba(18,46,57,.6) 42%, rgba(18,46,57,.12) 72%, rgba(18,46,57,0) 100%);
}
.photo-band--feature .pb-inner { margin-left: clamp(1rem, 6vw, 4.5rem); margin-right: auto; max-width: 30rem; }
.photo-band--feature .eyebrow { justify-content: flex-start; }
.photo-band--feature p { margin-inline: 0; }
@media (max-width: 640px) {
  .photo-band--feature::after { background: linear-gradient(180deg, rgba(18,46,57,.45), rgba(18,46,57,.8)); }
  .photo-band--feature { place-items: center; text-align: center; }
  .photo-band--feature .pb-inner { margin-inline: auto; }
  .photo-band--feature .eyebrow { justify-content: center; }
  .photo-band--feature p { margin-inline: auto; }
}

/* =================================================================
   Page hero (interior pages)
   ================================================================= */
.page-hero { background: var(--sand-2); padding-block: clamp(2.75rem, 6vw, 4.5rem); border-bottom: 1px solid rgba(29,65,80,.08); }
.page-hero .lead { max-width: 60ch; }
.page-hero h1 { margin: .85rem 0 1rem; }
.page-hero .ph-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.ph-figure img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .page-hero .ph-inner { grid-template-columns: 1fr; }
  .ph-figure { display: none; }
}
.crumb { font-size: .85rem; color: var(--grey); margin-bottom: .25rem; }
.crumb a { text-decoration: none; color: var(--teal); }

/* =================================================================
   Reveal animation
   ================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .topbar .pulse { animation: none; }
}

/* =================================================================
   Responsive
   ================================================================= */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .hero-blob { display: none; }
  .emergency-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .step { padding-left: 1.6rem; padding-top: 4.6rem; }
  .step::before { top: 1.4rem; left: 1.4rem; }
  .detail-row { flex-direction: column; gap: .2rem; }
}

/* =================================================================
   Mobile refinements
   ================================================================= */
/* Keep the emergency header button on one line, always */
.nav-cta .btn--rust { white-space: nowrap; }

/* Tidy the emergency top bar on small screens */
@media (max-width: 560px) {
  .topbar .container { font-size: .8rem; padding-block: .5rem; gap: .45rem; line-height: 1.3; }
  .topbar .tb-extra { display: none; }
}

/* Compact header: drop the wordmark so the emergency button never wraps */
@media (max-width: 520px) {
  .site-header .brand-text { display: none; }
  .site-header .brand img { width: 44px; height: 44px; }
  .nav { padding-block: .55rem; }
  .nav-cta { gap: .4rem; }
  .nav-cta .btn--rust { padding: .68rem 1rem; font-size: .92rem; }
  .nav-toggle { width: 42px; height: 42px; }
}

/* Slim, unobtrusive hero badge that no longer covers the bird */
@media (max-width: 560px) {
  .hero-figure .badge {
    left: 12px; right: 12px; bottom: 12px; max-width: none;
    padding: .7rem .9rem; gap: .7rem;
  }
  .hero-figure .badge .dot { width: 34px; height: 34px; border-radius: 10px; }
  .hero-figure .badge b { font-size: .92rem; }
  .hero-figure .badge small { display: none; }
}

/* Full-width, easy-to-tap call-to-action buttons on phones */
@media (max-width: 520px) {
  .hero-actions, .emergency-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn, .emergency-actions .btn { width: 100%; justify-content: center; }
  .cta-banner .hero-actions .btn { width: 100%; }
}

/* A touch more vertical breathing room economy on phones */
@media (max-width: 480px) {
  .section { padding-block: clamp(2.75rem, 9vw, 3.75rem); }
  h1 { font-size: clamp(2.3rem, 9vw, 3rem); }
}
