/* SaveBird — Instituto GR5 Brasil
   Palette from gr5brasil.org.br:
   #007BB5 blue · #00235A navy · #FF5E14 orange · #656565 gray
   Fonts: Yantramanav + Open Sans
*/

:root {
  --blue: #007bb5;
  --blue-soft: #3a9fc9;
  --navy: #00235a;
  --navy-deep: #00153a;
  --orange: #ff5e14;
  --orange-hot: #ff7a3d;
  --gray: #656565;
  --gray-soft: #8a8a8a;
  --fog: #f7f9fb;
  --mist: #e8eef4;
  --white: #ffffff;
  --ink: #0a1628;

  --font-display: "Yantramanav", sans-serif;
  --font-body: "Open Sans", sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
  --wrap: min(1120px, calc(100% - 2rem));
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--fog);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sky-birds {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.sky-bird {
  position: absolute;
  left: -3rem;
  display: block;
  width: 32px;
  height: auto;
  color: #fff;
  opacity: 0.42;
  animation: birdZigzag 28s linear infinite;
}

.sky-bird.b1 {
  top: 18%;
  width: 34px;
  opacity: 0.45;
  animation-duration: 30s;
  animation-delay: 0s;
}

.sky-bird.b2 {
  top: 32%;
  width: 26px;
  opacity: 0.35;
  animation-duration: 36s;
  animation-delay: -12s;
}

.sky-bird.b3 {
  top: 12%;
  width: 22px;
  opacity: 0.3;
  animation-duration: 40s;
  animation-delay: -22s;
}

@keyframes birdZigzag {
  0%   { transform: translate3d(0, 0, 0); }
  12%  { transform: translate3d(14vw, -22px, 0); }
  25%  { transform: translate3d(28vw, 14px, 0); }
  38%  { transform: translate3d(42vw, -18px, 0); }
  50%  { transform: translate3d(56vw, 12px, 0); }
  62%  { transform: translate3d(70vw, -16px, 0); }
  75%  { transform: translate3d(84vw, 10px, 0); }
  88%  { transform: translate3d(98vw, -8px, 0); }
  100% { transform: translate3d(112vw, 0, 0); }
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s, color 0.35s;
  color: var(--white);
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(247, 249, 251, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 35, 90, 0.08);
  color: var(--navy);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  min-width: 0;
}

.brand-logo-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.25);
}

.site-header.is-scrolled .brand-logo-mark,
.site-header.menu-open .brand-logo-mark {
  box-shadow: 0 0 0 1.5px rgba(0, 35, 90, 0.12);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.brand-text strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.brand-text small {
  font-size: 0.68rem;
  color: inherit;
  opacity: 0.75;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.9;
  transition: opacity 0.2s, color 0.2s;
}

.nav a:hover {
  opacity: 1;
}

.site-header.is-scrolled .nav a:hover,
.site-header.menu-open .nav a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  opacity: 1 !important;
  padding: 0.55rem 1.1rem;
  border-radius: 2px;
  transition: background 0.25s !important;
}

.nav-cta:hover {
  background: var(--blue) !important;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
  color: inherit;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.35rem;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: heroDrift 22s var(--ease) infinite alternate;
}

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(0, 35, 90, 0.88) 0%,
      rgba(0, 35, 90, 0.72) 38%,
      rgba(0, 123, 181, 0.45) 72%,
      rgba(0, 21, 58, 0.55) 100%
    );
}

.hero-film-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1.1px, transparent 1.35px);
  background-size: 22px 22px;
  opacity: 0.28;
  mask-image: linear-gradient(90deg, transparent 0%, black 35%, black 100%);
  animation: patternPulse 10s ease-in-out infinite alternate;
}

@keyframes patternPulse {
  from { opacity: 0.2; }
  to { opacity: 0.34; }
}

.hero-gleam {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(255, 255, 255, 0.12) 49%,
    transparent 56%
  );
  animation: glassGleam 9s var(--ease) infinite;
  mix-blend-mode: soft-light;
}

