/* Long Island Convenience — design system
   Built by site/build.mjs; served at /assets/site.css by the lics canvas theme.

   Tokens and measured WCAG contrast (node site/contrast.mjs):
   --ink on --paper               14.68:1  ok (4.5:1)  body text
   --ink on --white               15.90:1  ok (4.5:1)  text on white
   --steel on --paper              6.45:1  ok (4.5:1)  muted text
   --steel on --white              6.98:1  ok (4.5:1)  muted text on white
   --white on --signal             4.99:1  ok (4.5:1)  primary button, CTA band
   --white on --signal-dark        6.54:1  ok (4.5:1)  primary button hover
   --signal-dark on --white        6.54:1  ok (4.5:1)  shelf-tag flag
   --white on --night             17.68:1  ok (4.5:1)  text on night
   --mist on --night              10.73:1  ok (4.5:1)  body text on night
   --mist on --night-2             9.11:1  ok (4.5:1)  night tag size
   --ink on --tag                 11.16:1  ok (3:1)  aisle icon on yellow
   --signal on --white             4.99:1  ok (3:1)  focus ring / icons
   --tag on --night               12.41:1  ok (3:1)  focus ring on night

   Type: Big Shoulders (display, signage) + Instrument Sans (body, labels).
   One primary colour per view: signal red for "Get directions". Tag yellow only marks shelf tags. */

:root {
  --night: #10182b; --night-2: #1b2640; --night-line: #2b3753;
  --paper: #f4f6f8; --white: #ffffff; --ink: #1a2233; --steel: #4f5a6b; --line: #dde2e8;
  --mist: #c3cad6;                      /* body text on night */
  --signal: #d23126; --signal-dark: #b3261c;
  --tag: #ffd43b; --shelf: #c6cdd7; --shelf-edge: #a3adbb;
  --display: "Big Shoulders", "Arial Narrow", sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 6px; --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--body); }
