/* ============================================================
   Landing Pad Studios — main stylesheet
   Palette + type sampled from Website_ROUGH (page 2).
   No inline styles anywhere, so a strict CSP (style-src 'self')
   can be enforced. All theming via CSS custom properties.
   ============================================================ */

:root {
  /* Brand palette (sampled directly from the PDF) */
  --navy:  #000025;
  --cream: #FFF8ED;
  --red:   #FF1010;
  --peach: #FFE4C5;
  --ink:   #0b0b13;

  /* Layout */
  --container: 1080px;
  --pad: clamp(16px, 4vw, 40px);
  --gap: clamp(14px, 2.4vw, 26px);

  /* Type */
  --display: "stratos", "Archivo", system-ui, "Segoe UI", Arial, sans-serif;
  --serif:   "Calistoga", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--display);
  font-synthesis: none;
  line-height: 1.45;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ============================================================
   Header (navy bar with bunny wordmark)
   ============================================================ */
.site-header {
  background: var(--navy);
  color: var(--cream);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: clamp(78px, 11vw, 116px);
  padding-block: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 1.6vw, 16px);
}
.brand .bunny { width: clamp(58px, 8.6vw, 96px); height: auto; }
.brand-logo {
  width: clamp(190px, 30vw, 320px);
  height: auto;
  position: relative;
  z-index: 6;
  /* Negative bottom margin < text-to-bottom gap, so only the rabbit
     bleeds below the header into the sub-nav; wordmark stays on navy. */
  margin-bottom: clamp(-26px, -3.2vw, -16px);
}

/* ============================================================
   Sub-nav strip (ANIMATION • [toggle] • MOTION GRAPHICS)
   ============================================================ */
.subnav { background: var(--cream); }
.subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 30px);
  padding-block: clamp(14px, 2.4vw, 24px);
  padding-inline: 0;
  max-width: min(720px, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
}
.subnav-link {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
  font-size: clamp(16px, 3.4vw, 34px);
}

/* Compass / X toggle — the "sleek hamburger" */
.menu-toggle {
  justify-self: center;
  width: clamp(40px, 6vw, 60px);
  height: clamp(40px, 6vw, 60px);
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}
.menu-toggle .icon-compass { width: 100%; height: 100%; }
.menu-toggle:hover { transform: rotate(90deg) scale(1.06); }
.toggle-disc { fill: var(--navy); }
.toggle-cross { fill: var(--cream); }

/* Footer toggle is the inverse (cream disc / navy X) */
.menu-toggle--invert .toggle-disc { fill: var(--cream); }
.menu-toggle--invert .toggle-cross { fill: var(--navy); }

/* ============================================================
   Hero (brick + chickens + REEL)
   ============================================================ */
.hero {
  position: relative;
  display: block;
  max-width: min(720px, calc(100% - 2 * var(--pad)));
  margin-inline: auto;
  padding-inline: 0;
  aspect-ratio: 960 / 536;
  background: var(--navy);
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__reel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.hero__reel span {
  font-family: var(--display);
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(54px, 15vw, 190px);
  letter-spacing: -0.02em;
  transform: rotate(-7deg);
  text-shadow: 0 4px 0 rgba(255, 248, 237, 0.18);
  transition: transform 0.4s var(--ease);
}
.hero:hover .hero__reel span,
.hero:focus-visible .hero__reel span { transform: rotate(-7deg) scale(1.04); }

/* ============================================================
   Instagram feed row (three red placeholders)
   ============================================================ */
.feeds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  padding-block: clamp(20px, 4vw, 40px);
}
.feed {
  aspect-ratio: 1 / 1;
  background: var(--red);
  color: var(--cream);
  display: flex;
  align-items: center;
  padding: clamp(14px, 3vw, 30px);
  font-weight: 800;
  line-height: 0.98;
  font-size: clamp(18px, 3.6vw, 40px);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.feed span { display: block; }
.feed .ig { text-transform: lowercase; }
.feed:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(255, 16, 16, 0.28);
}

/* ============================================================
   Body copy block
   ============================================================ */
