/* /css/base.css */
/* ==========================================================================
   Nafas homepage rebuild: base layer
   Breakpoints copied from Framer:
     desktop  >= 1440px
     tablet   810px to 1439.98px
     phone    <= 809.98px
   ========================================================================== */

/* Fonts: same woff2 files the live site serves from framerusercontent, with live's @font-face descriptors
   (each named family also declares its true weight, so text set at that weight is never faux-bolded: faux bold renders
   wider in Safari than in Chrome). Live declares Regular, Medium, Bold and Light Italic twice (descriptor-less and
   weighted) and Semibold Italic / Heavy Italic only at their weight; copied as is. */
@font-face { font-family: "SF Pro Display Regular"; src: url("/assets/fonts/sf-pro-display-regular.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "SF Pro Display Regular"; src: url("/assets/fonts/sf-pro-display-regular.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400; }
@font-face { font-family: "SF Pro Display Medium"; src: url("/assets/fonts/sf-pro-display-medium.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "SF Pro Display Medium"; src: url("/assets/fonts/sf-pro-display-medium.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 500; }
@font-face { font-family: "SF Pro Display Bold"; src: url("/assets/fonts/sf-pro-display-bold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "SF Pro Display Bold"; src: url("/assets/fonts/sf-pro-display-bold.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 700; }
@font-face { font-family: "SF Pro Display Light Italic"; src: url("/assets/fonts/sf-pro-display-light-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "SF Pro Display Light Italic"; src: url("/assets/fonts/sf-pro-display-light-italic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 300; }
@font-face { font-family: "SF Pro Display Semibold Italic"; src: url("/assets/fonts/sf-pro-display-semibold-italic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 600; }
@font-face { font-family: "SF Pro Display Heavy Italic"; src: url("/assets/fonts/sf-pro-display-heavy-italic.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 800; }
/* Fallback for the SF Pro Text stacks copied from live: visitors without SF Pro Text installed get Inter (Danny,
   2026-10-19) in every browser; the variable file covers every weight the stacks ask for (400 / 500 / 600). */
@font-face { font-family: "Nafas Inter"; src: url("/assets/fonts/inter-variable-latin.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 100 900; }

:root {
  /* Framer colour tokens */
  --nf-white: #fff;
  --nf-green: #91c851;
  --nf-black: #000;
  --nf-grey-9e: #9e9e9e;
  --nf-grey-f5: #f5f5f5;
  --nf-grey-61: #616161;

  /* Font stacks exactly as computed on nafas.com */
  --nf-font-regular: "SF Pro Display Regular", -apple-system, "system-ui", sans-serif;
  --nf-font-medium: "SF Pro Display Medium", -apple-system, "system-ui", sans-serif;
  --nf-font-bold: "SF Pro Display Bold", -apple-system, "system-ui", sans-serif;
  --nf-font-semibold-italic: "SF Pro Display Semibold Italic", -apple-system, "system-ui", sans-serif;
  --nf-font-sf-display: "SF Pro Display", -apple-system, "system-ui", sans-serif;
  --nf-font-sfns-text: SFProText-Regular, "SF Pro Text", "Nafas Inter", sans-serif;
  --nf-font-sfns-display: SFProDisplay-Regular, "SF Pro Display", "SF Pro Display Regular", sans-serif;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Framer reset */
html, body { box-sizing: border-box; margin: 0; padding: 0; }
* { box-sizing: border-box; -webkit-font-smoothing: inherit; }
h1, h2, h3, h4, h5, h6, p, figure { margin: 0; }
body, input, textarea, select, button { font-family: sans-serif; font-size: 12px; }
body { background: var(--nf-white); }
a { color: inherit; text-decoration: none; }
img, video, svg { display: block; }
ul { list-style: none; margin: 0; padding: 0; }
button { all: unset; cursor: pointer; }

/* Page column: Framer stacks sections in one centred flex column */
.nf-page { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; background: var(--nf-white); }
.nf-page > section, .nf-page > footer { width: 100%; }
/* <main class="nf-main"> holds the page content between the menu and the footer, laid out like .nf-page */
.nf-main { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
.nf-main > section { width: 100%; }

/* Breakpoint visibility helpers (for sections whose markup differs per breakpoint) */
@media (min-width: 1440px) { .nf-hide-desktop { display: none !important; } }
@media (min-width: 810px) and (max-width: 1439.98px) { .nf-hide-tablet { display: none !important; } }
@media (max-width: 809.98px) { .nf-hide-phone { display: none !important; } }

/* Scroll reveal: elements start hidden and fade in when they enter the viewport.
   Each section sets its own --nf-reveal-* values to match the live timing. */
[data-reveal] {
  opacity: var(--nf-reveal-from-opacity, 0);
  transform: var(--nf-reveal-from-transform, none);
  transition: opacity var(--nf-reveal-duration, 0.6s) var(--nf-reveal-ease, ease) var(--nf-reveal-delay, 0s),
              transform var(--nf-reveal-duration, 0.6s) var(--nf-reveal-ease, ease) var(--nf-reveal-delay, 0s),
              filter var(--nf-reveal-duration, 0.6s) var(--nf-reveal-ease, ease) var(--nf-reveal-delay, 0s);
}
[data-reveal].is-revealed { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Bold inside regular-weight text, the same in every browser.
   Live sets <strong> in SF Pro families that have no bold face (Regular, Medium), so the browser fakes the bold.
   Chrome keeps the regular letter widths and thickens the outline; Safari also widens every letter (about 17%), so
   lines run longer there and can wrap. We draw Chrome's version explicitly in both browsers: no synthesis (regular
   widths) plus an outline stroke of Chrome's fake-bold strength (Skia: 1/24 em at 9px to 1/32 em at 36px, ~0.038em
   for this site's 14-20px copy). Text in families with a real bold face (the system-font headline) is left alone. */
strong { font-synthesis-weight: none; -webkit-text-stroke: 0.038em currentColor; }
.nf-buildings__title strong { font-synthesis-weight: auto; -webkit-text-stroke: 0; }
/* /components/nav.css */
/* ==========================================================================
   Navigation component (components/nav.css): the one nav of every page.
   Markup: components/nav.html, rendered per page by tools/build.py from the "nav" settings in tools/pages.json.
   Base = the home variant. Live source: desktop container framer-1cr22z8 (fixed) holding component mbkBz
   ("ID EN - Default - Desktop - See Plans" and its For Business / For Homes / Technology variants),
   language overlay framer-1slx8hz (fixed portal, z 11),
   tablet + phone containers framer-178asbv / framer-wiv8oa (fixed, z 10) holding component HHhjX
   ("ID EN - See Plans - Default" / "- Open"), accordion items jTV0q, sub links l7gqx.
   The absolute "Global - Default - Mobile - See Plans" bar at top:-272px (framer-xzeoch) is never
   visible to a visitor and is not rebuilt.
   Variants (bottom of this file): .nf-nav--assessment ("Request an Assessment", business / ecoflow),
   .nf-nav--from-1280 (desktop bar from 1280), .nf-nav__tbar (business), .nf-nav--global ("Global", testimonials).
   The desktop bar z-index comes from the desktop_z setting (--nf-nav-desk-z; live: home 3, most pages 2, business 10).
   ========================================================================== */

.nf-nav {
  display: contents;
  /* Framer transitions, measured and read from the live bundle */
  /* spring { bounce: .2, duration: .4 } == stiffness 505.6, damping 35.98 (settles in .38s) */
  --nf-nav-spring: linear(0, 0.0203, 0.0725, 0.1453, 0.2299, 0.3197, 0.4097, 0.4963, 0.5773, 0.6511, 0.717, 0.7747, 0.8244, 0.8664, 0.9014, 0.9301, 0.9532, 0.9714, 0.9854, 0.9959, 1.0036, 1.0089, 1.0123, 1.0142, 1.0151, 1.0151, 1.0145, 1.0136, 1.0123, 1.011, 1.0096, 1.0083, 1.007, 1.0058, 1.0048, 1.0038, 1.003, 1.0023, 1.0018, 1.0013, 1);
  /* the same spring clamped at 1: Framer clamps colour mixing, so a colour on the spring does not overshoot */
  --nf-nav-spring-clamped: linear(0, 0.0203, 0.0725, 0.1453, 0.2299, 0.3197, 0.4097, 0.4963, 0.5773, 0.6511, 0.717, 0.7747, 0.8244, 0.8664, 0.9014, 0.9301, 0.9532, 0.9714, 0.9854, 0.9959, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
  --nf-nav-spring-dur: 0.38s;
  /* spring { stiffness: 300, damping: 30, mass: 1 } (settles in .5s): load fade-in and scroll hide/show */
  --nf-nav-spring-b: linear(0, 0.0215, 0.0756, 0.1498, 0.2348, 0.3236, 0.4115, 0.4953, 0.5727, 0.6428, 0.7051, 0.7594, 0.8062, 0.8459, 0.8793, 0.9069, 0.9295, 0.9477, 0.9623, 0.9737, 0.9826, 0.9894, 0.9944, 0.9981, 1.0007, 1.0024, 1.0035, 1.0041, 1.0043, 1.0043, 1.0041, 1.0038, 1.0035, 1.0031, 1.0027, 1.0023, 1.002, 1.0017, 1.0014, 1.0011, 1);
  --nf-nav-spring-b-dur: 0.5s;
  /* tween { duration: .4, ease: [.44, 0, .56, 1] }: bar background and chevrons */
  --nf-nav-tween: cubic-bezier(0.44, 0, 0.56, 1);
  /* tween { duration: .6, ease: [.25, 1, .5, 1] }: mega menu height when switching menus */
  --nf-nav-out: cubic-bezier(0.25, 1, 0.5, 1);
}

.nf-nav h6, .nf-nav p { margin: 0; }

/* Shared green pill (Framer button j74DL, variant "Tier 1 - Eng - Mobile") */
.nf-nav__pill {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 5px;
  flex: none; width: min-content; max-height: 35px; padding: 16px;
  background-color: var(--nf-green); border-radius: 32px; cursor: pointer;
  color: rgb(0, 0, 238); /* Framer leaves the anchor colour at the UA default; only the label is styled */
  transition: background-color var(--nf-nav-spring-dur) var(--nf-nav-spring-clamped);
}
/* Pressed (Framer whileTap): #91c851 to rgb(165, 207, 118) on the nav spring both ways; it returns as soon as the
   pointer leaves, even while still held, and does not come back on re-entry (Chrome keeps :hover:active while the
   button is held, so js/00-nav.js sets .is-pressed). Hover alone changes nothing. Measured on live home,
   residential, how-it-works, business and EcoFlow: bar, mega menus and tablet/phone menu pills. */
.nf-nav__pill.is-pressed { background-color: rgb(165, 207, 118); }
.nf-nav__pill p {
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 15px; line-height: 18px; letter-spacing: normal;
  color: var(--nf-black); white-space: pre;
}

/* Sign In link (Framer kJmbO "Link - Idle"; its hover variant has no visible change) */
.nf-nav__signin { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; cursor: pointer; }
.nf-nav__signin h6 {
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 24px; letter-spacing: normal;
  color: var(--nf-white); white-space: pre; text-align: left;
}

.nf-nav [tabindex]:focus-visible, .nf-nav a:focus-visible, .nf-nav button:focus-visible { outline: 2px solid var(--nf-green); outline-offset: 2px; }

/* ---------- Desktop (>= 1440) ---------- */
.nf-nav__desk {
  position: fixed; top: 0; left: 0; right: 0; z-index: var(--nf-nav-desk-z, 3);
  width: 100%; height: 80px;
  opacity: 0;
}
.nf-nav.is-loaded .nf-nav__desk { opacity: 1; transition: opacity var(--nf-nav-spring-b-dur) var(--nf-nav-spring-b); }

.nf-nav__bar {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 40px;
  width: 100%; height: 80px; padding: 0 70px;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color 0.4s var(--nf-nav-tween), opacity var(--nf-nav-spring-b-dur) var(--nf-nav-spring-b);
}
.nf-nav__bar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-bottom: 0.5px solid var(--nf-green);
}
.nf-nav__bar:not([data-state="default"]) { background-color: var(--nf-black); }
.nf-nav.is-away .nf-nav__bar { opacity: 0; }

.nf-nav__wrap {
  position: relative; z-index: 2;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  flex: 1 0 0; width: 1px;
}
.nf-nav__left {
  position: relative; z-index: 1;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 40px;
  flex: 1 0 0; width: 1px;
}
.nf-nav__logo, .nf-nav__mlogo {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px;
  flex: none; height: 27px; cursor: pointer;
}
.nf-nav__logo img, .nf-nav__mlogo img {
  display: block; height: 100%; width: auto; aspect-ratio: 3.34768 / 1;
  object-fit: cover; object-position: 50% 50%;
}

.nf-nav__menu { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 24px; flex: none; }
.nf-nav__trigger, .nf-nav__item {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px;
  height: 24px; overflow: clip; flex: none;
}
.nf-nav__label {
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 24px; letter-spacing: normal;
  color: var(--nf-white); white-space: pre; text-align: left; user-select: none;
}
.nf-nav__link { color: var(--nf-white); cursor: pointer; }
@media (hover: hover) { .nf-nav__link:hover { color: var(--nf-green); } }

.nf-nav__chev { display: block; flex: none; width: 24px; height: 24px; overflow: hidden; transition: transform 0.4s var(--nf-nav-tween); }
.nf-nav__chev path { fill: transparent; stroke: var(--nf-white); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.nf-nav__trigger.is-active .nf-nav__chev { transform: rotate(180deg); }
.nf-nav__bar.is-snap .nf-nav__chev { transition: none; }

.nf-nav__right-col {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  flex: 1 0 0; width: 1px;
}
.nf-nav__right {
  display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 12px;
  width: 100%; overflow: hidden;
}
.nf-nav__buttons { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 24px; flex: none; }

/* Language pill wrapper (Framer Ald0m "ID - EN") */
.nf-nav__lang-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; flex: none; border-radius: 80px; }

/* Language pill (Framer RmQ6V): the 16x64 column holds a globe above the flag and slides down on hover */
.nf-nav__lang {
  position: relative; flex: none;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px;
  height: 40px; padding: 12px 18px; border-radius: 80px; overflow: clip; cursor: pointer;
}
.nf-nav__flags {
  position: absolute; top: -36px; left: 18px; width: 16px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  overflow: hidden;
  transition: top var(--nf-nav-spring-dur) var(--nf-nav-spring);
}
.nf-nav__lang:hover .nf-nav__flags { top: 13px; }
.nf-nav__globe { display: block; flex: none; width: 16px; height: 16px; fill: var(--nf-white); }
.nf-nav__flag { display: block; flex: none; width: 16px; height: 16px; object-fit: contain; }
.nf-nav__lang-text { display: flex; flex-direction: row; align-items: center; padding: 2px 0 0 24px; }
.nf-nav__lang-text p {
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 14px; line-height: 14px; letter-spacing: -0.35px;
  color: var(--nf-white); white-space: pre; user-select: none;
}
.nf-nav__lang-chev { display: block; flex: none; width: 14px; height: 14px; transform: rotate(90deg); fill: var(--nf-white); }

/* Mega menu (Framer "Mega Menu" + "Overlay Blur"): shown only while a menu variant is active */
.nf-nav__mega {
  position: absolute; top: 80px; left: 0; z-index: 1;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  width: 100%; padding: 32px 48px;
  background-color: var(--nf-black); overflow: clip;
}
.nf-nav__bar:not([data-state="default"]) .nf-nav__mega { display: flex; }
.nf-nav__panel {
  position: relative; z-index: 5;
  display: none; flex-direction: row; align-items: center; justify-content: center; gap: 48px;
  width: 100%;
}
.nf-nav__panel[data-panel="technology"] { gap: 30px; }
.nf-nav__bar[data-state="business"] [data-panel="business"],
.nf-nav__bar[data-state="homes"] [data-panel="homes"],
.nf-nav__bar[data-state="technology"] [data-panel="technology"] { display: flex; }
.nf-nav__cols { display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 30px; flex: 1 0 0; width: 1px; }
.nf-nav__col {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px;
  flex: 1 0 0; width: 1px;
}
.nf-nav__col--empty { gap: 0; min-height: 52px; justify-content: flex-start; }
/* For Business right column: Healthy Building Assessment (Danny, 2026-10-28); the hidden heading copy keeps its row level with Business Homepage */
.nf-nav__col--side { justify-content: flex-start; }
.nf-nav__head--spacer { visibility: hidden; }

.nf-nav__head { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; padding: 0 14px; }
.nf-nav__head-title {
  width: 100%;
  font-family: var(--nf-font-medium); font-weight: 500; font-size: 14px; line-height: 16.8px; letter-spacing: normal;
  color: var(--nf-grey-9e); text-transform: uppercase; white-space: pre-wrap;
}
.nf-nav__head-desc {
  display: flow-root; width: 100%; overflow: clip;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 12px; line-height: 14.4px; letter-spacing: normal;
  color: var(--nf-grey-9e); white-space: pre-line;
}
.nf-nav__list { display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
.nf-nav__mitem {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px;
  width: 100%; padding: 14px;
  background-color: rgba(0, 0, 0, 0); cursor: pointer;
  transition: background-color var(--nf-nav-spring-dur) var(--nf-nav-spring);
}
.nf-nav__mitem--line::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-bottom: 1px solid var(--nf-grey-61); }
@media (hover: hover) { .nf-nav__mitem:hover { background-color: rgb(40, 40, 40); } }
.nf-nav__mrow { display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; }
.nf-nav__mtitle {
  display: block; flex: 1 0 0; width: 1px;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 19.2px; letter-spacing: normal;
  color: var(--nf-white); white-space: pre-wrap;
}
.nf-nav__arrow { display: block; flex: none; width: 18px; height: 18px; overflow: hidden; }
.nf-nav__arrow path { fill: transparent; stroke: var(--nf-white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nf-nav__mdesc {
  display: flow-root; width: 100%; overflow: clip;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 14px; line-height: 16.8px; letter-spacing: normal;
  color: var(--nf-grey-9e); white-space: pre-line;
}
.nf-nav__mbuttons { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; width: min-content; }

.nf-nav__overlay {
  position: absolute; top: 0; left: 0; z-index: 0;
  display: none; width: 100%; height: 100vh;
  background-color: rgba(31, 26, 26, 0.5); overflow: clip; cursor: pointer; user-select: none;
}
.nf-nav__bar:not([data-state="default"]) .nf-nav__overlay { display: block; }

/* Region and language dropdown (Framer overlay: placement bottom, centre, offset 62.67 / 9.5, collision padding 20) */
.nf-nav__langpanel {
  position: fixed; top: 69.484px; left: 1057.39px; z-index: 11;
  width: 307px; height: 320px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--nf-nav-spring-dur) var(--nf-nav-spring), visibility 0s linear var(--nf-nav-spring-dur);
}
.nf-nav__langpanel.is-open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity var(--nf-nav-spring-dur) var(--nf-nav-spring), visibility 0s;
}
/* hover bridge across the 9.5px gap between pill and panel (Framer "safeArea") */
.nf-nav__langpanel::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 10px; }
.nf-nav__langbox {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 0;
  width: 100%; height: 100%;
  background-color: var(--nf-white); border-radius: 20px; box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0; overflow: clip;
}
.nf-nav__regions {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 100%; height: 100%;
  background-color: rgba(255, 255, 255, 0.3); border-radius: 0 0 20px 20px; box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0;
}
.nf-nav__regions::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  border-style: solid; border-color: var(--nf-green); border-width: 0 0.8px 0.8px 0.8px;
}
.nf-nav__region {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px;
  flex: none; width: 100%; height: 64px; padding: 20px 30px; overflow: hidden; cursor: pointer;
  color: rgb(0, 0, 238); /* UA anchor colour, as on live; it only tints the dot's zero-width border */
}
.nf-nav__region::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; border-bottom: 0.8px solid var(--nf-green); }
.nf-nav__region--first { border-radius: 20px 20px 0 0; }
.nf-nav__region--first::after { border: 0.8px solid var(--nf-green); }
.nf-nav__region--global { border-radius: 15px; }
.nf-nav__region--global::after { display: none; }
.nf-nav__rflag { display: block; flex: none; width: 20px; height: 20px; object-fit: cover; }
.nf-nav__rflag--contain { object-fit: contain; }
/* the hover target is Framer's text component: label plus a 10px gap */
.nf-nav__rtext { display: flex; flex: none; padding-right: 10px; }
.nf-nav__rname {
  flex: none;
  font-family: var(--nf-font-medium); font-weight: 500; font-size: 16px; line-height: 24px; letter-spacing: normal;
  color: var(--nf-black); white-space: pre; text-align: left;
  transition: color var(--nf-nav-spring-dur) var(--nf-nav-spring);
}
.nf-nav__rglobal { display: flex; flex-direction: row; align-items: center; gap: 10px; padding-right: 10px; }
.nf-nav__rglobal svg { display: block; flex: none; width: 16px; height: 16px; overflow: hidden; }
.nf-nav__rglobal path { fill: var(--nf-black); }
@media (hover: hover) {
  .nf-nav__rtext:hover .nf-nav__rname, .nf-nav__rglobal:hover .nf-nav__rname { color: var(--nf-green); }
}
/* Current-region dot: in flow right after the label's 10px hover padding (the row gap is cancelled), so it sits 10px
   after every label. Live places it at a fixed x (207 / 193), measured on id-en "Indonesia - English" (label end + 10);
   at a fixed x it covered the longer "Indonesia - Bahasa Indonesia" and "United Arab Emirates - English" labels and
   floated after "Qatar - English" (Danny 2026-10-27). */
.nf-nav__dot {
  position: relative; z-index: 1; flex: none; margin-left: -16px;
  width: 12px; height: 12px; background-color: var(--nf-green); border-radius: 100px;
  box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0; overflow: clip;
}
/* the open-menu variants of the live component use tighter region rows (padding 20px 16px, gap 15px: label at x 51) */
.nf-nav[data-menu]:not([data-menu="default"]) .nf-nav__region { padding: 20px 16px; gap: 15px; }
.nf-nav[data-menu]:not([data-menu="default"]) .nf-nav__dot { margin-left: -15px; }

/* ---------- Tablet and phone (< 1440): one fluid component ---------- */
.nf-nav__mob {
  position: fixed; top: 0; left: 0; z-index: 10;
  width: 100%;
  opacity: 0;
}
.nf-nav.is-loaded .nf-nav__mob { opacity: 1; transition: opacity var(--nf-nav-spring-b-dur) var(--nf-nav-spring-b); }

.nf-nav__mbar {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  cursor: pointer;
  transition: opacity var(--nf-nav-spring-b-dur) var(--nf-nav-spring-b);
}
.nf-nav.is-away .nf-nav__mbar { opacity: 0; }
.nf-nav__mbar.is-closing, .nf-nav__mbar.is-opening { transition: opacity var(--nf-nav-spring-b-dur) var(--nf-nav-spring-b), height var(--nf-nav-spring-dur) var(--nf-nav-spring); }
/* Opening (live: the bar grows 83 to 466 on the nav spring, peak ~471.7 at ~.25s): the menu content is shown at full
   size at once and overflows the growing bar, as Framer's scale-corrected layout animation draws it. */
.nf-nav__mbar.is-opening { justify-content: flex-start; }
.nf-nav__mbar.is-opening > .nf-nav__mwrap, .nf-nav__mbar.is-opening > .nf-nav__mmenu { flex-shrink: 0; }

.nf-nav__mwrap {
  position: relative; z-index: 2;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  width: 100%; padding: 24px 20px;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color var(--nf-nav-spring-dur) var(--nf-nav-spring);
}
.nf-nav__mwrap::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-bottom: 1px solid var(--nf-green);
  transition: border-color var(--nf-nav-spring-dur) var(--nf-nav-spring);
}
.nf-nav__mbar.is-open .nf-nav__mwrap { background-color: var(--nf-black); }
.nf-nav__mbar.is-open .nf-nav__mwrap::after { border-color: var(--nf-black); }

.nf-nav__mright { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 16px; flex: 1 0 0; width: 1px; }
.nf-nav__burger {
  all: unset; box-sizing: border-box;
  position: relative; z-index: 1; flex: none;
  display: block; width: 32px; height: 32px; overflow: hidden; cursor: pointer;
}
.nf-nav__line {
  position: absolute; left: calc(48.2759% - 12.5px);
  width: 25px; height: 2px; background-color: var(--nf-white); border-radius: 10px; overflow: hidden;
}
.nf-nav__mbar.is-open .nf-nav__line--top, .nf-nav__mbar.is-open .nf-nav__line--bottom { border-radius: 40% / 500%; }
.nf-nav__line--top { top: 7px; }
.nf-nav__line--mid { top: calc(50% - 1px); }
.nf-nav__line--bottom { bottom: 7px; }
.nf-nav__mbar.is-open .nf-nav__line { left: calc(50% - 12.5px); }
.nf-nav__mbar.is-open .nf-nav__line--top { top: 15px; transform: rotate(45deg); }
.nf-nav__mbar.is-open .nf-nav__line--bottom { bottom: 15px; transform: rotate(-45deg); }
.nf-nav__mbar.is-open .nf-nav__line--mid { width: 2px; height: 2px; left: calc(50% - 1px); }

.nf-nav__mmenu {
  position: relative; z-index: 1;
  display: none; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px;
  width: 100%; background-color: var(--nf-black); overflow: auto;
}
.nf-nav__mbar.is-open .nf-nav__mmenu { display: flex; }
.nf-nav__mcol { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; width: 100%; padding: 16px 20px; }
.nf-nav__mback {
  position: absolute; top: 0; bottom: -717px; left: 0; right: 0; z-index: 0;
  display: none; background-color: var(--nf-black); overflow: auto;
}
.nf-nav__mbar.is-open .nf-nav__mback { display: block; }

/* Accordion rows (Framer jTV0q) */
.nf-nav__acc {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px;
  width: 100%; padding: 16px 0; cursor: pointer;
}
/* Accordion animation, measured per frame on live: the row box resizes with the component's layout tween
   { duration: .6, ease: [.25, 1, .5, 1] }, so the rows below and the menu move on it, while the row's own bottom
   rule moves on the nav spring (Framer scales the row on its spring: ~1.8px overshoot, settled in ~.35s).
   The content shows / hides at once and is not clipped while the row resizes. js/00-nav.js sets --nf-nav-acc-line. */
.nf-nav__acc.is-animating { transition: height 0.6s var(--nf-nav-out); }
.nf-nav__acc.is-animating::after { bottom: auto; height: var(--nf-nav-acc-line); transition: height var(--nf-nav-spring-dur) var(--nf-nav-spring); }
.nf-nav__acc::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-bottom: 1px solid var(--nf-grey-61); }
.nf-nav__acc--last::after { display: none; }
.nf-nav__acc-title { display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: 100%; outline-offset: 4px; }
.nf-nav__acc-title p {
  flex: 1 0 0; width: 1px;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 19.2px; letter-spacing: normal;
  color: var(--nf-white); white-space: pre-wrap; user-select: none;
}
.nf-nav__acc-icon { display: block; flex: none; width: 18px; height: 18px; overflow: hidden; }
.nf-nav__acc-icon path { fill: transparent; stroke: var(--nf-white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nf-nav__acc.is-open .nf-nav__acc-vbar { display: none; }
.nf-nav__acc-menu { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; }
.nf-nav__acc.is-open .nf-nav__acc-menu { display: flex; }
.nf-nav__acc-desc { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 6px; width: 100%; }
.nf-nav__acc-head {
  width: 100%;
  font-family: var(--nf-font-medium); font-weight: 500; font-size: 14px; line-height: 16.8px; letter-spacing: normal;
  color: var(--nf-grey-9e); text-transform: uppercase; white-space: pre-wrap;
}
.nf-nav__acc-text {
  display: flow-root; width: 100%; overflow: clip;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 12px; line-height: 14.4px; letter-spacing: normal;
  color: var(--nf-grey-9e); white-space: pre-line;
}
.nf-nav__acc-items { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; width: 100%; }

/* Sub links (Framer l7gqx): 2px grey rule on the left */
.nf-nav__sub {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 10px; overflow: clip; cursor: pointer;
}
.nf-nav__sub::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-left: 2px solid var(--nf-grey-61); }
.nf-nav__sub-title {
  width: 100%;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 14px; line-height: 16.8px; letter-spacing: normal;
  color: var(--nf-white); white-space: pre-wrap;
}
.nf-nav__sub-desc {
  display: flow-root; width: 100%; overflow: clip;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 12px; line-height: 14.4px; letter-spacing: normal;
  color: var(--nf-grey-61); white-space: pre-line;
}
.nf-nav__sub--region { flex-direction: row; justify-content: flex-start; }
.nf-nav__sub--region img { display: block; flex: none; width: 20px; height: 20px; object-fit: cover; }
.nf-nav__sub--region img.nf-nav__contain { object-fit: contain; }
.nf-nav__sub--region .nf-nav__sub-title { width: auto; flex: none; white-space: pre; }
.nf-nav__sub--global svg { display: block; flex: none; width: 16px; height: 16px; overflow: hidden; }
.nf-nav__sub--global path { fill: var(--nf-white); }
.nf-nav__mdot {
  display: block; flex: none; width: 12px; height: 12px;
  background-color: var(--nf-green); border-radius: 100px; box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0; overflow: clip;
}

.nf-nav__mbtns { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; width: min-content; padding: 20px 0 0; }
.nf-nav__signin--menu { align-self: stretch; }


/* ==========================================================================
   Variants
   ========================================================================== */

/* ---------- "Request an Assessment" variant (business, ecoflow; live component mbkBz / HHhjX "... Request an Assessment") ---------- */
/* every state uses the tighter region rows (padding 20/16, gap 15); the dot follows the label (see .nf-nav__dot) */
.nf-nav--assessment .nf-nav__region { padding: 20px 16px; gap: 15px; }
.nf-nav--assessment .nf-nav__dot { margin-left: -15px; }
/* tablet/phone bar centred like live (left 50%, translateX(-50%)): at odd widths it sits on a half pixel, as on live */
.nf-nav--assessment .nf-nav__mob { left: 50%; transform: translateX(-50%); }

/* ---------- Desktop bar from 1280 (business, ecoflow): tablet 810 to 1279.98, phone <= 809.98 ---------- */
@media (max-width: 1279.98px) { .nf-nav--from-1280 .nf-nav__desk, .nf-nav--from-1280 .nf-nav__langpanel { display: none !important; } }
@media (min-width: 1280px) { .nf-nav--from-1280 .nf-nav__mob { display: none !important; } }

/* ---------- Tablet under-bar (business only, tablet_underbar): the desktop container's mobile variant, 810 to 1279.98 ---------- */
.nf-nav__tbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10;
  width: 100%; height: 80px;
  opacity: 0; pointer-events: none;
}
.nf-nav.is-loaded .nf-nav__tbar { opacity: 1; transition: opacity var(--nf-nav-spring-b-dur) var(--nf-nav-spring-b); }
.nf-nav__tinner {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 40px;
  width: 100%; height: 80px; overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: opacity var(--nf-nav-spring-b-dur) var(--nf-nav-spring-b);
}
.nf-nav__tinner::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-bottom: 1px solid var(--nf-green); }
.nf-nav.is-away .nf-nav__tinner { opacity: 0; }
.nf-nav__twrap {
  position: relative; z-index: 2; flex: 1 0 0; width: 1px;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 24px 20px;
}
.nf-nav__tleft { position: relative; z-index: 1; display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 40px; flex: 1 0 0; width: 1px; }
.nf-nav__tright { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 16px; flex: none; }
.nf-nav__tburger { position: relative; z-index: 1; display: block; flex: none; width: 32px; height: 32px; overflow: hidden; }
@media (min-width: 1280px), (max-width: 809.98px) { .nf-nav__tbar { display: none !important; } }

/* ---------- "Global" variant (testimonials-elodie; live mbkBz "Global - Default - Desktop - See Plans",
   HHhjX "Global - See Plans - Default") ---------- */
/* Region pill, Framer RmQ6V variant "global": globe only, vertically centred (top 50%, translateY(-50%)),
   no hover slide, cursor unset (live computed: auto). Hovering it still opens the region panel. */
.nf-nav__lang--global { cursor: auto; }
.nf-nav__lang--global .nf-nav__flags,
.nf-nav__lang--global:hover .nf-nav__flags { top: 50%; transform: translateY(-50%); }
/* Region panel: every state uses the tight rows (padding 20px 16px, gap 15px);
   the Global row has gap 0 and carries the current-region dot in flow after its label. */
.nf-nav--global .nf-nav__region { gap: 15px; padding: 20px 16px; }
.nf-nav--global .nf-nav__region--global { gap: 0; }
.nf-nav--global .nf-nav__dot { margin-left: -15px; }
.nf-nav--global .nf-nav__region--global .nf-nav__dot { margin-left: 0; }
/* Tablet/phone open menu: the Global "Open" variant has no top padding on the menu column (bar 450 tall, not 466) */
.nf-nav--global .nf-nav__mcol { padding: 0 20px 16px; }
/* /components/footer.css */
/* ==========================================================================
   Footer component (components/footer.css): the one footer of every page.
   Markup: components/footer.html, rendered per page by tools/build.py from the "footer" settings in tools/pages.json.
   Variants: .nf-footer--from-1280 (columns from 1280: business, ecoflow), .nf-footer--global (testimonials).
   Live source: framer-ou2eam-container > component zItlW (framer-j47lh1),
   link component Zlx1t, accordion component G7G4Y, language pill PHo0I,
   region menu 7ctZ6 (Framer overlay). Values copied from Framer CSS per breakpoint.
   ========================================================================== */

.nf-footer {
  /* Framer variant spring (measured: stiffness ~400, damping ~32, ~1.5% overshoot) */
  --nf-footer-spring: linear(0, 0.0383, 0.1302, 0.2488, 0.3755, 0.4982, 0.6097, 0.7064, 0.7871, 0.8521, 0.9028, 0.9411, 0.969, 0.9884, 1.0013, 1.0091, 1.0134, 1.015, 1.015, 1.0139, 1.0122, 1.0103, 1.0084, 1.0067, 1.0051, 1.0038, 1.0027, 1.0018, 1.0011, 1.0006, 1.0003, 1.0001, 0.9999, 0.9998, 0.9998, 0.9998, 0.9998, 0.9998, 0.9998, 0.9999, 1);
  --nf-footer-spring-dur: 0.6s;
  --nf-footer-line: rgb(97, 97, 97);
}

/* ---------- Desktop (>= 1440) and shared ---------- */
/* Wrapper = Framer's framer-ou2eam-container; inner = the zItlW component box */
.nf-footer { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.nf-footer__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 64px;
  width: 100%; height: min-content; padding: 80px 60px 0;
  background-color: var(--nf-black);
  overflow: visible;
}

/* Menu: five columns on desktop, accordions on tablet and phone */
.nf-footer__menu {
  position: relative;
  display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between;
  width: 100%; padding: 0;
}
.nf-footer__col {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 24px;
  flex: 1 0 0; width: 1px;
}
.nf-footer__col-title {
  position: relative; width: 100%;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 14px; line-height: 1.4em; letter-spacing: normal;
  color: var(--nf-grey-9e); text-align: left;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word;
}
.nf-footer__links {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 12px;
  flex: 0 0 auto; width: 219px;
  text-decoration: none;
}
.nf-footer__links--full { width: 100%; }
.nf-footer__link {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 0;
  width: 100%; padding: 0;
  overflow: clip; cursor: pointer; text-decoration: none;
}
.nf-footer__link-text, .nf-footer__acc-link-text {
  display: block; position: relative; flex: 0 0 auto;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 1.2em; letter-spacing: normal;
  color: var(--nf-white); white-space: pre; user-select: none;
  transition: color var(--nf-footer-spring-dur) var(--nf-footer-spring);
}
@media (hover: hover) {
  .nf-footer__link:hover .nf-footer__link-text,
  a.nf-footer__links:hover .nf-footer__link-text { color: var(--nf-green); }
}
.nf-footer__link:focus-visible, .nf-footer__acc-link:focus-visible,
.nf-footer__icon:focus-visible, .nf-footer__app:focus-visible, .nf-footer__legal-link:focus-visible,
.nf-footer__acc-head:focus-visible, .nf-footer__pill:focus-visible, .nf-footer__region:focus-visible {
  outline: 2px solid var(--nf-green); outline-offset: 2px;
}

/* Accordions (hidden on desktop through nf-hide-desktop) */
.nf-footer__acc {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 100%; padding: 0;
  overflow: visible;
}
.nf-footer__acc::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-style: solid; border-color: var(--nf-footer-line); border-width: 0 0 1px 0;
  box-sizing: border-box; pointer-events: none;
}
.nf-footer__acc--last::after { border-width: 0; }
.nf-footer__acc.is-animating { transition: height var(--nf-footer-spring-dur) var(--nf-footer-spring); }
/* The title stays put while an item opens or closes (Danny, 2026-10-19). Live centres the head in the springing box,
   so the title jumps 22px up on open (and down on close) while the links spill out; here the head is pinned to the
   top and the links are revealed downward inside the growing box. */
.nf-footer__acc { justify-content: flex-start; }
.nf-footer__acc.is-animating { overflow: clip; }
.nf-footer__acc-head {
  position: relative; box-sizing: border-box;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 12px;
  flex: 0 0 auto; width: 100%; padding: 13px 0 13px 2px;
  cursor: pointer;
}
.nf-footer__acc-title {
  display: block; position: relative; flex: 1 0 0; width: 1px;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 1.2em; letter-spacing: normal;
  color: var(--nf-white); text-align: start;
  white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; user-select: none;
}
.nf-footer__acc-icon { position: relative; flex: 0 0 auto; width: 18px; height: 18px; aspect-ratio: 1 / 1; overflow: hidden; }
.nf-footer__acc.is-open .nf-footer__acc-vbar { display: none; }
.nf-footer__acc-body {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  flex: 0 0 auto; width: 100%; padding: 0 0 12px 4px;
}
.nf-footer__acc-body[hidden] { display: none; }
.nf-footer__acc-link {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 0;
  width: 100%; padding: 8px;
  overflow: clip; cursor: pointer; text-decoration: none;
}
.nf-footer__acc-link-text { font-size: 14px; line-height: 1.2em; }
@media (hover: hover) {
  .nf-footer__acc--tablet .nf-footer__acc-link:hover .nf-footer__acc-link-text { color: var(--nf-green); }
}

/* Bottom block: CTA row + legal row, each with a 0.8px top rule */
.nf-footer__bottom {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 100%; padding: 0;
}
.nf-footer__cta, .nf-footer__legal { position: relative; width: 100%; }
.nf-footer__cta::after, .nf-footer__legal::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-style: solid; border-color: var(--nf-footer-line); border-width: 0.8px 0 0 0;
  box-sizing: border-box; pointer-events: none;
}
.nf-footer__cta {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 24px 0;
}
.nf-footer__cta-left {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 32px;
  flex: 1 0 0; width: 1px;
}

/* Language pill (PHo0I) */
.nf-footer__lang { position: relative; flex: 0 0 auto; width: min-content; }
.nf-footer__pill {
  position: relative; box-sizing: border-box;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 4px;
  width: min-content; height: min-content; padding: 12px 24px;
  border-radius: 99px; overflow: clip; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nf-footer__pill::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid var(--nf-grey-f5); border-radius: 99px;
  box-sizing: border-box; pointer-events: none;
}
.nf-footer__pill-icons {
  position: absolute; top: -40px; left: 24px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 32px;
  width: 16px; height: min-content; padding: 2px 0;
  overflow: hidden;
}
.nf-footer__pill-globe, .nf-footer__pill-flag {
  position: relative; z-index: 1; display: block; flex: 0 0 auto; width: 16px; height: 16px;
  transition: transform var(--nf-footer-spring-dur) var(--nf-footer-spring);
}
.nf-footer__pill-globe svg {
  width: 100%; height: 100%; display: inline-block; flex-shrink: 0; user-select: none;
  fill: var(--nf-white); color: var(--nf-white);
}
.nf-footer__pill-flag { overflow: hidden; }
.nf-footer__pill-flag img { display: inline; width: 16px; height: 16px; object-fit: contain; object-position: 50% 50%; }
/* Hover (and while the menu is open): globe slides down into view, flag slides up out */
@media (hover: hover) {
  .nf-footer__lang:hover .nf-footer__pill-globe { transform: translateY(48px); }
  .nf-footer__lang:hover .nf-footer__pill-flag { transform: translateY(-48px); }
}
.nf-footer__lang.is-open .nf-footer__pill-globe { transform: translateY(48px); }
.nf-footer__lang.is-open .nf-footer__pill-flag { transform: translateY(-48px); }
.nf-footer__pill-lang {
  position: relative; user-select: none;
  display: flex; flex-direction: row; align-items: flex-end; justify-content: flex-end; gap: 1px;
  flex: 0 0 auto; width: min-content; padding: 0 0 0 24px;
}
.nf-footer__pill-text {
  display: block; position: relative; flex: 0 0 auto;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 14px; line-height: 1em; letter-spacing: -0.35px;
  color: var(--nf-white); white-space: pre;
}
.nf-footer__pill-caret { position: relative; display: block; flex: 0 0 auto; width: 14px; height: 14px; transform: rotate(90deg); }
.nf-footer__pill-caret svg {
  width: 100%; height: 100%; display: inline-block; user-select: none;
  fill: var(--nf-white); color: var(--nf-white);
}

/* Region menu (Framer overlay above the pill) */
.nf-footer__regions {
  position: absolute; z-index: 11; left: -40px; bottom: calc(100% + 10px);
  width: 307px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--nf-footer-spring-dur) var(--nf-footer-spring), visibility 0s linear var(--nf-footer-spring-dur);
}
/* Invisible bridge over the 10px gap so the pointer can travel from pill to menu */
.nf-footer__regions::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.nf-footer__lang.is-open .nf-footer__regions {
  opacity: 1; visibility: visible; pointer-events: auto;
  transition: opacity var(--nf-footer-spring-dur) var(--nf-footer-spring), visibility 0s linear 0s;
}
/* Phone variant backdrop (live: Framer overlay without safe area). Transparent, over the viewport while the menu is
   open, so a click or tap anywhere but the menu closes it; the pill under it is not hit. Created by js/90-footer.js. */
.nf-footer__backdrop { display: none; position: fixed; inset: 0; z-index: 11; }
@media (max-width: 809.98px) { .nf-footer__lang.is-open.has-backdrop .nf-footer__backdrop { display: block; } }
.nf-footer__regions-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: min-content; padding: 0;
  background-color: var(--nf-white); border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0;
  transform-origin: 50% 100%;
}
.nf-footer__regions-list {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 307px;
  background-color: rgba(255, 255, 255, 0.3); border-radius: 20px;
  box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0;
}
.nf-footer__regions-list::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-style: solid; border-color: var(--nf-green); border-width: 0 0.8px 0.8px 0.8px; border-radius: 20px;
  box-sizing: border-box; pointer-events: none;
}
.nf-footer__region {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 0;
  width: 100%; padding: 20px 30px;
  overflow: hidden; cursor: pointer; text-decoration: none;
}
.nf-footer__region::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border-style: solid; border-color: var(--nf-green); border-width: 0 0 0.8px 0;
  box-sizing: border-box; pointer-events: none; border-radius: inherit;
}
.nf-footer__region--0 { border-radius: 20px 20px 0 0; }
.nf-footer__region--0::after { border-width: 0.8px; }
.nf-footer__region--4::after { content: none; }
.nf-footer__region-row {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 10px;
}
.nf-footer__region-flag { position: relative; display: block; flex: 0 0 auto; width: 20px; height: 20px; }
.nf-footer__region-flag img { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 50% 50%; }
.nf-footer__region-label {
  position: relative; overflow: hidden;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px;
}
.nf-footer__region-name {
  display: block; position: relative;
  font-family: "SF Pro Display Medium", "SF Pro Display Medium Placeholder", sans-serif;
  font-weight: 500; font-size: 16px; line-height: 1.5em; letter-spacing: normal;
  color: var(--nf-black); white-space: pre;
  transition: color var(--nf-footer-spring-dur) var(--nf-footer-spring);
}
.nf-footer__region-caret { position: relative; display: block; width: 0; height: 0; }
.nf-footer__region-globe { position: relative; display: block; flex: 0 0 auto; width: 16px; height: 16px; }
.nf-footer__region-globe svg { width: 100%; height: 100%; }
.nf-footer__region-dot {
  position: relative; display: block; flex: 0 0 auto; width: 12px; height: 12px;
  background-color: var(--nf-green); border-radius: 99px; overflow: clip;
  box-shadow: rgba(0, 0, 0, 0.05) 0 10px 20px 0;
}
@media (hover: hover) {
  .nf-footer__region:hover .nf-footer__region-name { color: var(--nf-green); }
}