img, svg, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }
.sec--night :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .cta-band :focus-visible { outline-color: var(--tag); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.ico { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: var(--r);
       font: 600 16px/1 var(--body); text-decoration: none; border: 2px solid transparent; white-space: nowrap; }
.btn--primary { background: var(--signal); color: #fff; }
.btn--primary:hover { background: var(--signal-dark); }
.btn--secondary { background: var(--white); color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--night); color: var(--mist); font-size: 14px; }
.topbar__in { display: flex; align-items: center; gap: 24px; min-height: 40px; }
.topbar p { display: flex; align-items: center; gap: 8px; margin: 0; }
.topbar strong { color: #fff; font-weight: 600; }
.topbar .ico { width: 16px; height: 16px; color: var(--tag); }
.topbar__link { margin-left: auto; color: #fff; font-weight: 600; display: inline-flex; align-items: center; min-height: 40px; }
@media (max-width: 760px) { .topbar__link { display: none; } }   /* the bottom bar carries directions on phones */
@media (max-width: 760px) { .topbar p.topbar__addr { display: none; } }

.site-header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__in { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand__logo { height: 46px; width: auto; }
.brand__sub { fill: var(--steel); }
.brand--light { color: #fff; }
.brand--light .brand__sub { fill: var(--mist); }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.nav__link:hover, .nav__link[aria-current="page"] { background: var(--paper); }
.site-header__cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 2px solid var(--ink); border-radius: var(--r);
               background: #fff; color: var(--ink); font: 600 15px var(--body); cursor: pointer; }
@media (max-width: 860px) {
  .site-header__in { gap: 12px; min-height: 64px; }
  .brand__logo { height: 38px; }
  .site-header__cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; }
  .nav__list { display: none; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav__list.open { display: flex; }
  .nav__link { min-height: 52px; font-size: 18px; }
  .site-header__cta { margin-left: auto; }
}

/* ---------- hero: the one loud thing ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff;
        min-height: min(84svh, 800px); display: flex; align-items: flex-end; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(16,24,43,.95) 0%, rgba(16,24,43,.82) 50%, rgba(16,24,43,.55) 100%),
              linear-gradient(0deg, rgba(16,24,43,.9) 0%, rgba(16,24,43,0) 50%); }
.hero--plain { min-height: 0; }
.hero__in { width: 100%; padding-top: 112px; padding-bottom: 60px; }
.hero--plain .hero__in { padding-top: 72px; }
.hero__status { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 5px rgba(61,220,132,.24); }
.hero h1 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .86; letter-spacing: -.005em;
           font-size: clamp(64px, 25vw, 172px); margin-bottom: 20px; }
@media (min-width: 761px) { .hero h1 { font-size: clamp(64px, 13vw, 172px); } }
@media (max-width: 760px) { .hero__in { padding-top: 48px; } }
/* The "24" set as the logo's lit box sign; flickers on once (under 1 s), off for reduced motion. */
.lit { display: inline-block; font-weight: inherit; background: var(--signal); color: #fff; padding: 0 .08em; border-radius: .06em;
       box-shadow: 0 0 0 .03em #fff inset, 0 0 .35em rgba(210,49,38,.55); animation: sign-on .9s steps(1) .3s both; }
@keyframes sign-on { 0% { opacity: .25; } 20% { opacity: 1; } 30% { opacity: .4; } 45%, 100% { opacity: 1; } }
/* The logo's "24" lights up with the hero's (same timing, once), and again on hover. */
.brand__num { animation: sign-on .9s steps(1) .3s both; }
.brand:hover .brand__num { animation: sign-on-again .9s steps(1) both; }
@keyframes sign-on-again { 0% { opacity: .25; } 20% { opacity: 1; } 30% { opacity: .4; } 45%, 100% { opacity: 1; } }
.hero h1 span { display: block; margin-top: 14px; font-size: .3em; font-weight: 700; line-height: 1.05; letter-spacing: .01em; }
.hero__lede { max-width: 34em; font-size: clamp(17px, 2vw, 20px); color: #dfe3ea; margin-bottom: 26px; }
.hero__note { margin: 22px 0 0; color: var(--mist); font-size: 15px; max-width: 42em; }

/* ---------- reasons band: ruled, not cards ---------- */
.reasons { background: var(--white); border-bottom: 1px solid var(--line); }
.reasons ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.reasons li { padding: 28px 24px 30px; border-left: 1px solid var(--line); }
.reasons li:first-child { border-left: 0; padding-left: 0; }
.reasons b { display: block; font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1; margin-bottom: 8px; }
.reasons span { color: var(--steel); font-size: 15px; }
.reasons a { display: block; height: 100%; text-decoration: none; color: inherit; }
.reasons a:hover b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .reasons ul { grid-template-columns: 1fr 1fr; }
  .reasons li:nth-child(3) { border-left: 0; padding-left: 0; }
  .reasons li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .reasons ul { grid-template-columns: 1fr; }
  .reasons li, .reasons li:nth-child(3) { border-left: 0; padding: 18px 0; }
  .reasons li + li { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
.sec { padding: 72px 0; }
.sec--tint { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--night { background: var(--night); color: #fff; }
.sec--night p { color: var(--mist); }
.sec__head { max-width: 760px; margin-bottom: 32px; }
.sec h2, .phead h1, .cta-band h2, .sec__head h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .92; text-wrap: balance; }
.nowrap { white-space: nowrap; }
.sec h2 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 14px; }
.sec__head p { color: var(--steel); font-size: 18px; margin: 0; }
.sec__cta { margin-top: 28px; }
.sec--lead h2 { font-size: clamp(48px, 9vw, 104px); }
.visit h2 { font-size: clamp(36px, 4.5vw, 52px); }
@media (min-width: 761px) { .sec--night { padding: 96px 0; } }
@media (max-width: 560px) { .sec { padding: 52px 0; } }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

/* Aisle signs: navy header plate hung over a white body, like the signs above store aisles. */
.aisles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
@media (min-width: 1000px) { .aisles { grid-template-columns: repeat(4, 1fr); } }
.aisle { display: grid; grid-template-rows: auto auto 1fr auto; text-decoration: none; color: var(--ink); background: var(--white);
         border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.aisle__icon { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--tag); color: var(--ink); }
.aisle__icon .ico { width: 20px; height: 20px; }
.aisle__name { display: flex; align-items: center; gap: 12px; background: var(--night); color: #fff; padding: 10px 14px;
               font: 800 24px/1 var(--display); text-transform: uppercase; }
.aisle__line { padding: 14px 16px 6px; color: var(--steel); font-size: 15px; }
/* Two framed packs standing on a shelf lip under the aisle sign. */
.aisle__shelf { display: grid; grid-template-columns: repeat(auto-fit, 104px); justify-content: center; gap: 8px; align-items: end; margin: 8px 16px 12px; padding-bottom: 6px;
                border-bottom: 6px solid var(--shelf); min-height: 116px; }
.aisle__shelf img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 3px; padding: 4px; }
/* No clean photo: the aisle's first products as mini shelf tags. */
.aisle__shelf--names { display: flex; flex-wrap: wrap; gap: 6px; align-content: end; justify-content: flex-start; }
.aisle__shelf--names span { position: relative; padding: 6px 8px 6px 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 13px/1.2 var(--body); }
.aisle__shelf--names span::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tag); }
/* The 12th cell: everything we carry (navy, keeping red for the one primary action). */
.aisle--all { background: var(--night); color: #fff; border-color: var(--night); grid-template-rows: auto 1fr auto; }
.aisle--all .aisle__name { background: var(--night-2); }
.aisle__big { font: 900 96px/1 var(--display); padding: 12px 16px; align-self: center; }
.aisle--all .aisle__count { color: #fff; }
.aisle--all:hover .aisle__name { background: var(--signal); }
@media (max-width: 560px) {
  .aisles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .aisle__name { font-size: 18px; padding: 8px 10px; min-height: 52px; }
  .aisle__icon, .aisle__line { display: none; }
  .aisle__shelf { grid-template-columns: 1fr; margin: 10px 10px 8px; min-height: 110px; }
  .aisle__shelf img:not(:first-child) { display: none; }
  .aisle__shelf img { height: 110px; width: auto; justify-self: center; }
  .aisle__shelf--names { display: flex; }
  .aisle__shelf--names span:nth-child(n+3) { display: none; }
  .aisle__count { padding: 0 10px 12px; }
  .aisle__big { font-size: 64px; }
}
.aisle__count { padding: 0 16px 16px; font-weight: 600; font-size: 14px; color: var(--ink); }
.aisle:hover { border-color: var(--ink); }
.aisle:hover .aisle__name { background: var(--signal); }

/* Facings: every clean pack shot in one full-bleed shelf row (swipe; never auto-scrolls). */
.facings { background: var(--white); border-bottom: 10px solid var(--shelf); box-shadow: 0 1px 0 var(--shelf-edge); }
.facings ul { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: 20px; scrollbar-width: none; }
.facings ul::-webkit-scrollbar { display: none; }
.facings li { flex: none; scroll-snap-align: start; }
.facings img { width: 120px; height: 120px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 3px; padding: 6px; }
@media (max-width: 560px) { .facings img { width: 96px; height: 96px; } }

/* Shelf tags: white labels with the yellow price-tag stripe, sitting on a steel shelf lip. */
.shelf { list-style: none; margin: 0; padding: 0 0 14px; display: grid; gap: 10px;
         grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
         border-bottom: 10px solid var(--shelf); box-shadow: 0 1px 0 var(--shelf-edge), 0 10px 16px -12px rgba(26,34,51,.4); }
.tag { position: relative; padding: 12px 12px 11px 17px; background: var(--white); border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line); }
.tag::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--tag); border-radius: 3px 0 0 3px; }
.tag__name { display: block; font-weight: 600; font-size: 15px; line-height: 1.25; }
.tag__size { display: block; color: var(--steel); font-size: 13px; margin-top: 2px; }
.tag__flag { display: inline-block; margin: 6px 6px 0 0; font-size: 12px; font-weight: 700; color: var(--signal-dark); }
/* With a photo, the pack sits on the shelf and the tag runs underneath it. */
.tag--photo { padding: 0 0 11px; overflow: hidden; }
.tag--photo::before { top: auto; height: 5px; width: auto; right: 0; border-radius: 0; }
.tag__img { display: block; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.tag__img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.tag__img--none { display: grid; place-items: center; background: var(--paper); color: var(--shelf-edge); }
.tag__img--none .ico { width: 34%; height: 34%; stroke-width: 1.5; }
.tag--photo .tag__name, .tag--photo .tag__size, .tag--photo .tag__flag { margin-left: 12px; margin-right: 12px; }
.tag--photo .tag__flag { margin-bottom: 4px; }
.shelf--night { border-bottom-color: var(--night-line); box-shadow: none; }
.shelf--night .tag { background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line); }
.shelf--night .tag__name { color: #fff; }
.shelf--night .tag__size { color: var(--mist); }
.shelf--night .tag__flag { display: none; }
.shelf--night .tag__img { border-bottom-color: var(--night-line); }
.shelf--four { grid-template-columns: repeat(4, 1fr); }
.shelf + .shelf--text { margin-top: 18px; }
@media (max-width: 1000px) { .shelf--four { grid-template-columns: repeat(2, 1fr); } }
.shelf--night .tag__img--none { background: var(--night); color: var(--night-line); }
@media (max-width: 560px) { .shelf { grid-template-columns: 1fr 1fr; } }

/* ---------- page head, jump nav, aisle sections ---------- */
.phead { background: var(--white); border-bottom: 1px solid var(--line); padding: 36px 0 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--steel); margin-bottom: 18px; }
.crumbs a { color: var(--ink); display: inline-flex; align-items: center; min-height: 44px; }
.crumbs { align-items: center; }
.phead h1 { font-size: clamp(52px, 9vw, 104px); margin-bottom: 14px; }
.phead__lede { max-width: 40em; font-size: 19px; color: var(--steel); margin-bottom: 22px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 22px 0 0; padding: 0; font-size: 15px; font-weight: 500; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .ico { width: 18px; height: 18px; color: var(--signal); }
.jump { position: sticky; top: 77px; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.jump ul { display: flex; gap: 8px; overflow-x: auto; list-style: none; margin: 0 auto; padding: 6px 20px; max-width: var(--wrap); scrollbar-width: none; }
.jump ul::-webkit-scrollbar { display: none; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--white);
          border: 1.5px solid var(--line); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; }
.jump a:hover { border-color: var(--ink); }
@media (max-width: 860px) { .jump { top: 65px; } html { scroll-padding-top: 128px; } }
.shelves { padding-top: 16px; padding-bottom: 64px; }
.aisle-sec { padding-top: 40px; }
.aisle-sec__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.aisle-sec__head h2 { font: 900 34px/1 var(--display); text-transform: uppercase; }
.aisle-sec__head p { margin: 2px 0 0; color: var(--steel); font-size: 15px; }
.aisle-sec__head .aisle__count { margin-left: auto; padding: 0; color: var(--steel); white-space: nowrap; }
.shelves__note { margin-top: 40px; color: var(--steel); }

/* ---------- visit, map, cards, faq ---------- */
.visit { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; gap: 28px; } }
.visit__addr { font-size: 19px; }
.visit__hours, .side-card__hours, .side-card__note { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.visit__hours .ico, .side-card .ico { color: var(--signal); }
.map-card { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.map-card iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }
.page-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; padding: 40px 20px 64px; align-items: start; }
@media (max-width: 900px) { .page-grid { grid-template-columns: 1fr; } }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.side-card h2 { display: flex; align-items: center; gap: 10px; font: 900 28px/1 var(--display); text-transform: uppercase; margin-bottom: 14px; }
.side-card__note { font-weight: 500; color: var(--steel); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 19px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 900 30px/.7 var(--display); color: var(--signal); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--steel); margin: -6px 0 20px; max-width: 44em; }

/* Store news (home, via [lics_news]) and the closing links on every post. */
.news__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.news__item a { display: grid; gap: 8px; height: 100%; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--ink);
                border-radius: var(--r); text-decoration: none; }
.news__item a:hover { border-color: var(--ink); }
.news__item time { font-size: 14px; color: var(--steel); }
.news__title { font-weight: 700; font-size: 19px; line-height: 1.3; }
.news__desc { color: var(--steel); font-size: 15px; }
.post-more { background: var(--white); border-top: 1px solid var(--line); padding: 48px 0 56px; margin-top: 48px; }
.post-more h2 { font: 900 clamp(32px, 4vw, 44px)/1 var(--display); text-transform: uppercase; margin-bottom: 10px; }
.post-more p { color: var(--steel); }

.credits { padding-top: 36px; padding-bottom: 64px; }
.credits table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 15px; }
.credits th, .credits td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits th { font-weight: 700; }
.credits a { color: var(--ink); }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--signal); color: #fff; padding: 52px 0; }
.cta-band__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 8px; }
.cta-band p { margin: 0; color: #fff; max-width: 40em; }
.site-footer { background: var(--night); color: var(--mist); padding: 56px 0 28px; font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__grid > div:first-child { grid-column: 1 / -1; } }
.site-footer__tag { margin-top: 16px; max-width: 30em; }
.site-footer__h { font: 800 18px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.site-footer li a, .site-footer p a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.site-footer__legal { border-top: 1px solid var(--night-line); margin: 40px 0 0; padding-top: 20px; font-size: 14px; }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
          background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -12px rgba(26,34,51,.4); }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; font-weight: 700; text-decoration: none; }
  .mbar__dir { background: var(--signal); color: #fff; }
  .mbar__carry { color: var(--ink); }
  body { padding-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mbar { transition: none; } }

/* Phone hero: text runs nearly full width, so the scrim must be strong across it (measured on real video
   pixels by the UX review 2026-10-25: lede was 1.77:1 on the brightest frame; this gives 5.56:1). */
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(0deg, rgba(16,24,43,.92) 0%, rgba(16,24,43,.74) 55%, rgba(16,24,43,.66) 100%); }
  .phead--carry .facts { display: none; }
}
.mbar { transition: transform .2s; }
.mbar--hide { transform: translateY(100%); }

@media (max-width: 560px) { .hero .btn { flex: 1 1 100%; justify-content: center; min-height: 56px; } }
@media (prefers-reduced-motion: reduce) { .lit, .brand__num, .brand:hover .brand__num { animation: none; } }