.lede {
  padding-top: clamp(24px, 5vw, 56px);
  padding-bottom: clamp(28px, 6vw, 64px);
}
.lede p {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--navy);
  font-size: clamp(20px, 3.4vw, 34px);
  line-height: 1.25;
  margin: 0 auto;
  max-width: 46ch;
}

/* ============================================================
   Footer (peach bunny watermark + diagonal navy band)
   ============================================================ */
.site-footer { position: relative; background: var(--cream); overflow: hidden; }

.footer-bunny {
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: flex-start;
  padding-top: clamp(24px, 5vw, 56px);
  pointer-events: none;
}
.footer-bunny .bunny,
.footer-bunny-img {
  width: clamp(300px, 52vw, 580px);
  height: auto;
  margin-left: clamp(0px, 2vw, 34px);
  transform: translateY(8%);
}
.footer-bunny-img { opacity: 0.92; transform: translateY(-4%); }

.footer-band {
  position: relative;
  z-index: 1;
  margin-top: -8%;
  background: var(--navy);
  color: var(--cream);
  clip-path: polygon(0 36%, 100% 0, 100% 100%, 0% 100%);
  padding-top: clamp(54px, 8vw, 110px);
}
.footer-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(18px, 4vw, 40px);
  padding-bottom: clamp(28px, 5vw, 54px);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.4vw, 30px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(14px, 2vw, 20px);
}
.footer-nav a { transition: color 0.2s var(--ease); }
.footer-nav a:hover { color: var(--red); }
.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.footer-meta a:hover { color: var(--peach); }
.footer-meta .muted { opacity: 0.6; font-family: var(--display); }
.footer-toggle { align-self: flex-end; }
.footer-toggle .menu-toggle { width: clamp(46px, 7vw, 66px); height: clamp(46px, 7vw, 66px); }

/* ============================================================
   Floating "Let's talk" contact button (extra access point)
   ============================================================ */
.float-contact {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--red);
  color: var(--cream);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 37, 0.28);
  transform: translateY(0);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.float-contact svg { width: 18px; height: 18px; fill: currentColor; }
.float-contact:hover { transform: translateY(-3px); background: #ff2a2a; }
.float-contact:active { transform: translateY(0); }

/* ============================================================
   Top-right "MENU" button (the obvious access point)
   ============================================================ */
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 7px;
}
.menu-btn .menu-icon {
  width: clamp(62px, 8vw, 84px);
  height: auto;
  overflow: visible;
}
.menu-arc-text {
  fill: var(--cream);
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 1.6px;
}
.compass-spin {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.45s var(--ease);
}
.menu-btn .toggle-disc { fill: var(--red); }
.menu-btn .toggle-cross { fill: var(--cream); }
.menu-btn:hover .compass-spin,
.menu-btn[aria-expanded="true"] .compass-spin { transform: rotate(135deg); }

/* Decorative compass in the sub-nav centre (visual only — no interaction, no spin) */
.subnav-mark {
  flex: 0 0 auto;
  width: clamp(40px, 5.6vw, 58px);
  height: clamp(40px, 5.6vw, 58px);
  display: grid;
  place-items: center;
}
.subnav-mark img { width: 100%; height: 100%; object-fit: contain; }

/* ============================================================
   Dropdown menu box (small panel, anchored top-right)
   ============================================================ */
.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 37, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), visibility 0.25s;
}
.menu-backdrop.is-open { opacity: 1; visibility: visible; }