/* Social groups */
.nf-footer__social {
  position: relative;
  display: flex; flex-direction: row; align-items: flex-start; justify-content: center; gap: 16px;
  flex: 0 0 auto; width: min-content;
}
.nf-footer__social-label {
  position: relative; flex: 0 0 auto;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 18px; line-height: 1.4em; letter-spacing: normal;
  color: var(--nf-grey-9e); text-align: left; white-space: pre;
}
.nf-footer__icons {
  position: relative;
  display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-start; gap: 12px;
  flex: 0 0 auto; width: min-content;
}
.nf-footer__icon { position: relative; display: block; flex: 0 0 auto; width: 22px; height: 22px; text-decoration: none; cursor: pointer; color: rgb(0, 0, 238); /* UA link colour, as live (no colour set) */ }
.nf-footer__icon svg { display: block; width: 100%; height: 100%; }
.nf-footer__icon--tiktok { width: 24px; height: 24px; border-radius: 6px; overflow: hidden; }
.nf-footer__tiktok { position: absolute; top: 0; left: 1px; right: 3px; display: block; aspect-ratio: 0.875 / 1; }
.nf-footer__icon--x { width: 21px; height: auto; aspect-ratio: 0.961538 / 1; }
.nf-footer__icon--web { overflow: visible; }
.nf-footer__web { position: absolute; top: 0; left: 0; display: block; width: 22px; height: 22px; }
.nf-footer__web svg { overflow: visible; }