@keyframes glassGleam {
  0%, 100% { opacity: 0.35; transform: translateX(-4%); }
  50% { opacity: 0.7; transform: translateX(6%); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) 0 calc(4.5rem + var(--safe-bottom));
  max-width: 38rem;
  margin-left: max(calc((100% - min(1120px, calc(100% - 2rem))) / 2), 1rem);
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 13vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.2s forwards;
  text-shadow: 0 8px 40px rgba(0, 21, 58, 0.35);
}

.hero-lead {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 3.4vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  max-width: 22ch;
  opacity: 0;
  animation: rise 1s var(--ease) 0.4s forwards;
}

.hero-support {
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  line-height: 1.55;
  opacity: 0;
  color: rgba(255, 255, 255, 0.9);
  max-width: 34ch;
  margin-bottom: 1.75rem;
  animation: rise 1s var(--ease) 0.55s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: rise 1s var(--ease) 0.7s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-hint {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 1.5rem;
  height: 2.4rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 0.4rem;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scrollDot 1.8s var(--ease) infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  min-height: 2.85rem;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hot);
  border-color: var(--orange-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-accent {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--blue);
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.text-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* ——— Sections ——— */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.85rem;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.75);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 18ch;
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 42ch;
  margin-bottom: 3rem;
}

/* Problem */
.problem {
  background: var(--white);
}

.problem-story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.problem-figure img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.problem-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--gray-soft);
  font-style: italic;
}

.problem-copy p {
  margin-bottom: 1.15rem;
  color: var(--gray);
}

.problem-copy a {
  color: var(--blue);
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 123, 181, 0.35);
}

.problem-copy blockquote {
  margin-top: 2rem;
  padding: 1.5rem 0 1.5rem 1.25rem;
  border-left: 3px solid var(--orange);
}

.problem-copy blockquote p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.problem-copy cite {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--gray-soft);
}

/* Solution */
.solution {
  background:
    linear-gradient(180deg, var(--fog) 0%, var(--mist) 100%);
  position: relative;
  overflow: hidden;
}

.solution::before {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -18vw;
  top: -10vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 123, 181, 0.12), transparent 65%);
  pointer-events: none;
}

.solution-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}

.solution-text h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.solution-text > p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
  margin-bottom: 2rem;
}

.check-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  color: var(--ink);
  border-bottom: 1px solid rgba(0, 35, 90, 0.08);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--orange);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* Film demo animation */
.film-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  perspective: 800px;
}

.film-pane {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 2px;
  overflow: hidden;
  background:
    linear-gradient(160deg, #87c5e0 0%, #5aabcf 40%, #2d7a9e 100%);
  box-shadow: 0 20px 50px rgba(0, 35, 90, 0.18);
}

.film-pane--plain {
  background:
    linear-gradient(160deg, rgba(135, 197, 224, 0.9), rgba(45, 122, 158, 0.95)),
    url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=400&q=60")
      center / cover;
}

.film-pane--safe {
  background:
    linear-gradient(160deg, rgba(135, 197, 224, 0.85), rgba(45, 122, 158, 0.9)),
    url("https://images.unsplash.com/photo-1506905925346-21bda4d32df4?auto=format&fit=crop&w=400&q=60")
      center / cover;
}

.pane-label {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 35, 90, 0.55);
  padding: 0.35rem 0.6rem;
  backdrop-filter: blur(6px);
}

.pane-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: radial-gradient(circle, rgba(0, 35, 90, 0.55) 1.5px, transparent 1.8px);
  background-size: 18px 18px;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.pane-bird {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 28px;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 28' fill='%2300235A'%3E%3Cpath d='M2 16c6-5 12-2 16 2 2-5 7-9 14-7-5 3-7 8-5 11 5-1 12-1 18 2-8 0-14 3-19 8-2-5-7-10-14-10-3 0-7 1-10 3z'/%3E%3C/svg%3E");
}

.pane-bird.crash {
  animation: crashBird 3.5s var(--ease) infinite;
}