.menu {
  position: fixed;
  top: clamp(74px, 11.5vw, 116px);
  right: clamp(12px, 3vw, 28px);
  z-index: 1000;
  width: min(290px, calc(100vw - 24px));
  background: var(--navy);
  color: var(--cream);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 22px 60px rgba(0, 0, 37, 0.45);
  transform-origin: top right;
  transform: translateY(-10px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.28s var(--ease), visibility 0.22s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.menu-eyebrow {
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--peach);
  margin: 4px 6px 12px;
}
.menu-nav { display: grid; gap: 2px; }
.menu-nav a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 19px;
  line-height: 1;
  padding: 13px 14px;
  border-radius: 11px;
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.menu-nav a:hover { background: rgba(255, 248, 237, 0.08); color: var(--peach); }
.menu-nav a[aria-current="page"] { color: var(--peach); }
.menu-nav a[aria-current="page"]::after { content: " ●"; color: var(--red); font-size: 0.5em; vertical-align: middle; }

.menu-cta {
  display: block;
  text-align: center;
  margin-top: 8px;
  background: var(--red);
  color: var(--cream);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 15px;
  padding: 13px;
  border-radius: 11px;
  transition: background 0.2s var(--ease);
}
.menu-cta:hover { background: #ff2a2a; }

/* ============================================================
   Bunny theming (inline SVG)
   ============================================================ */
.bunny .b-line { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

.bunny--logo .b-body  { fill: var(--cream); }
.bunny--logo .b-ear-in{ fill: rgba(0,0,37,0.08); }
.bunny--logo .b-detail{ fill: var(--navy); }
.bunny--logo .b-bow   { fill: var(--navy); }
.bunny--logo .b-line  { stroke: var(--navy); }
.bunny--watermark .b-line { stroke: rgba(0,0,37,0.12); }

.bunny--watermark .b-body  { fill: var(--peach); }
.bunny--watermark .b-ear-in{ fill: rgba(0,0,37,0.05); }
.bunny--watermark .b-detail{ fill: rgba(0,0,37,0.12); }
.bunny--watermark .b-bow   { fill: var(--cream); }

/* ============================================================
   Placeholder pages (services / portfolio / contact stubs)
   ============================================================ */
.placeholder {
  min-height: 52vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 18px;
  padding-block: clamp(60px, 12vw, 140px);
}
.placeholder .tag {
  font-weight: 800; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--red); font-size: 14px;
}
.placeholder h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 11vw, 120px); margin: 0; line-height: 0.95;
}
.placeholder p {
  font-family: var(--display); font-weight: 400; font-size: clamp(18px, 3vw, 26px);
  margin: 0 auto; max-width: 46ch; color: var(--ink);
}
.placeholder .ghost-cta {
  justify-self: center;
  margin-top: 10px;
  display: inline-block;
  border: 3px solid var(--navy);
  color: var(--navy);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 14px 28px; border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.placeholder .ghost-cta:hover { background: var(--navy); color: var(--cream); transform: translateY(-3px); }

/* ============================================================
   Portfolio — "bento" grid (varied tile sizes, tiling a square)
   ============================================================ */
.portfolio { padding-block: clamp(20px, 4vw, 44px); }
.portfolio .tag {
  font-weight: 800; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--red); font-size: 14px; margin: 0 0 clamp(14px, 2.4vw, 24px);
}
.page-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: var(--navy); font-size: clamp(32px, 6vw, 64px); line-height: 0.95;
  text-align: center; margin: 0 0 clamp(20px, 3vw, 40px);
}
/* Services page — three discipline boxes */
.services-page { padding-block: clamp(20px, 4vw, 44px); text-align: center; }
.service-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: clamp(16px, 3vw, 28px);
  margin: clamp(8px, 2vw, 20px) 0 clamp(28px, 4vw, 44px);
}
.service-box {
  background: var(--peach);
  border: 3px solid var(--red);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s var(--ease);
}
.service-summary {
  list-style: none;
  cursor: pointer;
  min-height: clamp(150px, 20vw, 220px);
  display: grid;
  place-items: center;
  padding: clamp(18px, 3vw, 30px);
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  color: var(--navy); font-size: clamp(20px, 2.2vw, 30px); line-height: 1.05;
}
.service-summary::-webkit-details-marker { display: none; }
.service-box[open] {
  box-shadow: 0 0 0 3px var(--red), 0 10px 26px rgba(0, 0, 37, 0.14);
}
.service-box[open] .service-summary { min-height: 0; padding-bottom: clamp(8px, 1.4vw, 14px); }
.service-detail { padding: 0 clamp(18px, 3vw, 28px) clamp(22px, 3vw, 30px); }
.service-detail p {
  font-family: var(--display); font-weight: 400;
  color: var(--navy); font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.45; margin: 0 0 clamp(16px, 2vw, 22px);
}
.service-cta {
  display: inline-block;
  background: var(--red); color: var(--cream);
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(13px, 1.3vw, 15px); letter-spacing: 0.03em;
  padding: 0.75em 1.5em; border-radius: 999px; text-decoration: none;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.service-cta:hover, .service-cta:focus-visible { background: var(--navy); transform: translateY(-2px); }
@media (max-width: 720px) { .service-boxes { grid-template-columns: 1fr; } }
.placeholder h1.page-title { font-size: clamp(32px, 6vw, 64px); }

/* 4x4 track grid; the aspect-ratio keeps the whole thing square. */
.p-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: var(--gap);
  aspect-ratio: 1 / 1;
}

