:root {
  --ink: #07111d;
  --ink-soft: #142233;
  --paper: #f5f1e8;
  --paper-2: #ebe5d9;
  --white: #fff;
  --sky: #50b9ee;
  --blue: #0b5e8f;
  --orange: #ff7c37;
  --green: #8dbb64;
  --muted: #66717c;
  --line: rgba(7,17,29,.13);
  --shadow: 0 24px 60px rgba(5, 15, 28, .18);
  --radius: 26px;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed; top: 8px; left: 8px; transform: translateY(-150%); z-index: 999;
  background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fff;
  transition: .35s ease;
}
.site-header.scrolled {
  background: rgba(7,17,29,.9); backdrop-filter: blur(18px);
  box-shadow: 0 8px 40px rgba(0,0,0,.18); padding-top: 12px; padding-bottom: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 18px; letter-spacing: .01em; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); }
.brand-mark svg { width: 29px; height: 29px; fill: currentColor; }
.desktop-nav { display: flex; gap: 28px; }
.desktop-nav a { text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .04em; opacity: .88; position: relative; }
.desktop-nav a::after { content:""; position:absolute; left:0; right:100%; bottom:-8px; height:2px; background:var(--orange); transition:.25s; }
.desktop-nav a:hover::after { right:0; }
.menu-toggle { display:none; width:44px; height:44px; border:0; background:transparent; padding:10px; cursor:pointer; }
.menu-toggle span { display:block; height:2px; background:#fff; margin:5px 0; transition:.25s; }
.mobile-nav { display:none; position:fixed; inset:72px 12px auto 12px; z-index:49; padding:16px; background:rgba(7,17,29,.97); color:#fff; border-radius:18px; box-shadow:var(--shadow); }
.mobile-nav a { display:block; padding:12px 10px; text-decoration:none; font-weight:700; }
.mobile-nav.open { display:block; }

.hero { min-height: 100svh; position: relative; color: #fff; display: grid; align-items: center; overflow: hidden; background: var(--ink); }
.hero-slides, .hero-slide, .hero-shade { position:absolute; inset:0; }
.hero-slide { background-image: var(--bg); background-size:cover; background-position:center; opacity:0; transform:scale(1.04); transition:opacity 1.1s ease, transform 7s ease; }
.hero-slide.is-active { opacity:1; transform:scale(1.11); }
.hero-shade { background: linear-gradient(90deg, rgba(5,13,22,.88) 0%, rgba(5,13,22,.64) 42%, rgba(5,13,22,.16) 72%, rgba(5,13,22,.42) 100%), linear-gradient(0deg, rgba(5,13,22,.62), transparent 55%); }
.hero-content { position:relative; z-index:2; max-width:840px; padding: 120px clamp(22px, 7vw, 110px) 190px; }
.eyebrow { margin:0 0 14px; font-size:12px; font-weight:800; letter-spacing:.23em; text-transform:uppercase; color:rgba(255,255,255,.78); }
.eyebrow.dark { color: var(--blue); }
h1,h2,h3 { font-family: Georgia, "Times New Roman", serif; line-height: .98; font-weight: 700; margin:0; }
h1 { font-size: clamp(56px, 9vw, 122px); letter-spacing:-.055em; }
h1 span { color: var(--orange); }
.hero-copy { max-width:690px; font-size:clamp(18px,2vw,24px); line-height:1.48; margin:28px 0 34px; color:rgba(255,255,255,.9); }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 22px; border-radius:999px; text-decoration:none; font-weight:800; font-size:14px; letter-spacing:.02em; transition:.25s; border:1px solid transparent; }
.button-primary { background:var(--orange); color:#111; }
.button-primary:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(255,124,55,.32); }
.button-ghost { color:#fff; border-color:rgba(255,255,255,.42); background:rgba(255,255,255,.08); backdrop-filter:blur(8px); }
.button-ghost:hover { background:rgba(255,255,255,.16); }
.hero-stats { position:absolute; z-index:3; left:clamp(22px,7vw,110px); right:clamp(22px,7vw,110px); bottom:34px; display:flex; gap:clamp(24px,5vw,80px); border-top:1px solid rgba(255,255,255,.24); padding-top:20px; }
.hero-stats div { display:flex; align-items:baseline; gap:10px; }
.hero-stats strong { font:700 clamp(27px,4vw,46px)/1 Georgia,serif; }
.hero-stats span { font-size:12px; text-transform:uppercase; letter-spacing:.12em; color:rgba(255,255,255,.65); }
.scroll-cue { position:absolute; z-index:3; right:clamp(22px,5vw,70px); bottom:36px; width:32px; height:50px; border:1px solid rgba(255,255,255,.3); border-radius:20px; }
.scroll-cue span { position:absolute; left:50%; top:10px; width:4px; height:8px; margin-left:-2px; border-radius:4px; background:#fff; animation:scrollCue 1.8s infinite; }
@keyframes scrollCue { 0%{transform:translateY(0);opacity:1} 75%{transform:translateY(18px);opacity:0}100%{opacity:0} }

.section { padding: clamp(84px, 10vw, 150px) clamp(20px, 5vw, 70px); }
.section > * { max-width: var(--max); margin-left:auto; margin-right:auto; }
.section-intro { display:grid; grid-template-columns: .9fr 1fr; gap:clamp(30px,7vw,100px); align-items:end; margin-bottom:70px; }
.section-intro .eyebrow { grid-column:1/-1; margin-bottom:-30px; }
.section-intro h2, .section-heading h2, .gallery-intro h2, .closing-panel h2 { font-size:clamp(42px,6vw,80px); letter-spacing:-.045em; }
.section-intro p:last-child { margin:0; font-size:19px; color:#45515d; max-width:620px; }
.passion-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.passion-card { min-height:630px; overflow:hidden; border-radius:var(--radius); position:relative; box-shadow:var(--shadow); color:#fff; background:var(--ink); }
.passion-photo { position:absolute; inset:0; background-size:cover; background-position:center; transform:scale(1.015); transition:transform .7s ease; }
.passion-card:hover .passion-photo { transform:scale(1.065); }
.passion-card::after { content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(5,13,22,.94) 0%, rgba(5,13,22,.54) 35%, rgba(5,13,22,.08) 70%); }
.passion-card-content { position:absolute; z-index:2; left:0; right:0; bottom:0; padding:34px; }
.card-kicker { display:inline-block; padding:7px 11px; border-radius:999px; background:rgba(255,255,255,.13); backdrop-filter:blur(10px); font-size:11px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.passion-card h3 { font-size:clamp(38px,5vw,62px); margin:14px 0 12px; }
.passion-card p { max-width:520px; margin:0 0 20px; color:rgba(255,255,255,.78); }
.passion-card a { font-weight:800; text-decoration:none; }
.passion-card a span { display:inline-block; transition:.25s; }
.passion-card a:hover span { transform:translateX(5px); }

.rescue-section { background:#fff; }
.section-heading { display:grid; grid-template-columns:1fr .9fr; gap:40px; align-items:end; margin-bottom:54px; }
.section-heading p:last-child { margin:0; color:#59636e; max-width:560px; justify-self:end; font-size:17px; }
.rescue-feature { display:grid; grid-template-columns:1.35fr .65fr; gap:24px; margin-bottom:24px; }
.photo-card { position:relative; border:0; padding:0; overflow:hidden; border-radius:24px; background:#ddd; cursor:zoom-in; box-shadow:none; text-align:left; }
.photo-card img { width:100%; height:100%; object-fit:cover; transition:transform .55s ease, filter .55s ease; }
.photo-card:hover img { transform:scale(1.045); filter:saturate(1.05); }
.photo-card-feature { min-height:520px; }
.photo-overlay { position:absolute; inset:auto 0 0 0; padding:34px 26px 22px; color:#fff; background:linear-gradient(0deg,rgba(0,0,0,.72),transparent); display:flex; align-items:end; justify-content:space-between; gap:12px; }
.photo-overlay strong { font:700 30px/1 Georgia,serif; }
.photo-overlay small { text-transform:uppercase; letter-spacing:.14em; font-weight:800; opacity:.72; }
.rescue-quote { border-radius:24px; background:var(--paper); padding:clamp(30px,4vw,52px); display:flex; flex-direction:column; justify-content:center; }
.quote-mark { font:700 100px/.55 Georgia,serif; color:var(--orange); }
.rescue-quote blockquote { margin:16px 0; font:700 clamp(25px,3vw,40px)/1.16 Georgia,serif; letter-spacing:-.025em; }
.rescue-quote p { margin:10px 0 0; font-size:12px; text-transform:uppercase; letter-spacing:.13em; color:#6c7379; font-weight:800; }
.dog-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.dog-grid .photo-card { aspect-ratio: 1 / 1.05; }
.dog-grid .photo-card:nth-child(5n+1) { grid-column:span 2; aspect-ratio:2.05/1; }

.aircraft-section { background:var(--ink); color:#fff; overflow:hidden; }
.section-heading-light p:last-child { color:rgba(255,255,255,.62); }
.aircraft-marquee { margin:0 calc(-1 * clamp(20px,5vw,70px)) 48px; border-top:1px solid rgba(255,255,255,.12); border-bottom:1px solid rgba(255,255,255,.12); overflow:hidden; }
.marquee-track { display:flex; gap:22px; width:max-content; padding:15px 0; animation:marquee 34s linear infinite; font-size:12px; font-weight:900; letter-spacing:.2em; color:rgba(255,255,255,.52); }
.marquee-track b { color:var(--orange); }
@keyframes marquee { to { transform:translateX(-50%); } }
.aircraft-grid { display:grid; grid-template-columns:repeat(12,1fr); grid-auto-rows:92px; gap:14px; }
.aircraft-grid .photo-card { grid-column:span 4; grid-row:span 3; border-radius:20px; }
.aircraft-grid .photo-card:nth-child(7n+1) { grid-column:span 8; grid-row:span 5; }
.aircraft-grid .photo-card:nth-child(7n+4) { grid-column:span 4; grid-row:span 4; }
.aircraft-grid .photo-overlay { padding:48px 18px 16px; }
.aircraft-grid .photo-overlay strong { font-size:22px; }

.gallery-section { background:var(--paper); }
.gallery-intro { text-align:center; max-width:820px; margin-bottom:50px; }
.gallery-intro p:not(.eyebrow) { color:#5c6670; font-size:17px; max-width:700px; margin:22px auto 28px; }
.filter-bar { display:flex; justify-content:center; flex-wrap:wrap; gap:8px; }
.filter-button { border:1px solid var(--line); background:transparent; border-radius:999px; padding:11px 16px; cursor:pointer; font-size:13px; font-weight:800; }
.filter-button.is-active { background:var(--ink); color:#fff; border-color:var(--ink); }
.mosaic-grid { columns:4 240px; column-gap:12px; }
.mosaic-grid .mosaic-item { break-inside:avoid; margin:0 0 12px; border:0; padding:0; border-radius:16px; overflow:hidden; width:100%; background:#ddd; cursor:zoom-in; position:relative; }
.mosaic-grid .mosaic-item[hidden] { display:none; }
.mosaic-grid .mosaic-item img { transition:.45s ease; }
.mosaic-grid .mosaic-item:hover img { transform:scale(1.035); filter:brightness(.9); }
.mosaic-grid .mosaic-label { position:absolute; left:10px; bottom:10px; padding:6px 9px; border-radius:999px; background:rgba(7,17,29,.72); color:#fff; font-size:11px; font-weight:800; backdrop-filter:blur(8px); opacity:0; transform:translateY(5px); transition:.25s; }
.mosaic-grid .mosaic-item:hover .mosaic-label { opacity:1; transform:none; }

.closing-section { padding:clamp(40px,7vw,90px); background:linear-gradient(135deg,#14344b,#07111d); color:#fff; }
.closing-panel { min-height:560px; max-width:var(--max); margin:auto; border-radius:32px; padding:clamp(36px,7vw,86px); display:flex; flex-direction:column; justify-content:center; align-items:flex-start; background:linear-gradient(90deg,rgba(7,17,29,.89),rgba(7,17,29,.42)), url('images/rescue/freedom.webp') center/cover; box-shadow:0 34px 80px rgba(0,0,0,.28); }
.closing-panel h2 { max-width:780px; }
.closing-panel p:not(.eyebrow) { max-width:650px; font-size:19px; color:rgba(255,255,255,.78); margin:22px 0 28px; }

.site-footer { background:#050b12; color:rgba(255,255,255,.75); padding:44px clamp(20px,5vw,70px); display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.footer-brand { color:#fff; margin-right:auto; }
.site-footer p { margin:0; font-size:13px; }
.copyright { opacity:.6; }

.lightbox { width:100vw; height:100vh; max-width:none; max-height:none; border:0; margin:0; padding:0; background:rgba(3,9,15,.94); color:#fff; }
.lightbox::backdrop { background:rgba(0,0,0,.9); }
.lightbox[open] { display:grid; place-items:center; }
.lightbox figure { margin:0; width:min(90vw,1400px); height:min(82vh,920px); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.lightbox figure img { max-width:100%; max-height:calc(100% - 52px); width:auto; height:auto; object-fit:contain; border-radius:12px; box-shadow:0 20px 70px rgba(0,0,0,.4); }
.lightbox figcaption { margin-top:14px; font-weight:700; color:rgba(255,255,255,.78); }
.lightbox-close,.lightbox-nav { position:fixed; border:0; background:rgba(255,255,255,.09); color:#fff; cursor:pointer; border-radius:50%; display:grid; place-items:center; backdrop-filter:blur(10px); }
.lightbox-close { top:22px; right:22px; width:46px; height:46px; font-size:30px; }
.lightbox-nav { top:50%; transform:translateY(-50%); width:48px; height:58px; font-size:48px; line-height:1; }
.lightbox-prev { left:22px; } .lightbox-next { right:22px; }

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

@media (max-width: 980px) {
  .desktop-nav { display:none; }
  .menu-toggle { display:block; }
  .section-intro, .section-heading { grid-template-columns:1fr; }
  .section-intro .eyebrow { margin-bottom:0; }
  .section-heading p:last-child { justify-self:start; }
  .passion-grid, .rescue-feature { grid-template-columns:1fr; }
  .passion-card { min-height:540px; }
  .dog-grid { grid-template-columns:repeat(2,1fr); }
  .dog-grid .photo-card:nth-child(5n+1) { grid-column:auto; aspect-ratio:1/1.05; }
  .aircraft-grid { grid-template-columns:repeat(2,1fr); grid-auto-rows:230px; }
  .aircraft-grid .photo-card, .aircraft-grid .photo-card:nth-child(7n+1), .aircraft-grid .photo-card:nth-child(7n+4) { grid-column:auto; grid-row:auto; }
  .scroll-cue { display:none; }
}

@media (max-width: 640px) {
  .site-header { padding:14px 16px; }
  .brand { font-size:16px; }
  .brand-mark { width:38px; height:38px; }
  .hero-content { padding:110px 20px 190px; }
  .hero-copy { font-size:17px; }
  .hero-stats { left:20px; right:20px; bottom:22px; gap:10px; justify-content:space-between; }
  .hero-stats div { display:block; }
  .hero-stats span { display:block; margin-top:5px; font-size:9px; }
  .section { padding-left:16px; padding-right:16px; }
  .passion-card { min-height:480px; border-radius:20px; }
  .passion-card-content { padding:24px; }
  .photo-card-feature { min-height:420px; }
  .rescue-quote { padding:32px 24px; }
  .dog-grid { gap:8px; }
  .dog-grid .photo-card { border-radius:15px; }
  .photo-overlay { padding:28px 14px 12px; }
  .photo-overlay strong { font-size:22px; }
  .photo-overlay small { display:none; }
  .aircraft-grid { grid-template-columns:1fr 1fr; grid-auto-rows:180px; gap:8px; }
  .aircraft-grid .photo-card { border-radius:14px; }
  .aircraft-grid .photo-overlay strong { font-size:17px; }
  .mosaic-grid { columns:2 145px; column-gap:8px; }
  .mosaic-grid .mosaic-item { margin-bottom:8px; border-radius:12px; }
  .closing-section { padding:20px 12px; }
  .closing-panel { min-height:540px; border-radius:22px; padding:30px 24px; }
  .site-footer { flex-direction:column; align-items:flex-start; }
  .footer-brand { margin-right:0; }
  .lightbox-nav { width:40px; height:48px; font-size:36px; }
  .lightbox-prev { left:8px; } .lightbox-next { right:8px; }
}

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