.pane-bird.safe {
  animation: avoidBird 3.5s var(--ease) infinite;
}

@keyframes crashBird {
  0% { left: -20%; top: 20%; opacity: 1; transform: rotate(-10deg) scale(1); }
  55% { left: 42%; top: 42%; opacity: 1; transform: rotate(5deg) scale(1); }
  70% { left: 48%; top: 48%; opacity: 0.3; transform: rotate(40deg) scale(0.7); }
  100% { left: 48%; top: 55%; opacity: 0; transform: rotate(60deg) scale(0.4); }
}

@keyframes avoidBird {
  0% { left: -20%; top: 25%; opacity: 1; transform: rotate(-8deg); }
  45% { left: 35%; top: 40%; opacity: 1; transform: rotate(0deg); }
  70% { left: 55%; top: 18%; opacity: 1; transform: rotate(-15deg); }
  100% { left: 110%; top: 8%; opacity: 0.6; transform: rotate(-20deg); }
}

/* How */
.how {
  background: var(--white);
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: none;
}

.step {
  padding-top: 1.5rem;
  border-top: 2px solid var(--mist);
  transition: border-color 0.4s;
}

.step:hover {
  border-color: var(--blue);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  opacity: 0.35;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.step p {
  color: var(--gray);
  font-size: 0.98rem;
}

/* Video */
.video-section {
  background: var(--navy-deep);
  color: var(--white);
}

.video-section .eyebrow {
  color: var(--blue-soft);
}

.video-section h2 {
  color: var(--white);
}

.video-section .lede {
  color: rgba(255, 255, 255, 0.7);
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 2px;
  overflow: hidden;
  background: #00102a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Impact */
.impact {
  background: var(--fog);
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.impact-copy p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.impact-copy em {
  font-style: italic;
  color: var(--navy);
  font-weight: 600;
}

.impact-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(0, 35, 90, 0.15);
}

/* Instagram */
.instagram {
  background: var(--white);
}

.ig-profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--mist);
}

.ig-handle {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ig-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  color: var(--white);
  display: grid;
  place-items: center;
}

.ig-avatar svg {
  width: 1.35rem;
  height: 1.35rem;
}

.ig-handle strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.ig-handle small {
  color: var(--gray);
  font-size: 0.85rem;
}

.ig-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
  overflow: hidden;
}

.ig-slide {
  min-width: 0;
}

.ig-feed .instagram-media {
  margin: 0 auto !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #fff !important;
  border: 1px solid rgba(0, 35, 90, 0.08) !important;
  border-radius: 2px !important;
  box-shadow: 0 12px 32px rgba(0, 35, 90, 0.08) !important;
  box-sizing: border-box !important;
}

.ig-feed iframe {
  margin: 0 auto !important;
  max-width: 100% !important;
}

.ig-controls {
  display: none;
}

.ig-nav {
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid rgba(0, 35, 90, 0.15);
  background: var(--white);
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.ig-nav:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.ig-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1;
}

