/* Shared styles for Airlift sub-pages (science, about, contact, legal).
   Mirrors the design tokens + core components from index.html so sub-pages
   stay on-brand without duplicating the full homepage stylesheet.
   The homepage keeps its own inline styles; this file is for sub-pages only. */

:root {
  --bg: #0d1512;
  --bg-tertiary: #141c19;
  --bg-elevated: #1a2420;
  --text: #fcfcfc;
  --text-dark: #0d1512;
  --muted: rgba(252, 252, 252, 0.6);
  --muted-2: rgba(252, 252, 252, 0.46);
  --muted-dark: rgba(13, 21, 18, 0.62);
  --stroke: #3d4341;
  --stroke-soft: rgba(252, 252, 252, 0.1);
  --mint: #04efae;
  --nav-h: 5.4rem;
  --accent: linear-gradient(270deg, #02f2aa 30%, #26d2e2 70%);
  --accent-hover: linear-gradient(270deg, #4efaff 0%, #20ffc8 100%);
  --accent-text: linear-gradient(251deg, #fcfcfc 0%, #04efae 40%, #fcfcfc 100%);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Switzer', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  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");
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

/* Typography */
.display { font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.body-l { font-size: clamp(1.04rem, 1.3vw, 1.22rem); line-height: 1.65; }
.muted { color: var(--muted); }
.grad-text {
  background: var(--accent-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 500; font-size: 1rem; border-radius: 999px; padding: 0.95rem 1.7rem;
  cursor: pointer; border: 1px solid transparent; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.btn-primary { background: var(--accent); color: var(--text-dark); box-shadow: 0 10px 34px -12px rgba(4,239,174,0.55); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 44px -12px rgba(46,210,226,0.6); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(13,21,18,0.9), 0 0 0 5px var(--mint); }
.btn-outline { background: transparent; border-color: rgba(252,252,252,0.22); color: var(--text); }
.btn-outline:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-2px); }
.btn-outline:focus-visible { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(4,239,174,0.25); }
.btn-sm { padding: 0.62rem 1.15rem; font-size: 0.88rem; }
/* Utility must win over the .btn component: site.css loads after Tailwind, so .btn's display
   otherwise overrides `.hidden`, leaving a `hidden lg:inline-flex` header CTA visible on mobile
   (it shoved the centred logo off-centre on every sub-page). Scope to < lg so `lg:inline-flex`
   still reveals it on desktop. */
@media (max-width: 1023.98px) { .btn.hidden { display: none !important; } }

/* Surfaces */
.card-dark { background: var(--bg-tertiary); border: 1px solid var(--stroke); border-radius: 20px; }
.card-soft { background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)); border: 1px solid var(--stroke-soft); border-radius: 18px; }
.divider { height: 1px; background: var(--stroke-soft); border: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 500; color: var(--mint); text-decoration: none; transition: gap 0.25s ease; }
.link-arrow:hover { gap: 0.75rem; }

/* Sub-page sticky header */
.subnav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--stroke-soft);
}
.subnav .nav-link { color: #fff; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; }
.subnav .nav-link:hover, .subnav .nav-link:focus-visible { color: var(--text); outline: none; }

/* Notice / disclaimer banner */
.notice {
  border: 1px solid var(--stroke-soft); border-radius: 16px;
  background: rgba(4,239,174,0.05); padding: 1rem 1.25rem;
  font-size: 0.92rem; color: var(--muted);
}

/* Long-form prose (legal pages) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; margin: 2.4rem 0 0.8rem; }
.prose h3 { font-size: 1.1rem; font-weight: 600; margin: 1.6rem 0 0.5rem; }
.prose p, .prose li { color: rgba(252,252,252,0.74); line-height: 1.75; }
.prose p { margin: 0.8rem 0; }
.prose ul { margin: 0.8rem 0; padding-left: 1.25rem; }
.prose li { margin: 0.4rem 0; }
.prose a { color: var(--mint); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--text); }
/* Buttons inside prose must keep their own colour, not the prose link colour */
.prose a.btn { text-decoration: none; }
.prose a.btn-primary, .prose a.btn-primary:hover { color: var(--text-dark); }
.prose a.btn-outline { color: var(--text); }
.prose a.btn-outline:hover { color: var(--mint); }
.prose a.link-arrow { text-decoration: none; }

/* Citations / details */
.cite { margin-top: 1.1rem; border-top: 1px solid var(--stroke-soft); padding-top: 0.9rem; }
.cite summary { cursor: pointer; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: var(--mint); list-style: none; }
.cite summary::-webkit-details-marker { display: none; }
.cite summary::before { content: "+ "; }
.cite[open] summary::before { content: "– "; }
.cite ol { margin: 0.7rem 0 0; padding-left: 1.1rem; }
.cite li { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin: 0.35rem 0; }
.cite .edu { display: block; margin-top: 0.6rem; font-size: 0.78rem; color: var(--muted-2); font-style: italic; }

/* Footer */
.site-footer { border-top: 1px solid var(--stroke-soft); background: var(--bg-tertiary); }
.site-footer a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--text); }
.foot-h { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }

/* Mobile sub-page header: keep logo + links + CTA on one line (no wrapping) */
@media (max-width: 600px) {
  .subnav .wrap { padding: 0 1rem; }
  .subnav a[aria-label="Airlift home"] img { height: 2.3rem !important; }
  .subnav nav { gap: 0.95rem !important; }
  .subnav .nav-link { font-size: 0.86rem; }
  .subnav .btn-sm { padding: 0.5rem 0.9rem; font-size: 0.82rem; }
  /* Make room for the "Partner with us" dropdown + Shop button: on narrow
     screens hide the plain top-bar links (still reachable in the footer).
     Targets only direct <a> children, so the dropdown toggle button stays. */
  .subnav nav > a.nav-link { display: none; }
}
@media (max-width: 380px) {
  .subnav .nav-link { font-size: 0.8rem; }
  .subnav nav { gap: 0.75rem !important; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; } }

/* ── "Partner with us" dropdown (sub-nav) ────────────────────────────── */
.nav-dd { position: relative; }
.nav-dd-toggle {
  display: inline-flex; align-items: center; gap: 0.32rem;
  background: none; border: 0; padding: 0; margin: 0; font: inherit; cursor: pointer;
}
.nav-dd-toggle svg { width: 0.8rem; height: 0.8rem; transition: transform 0.25s ease; }
.nav-dd.open .nav-dd-toggle svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 0.7rem); left: 50%;
  transform: translate(-50%, -6px);
  min-width: 210px; max-width: calc(100vw - 1.5rem);
  background: var(--bg-elevated); border: 1px solid var(--stroke-soft);
  border-radius: 14px; padding: 0.45rem; display: grid; gap: 1px;
  opacity: 0; visibility: hidden; z-index: 60;
  box-shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.75);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}
.nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd-menu a {
  display: block; padding: 0.6rem 0.85rem; border-radius: 9px;
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  white-space: nowrap; transition: background 0.18s ease, color 0.18s ease;
}
.nav-dd-menu a:hover, .nav-dd-menu a:focus-visible { background: rgba(4, 239, 174, 0.08); color: var(--text); outline: none; }
@media (prefers-reduced-motion: reduce) { .nav-dd-menu { transition: opacity 0.15s ease, visibility 0.15s; } }
/* Narrow screens: right-anchor the panel so it can't clip off the right edge */
@media (max-width: 600px) {
  .nav-dd-menu { left: auto; right: 0; transform: translateY(-6px); }
  .nav-dd.open .nav-dd-menu { transform: translateY(0); }
}

/* ── Partner / programme pages: shared component layer ───────────────── */
.pp-sec { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.pp-sec-sm { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.pp-tint { background: var(--bg-tertiary); border-top: 1px solid var(--stroke-soft); border-bottom: 1px solid var(--stroke-soft); }
.pp-hero { padding: clamp(2.4rem, 6vw, 4.2rem) 0 clamp(1.8rem, 4vw, 2.8rem); }
.pp-lede { font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.6; color: var(--muted); max-width: 60ch; margin-top: 1.3rem; }
.pp-kicker { max-width: 62ch; color: rgba(252, 252, 252, 0.74); line-height: 1.7; }

.pp-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pp-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pp-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .pp-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.pp-card { background: var(--bg-tertiary); border: 1px solid var(--stroke); border-radius: 18px; padding: 1.6rem; display: flex; flex-direction: column; gap: 0.55rem; }
.pp-card.soft { background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); border-color: var(--stroke-soft); }
.pp-card h3 { margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.pp-card p { margin: 0; color: rgba(252, 252, 252, 0.72); font-size: 0.95rem; line-height: 1.6; }
.pp-card .pp-card-link { margin-top: auto; padding-top: 0.4rem; }
a.pp-card { text-decoration: none; color: inherit; transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease; }
a.pp-card:hover { border-color: var(--mint); transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(4, 239, 174, 0.5); }
a.pp-card:focus-visible { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(4, 239, 174, 0.25); }

.pp-steps { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pp-steps.three { grid-template-columns: repeat(3, 1fr); } }
.pp-step { background: var(--bg-tertiary); border: 1px solid var(--stroke-soft); border-radius: 16px; padding: 1.5rem 1.4rem; }
.pp-step-n { display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 999px; background: var(--accent); color: var(--text-dark); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.8rem; }
.pp-step h3 { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 600; }
.pp-step p { margin: 0; color: rgba(252, 252, 252, 0.72); font-size: 0.92rem; line-height: 1.6; }

.pp-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.85rem; }
.pp-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: rgba(252, 252, 252, 0.78); line-height: 1.6; }
.pp-list li svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--mint); margin-top: 0.12rem; }
.pp-list li strong { color: var(--text); }