/* App store chips */
.nf-footer__apps {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 24px;
  flex: 0 0 auto; width: min-content;
}
.nf-footer__app { position: relative; display: block; flex: 0 0 auto; width: 125px; height: 38px; text-decoration: none; cursor: pointer; }
.nf-footer__app img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; object-position: 50% 50%; }

/* Legal row */
.nf-footer__legal {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  padding: 24px 0 32px;
}
.nf-footer__copy { position: relative; flex: 1 0 0; width: 1px; }
.nf-footer__copy-text, .nf-footer__legal-item {
  font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 1.2em; letter-spacing: normal;
  text-align: start;
}
.nf-footer__copy-text { color: var(--nf-grey-9e); white-space: pre-wrap; word-break: break-word; overflow-wrap: break-word; }
.nf-footer__copy-text strong, .nf-footer__legal-item strong { font-weight: 700; }
.nf-footer__legal-links {
  position: relative;
  display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 8px;
  flex: 1 0 0; width: 1px; overflow: clip;
}
.nf-footer__legal-item { position: relative; flex: 0 0 auto; white-space: pre; color: var(--nf-white); }
.nf-footer__legal-link { color: var(--nf-white); text-decoration: none; cursor: pointer; }
.nf-footer__legal-link:hover { color: var(--nf-green); }
.nf-footer__dot { position: relative; display: block; flex: 0 0 auto; width: 4px; height: 4px; background-color: var(--nf-grey-9e); border-radius: 99px; overflow: clip; }

