/* Protege Punta Bandera — shared styles */

:root {
  --sky: #6ccbeb;
  --sky-soft: #e8f7fc;
  --deep: #0d3b52;
  --ink: #10202b;
  --muted: #4d5f6b;
  --sand: #f8dca8;
  --sand-soft: #fdf5e4;
  --paper: #fffdf8;
  --line: #e6dfcd;
  --teal: #0fb5a8;
  --teal-deep: #0a8c82;
  --coral: #ff5a4e;
  --coral-deep: #e13b30;
  --radius: 16px;
  --maxw: 1120px;
  --font-head: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: #0a2a3b; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 4px; }

/* Language switching: hide whichever language is inactive */
html[lang="es"] [data-lang="en"],
html[lang="en"] [data-lang="es"] { display: none !important; }

.container { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--deep); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--deep); margin-bottom: .75rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 112px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 900; line-height: 1; text-transform: uppercase; }
.brand svg { width: 38px; height: auto; flex: none; border-radius: 3px; }
.brand img.brand-mark { height: 88px; width: auto; flex: none; border-radius: 4px; }
.brand span { font-size: 1.15rem; letter-spacing: .01em; }
.brand small { display: block; font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .16em; color: var(--muted); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; align-items: center; }
.nav a, .nav button.nav-link { white-space: nowrap; font: inherit; font-size: .95rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: .5rem .7rem; border-radius: 999px; background: none; border: 0; cursor: pointer; display: inline-block; }
.nav a:hover, .nav button.nav-link:hover, .nav a[aria-current="page"] { background: var(--sky-soft); }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: 0; min-width: 260px; list-style: none; margin: 0; padding: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 40px rgba(13, 59, 82, .14); display: none; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
.sub a { display: block; border-radius: 10px; }

.nav .btn { margin-left: .35rem; }

/* CTA pair: solid, pill-shaped to match the site's other buttons, bold uppercase, letter-spaced —
   teal for Join, coral for Donate, pulled from the reef photos so they still feel on-brand. */
.cta-pair { display: flex; gap: .6rem; margin-left: .75rem; }
/* Doubled class selectors are a deliberate specificity boost so these always win
   over the generic ".nav a" link styling when a CTA sits inside the header nav. */