/* Tile placements — 9 tiles of different sizes that tile the square. */
.p-1 { grid-column: 1 / 3; grid-row: 1 / 3; }  /* large */
.p-2 { grid-column: 3 / 4; grid-row: 1 / 2; }  /* small */
.p-3 { grid-column: 4 / 5; grid-row: 1 / 2; }  /* small */
.p-4 { grid-column: 3 / 4; grid-row: 2 / 3; }  /* small */
.p-5 { grid-column: 4 / 5; grid-row: 2 / 3; }  /* small */
.p-6 { grid-column: 1 / 3; grid-row: 3 / 5; }  /* large */
.p-7 { grid-column: 3 / 5; grid-row: 3 / 5; }  /* large */

.p-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: var(--navy);
}
.p-media {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}
/* Legibility gradient for the label + hover darken */
.p-tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 37, 0.6), rgba(0, 0, 37, 0) 58%);
  transition: opacity 0.25s var(--ease);
}
.p-tile:hover .p-media,
.p-tile:focus-visible .p-media { transform: scale(1.06); }

/* Play badge */
.p-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: clamp(38px, 5vw, 60px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 248, 237, 0.92);
  display: grid; place-items: center;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.p-play::before {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--navy);
  margin-left: 3px;
}
.p-tile:hover .p-play,
.p-tile:focus-visible .p-play { transform: translate(-50%, -50%) scale(1.1); background: var(--red); }
.p-tile:hover .p-play::before,
.p-tile:focus-visible .p-play::before { border-left-color: var(--cream); }

.p-label {
  position: absolute; left: clamp(10px, 1.4vw, 16px); bottom: clamp(9px, 1.2vw, 14px);
  z-index: 2;
  color: var(--cream);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em;
  font-size: clamp(11px, 1.4vw, 16px);
  line-height: 1;
}
/* "Coming soon" placeholder tiles */
.p-soon { display: grid; place-items: center; background: var(--navy); }
.p-soon::after { display: none; }
.p-soon-label {
  z-index: 2;
  color: #ffffff;
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; font-size: clamp(12px, 1.5vw, 18px); text-align: center;
}

@media (max-width: 640px) {
  .p-grid { gap: 10px; }
  .p-label { font-size: 10px; }
}

/* ============================================================
   Contact form scaffold (used on contact.html)
   ============================================================ */
.contact-wrap { padding-top: clamp(20px, 4vw, 44px); padding-bottom: clamp(40px, 8vw, 90px); }
.contact-grid {
  display: grid;
  gap: clamp(26px, 5vw, 60px);
  grid-template-columns: 1fr;
  margin-top: clamp(18px, 3vw, 32px);
}
@media (min-width: 820px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }

.contact-intro h1 {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 8vw, 84px); margin: 0 0 14px; line-height: 0.95;
}
.contact-intro p { font-family: var(--display); font-weight: 400; font-size: clamp(18px, 2.6vw, 24px); margin: 0 0 18px; }
.contact-intro a { color: var(--red); }

.form-field { display: grid; gap: 7px; margin-bottom: 18px; }
.form-field label { font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: 13px; }
.form-field input,
.form-field textarea,
.form-field select {
  font-family: var(--serif);
  font-size: 16px; /* >=16px stops iOS auto-zoom on focus */
  background: #fff;
  border: 3px solid var(--navy);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--ink);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 14px) 50%;
  background-size: 8px 8px;
  background-repeat: no-repeat;
  padding-right: 40px;
  cursor: pointer;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--red); }