.ig-dot {
  width: 0.5rem;
  height: 0.5rem;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 35, 90, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.ig-dot.is-active {
  background: var(--orange);
  transform: scale(1.2);
}

/* CTA */
.cta {
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(0, 123, 181, 0.35), transparent 50%),
    linear-gradient(145deg, var(--navy) 0%, #003a7a 50%, var(--blue) 100%);
  color: var(--white);
  text-align: center;
}

.cta-inner {
  max-width: 36rem;
  margin-inline: auto;
}

.cta h2 {
  color: var(--white);
  max-width: none;
  margin-inline: auto;
}

.cta p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.footer-brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer-logo {
  display: inline-block;
  margin-top: 1.25rem;
}

.footer-logo img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-logo:hover img {
  opacity: 1;
}

.footer-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-soft);
  margin-bottom: 0.75rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  :root {
    --wrap: min(1120px, calc(100% - 1.75rem));
  }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    background: rgba(247, 249, 251, 0.98);
    backdrop-filter: blur(14px);
    padding: 0.5rem 1.25rem calc(1.5rem + var(--safe-bottom));
    border-bottom: 1px solid rgba(0, 35, 90, 0.08);
    transform: translateY(-108%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    color: var(--navy);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--mist);
    font-size: 1rem;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    padding: 0.95rem 1.1rem !important;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header.menu-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.menu-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .problem-story,
  .solution-split,
  .impact-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .ig-carousel {
    margin-inline: calc(50% - 50vw);
    width: 100vw;
    padding-inline: 0;
  }

  .ig-feed {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem calc((100vw - min(100vw - 1.75rem, 540px)) / 2) 0.75rem;
    scrollbar-width: none;
  }

  .ig-feed::-webkit-scrollbar {
    display: none;
  }

  .ig-slide {
    flex: 0 0 min(100vw - 1.75rem, 540px);
    scroll-snap-align: center;
    max-width: min(100vw - 1.75rem, 540px);
  }

  .ig-feed .instagram-media:nth-child(n + 4) {
    display: block;
  }

  .ig-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: var(--wrap);
    margin: 0.85rem auto 0;
  }

  .hero-content {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: clamp(3.5rem, 9vw, 6rem) 0;
  }

  .section h2 {
    max-width: none;
    font-size: clamp(1.75rem, 7vw, 2.75rem);
  }

  .lede {
    margin-bottom: 2rem;
    font-size: 1.02rem;
  }

  .ig-profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .ig-profile .btn {
    width: 100%;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 1rem;
  }

  .hero {
    align-items: center;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 3.5rem);
    padding-bottom: calc(4rem + var(--safe-bottom));
  }

  .hero-photo {
    object-position: 65% center;
  }

  .hero-veil {
    background:
      linear-gradient(
        180deg,
        rgba(0, 35, 90, 0.72) 0%,
        rgba(0, 35, 90, 0.78) 45%,
        rgba(0, 21, 58, 0.88) 100%
      );
  }

  .hero-film-pattern {
    background-size: 18px 18px;
    opacity: 0.22;
    mask-image: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 3rem;
  }

  .scroll-hint {
    bottom: calc(1rem + var(--safe-bottom));
  }

  .sky-bird {
    width: 18px;
    opacity: 0.28;
  }

  .sky-bird.b1 {
    width: 20px;
    opacity: 0.32;
  }

  .sky-bird.b2 {
    width: 15px;
    opacity: 0.24;
  }

  .sky-bird.b3 {
    display: none;
  }

  .problem-figure {
    max-width: 280px;
    margin-inline: auto;
  }

  .problem-figure img {
    aspect-ratio: 1;
    max-height: 240px;
  }

  .impact-photo {
    max-width: 220px;
    margin-inline: auto;
  }

  .impact-photo img {
    aspect-ratio: 1;
    max-height: 220px;
  }

  .film-demo {
    max-width: 100%;
    gap: 0.65rem;
  }

  .pane-label {
    font-size: 0.65rem;
    padding: 0.3rem 0.5rem;
  }

  .problem-copy blockquote p {
    font-size: 1.15rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
    min-height: 3rem;
  }

  .site-footer {
    padding: 2.75rem 0 calc(1.75rem + var(--safe-bottom));
  }

  .check-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 420px) {
  :root {
    --wrap: calc(100% - 1.5rem);
    --header-h: 3.85rem;
  }

  .brand-text small {
    display: none;
  }

  .hero-brand {
    font-size: clamp(3rem, 16vw, 3.75rem);
  }

  .hero-lead {
    max-width: none;
  }

  .hero-support {
    max-width: none;
  }

  .step-num {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *:not(.sky-bird):not(.sky-birds),
  *:not(.sky-bird)::before,
  *:not(.sky-bird)::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .sky-bird {
    animation: birdZigzag 28s linear infinite !important;
    animation-iteration-count: infinite !important;
  }

  .sky-bird.b1 { animation-duration: 30s !important; }
  .sky-bird.b2 { animation-duration: 36s !important; }
  .sky-bird.b3 { animation-duration: 40s !important; }
}