.btn-block.btn-block { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; padding: .8rem 1.6rem; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn-block-join.btn-block-join { background: linear-gradient(135deg, #14597a, var(--deep)); color: #fff; }
.btn-block-join.btn-block-join:hover { background: linear-gradient(135deg, #1a6e96, #14597a); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 59, 82, .35); }
.btn-block-donate.btn-block-donate { background: linear-gradient(135deg, var(--coral), var(--coral-deep)); color: #fff; }
.btn-block-donate.btn-block-donate:hover { background: linear-gradient(135deg, #ff7166, var(--coral)); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(225, 59, 48, .35); }
@media (max-width: 1100px) { .cta-pair { flex-direction: column; gap: .5rem; width: 100%; margin: .75rem 0 0; } .btn-block.btn-block { width: 100%; text-align: center; padding: .9rem 1.2rem; } .btn-block.btn-block:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .btn-block.btn-block:hover { transform: none; } }
.lang-toggle { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; margin-left: .35rem; }
.lang-toggle button { font: inherit; font-size: .8rem; font-weight: 800; letter-spacing: .05em; padding: .35rem .65rem; border: 0; background: transparent; color: var(--ink); cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; font: inherit; font-weight: 700; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: .4rem .9rem; cursor: pointer; }

@media (max-width: 1100px) {
  .menu-btn { display: inline-block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem; flex-direction: column; align-items: stretch; display: none; max-height: calc(100vh - 112px); overflow: auto; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.nav-link { display: block; padding: .7rem .8rem; }
  .sub { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 1rem; min-width: 0; background: none; }
  .nav .btn { margin: .5rem 0 0; text-align: center; }
  .lang-toggle { align-self: flex-start; margin: .75rem 0 0; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--font-head); font-weight: 800; font-size: .95rem; letter-spacing: .02em; text-decoration: none; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); background: #000; color: #fff; }
.btn-sky { background: var(--sky); color: var(--ink); border-color: var(--ink); }
.btn-sky:hover { background: #8dd8f1; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.nav .btn { padding: .5rem 1.1rem; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; min-height: min(88vh, 760px); display: flex; align-items: center; justify-content: center; text-align: center; background: var(--deep) center / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 40, 58, .35) 0%, rgba(8, 40, 58, .25) 45%, rgba(8, 40, 58, .55) 100%); }
.hero .container { padding-block: 4rem; }
.hero h1 { text-transform: uppercase; white-space: nowrap; font-size: clamp(1.6rem, 4.6vw, 3.8rem); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
@media (max-width: 420px) { .hero h1 { white-space: normal; } }
.hero h1 em { font-style: normal; color: #fff; }
.hero p { font-size: clamp(1.05rem, 1.9vw, 1.4rem); max-width: 68ch; margin-inline: auto; white-space: nowrap; color: #f2fbff; }
@media (max-width: 760px) { .hero p { white-space: normal; } }
.hero .btn-row { justify-content: center; }
.hero .credit { position: absolute; right: 1rem; bottom: .6rem; font-size: .72rem; opacity: .75; }

.page-hero { background: var(--sky-soft); border-bottom: 1px solid var(--line); padding: 4rem 0 3rem; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); text-transform: uppercase; margin-bottom: .35em; }
.page-hero .lead { margin: 0; }
.crumbs { font-size: .85rem; margin-bottom: 1rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-sky { background: var(--sky-soft); }
.section-sand { background: var(--sand-soft); }
.section-deep { background: var(--deep); color: #eaf7fd; }
.section-deep h2, .section-deep h3 { color: #fff; }
.section-deep a { color: var(--sky); }
.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4em; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13, 59, 82, .12); }
.card .more { margin-top: auto; padding-top: 1rem; font-family: var(--font-head); font-weight: 800; color: var(--deep); }
.card-img { padding: 0; overflow: hidden; }
.card-img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card-img .card-body { padding: 1.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }

/* Why protect: numbered reasons */
.reasons { counter-reset: r; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding: 0; list-style: none; margin: 0; }
.reasons li { counter-increment: r; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem 1.25rem 4.4rem; position: relative; }
.reasons li::before { content: counter(r); position: absolute; left: 1.1rem; top: 1rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: var(--sky); border-radius: 50%; font-family: var(--font-head); font-weight: 900; }

/* Photos */
.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .5rem; }
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery img { border-radius: 12px; width: 100%; }
.gallery figcaption { font-size: .8rem; color: var(--muted); margin-top: .35rem; }
/* Homepage gallery: three explicit columns so the tall middle photo sits in the center */
.gallery.gallery-3 { columns: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.gallery-3 .gallery-col { display: flex; flex-direction: column; gap: 1rem; }
.gallery-3 figure { margin: 0; }
@media (max-width: 640px) { .gallery.gallery-3 { grid-template-columns: 1fr; } }
.photo-credit { font-size: .85rem; color: var(--muted); }

/* Placeholder notes for content still to be filled in */
.todo { border: 2px dashed #d99a2b; background: #fff8e6; color: #5a3d00; border-radius: 12px; padding: 1rem 1.25rem; font-size: .95rem; margin: 1.25rem 0; }
.todo strong { text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; display: block; margin-bottom: .25rem; }

.callout { background: var(--sand); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.callout h3 { margin-bottom: .3em; }
.callout p:last-child { margin-bottom: 0; }

/* Status banner (home) */
.status { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem 1.5rem; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius); padding: 1.4rem 1.75rem; }
.status .tag { background: var(--sky); color: var(--ink); font-family: var(--font-head); font-weight: 800; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; }
.status p { margin: 0; }
@media (max-width: 800px) { .status { grid-template-columns: 1fr; } }

/* Timeline (legal history) */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--sky); }
.timeline > li { position: relative; padding: 0 0 2.5rem 1.5rem; }
.timeline > li::before { content: ""; position: absolute; left: -2.15rem; top: .35rem; width: 1.1rem; height: 1.1rem; background: var(--paper); border: 3px solid var(--deep); border-radius: 50%; }
.timeline time { font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); }
.timeline h3 { margin: .2rem 0 .5rem; }

.subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2rem; padding: 0; list-style: none; }
.subnav a { display: inline-block; padding: .45rem 1rem; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--ink); background: #fff; }
.subnav a:hover { background: var(--ink); color: #fff; }
.anchor-section { scroll-margin-top: 130px; }

.doclist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.doclist a { display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem 1.1rem; text-decoration: none; font-weight: 500; }
.doclist a:hover { border-color: var(--deep); background: var(--sky-soft); }
.doclist a::before { content: "PDF"; flex: none; font-family: var(--font-head); font-weight: 800; font-size: .7rem; background: var(--ink); color: #fff; border-radius: 6px; padding: .2rem .45rem; }
.doclist a.ext::before { content: "↗"; font-size: .9rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; background: var(--sand-soft); }
tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 900; }
.stat span { color: var(--muted); font-size: .9rem; }

.pay-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.pay-box h3 { margin-bottom: .25em; }
.pay-box dl { margin: 1rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1rem; }
.pay-box dt { font-weight: 700; }
.pay-box dd { margin: 0; }

/* Embedded video (16:9) */
.video-embed { position: relative; width: 100%; max-width: 860px; aspect-ratio: 16 / 9; margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* GoFundMe campaign card (Donations page) */
.gfm-card { display: flex; align-items: center; gap: 1.5rem 2rem; margin-top: 1.25rem; padding: 1.5rem 1.75rem; background: #fff; border: 1px solid var(--line); border-left: 6px solid #4A9D44; border-radius: var(--radius); color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.gfm-card:hover { color: inherit; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(13, 59, 82, .12); }
.gfm-logo { width: 140px; height: auto; flex: none; }
.gfm-text { flex: 1; }
.gfm-text h3 { margin-bottom: .2em; }
.gfm-text p { margin: 0; color: var(--muted); }
.gfm-card .more { flex: none; font-family: var(--font-head); font-weight: 800; color: var(--deep); }
@media (max-width: 640px) { .gfm-card { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .gfm-card { transition: none; } }

/* Social links band (Contact page) */
.social-band + .section { border-top: 1px solid var(--line); }
.social-head { max-width: 62ch; margin-bottom: 2rem; }
.social-head h2 { margin-bottom: .4em; }
.social-head p { margin: 0; color: var(--muted); }
.social-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem 2rem; }
.social-item { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.5rem 0 0; border-top: 2px solid var(--deep); color: var(--deep); text-decoration: none; }
.social-item svg { flex: none; }
.social-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--ink); }
.social-item p { margin: 0; color: var(--ink); }
.social-link { margin-top: auto; padding-top: .5rem; font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.social-item:hover .social-link { color: var(--coral-deep); }
.social-item:focus-visible { outline: 3px solid var(--deep); outline-offset: 4px; }

/* ---------- Footer ---------- */
.newsletter { background: var(--sky); padding: 3rem 0; }
.newsletter .inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 800px) { .newsletter .inner { grid-template-columns: 1fr; } }
.newsletter h2 { text-transform: uppercase; margin-bottom: .25em; }
.newsletter p { margin: 0; }
.nl-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.nl-form input[type="email"] { flex: 1 1 220px; font: inherit; padding: .8rem 1.1rem; border-radius: 999px; border: 2px solid var(--ink); background: #fff; }
.nl-msg { flex-basis: 100%; font-size: .9rem; min-height: 1.3em; }

.site-footer { background: var(--ink); color: #cfe0e9; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer .brand { color: #fff; margin-bottom: .8rem; }
.site-footer .brand small { color: #9db4c1; }
.copyright { border-top: 1px solid rgba(255,255,255,.15); padding-top: 1.25rem; font-size: .85rem; color: #9db4c1; }

/* ---------- "Cómo puedes ayudar" side tab ----------
   Phones: full-width bar along the bottom, panel slides up.
   768px and wider: vertical tab on the right edge, panel slides in from the right. */
:root { --help-red: #c8202b; --help-red-deep: #a01822; --help-w: 100vw; --help-bar: 46px; }
.help-tab { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; height: var(--help-bar); padding: 0 1.25rem; border: 0; background: var(--help-red); color: #fff; font-family: var(--font-head); font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background .2s ease, right .35s ease; }
.help-tab:hover { background: var(--help-red-deep); }
.help-tab:focus-visible { outline: 3px solid var(--deep); outline-offset: 2px; }
.help-tab > span { display: inline-flex; align-items: center; gap: .6rem; }
.help-tab .help-close, .help-tab.open .help-open { display: none; }
.help-tab.open .help-close { display: inline-flex; }
.help-tab.open svg { transform: rotate(180deg); }

.help-panel { position: fixed; left: 0; right: 0; bottom: var(--help-bar); z-index: 60; max-height: calc(100dvh - var(--help-bar)); overflow-y: auto; background: #fff; color: var(--ink); box-shadow: 0 -8px 30px rgba(13, 59, 82, .2); transform: translateY(calc(100% + var(--help-bar))); visibility: hidden; transition: transform .35s ease, visibility .35s; }
.help-panel.open { transform: none; visibility: visible; }
.help-panel figure { margin: 0; position: relative; }
.help-panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.help-panel figcaption { position: absolute; right: .6rem; bottom: .4rem; font-size: .72rem; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.help-copy { padding: 1.5rem 1.25rem; }
.help-copy h2 { font-size: 1.6rem; text-transform: uppercase; }
.help-cta { display: inline-block; margin-top: .25rem; padding: .85rem 1.6rem; border-radius: 999px; background: var(--help-red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .9rem; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; transition: background .2s ease; }
.help-cta:hover { background: var(--help-red-deep); color: #fff; }

@media (max-width: 767px) { body { padding-bottom: var(--help-bar); } }

@media (min-width: 768px) {
  :root { --help-w: 440px; }
  .help-tab { left: auto; right: 0; bottom: 280px; transform: rotate(-90deg); transform-origin: right bottom; border-radius: 8px 8px 0 0; }
  .help-tab.open { right: var(--help-w); }
  .help-panel { left: auto; right: 0; bottom: 0; width: var(--help-w); max-height: 100dvh; box-shadow: -8px 0 30px rgba(13, 59, 82, .2); transform: translateX(100%); }
  .help-copy { padding: 2rem 2.25rem 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, a.card, .help-tab, .help-panel, .help-cta { transition: none; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 84px; }
  .brand img.brand-mark { height: 64px; }
  .brand span { font-size: .95rem; }
  .brand small { font-size: .62rem; }
  .nav { max-height: calc(100vh - 84px); }
}