.pp-table-wrap { overflow-x: auto; border: 1px solid var(--stroke-soft); border-radius: 16px; }
.pp-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.pp-table th, .pp-table td { text-align: left; padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--stroke-soft); font-size: 0.94rem; }
.pp-table th { color: var(--muted-2); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.72rem; }
.pp-table td { color: rgba(252, 252, 252, 0.82); }
.pp-table tr:last-child td { border-bottom: 0; }
.pp-table strong { color: var(--text); }

.pp-faq { border-top: 1px solid var(--stroke-soft); }
.pp-faq details { border-bottom: 1px solid var(--stroke-soft); }
.pp-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 600; font-size: 1.02rem; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary::after { content: "+"; color: var(--mint); font-size: 1.3rem; line-height: 1; flex: none; }
.pp-faq details[open] summary::after { content: "\2013"; }
.pp-faq details p { margin: 0 0 1.15rem; color: rgba(252, 252, 252, 0.72); line-height: 1.7; max-width: 66ch; }

.pp-claims { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pp-claims { grid-template-columns: 1fr 1fr; } }
.pp-claim { border-radius: 14px; padding: 1.2rem 1.3rem; border: 1px solid var(--stroke-soft); }
.pp-claim.ok { background: rgba(4, 239, 174, 0.06); }
.pp-claim.no { background: rgba(239, 106, 77, 0.08); }
.pp-claim h3, .pp-claim h4 { margin: 0 0 0.5rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pp-claim.ok h3, .pp-claim.ok h4 { color: var(--mint); }
.pp-claim.no h3, .pp-claim.no h4 { color: #ef8b74; }
.pp-claim ul { margin: 0; padding-left: 1.1rem; }
.pp-claim li { color: rgba(252, 252, 252, 0.8); font-size: 0.92rem; line-height: 1.6; margin: 0.4rem 0; }

.pp-stats { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pp-stats.three { grid-template-columns: repeat(3, 1fr); } }
.pp-stat { background: var(--bg-tertiary); border: 1px solid var(--stroke-soft); border-radius: 16px; padding: 1.4rem; }
.pp-stat .n { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; color: var(--mint); line-height: 1; }
.pp-stat p { margin: 0.5rem 0 0; color: rgba(252, 252, 252, 0.72); font-size: 0.9rem; line-height: 1.55; }

.pp-media { border-radius: 18px; overflow: hidden; border: 1px solid var(--stroke-soft); }
.pp-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.pp-form { max-width: 640px; }
.pp-form iframe { width: 100%; min-height: 520px; border: 1px solid var(--stroke-soft); border-radius: 16px; background: var(--bg-elevated); }
.pp-form-fallback { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

/* Placeholder for imagery not yet supplied (keeps layout intact) */
.pp-imgph { background: #0d1512; border: 1px dashed var(--stroke); border-radius: 16px; min-height: 280px; display: grid; place-items: center; text-align: center; color: var(--muted-2); font-size: 0.82rem; padding: 1.5rem; }

/* ── Interactive socials button (footer) ─────────────────────────────── */
.alf-soc { display: flex; flex-direction: column; gap: 0.85rem; }
.alf-soc-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(252, 252, 252, 0.46); }
.alf-soc-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.alf-soc .alf-soc-btn {
  position: relative; width: 40px; height: 40px; flex: none; border-radius: 12px;
  display: grid; place-items: center; text-decoration: none; overflow: hidden;
  color: rgba(252, 252, 252, 0.72); background: #1a2420;
  border: 1px solid rgba(252, 252, 252, 0.12); box-shadow: 0 2px 6px -2px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.25s ease, border-color 0.25s ease, box-shadow 0.35s ease;
}
.alf-soc .alf-soc-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: 0;
  background: linear-gradient(270deg, #02f2aa 30%, #26d2e2 70%); transition: opacity 0.28s ease;
}
.alf-soc .alf-soc-btn > svg { position: relative; z-index: 1; width: 20px; height: 20px; fill: currentColor; display: block; }
.alf-soc .alf-soc-btn:hover, .alf-soc .alf-soc-btn:focus-visible {
  color: #0d1512; border-color: transparent; transform: translateY(-4px);
  box-shadow: 0 14px 28px -10px rgba(4, 239, 174, 0.65); outline: none;
}
.alf-soc .alf-soc-btn:hover::before, .alf-soc .alf-soc-btn:focus-visible::before { opacity: 1; }
.alf-soc .alf-soc-btn:active { transform: translateY(-1px); }
.alf-soc-row:hover .alf-soc-btn { transition-delay: calc(var(--i, 0) * 45ms); }
.alf-soc-row:hover .alf-soc-btn:not(:hover) { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
  .alf-soc .alf-soc-btn { transition: color 0.2s ease, border-color 0.2s ease; }
  .alf-soc .alf-soc-btn:hover, .alf-soc .alf-soc-btn:focus-visible { transform: none; }
  .alf-soc-row:hover .alf-soc-btn:not(:hover) { transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   SITE HEADER — shared with the Tailwind pages (index / shop / science) so the
   header bar is identical everywhere. Requires /assets/tailwind.css to be
   loaded BEFORE this file: the markup uses utility classes for layout, and
   loading Tailwind first lets these rules win any equal-specificity tie.
   ═══════════════════════════════════════════════════════════════════════════ */
.nav { background: var(--bg); border-bottom: 1px solid var(--stroke-soft); transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease; }
.nav.scrolled { background: rgba(13, 21, 18, 0.9); backdrop-filter: blur(14px); border-bottom: 1px solid var(--stroke-soft); }
.nav .nav-link { color: #fff; text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s ease; }
.nav .nav-link:hover { color: var(--text); }
.nav .nav-link:focus-visible { outline: none; color: var(--text); box-shadow: 0 2px 0 0 var(--mint); }

/* hamburger */
/* NB: no `display` here. This file loads after tailwind.css, so a `display` at
   this specificity would beat the utility `.lg\:hidden` and the hamburger would
   stay visible on desktop, squeezing the nav links onto two lines. Hiding above
   the breakpoint is Tailwind's job; we only supply the grid centring below it. */
.hamburger { width: 44px; height: 44px; place-items: center; position: relative; border-radius: 11px; border: 1px solid var(--stroke-soft); background: transparent; cursor: pointer; transition: border-color 0.2s ease; }
@media (max-width: 1023.98px) { .hamburger { display: inline-grid; } }
.hamburger:hover { border-color: var(--mint); }
.hamburger:focus-visible { outline: none; border-color: var(--mint); box-shadow: 0 0 0 3px rgba(4, 239, 174, 0.3); }
.hamburger span { position: absolute; width: 18px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease; }
.hamburger span:nth-child(1) { transform: translateY(-5px); }
.hamburger span:nth-child(3) { transform: translateY(5px); }
.hamburger.open span:nth-child(1) { transform: translateY(0) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(0) rotate(-45deg); }

/* mobile menu */
.mobile-menu { overflow: hidden; max-height: 0; opacity: 0; background: rgba(13, 21, 18, 0.97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--stroke-soft); transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease; }
.mobile-menu.open { max-height: 460px; opacity: 1; }
.mobile-menu a.m-link { display: block; padding: 0.95rem 0; font-size: 1.1rem; font-weight: 500; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--stroke-soft); }
.mobile-menu a.m-link:active { color: var(--mint); }

/* Desktop nav sizing: keep the links + dropdown on one line beside the centred logo */
@media (min-width: 1024px) { #nav .nav-link, #nav .nav-dd-toggle { font-size: 0.875rem; } }
/* 1024-1099px: the full nav can't fit beside the centred logo, so use the
   hamburger menu in that band (full nav returns at >=1100px). */
@media (min-width: 1024px) and (max-width: 1099.98px) {
  #nav .lg\:flex { display: none !important; }
  #nav .lg\:inline-flex { display: none !important; }
  #nav .hamburger { display: inline-grid !important; }
  #nav #mobile-menu { display: block !important; }
}

/* Tailwind Preflight compatibility. Preflight sets `ul { list-style: none }` at
   element specificity; .prose ul only set margin/padding, so prose bullets
   vanished the moment tailwind.css started loading on the content pages. */
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

/* ── Meet-the-team portraits (shared with /shop) ───────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.25rem; }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .team-grid { grid-template-columns: repeat(5, 1fr); gap: 1.6rem; } }
.team-card { margin: 0; text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 22%;
  border-radius: 18px; border: 1px solid var(--stroke-soft); background: var(--bg-tertiary);
  display: block; filter: saturate(0.96);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease, border-color 0.3s ease, filter 0.3s ease;
}
.team-card:hover .team-photo, .team-card:focus-within .team-photo {
  transform: translateY(-5px); border-color: rgba(4, 239, 174, 0.55); filter: saturate(1.05);
  box-shadow: 0 20px 44px -20px rgba(4, 239, 174, 0.55);
}
.team-name { margin: 0.9rem 0 0; font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; color: var(--text); }
.team-role { margin: 0.18rem 0 0; font-size: 0.78rem; line-height: 1.35; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .team-card:hover .team-photo, .team-card:focus-within .team-photo { transform: none; } }