/* ---------- Tablet (810 to 1439.98; 810 to 1279.98 on the from-1280 variant) ---------- */
@media (min-width: 810px) and (max-width: 1279.98px) {
  .nf-footer__inner { gap: 32px; padding: 40px 40px 0; }
  .nf-footer__menu { flex-direction: column; }
  .nf-footer__cta { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 32px; }
  .nf-footer__cta-left { flex: 0 0 auto; width: 100%; }
  .nf-footer__legal { padding: 24px 0; }
  .nf-footer__regions { left: -20px; }
}
@media (min-width: 1280px) and (max-width: 1439.98px) {
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__inner { gap: 32px; padding: 40px 40px 0; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__menu { flex-direction: column; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__cta { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 32px; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__cta-left { flex: 0 0 auto; width: 100%; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__legal { padding: 24px 0; }
  .nf-footer:not(.nf-footer--from-1280) .nf-footer__regions { left: -20px; }
}

/* ---------- Phone (<= 809.98) ---------- */
@media (max-width: 809.98px) {
  .nf-footer__inner { gap: 24px; padding: 20px 16px 0; }
  .nf-footer__menu { flex-direction: column; }
  .nf-footer__cta { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 24px; }
  .nf-footer__cta-left { flex-direction: column; align-items: flex-start; gap: 24px; flex: 0 0 auto; width: 100%; }
  .nf-footer__legal { flex-direction: column; justify-content: flex-start; gap: 16px; padding: 24px 0; }
  .nf-footer__copy { flex: 0 0 auto; width: 100%; }
  .nf-footer__legal-links { flex: 0 0 auto; justify-content: flex-start; width: 100%; }
  .nf-footer__regions { left: 4px; }
  .nf-footer__region-name { font-size: 14px; line-height: 1.5em; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-footer * { transition-duration: 0s !important; }
}


/* ==========================================================================
   Variants
   ========================================================================== */

/* ---------- Columns from 1280 (business, ecoflow): desktop columns >= 1280, tablet accordions 810 to 1279.98, phone <= 809.98 ---------- */
@media (max-width: 1279.98px) { .nf-footer--from-1280 .nf-footer__col { display: none !important; } }
@media (min-width: 1280px), (max-width: 809.98px) { .nf-footer--from-1280 .nf-footer__acc--tablet { display: none !important; } }
@media (min-width: 810px) { .nf-footer--from-1280 .nf-footer__acc--phone { display: none !important; } }

/* ---------- "Global" variant (testimonials; live zItlW "Global -  Desktop" / "Global - Tablet" / "Global - Mobile",
   region pill PHo0I "Global - ...") ---------- */
/* Region pill: the icon column holds only the globe, centred (Framer: top 50%, translateY(-50%) on the 20px column, so
   the globe sits at y 11 in the 38px pill); no hover or open slide. */
.nf-footer__lang--global .nf-footer__pill-icons { top: 50%; transform: translateY(-50%); }
.nf-footer__lang--global:hover .nf-footer__pill-globe,
.nf-footer__lang--global.is-open .nf-footer__pill-globe { transform: none; }
/* Live region names compute text-align: left (base: start; same rendering), and the region rows keep the UA link
   colour on the <a> (only the 0px borders of the row and the dot inherit it; invisible). Compare-tool parity. */
.nf-footer--global .nf-footer__region-name { text-align: left; }
.nf-footer--global .nf-footer__region { color: rgb(0, 0, 238); }
/* /css/sections/page.css */
/* Homepage v14 (Danny, 2026-10-28): css/home.css from ~/Downloads/nafas-homepage-v14, unchanged except this note.
   One stylesheet for partials 10-hero, 20-system and 30-doors (its tablet and phone blocks cover all three), loaded last
   as the home page.css. */
/* ==========================================================================
   Nafas homepage (nafas.com root), wireframe v14: F1 hero, F2 system, F3 doors.
   Nav and footer are Danny's components (components/), unchanged.
   Layout and copy from the wireframe. Type sizes from live nafas.com/how-it-works (the wireframe's locked scale read
   too small next to the live pages); fonts, colours and radii from live nafas.com and shop.nafas.com.
   Breakpoints as base.css: desktop >= 1440, tablet 810 to 1439.98, phone <= 809.98.
   ========================================================================== */

:root {
  /* Type scale measured on live nafas.com/how-it-works at 1440 (section 64, step title 42, lead 28, body 20,
     eyebrow 20, button 22). Display follows the live residential hero (72). Headlines Medium 500, as live. */
  --nf-home-display: 72px;
  --nf-home-section: 64px;
  --nf-home-lead: 28px;
  --nf-home-body: 20px;
  --nf-home-caption: 20px;
  --nf-home-label: 20px;
  --nf-home-label-strip: 16px;
  --nf-home-btn: 20px;
  --nf-home-btn-h: 54px;
  --nf-home-btn-pad: 14px 28px;
  --nf-home-headline-font: var(--nf-font-medium);
  --nf-home-headline-weight: 500;
  /* live 64px headings carry -0.64px */
  --nf-home-tracking: -0.01em;

  --nf-home-content: 1240px;
  --nf-home-gutter: 100px;
  /* The background change already marks each section, so the padding only needs to clear the title gap */
  --nf-home-section-pad: 80px;
  /* Section title to its content: about half the section padding, so the title reads as part of its section */
  --nf-home-title-gap: 64px;
  /* One gutter between images and between cards */
  --nf-home-grid-gap: 24px;
  --nf-home-logo-gap: 30px;
  --nf-home-line: #e5e5e5;
  --nf-home-text-2: var(--nf-grey-61);

  /* Motion (Nafas animation guideline): hover short 200ms ease-out-cubic, reveal medium 600ms ease-out-expo */
  --nf-home-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --nf-home-ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Shared: section column, label, Tier 1 and Tier 2 buttons */
.nf-home-wrap { width: 100%; max-width: calc(var(--nf-home-content) + 2 * var(--nf-home-gutter)); margin: 0 auto; padding: 0 var(--nf-home-gutter); }

/* Eyebrow, as the live "STEP 1" / "CHOOSE YOUR TERM" labels: Medium, uppercase, no extra tracking */
.nf-label {
  font-family: var(--nf-font-medium); font-weight: 500; font-size: var(--nf-home-label); line-height: 1.2;
  text-transform: uppercase; color: var(--nf-home-text-2);
}

.nf-section-title {
  font-family: var(--nf-home-headline-font); font-weight: var(--nf-home-headline-weight);
  font-size: var(--nf-home-section); line-height: 1.1; letter-spacing: var(--nf-home-tracking);
  color: var(--nf-black); text-align: center;
}

/* Live Framer j74DL pills, on the home button scale so both tiers are the same size.
   Tier 1: green filled ("Tier 1 - Eng"), for the two hero doors. Tier 2: black outline ("Tier 2 Black - Eng"), for
   the door cards. Neither carries an arrow. */
.nf-tier1, .nf-tier2 {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--nf-home-btn-h); padding: var(--nf-home-btn-pad); border: 1px solid var(--nf-black); border-radius: 999px;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: var(--nf-home-btn); line-height: 1.2;
  color: var(--nf-black); background-color: transparent; white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--nf-home-ease-out), color 0.2s var(--nf-home-ease-out),
              border-color 0.2s var(--nf-home-ease-out), transform 0.15s var(--nf-home-ease-out);
}
.nf-tier1 { border-color: var(--nf-green); background-color: var(--nf-green); }
.nf-tier1:active, .nf-tier2:active { transform: scale(0.96); transition-duration: 0.1s; }
/* Tier 1 sits on the black hero, where a green ring would merge with the button */
.nf-tier1:focus-visible { outline: 2px solid var(--nf-white); outline-offset: 2px; }
.nf-tier2:focus-visible { outline: 2px solid var(--nf-green); outline-offset: 2px; }
/* Hover as live: Tier 1 lightens to rgb(165, 207, 118), Tier 2 fills #f5f5f5 with the label staying black */
@media (hover: hover) {
  .nf-tier1:hover { border-color: rgb(165, 207, 118); background-color: rgb(165, 207, 118); }
  .nf-tier2:hover { background-color: var(--nf-grey-f5); }
}
@media (prefers-reduced-motion: reduce) { .nf-tier1:active, .nf-tier2:active { transform: none; opacity: 0.85; } }

/* Scroll reveal on the hero and section titles only: opacity + 16px rise, 600ms ease-out-expo, 40ms stagger */
.nf-hero [data-reveal], .nf-section-title[data-reveal] {
  --nf-reveal-from-transform: translateY(16px);
  --nf-reveal-duration: 0.6s;
  --nf-reveal-ease: var(--nf-home-ease-expo);
}
.nf-hero__lead[data-reveal] { --nf-reveal-delay: 0.04s; }
.nf-hero__doors[data-reveal] { --nf-reveal-delay: 0.08s; }
.nf-hero__media[data-reveal] { --nf-reveal-delay: 0.12s; }

/* ==========================================================================
   F1 Hero and credibility strip
   ========================================================================== */
/* Layout as the "Proposed" panel of the hero resize study (Danny, 2026-11-05): copy left-aligned in the column, the
   headline 16px under the 80px nav, lead 16px and buttons 28px below it, the lead at 74% white.
   Desktop and tablet: 48px more above the headline (now 64px under the nav), as it sat too close to the nav (Nathan,
   2026-11-16). Phone keeps its own 107px below. */
.nf-hero { background-color: var(--nf-black); color: var(--nf-white); padding: 144px 0 56px; }
.nf-hero__copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.nf-hero__title {
  max-width: 1000px;
  font-family: var(--nf-home-headline-font); font-weight: var(--nf-home-headline-weight);
  font-size: var(--nf-home-display); line-height: 1.1; letter-spacing: var(--nf-home-tracking);
}
.nf-hero__lead {
  max-width: 820px; margin-top: 16px;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: var(--nf-home-lead); line-height: 1.25;
  color: rgba(255, 255, 255, 0.74);
}
.nf-hero__doors { display: flex; gap: 12px; margin-top: 28px; }

/* Hero resize study (Danny, 2026-11-05): the video leaves the column and runs full bleed at 2.39:1, which keeps 74% of
   the 16:9 frame (the 1240 / 396 strip kept 51%), 48px under the buttons. Phone: full bleed at 16:9, 32px under. */
.nf-hero__media { margin-top: 48px; aspect-ratio: 2.39 / 1; overflow: hidden; background-color: #1a1a1a; }
/* 20% from the top keeps the whole Doha skyline and the sea in the frame */
.nf-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Two rows, as in the hero resize study: Trusted by over As seen in. The labels share one column (as wide as the
   longer label, in any language), so both rows of logos start on the same line. */
.nf-hero__strip {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 32px; row-gap: 44px;   /* 28 + 16 between Trusted by and As seen in (Nathan, 2026-11-16) */
  margin-top: 64px;   /* 64px under the full bleed video (hero resize study); production 40 */
}
.nf-hero__group { display: contents; }
/* Strip labels as written ("Trusted By", "As Seen In"), not uppercase, in plain white (Danny, 2026-11-06) */
.nf-hero__group .nf-label { flex: none; font-size: var(--nf-home-label-strip); color: #ffffff; text-transform: none; }
.nf-hero__logos { display: flex; align-items: center; gap: var(--nf-home-logo-gap); }
.nf-hero__logos li { display: flex; align-items: center; justify-content: center; }

/* Trusted by marquee, as the live home ticker: leftward at 40px/s, linear, edges faded over 12.5%. js/home.js sets
   the duration from the list width (40s until it runs). Pauses under the pointer so a name can be read. */
.nf-hero__group--trusted { flex: 1 1 auto; min-width: 0; }
/* Held at its own width: next to the marquee's long track it would otherwise be squeezed and its logos overflow */
.nf-hero__group--press { flex: none; }
.nf-hero__marquee {
  flex: 1 1 auto; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 12.5%, #000 87.5%, transparent 100%);
}
.nf-hero__track { display: flex; width: max-content; animation: nf-hero-marquee var(--nf-hero-marquee-dur, 40s) linear infinite; }
/* Each list carries the gap after its last logo, so -50% is exactly one list and the loop has no seam */
.nf-hero__track .nf-hero__logos { flex: none; padding-right: var(--nf-home-logo-gap); }
@keyframes nf-hero-marquee { to { transform: translateX(-50%); } }
@media (hover: hover) { .nf-hero__marquee:hover .nf-hero__track { animation-play-state: paused; } }
/* Reduced motion: no run; the copy is dropped and every logo shows, wrapped */
@media (prefers-reduced-motion: reduce) {
  .nf-hero__marquee { -webkit-mask-image: none; mask-image: none; }
  .nf-hero__track { width: auto; animation: none; }
  .nf-hero__track .nf-hero__logos { flex: 1 1 auto; flex-wrap: wrap; row-gap: 20px; padding-right: 0; }
  .nf-hero__track .nf-hero__logos[aria-hidden="true"] { display: none; }
}
/* As seen in is built as the same marquee, but its four logos fit one row on computers and tablets, so there it stands
   still (copy dropped, no fade) and only runs on phones (Nathan, 2026-11-16) */
@media (min-width: 810px) {
  .nf-hero__group--press .nf-hero__marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .nf-hero__group--press .nf-hero__track { width: auto; animation: none; }
  .nf-hero__group--press .nf-hero__track .nf-hero__logos { padding-right: 0; }
  .nf-hero__group--press .nf-hero__logos[aria-hidden="true"] { display: none; }
}

/* Logos drawn white on the black hero; heights set per mark so wordmarks and stacked marks read at one size */
.nf-hero__logo { width: auto; height: 26px; max-width: 120px; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.72; }
.nf-hero__logo--qdb { height: 38px; }
.nf-hero__logo--qf { height: 44px; }
.nf-hero__logo--sis, .nf-hero__logo--embassy { height: 40px; }
.nf-hero__logo--bni, .nf-hero__logo--dbs, .nf-hero__logo--hei { height: 22px; }
.nf-hero__logo--pwc { height: 34px; }
.nf-hero__logo--wpp { height: 20px; }
.nf-hero__logo--mazars { height: 18px; }
.nf-hero__logo--noc { height: 32px; }
.nf-hero__logo--bsj { height: 28px; }
.nf-hero__logo--nzs { height: 26px; }
.nf-hero__logo--fortune { height: 20px; }
.nf-hero__logo--nikkei { height: 16px; }
.nf-hero__logo--natgeo { height: 26px; }
.nf-hero__logo--entrepreneur { height: 28px; max-width: none; }   /* Entrepreneur Middle East (Nathan, 2026-11-16) */

/* ==========================================================================
   F2 How the system works together
   ========================================================================== */
.nf-system { background-color: var(--nf-white); padding: var(--nf-home-section-pad) 0; }
.nf-system__title { margin-bottom: var(--nf-home-title-gap); }

/* ABA rhythm: Sensing and Intelligence label-left (340 + 840), Filtration full width with the label above */
.nf-system__panel { display: grid; grid-template-columns: 340px minmax(0, 1fr); column-gap: 60px; row-gap: 32px; padding: 48px 0; }
.nf-system__panel + .nf-system__panel { border-top: 1px solid var(--nf-home-line); }
/* The title gap alone sets the space above the first panel */
.nf-system__panel:first-of-type { padding-top: 0; }
.nf-system__panel--wide { grid-template-columns: minmax(0, 1fr); }
.nf-system__text { display: flex; flex-direction: column; gap: 12px; }
.nf-system__panel--wide .nf-system__text { max-width: 760px; }
.nf-system__desc { font-family: var(--nf-font-regular); font-weight: 400; font-size: var(--nf-home-body); line-height: 1.4; color: var(--nf-black); }

.nf-system__media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--nf-home-grid-gap); }
.nf-system__media--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nf-system__fig { display: flex; flex-direction: column; gap: 12px; }
.nf-system__img { width: 100%; aspect-ratio: 3 / 2; border-radius: 16px; overflow: hidden; background-color: var(--nf-grey-f5); }
.nf-system__img img { width: 100%; height: 100%; object-fit: cover; }
.nf-system__cap { font-family: var(--nf-font-medium); font-weight: 500; font-size: var(--nf-home-caption); line-height: 1.25; color: var(--nf-home-text-2); }
.nf-system__cap-short { display: none; }

/* Maintenance, carried as one line under the three panels; full-width rule like the panel dividers, text left, and
   the same spacing either side of the rule (the last panel's 48px bottom padding above, 48px below) */
.nf-system__service {
  padding-top: 48px; border-top: 1px solid var(--nf-home-line);
  font-family: var(--nf-font-regular); font-weight: 400; font-size: var(--nf-home-body); line-height: 1.4;
  color: var(--nf-black); text-align: left;
}

/* ==========================================================================
   F3 The two doors
   ========================================================================== */
.nf-doors { background-color: var(--nf-grey-f5); padding: var(--nf-home-section-pad) 0; }
.nf-doors__title { margin-bottom: var(--nf-home-title-gap); }
.nf-doors__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--nf-home-grid-gap); }
.nf-doors__card { display: flex; flex-direction: column; padding: 32px; border-radius: 24px; background-color: var(--nf-white); }
.nf-doors__img { aspect-ratio: 5 / 2; border-radius: 16px; overflow: hidden; background-color: var(--nf-grey-f5); }
.nf-doors__img img { width: 100%; height: 100%; object-fit: cover; }
.nf-doors__card .nf-label { margin-top: 32px; }
.nf-doors__text {
  margin-top: 12px;
  font-family: var(--nf-font-regular); font-weight: 400; font-size: var(--nf-home-lead); line-height: 1.25;
  color: var(--nf-black);
}
/* Quote slot: one attributed line per card. Homes carries a member quote, Business the GIZ result until a business
   quote clears the gate (see the comments in index.html). The two boxes grow to the same height with the attribution
   on the bottom line, and lines are balanced so a last word never sits alone. */
.nf-doors__quote {
  display: flex; flex-direction: column; justify-content: space-between; gap: 8px; flex: 1 0 auto;
  margin: 24px 0 0; padding: 16px 20px; border-radius: 12px; background-color: var(--nf-grey-f5);
}
.nf-doors__quote[hidden] { display: none; }
.nf-doors__quote p { font-family: var(--nf-font-regular); font-size: var(--nf-home-body); line-height: 1.4; color: var(--nf-black); text-wrap: balance; }
.nf-doors__quote .nf-doors__cite { font-family: var(--nf-font-medium); font-weight: 500; font-size: 16px; line-height: 1.25; color: var(--nf-home-text-2); }
/* The result's figure, in Medium so the line reads as data rather than as a quote */
.nf-doors__stat { font-family: var(--nf-font-medium); font-weight: 500; }
/* Buttons at their own width (as live Tier 2) and left aligned; pinned to the card bottom so both line up */
.nf-doors__cta { padding-top: 40px; margin-top: auto; }
/* Desktop and tablet: each card is a subgrid of the pair's five rows, so image, label, text, quote box and button sit
   level across both cards whatever their line counts (the quote boxes take the taller one's height) */
@media (min-width: 810px) {
  .nf-doors__cards { row-gap: 0; }
  .nf-doors__card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .nf-doors__cta { grid-row: 5; }
}

/* ==========================================================================
   Tablet (810 to 1439.98): fluid, same structure
   ========================================================================== */
@media (max-width: 1439.98px) {
  :root {
    --nf-home-display: 60px; --nf-home-section: 52px; --nf-home-lead: 24px; --nf-home-body: 18px; --nf-home-caption: 18px;
    --nf-home-label: 18px; --nf-home-btn: 18px; --nf-home-btn-h: 50px; --nf-home-btn-pad: 12px 26px;
    --nf-home-gutter: 40px; --nf-home-section-pad: 64px; --nf-home-title-gap: 48px; --nf-home-logo-gap: 28px;
  }
  .nf-system__panel { grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); column-gap: 40px; }
  .nf-system__panel--wide { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================================
   Phone (<= 809.98): 393 frame, first screen ends at 844
   ========================================================================== */
@media (max-width: 809.98px) {
  /* how-it-works at 390: subhead 20, body 16, eyebrow 18, secondary 13, buttons 16 Medium */
  :root {
    --nf-home-display: 40px; --nf-home-section: 32px; --nf-home-lead: 20px; --nf-home-body: 16px; --nf-home-caption: 14px;
    --nf-home-label: 16px; --nf-home-label-strip: 14px; --nf-home-btn: 16px; --nf-home-btn-h: 48px; --nf-home-btn-pad: 12px 24px;
    --nf-home-gutter: 24px; --nf-home-section-pad: 48px; --nf-home-title-gap: 32px; --nf-home-logo-gap: 24px;
  }
  .nf-tier1, .nf-tier2 { font-family: var(--nf-font-medium); font-weight: 500; }

  .nf-hero { padding: 107px 0 40px; }
  .nf-hero__copy { align-items: stretch; text-align: left; }
  .nf-hero__title { line-height: 1.1; }
  .nf-hero__lead { margin-top: 12px; }
  .nf-hero__doors { flex-direction: column; gap: 12px; margin-top: 24px; }
  .nf-hero__doors .nf-tier1 { width: 100%; }
  .nf-hero__media { margin-top: 32px; aspect-ratio: 16 / 9; }

  /* Trusted by and As seen in both run full width under their labels, as marquees (As seen in since Nathan,
     2026-11-16; it was a 2 x 2 grid) */
  /* nowrap: a wrapping column would size its line to the marquee track's full width, not the column */
  .nf-hero__strip { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 40px; margin-top: 40px; }   /* 32 + 8 (Nathan, 2026-11-16) */
  .nf-hero__group { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .nf-hero__marquee { width: 100%; }

  .nf-section-title { text-align: left; }
  .nf-system__panel, .nf-system__panel--wide { grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 32px 0; }
  .nf-system__media { gap: 8px; }
  .nf-system__img { aspect-ratio: 4 / 3; border-radius: 12px; }
  .nf-system__media--3 .nf-system__img { aspect-ratio: 4 / 5; }
  .nf-system__fig { gap: 8px; }
  .nf-system__cap-long { display: none; }
  .nf-system__cap-short { display: inline; }
  .nf-system__service { padding-top: 32px; }

  .nf-doors__cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .nf-doors__card { padding: 16px; border-radius: 20px; }
  .nf-doors__img { aspect-ratio: 16 / 9; border-radius: 12px; }   /* taller on phone, the size of live nafas.com's home cards (403 x 226; Danny 2026-10-30) */
  .nf-doors__card .nf-label { margin-top: 20px; }
  .nf-doors__text { margin-top: 8px; }
  .nf-doors__cta .nf-tier1 { width: 100%; }
  .nf-doors__cta { padding-top: 24px; }
}

/* Door card buttons are Tier 1 green (Danny, 2026-10-28; v14 had Tier 2 outline). On the white card the hero's white
   focus ring would vanish, so it is black here. */
.nf-doors .nf-tier1:focus-visible { outline-color: var(--nf-black); }

/* Section titles ("How the system works together.", "For your home, or for your business.") in Regular 400, the weight
   of the residential "Real Stories from Clean Air Zone Members." title (Danny, 2026-10-28; v14 had Medium 500).
   The hero title stays Medium. */
.nf-section-title { font-family: var(--nf-font-regular); font-weight: 400; }

/* "In a home" photo zoomed in on the monitor (Danny, 2026-10-28): 1.5x from the monitor's spot in the photo (59% across,
   52% down), so it stays centred where it is and fills more of the frame at every breakpoint. */
.nf-system__img img.nf-system__zoom-home { transform: scale(1.5); transform-origin: 59% 52%; }

/* Filtration photo focus (Danny, 2026-10-28): the room purifier sits a bit lower in its frame so more of it shows;
   the office photo shows the top of the photo, a bit zoomed in (scaled from the top edge, so the top stays in place) */
.nf-system__img img[src$="filtration-room.jpg"] { object-position: 50% 75%; }
/* Phone (4:5 card): framed like desktop (Danny 2026-10-29): purifier top about 22% down, its base just past the bottom.
   Visible window 525 x 656 of the 840 x 1262 photo from x 149, y 486: cover at 50% 100%, then 1.6x about 47.3% 69.6%. */
/* + 10% (Danny 2026-10-29), zoomed about the purifier's top so the top stays where it is: scale(1.1) about (50%, 22%) after
   scale(1.6) about (47.3%, 69.6%) = scale(1.76) about (47.7%, 63.3%). */
@media (max-width: 809.98px) { .nf-system__img img[src$="filtration-room.jpg"] { object-position: 50% 100%; transform: scale(1.76); transform-origin: 47.7% 63.3%; } }
/* office photo: zoomed in on the ceiling unit and kept centred on it (the unit sits near the top of the photo, so the
   zoom grows from the top edge at the unit's centre line) */
.nf-system__img img[src$="filtration-mounted.jpg"] { object-position: 50% 0%; transform: scale(1.3); transform-origin: 48% 0%; }
/* Phone (4:5 card): on the ceiling Sky80 (photo x 213-560, top y 55 of 840 wide), sized so the unit spans the card width
   minus 16px each side, with 16px above it (Danny 2026-10-29). Width and margins in % of the card's width, so it holds at
   every phone size: image width = (100% - 32px) * 840 / 347. */
@media (max-width: 809.98px) {
  .nf-system__img img[src$="filtration-mounted.jpg"] {
    width: calc((100% - 32px) * 2.4207); max-width: none; height: auto; transform: none;
    margin-left: calc(16px - (100% - 32px) * 0.6138); margin-top: min(0px, calc(16px - (100% - 32px) * 0.1585)); /* the photo has only 55px above the unit: never leave a gap at the top */
  }
}
/* EcoFlow inside the AHU: a bit zoomed in and anchored to the right, on the EcoFlow modules (Danny, 2026-10-28) */
.nf-system__img img[src$="filtration-ahu.jpg"] { object-position: 100% 50%; transform: scale(1.5); transform-origin: 100% 50%; }
/* Integrates card = the technician in the AHU doors (Danny 2026-10-29): home/filtration-ahu-tech-2 is his full portrait
   "NFS_EcoFlow_Ins-06.jpg" (1334 x 2048). Focus on the top: the crop starts at the top of the doorway (y 300), so the blue
   pipes above it are out. 3:2 card shows 889px of height: (300 / (2048 - 889)) = 26%; phone 4:5 shows 1667: 79%. */
.nf-system__img img[src$="filtration-ahu-tech-2.jpg"] { object-position: 50% 22%; transform: scale(1.1); transform-origin: 50% 0%; } /* crop starts just under the 3 blue wires, at the door frame top (y 255 = 22% of 2048 - 889), 1.1x from the top edge (Danny 2026-10-29) */ /* crop starts at the base of the 3 blue wires (y 205; Danny 2026-10-29): 205 / (2048 - 889) */
@media (max-width: 809.98px) { .nf-system__img img[src$="filtration-ahu-tech-2.jpg"] { object-position: 50% 67%; transform: scale(1.65); transform-origin: 55% 0%; } } /* phone: from the wire base too (205 / (2048 - 1667)), 1.5x on the technician */

/* For Homes door: the bottom of the bedroom photo (bed, purifier) in view (Danny, 2026-10-28) */
.nf-doors__img img[src$="door-homes.jpg"] { object-position: 50% 100%; }
/* For Business door (the /business hero photo): the crop starts 24px below the top of the photo (Danny, 2026-10-28).
   max() with 100% (the photo's whole spare height) stops it at the bottom of the photo if a frame ever has less than
   24px to move, so no empty strip shows. */
.nf-doors__img img[src$="res-healthy-air-one-monthl-hero.jpg"] { object-position: 50% max(-24px, 100%); }

/* Type scale based on the residential page, shared with the Healthy Building Assessment page (Danny, 2026-10-28),
   desktop / tablet / phone: section titles SF Pro Text Regular 52 / 38 / 28 at 1.2, normal tracking (as the residential
   testimonials title); intro lines under titles 24 / 24 / 18 at 1.2; body 20 / 20 / 15 at 1.4. The hero keeps its own
   title (72) and line (28), as the residential hero. */
/* Also (Danny, 2026-10-28): panel labels ("Sensing", "For Homes"...) as the residential card names, Medium 28 / 28 / 21;
   photo captions as the residential small text, 16 / 16 / 13; buttons on the site's button system, 21px / 54px with
   32px corners (phone 15px / 35px). The "Trusted by" / "As seen in" strip labels keep their own size. */
:root {
  --nf-home-section: 52px; --nf-home-body: 20px; --nf-home-label: 28px; --nf-home-caption: 16px;
  --nf-home-btn: 21px; --nf-home-btn-h: 54px; --nf-home-btn-pad: 0 24px;
}
.nf-section-title { font-family: var(--nf-font-sfns-text); font-weight: 400; line-height: 1.2; letter-spacing: normal; }
.nf-doors__text { font-size: 24px; line-height: 1.2; }
.nf-tier1, .nf-tier2 { height: var(--nf-home-btn-h); min-height: 0; border-radius: 32px; }
@media (max-width: 1439.98px) {
  :root {
    --nf-home-section: 38px; --nf-home-body: 20px; --nf-home-label: 28px; --nf-home-caption: 16px;
    --nf-home-btn: 21px; --nf-home-btn-h: 54px; --nf-home-btn-pad: 0 24px;
  }
}
@media (max-width: 809.98px) {
  :root {
    --nf-home-section: 28px; --nf-home-body: 15px; --nf-home-label: 21px; --nf-home-caption: 13px;
    --nf-home-btn: 15px; --nf-home-btn-h: 35px; --nf-home-btn-pad: 0 16px;
  }
  .nf-doors__text { font-size: 18px; }
  .nf-tier1, .nf-tier2 { font-family: var(--nf-font-regular); font-weight: 400; }
}
/* No press animation on the home buttons (For Homes / For Business; Danny, 2026-10-28): no shrink or fade on click */
.nf-tier1:active, .nf-tier2:active { transform: none; opacity: 1; }

/* Phone "On your phone" card (4:3, Danny 2026-10-29): zoomed so the phone in the photo (x 476-787, y 171-667 of 1260 x 840)
   fills the card height with 16px above and below, centred across. Card height = 75% of its width, so in % of width:
   image width = (75% - 32px) * 1260 / 496. */
@media (max-width: 809.98px) {
  .nf-system__img img[src$="intelligence-phone-2.jpg"] {
    width: calc((75% - 32px) * 2.5403); max-width: none; height: auto; transform: none;
    margin-top: calc(16px - (75% - 32px) * 0.3448); margin-left: calc(50% - (75% - 32px) * 1.2722);
  }
}

/* Phone hero "For Homes" / "For Business": the residential "Become a Member" button (pages/residential/css/30-size.css,
   phone): 100vw - 112px wide (278 at 390), centred, 35px tall, 0 16px padding, 15 / 18 Regular (Danny 2026-11-05). */
@media (max-width: 809.98px) {
  .nf-hero__doors { align-items: center; }
  .nf-hero__doors .nf-tier1 {
    width: calc(100vw - 112px); max-width: 100%; align-self: center;
    height: 35px; min-height: 35px; padding: 0 16px;
    font-family: var(--nf-font-regular); font-weight: 400; font-size: 15px; line-height: 18px;
  }
}

/* Phone system photos swipe left and right (Danny 2026-10-30): each row (Sensing, Filtration, Intelligence) is a
   horizontal scroller of 4:5 cards, 76% of the screen wide so the next card peeks in, snapping card by card. The row
   runs to the screen edges and starts and ends on the gutter. Tablet and desktop keep their grids. */
@media (max-width: 809.98px) {
  .nf-system__media, .nf-system__media--3 {
    display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--nf-home-gutter)); padding: 0 var(--nf-home-gutter); scroll-padding: 0 var(--nf-home-gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .nf-system__media::-webkit-scrollbar { display: none; }
  .nf-system__media > li { flex: 0 0 76%; scroll-snap-align: start; }
  .nf-system__img, .nf-system__media--3 .nf-system__img { aspect-ratio: 4 / 5; }
  /* the long captions fit the wider cards */
  .nf-system__cap-long { display: inline; }
  .nf-system__cap-short { display: none; }
  /* "On your phone" in the 4:5 card: same fit as the 4:3 rule above (phone fills the height with 16px above and below),
     with the card height now 125% of its width */
  .nf-system__img img[src$="intelligence-phone-2.jpg"] {
    width: calc((125% - 32px) * 2.5403);
    margin-top: calc(16px - (125% - 32px) * 0.3448); margin-left: calc(50% - (125% - 32px) * 1.2722);
  }
  /* "On a dashboard": the 4:5 card shows 921 of the photo's 1400px width; the monitor (x 100-920) sits left of centre, so
     the window starts at x 50 (50 / (1400 - 921) = 10%) and the whole screen shows with a little room each side */
  .nf-system__img img[src$="hiw-business-findings.jpg"] { object-position: 10% 50%; }
}

/* Phone For Business door photo (Danny 2026-10-30, option B lowered): zoomed 1.2x from the top of the photo, then the
   frame moved 12px down the photo (24px on his 2x reference image; was 24, Danny: "not 48 but 24") so the dark band at the top is out: the ceiling unit,
   the panelled wall and the screens show. The 1.2x photo is 35px taller than the frame, so 12px leaves no gap below. */
@media (max-width: 809.98px) {
  .nf-doors__img img[src$="res-healthy-air-one-monthl-hero.jpg"] { object-position: 50% 0%; transform: translateY(-12px) scale(1.2); transform-origin: 50% 0%; }
}

/* Phone "In a home" (4:5 card): AirTest centred across (Danny 2026-10-30). The device (sphere + mount) is centred at
   63.7% across the photo; the 3:2 photo drawn at the card's height is 1.875 card widths wide, so object-position x =
   (1.875 x 0.637 - 0.5) / 0.875 = 79.3% puts it at the card's middle, and the 1.5x zoom grows from that middle. */
@media (max-width: 809.98px) {
  .nf-system__img img.nf-system__zoom-home { object-position: 79.3% 50%; transform: scale(1.65); transform-origin: 50% 52%; }   /* 1.5x + 10% (Danny 2026-10-30) */
}

/* Phone typescale = the residential page's phone sizes (Danny 2026-10-30; measured at 390 on residential.html):
   hero title 34 / 40.8 (residential hero title; weight stays Medium, Danny 2026-10-28), hero line 16 / 20.8 (hero sub),
   body and the line under a door label 16 / 20 (business, ownership and ecosystem copy), captions 13 / 16 (size plan
   notes), door quotes 14 / 16.8 Medium with 12 / 14.4 Medium names (the Antoine quote in the size section). Section
   titles 28 / 33.6, labels 21 / 25.2, buttons 15 / 18 and strip labels 14 / 16.8 already matched. */
@media (max-width: 809.98px) {
  .nf-hero__title { font-size: 34px; line-height: 37.4px; letter-spacing: normal; }   /* 37.4: hero resize study */
  .nf-hero__lead { font-size: 16px; line-height: 24px; }   /* 24: hero resize study */
  .nf-system__desc, .nf-system__service, .nf-doors__text { font-size: 16px; line-height: 20px; }
  .nf-system__cap { font-size: 13px; line-height: 16px; }
  .nf-doors__quote p { font-family: var(--nf-font-medium); font-weight: 500; font-size: 14px; line-height: 16.8px; }
  .nf-doors__quote .nf-doors__cite { font-size: 12px; line-height: 14.4px; }
  .nf-doors__quote p:has(.nf-doors__stat) { font-family: var(--nf-font-regular); font-weight: 400; }   /* GIZ line stays Regular so "95% lower" (Medium) still stands out */
}
/* /components/region.css */
/* ==========================================================================
   Region pop-up (components/region.js), as the designers drew it: their region-selector.html of 2026-11-03 (Figma
   "Ready-to-Develop" 3657:17689 wrong region, 3657:17513 no match, 3658:17512 phone). Their classes, renamed for this
   site: .rp → .nf-region, .rp-card → .nf-region__card, .rp-go → .nf-region__go, and so on.
   - A dark backdrop and a white 647px card with 8px corners, left-aligned text and a thin ×.
   - The text roles of their typescale: title = Subsection (500, 28 / 26 / 24px), text = Body (400, 16px, grey),
     pill and "Stay" = Button (500, 15px), list rows = Nav item (500, 15px). The file draws them in Inter and says to
     use the site's own type: here this site's fonts (base.css).
   - A green pill with the suggested site; its arrow opens every other site in a list that tucks under the pill, and
     the pill widens to the list. "Stay" is outlined in green.
   - Up to 690px wide the two buttons stack and the pill shows only the language.
   Breakpoints for the type: desktop >= 1440, tablet 810-1439.98, phone <= 809.98. base.css resets buttons
   (all: unset, so box-sizing and centring are set here), lists and links.
   ========================================================================== */
.nf-region {
  --nf-region-ease: cubic-bezier(.33, 1, .68, 1);
  position: fixed; inset: 0; z-index: 1001; display: flex; overflow-y: auto; padding: 16px;
  background: rgba(0, 0, 0, .72); opacity: 0; transition: opacity 200ms var(--nf-region-ease);
}
.nf-region.is-in { opacity: 1; }

/* margin: auto centres the card and, on a very short screen, lets it scroll instead of cutting its top off */
.nf-region__card {
  position: relative; display: flex; flex-direction: column; width: 647px; max-width: 100%; margin: auto;
  padding: 32px; border-radius: 8px; background: var(--nf-white); color: var(--nf-black); text-align: left;
  opacity: 0; transform: translateY(8px) scale(.98);
  transition: opacity 220ms var(--nf-region-ease), transform 320ms var(--nf-region-ease);
}
.nf-region.is-in .nf-region__card { opacity: 1; transform: none; }
.nf-region__card:focus { outline: none; }

/* Close: a 16px icon with a 44px hit area */
.nf-region__top { display: flex; justify-content: flex-end; height: 16px; }
.nf-region__x {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -14px; border-radius: 50%;
  color: var(--nf-black); cursor: pointer;
}
.nf-region__x svg { width: 16px; height: 16px; }

.nf-region__copy { display: flex; flex-direction: column; gap: 16px; }
.nf-region__title {
  margin: 0; font-family: var(--nf-font-medium); font-weight: 500; font-size: 28px; line-height: 1.3;
  letter-spacing: -.02px; text-wrap: balance;
}
.nf-region__desc {
  margin: 0; font-family: var(--nf-font-regular); font-weight: 400; font-size: 16px; line-height: 1.5;
  letter-spacing: -.02px; color: var(--nf-grey-61); text-wrap: pretty;
}

/* ---------- The two buttons ---------- */
.nf-region__actions { display: flex; align-items: stretch; gap: 18px; padding-top: 32px; }
.nf-region__go, .nf-region__stay, .nf-region__opt {
  font-family: var(--nf-font-medium); font-weight: 500; font-size: 15px; line-height: 1.2; letter-spacing: -.02px;
}

.nf-region__select { position: relative; }
.nf-region__pill {
  position: relative; z-index: 2; display: flex; align-items: stretch; height: 51px; border-radius: 62px;
  background: var(--nf-green); overflow: hidden; transition: width 260ms var(--nf-region-ease);
}
.nf-region__go, .nf-region__toggle {
  display: flex; align-items: center; color: var(--nf-black); text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nf-region__go { flex: 1; gap: 16px; min-width: 0; padding: 0 8px 0 24px; }
.nf-region__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf-region__toggle { padding: 0 24px 0 8px; }
.nf-region__toggle svg { width: 10px; height: 10px; transition: transform 260ms var(--nf-region-ease); }
.nf-region__select.is-open .nf-region__toggle svg { transform: rotate(180deg); }
.nf-region__go:active, .nf-region__toggle:active { background: #a5cf76; }

.nf-region__ico { display: block; flex: none; width: 18px; height: 18px; }

.nf-region__stay {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center; height: 51px; padding: 0 24px;
  border: 1px solid var(--nf-green); border-radius: 62px; background: var(--nf-white); color: var(--nf-black);
  cursor: pointer; white-space: nowrap;
}

/* ---------- The list of sites: tucks under the pill and may reach past the card ---------- */
.nf-region__list {
  position: absolute; z-index: 1; top: 25px; left: 0; width: max-content; min-width: 100%;
  margin: 0; padding: 26px 0 4px; list-style: none;
  background: var(--nf-white); border-radius: 0 0 8px 8px; box-shadow: 0 10px 20px rgba(0, 0, 0, .05);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity 170ms var(--nf-region-ease), transform 260ms var(--nf-region-ease), visibility 0s linear 260ms;
}
.nf-region__select.is-open .nf-region__list { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nf-region__opt {
  display: flex; align-items: center; gap: 12px; height: 51px; padding: 0 24px;
  color: var(--nf-black); text-decoration: none; white-space: nowrap;
}
.nf-region__list li:last-child .nf-region__opt { border-radius: 0 0 8px 8px; }

@media (hover: hover) {
  .nf-region__x:hover, .nf-region__stay:hover, .nf-region__opt:hover { background: var(--nf-grey-f5); }
}

.nf-region__x:focus-visible, .nf-region__go:focus-visible, .nf-region__toggle:focus-visible,
.nf-region__stay:focus-visible, .nf-region__opt:focus-visible { outline: 2px solid var(--nf-green); outline-offset: 2px; }
.nf-region__go:focus-visible, .nf-region__toggle:focus-visible { outline-color: var(--nf-black); outline-offset: -4px; }
.nf-region__opt:focus-visible { outline-offset: -2px; }

/* The pill's label: the full name, or only the language up to 690px */
.nf-region__short { display: none; }

/* ---------- tablet and phone type ---------- */
@media (max-width: 1439.98px) { .nf-region__title { font-size: 26px; } }
@media (max-width: 809.98px) { .nf-region__title { font-size: 24px; } }

/* ---------- up to 690px (Figma 3658:17512: a 351px card in a 390px screen) ---------- */
@media (max-width: 690px) {
  .nf-region { padding: 20px; }
  .nf-region__actions { flex-direction: column; gap: 18px; }
  .nf-region__select, .nf-region__pill { width: 100% !important; }
  .nf-region__stay { width: 100%; }

  /* Flag, language and arrow, centred. The link covers the whole pill; the arrow sits on top with its own target. */
  .nf-region__pill { justify-content: center; }
  .nf-region__go { position: static; flex: none; padding: 0; }
  .nf-region__go::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .nf-region__go:active::before { background: #a5cf76; }
  .nf-region__go:active { background: none; }
  .nf-region__go > * { position: relative; }
  .nf-region__toggle { position: relative; z-index: 1; padding: 0 16px; margin-right: -16px; }
  .nf-region__full { display: none; }
  .nf-region__short { display: inline; }
  .nf-region__go:focus-visible { outline: none; }
  .nf-region__go:focus-visible::before { box-shadow: inset 0 0 0 2px var(--nf-black); }

  .nf-region__list { width: 100%; }
  .nf-region__opt span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  .nf-region, .nf-region__card, .nf-region__pill, .nf-region__list, .nf-region__toggle svg { transition: none !important; }
}