/* Remove the number-input increment/decrement spinner on the budget box */
.form-field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.form-field input[type="number"]::-webkit-inner-spin-button,
.form-field input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.form-field textarea { min-height: 140px; resize: vertical; }
/* Honeypot — hidden from humans, catches bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-submit {
  background: var(--red); color: var(--cream);
  font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 15px 30px; border-radius: 999px;
  transition: transform 0.2s var(--ease), background 0.2s;
}
.form-submit:hover { transform: translateY(-3px); background: #ff2a2a; }
.form-status { margin-top: 14px; font-family: var(--serif); font-size: 17px; min-height: 1.4em; }
.form-status.ok { color: #0a8a3f; }
.form-status.err { color: var(--red); }

/* ============================================================
   404
   ============================================================ */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 16px; padding: 80px 20px; }
.notfound .big { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 22vw, 220px); line-height: 0.9; color: var(--navy); }
.notfound p { font-family: var(--serif); font-size: clamp(18px, 3vw, 26px); margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 640px) {
  .feeds { grid-template-columns: 1fr; }
  .feed { aspect-ratio: 16 / 7; }
  /* Header rabbit: the base bleed is set in vw/clamp which collapses on
     narrow screens, so pin an explicit size + overflow here. */
  .brand-logo { width: clamp(160px, 54vw, 220px); margin-bottom: -28px; }
  /* Footer rabbit: -8% of the (now small) container barely overlaps, so
     pull the navy band up harder so the watermark sinks into it. */
  .footer-band { clip-path: polygon(0 22%, 100% 0, 100% 100%, 0% 100%); margin-top: -16%; }
  .footer-band-inner { flex-direction: column; align-items: flex-start; }
  .footer-toggle { align-self: flex-end; }
}

/* ============================================================
   Video triggers — hero + feed tiles are now <button> play targets
   ============================================================ */
button.hero,
button.feed { -webkit-appearance: none; appearance: none; text-align: left; }
.hero { padding-block: 0; }

/* Feed tiles: keep the red box, drop a play badge + bottom label on it */
.feed { position: relative; overflow: hidden; align-items: flex-end; }
.feed-label { position: relative; z-index: 2; }
/* Vimeo thumbnail injected by main.js fills the tile behind the overlay */
.feed .p-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  transition: transform 0.25s var(--ease);
}
.feed:hover .p-media,
.feed:focus-visible .p-media { transform: scale(1.05); }
.feed:hover .p-play,
.feed:focus-visible .p-play { transform: translate(-50%, -50%) scale(1.1); background: var(--navy); }
.feed:hover .p-play::before,
.feed:focus-visible .p-play::before { border-left-color: var(--cream); }

/* ============================================================
   Vimeo lightbox (DOM built by js/main.js)
   ============================================================ */
.no-scroll { overflow: hidden; }
.vlightbox {
  position: fixed; inset: 0; z-index: 1200;
  display: grid; place-items: center;
  padding: clamp(14px, 4vw, 40px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s var(--ease), visibility 0.22s;
}
.vlightbox[hidden] { display: none; }
.vlightbox.is-open { opacity: 1; visibility: visible; }
.vlightbox__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 37, 0.82); }
.vlightbox__dialog {
  position: relative;
  width: min(1040px, 100%);
  transform: translateY(8px) scale(0.98);
  transition: transform 0.28s var(--ease);
}
.vlightbox.is-open .vlightbox__dialog { transform: none; }
.vlightbox__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.vlightbox__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vlightbox__close {
  position: fixed;
  top: clamp(10px, 3vw, 22px);
  right: clamp(10px, 3vw, 22px);
  width: 46px; height: 46px;
  display: grid; place-items: center;
  color: var(--cream); font-size: 30px; line-height: 1;
  border-radius: 50%;
  background: rgba(255, 248, 237, 0.14);
  transition: background 0.2s, transform 0.2s var(--ease);
}
.vlightbox__close:hover { background: var(--red); transform: scale(1.08); }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
