/* Nord N8, Phase 2 launch site
   Values taken directly from the Figma frame PHASE 2 / HOMEPAGE (4135:191), 1440 wide.
   Nothing here is estimated: sizes, spacing, type and colour all come from the node data. */

/* ---------- Fonts ---------- */
@font-face { font-family: "Nord"; src: url("../assets/fonts/NORD-Bold.woff2") format("woff2"), url("../assets/fonts/NORD-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nord"; src: url("../assets/fonts/NORD-Regular.woff2") format("woff2"), url("../assets/fonts/NORD-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Tokens (from the Figma file and nord-brand-colours) ---------- */
:root {
  --navy: #2E2F4A;          /* page background */
  --teal: #00A7A8;          /* accent, current nav item, badge dot */
  --teal-deep: #007F80;     /* buttons */
  --light: #F9FAFB;         /* cards, footer */
  --white: #FFFFFF;
  --line-light: #E3DDD1;    /* footer divider */
  --keyline: rgba(255,255,255,0.35);
  --font-display: "Nord", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --page: 1440px;
  --gutter: 48px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: var(--font-body); font-weight: 500; font-size: 20px; line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type styles (Figma text styles) ---------- */
.t-display  { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.08; letter-spacing: -0.02em; text-transform: none; }   /* Display/nord */
.t-heading-l { font-weight: 600; font-size: 48px; line-height: 1.1;  letter-spacing: -0.02em; }   /* Heading/L */
.t-heading-s { font-weight: 600; font-size: 24px; line-height: 1.3;  letter-spacing: 0; }         /* Heading/S */
.t-lead      { font-weight: 400; font-size: 24px; line-height: 1.5; }                            /* Body/Lead */
.t-body      { font-weight: 500; font-size: 20px; line-height: 1.5; }                            /* Body/Default */
.t-button    { font-weight: 600; font-size: 20px; line-height: 1.4; }                            /* Label/Button */

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; }
:root { --hero-top: 80px; }   /* space between the header and the page title, every page (was 25px under the 210 header with its divider) */
.pad  { padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---------- Header (4135:192) 1440 x 210 ---------- */
.site-header-bleed { background: var(--light); }   /* header ground runs edge to edge */
.site-header { height: 155px; padding: 24px var(--gutter) 28px; display: flex; flex-direction: column; background: var(--light); color: var(--navy); }   /* white header, Figma 4237:2 */
.header-row { position: relative; height: 103px; display: flex; align-items: flex-start; }
.brand { display: block; width: 110px; height: 103px; flex: 0 0 auto; }
.brand img { width: 110px; height: 103px; display: block; }
.nav { position: absolute; left: 351px; top: 31px; width: 989px; height: 40px; display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 24px; font-weight: 500; font-size: 20px; line-height: 1.5; }
.nav-links a { display: block; white-space: nowrap; color: var(--navy); }
.nav-links a[aria-current="page"] { color: var(--teal-deep); font-weight: 600; } /* deep teal on the light header: the bright teal is the on-navy accent and fails AA here */
.nav-icons { position: absolute; left: 821px; top: 0; width: 176px; height: 40px; }
.nav-icons a { position: absolute; top: 0; display: block; color: var(--navy); }
.nav-icons svg { position: absolute; }
.ico-phone { left: 0; }      .ico-phone svg { left: -1px; top: 3.9px; }
.ico-pin   { left: 45.17px; } .ico-pin   svg { left: -1px; top: 2.3px; }
.ico-mail  { left: 87.47px; } .ico-mail  svg { left: -1px; top: 6.9px; }
.ico-login { left: 132.8px; } .ico-login svg { left: 0;    top: 6px; }

/* ---------- Buttons (4135:220, 4135:231) ---------- */
.btn { display: inline-flex; align-items: center; background: var(--teal-deep); color: var(--white); border-radius: 8px; transition: background-color .2s ease, transform .2s ease; }
.btn:hover { background: #008C8D; }
.btn:active { transform: translateY(1px); }
.btn-join { gap: 14px; padding: 20px 28px 20px 32px; font-weight: 600; font-size: 24px; line-height: 1.3; }
.btn-join svg { width: 28px; height: 28px; }
.btn-offers { padding: 18px 32px; font-weight: 600; font-size: 20px; line-height: 1.4; }

/* ---------- Hero (4135:216) 1440 x 510 ---------- */
.hero { height: auto; padding: var(--hero-top) var(--gutter) 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.hero-copy { width: 100%; }
.hero-copy { display: flex; flex-direction: column; gap: 32px; padding-right: 200px; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.08; letter-spacing: -0.02em; }
.hero h1 .accent { color: var(--teal); }
.hero .t-lead { color: var(--white); }

/* ---------- Opening offers (4135:225) 1440 x 659, fixed positions ---------- */
.offers { position: relative; height: 659px; overflow: hidden; }
.offers-image { position: absolute; left: 734px; top: 40px; width: 658px; height: 579px; border-radius: 20px; overflow: hidden; }
.offers-image img { width: 100%; height: 100%; object-fit: cover; }
.offers-copy { position: absolute; left: 48px; top: 172px; width: 500px; display: flex; flex-direction: column; gap: 20px; }
.offers-copy .btn { align-self: flex-start; }
.offers-media { position: static; }
.badge { position: absolute; left: 564px; top: 40px; width: 360px; height: 360px; }
.badge img { width: 360px; height: 360px; animation: badge-spin 24s linear infinite; }
@keyframes badge-spin { to { transform: rotate(360deg); } }

/* Caption / Planned indicative CGI (4194:3) */
.cgi { position: absolute; right: 12px; bottom: 12px; padding: 4px 8px; border-radius: 6px; background: rgba(46,47,74,0.7); color: rgba(255,255,255,0.9); font-weight: 500; font-size: 11px; line-height: 1.3; white-space: nowrap; }

/* ---------- Feature link boxes (4135:263 / 266 / 269) 1440 x 670 each, parallax ---------- */
.feature { position: relative; display: block; height: 670px; overflow: hidden; color: var(--white); }
.feature-image { position: absolute; top: 40px; width: 658px; height: 590px; border-radius: 20px; overflow: hidden; }
.feature-image .parallax-img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.feature-title { position: absolute; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.08; letter-spacing: -0.02em; white-space: pre-wrap; will-change: transform; }
.feature--left  .feature-image { left: 48px; }
.feature--right .feature-image { left: 734px; }
/* Horizontal position and width exactly as Figma (the title straddles the picture's edge).
   Only the vertical position animates: from a third of the way down the picture to 40px above
   its bottom edge, driven by js/nord.js. */
.feature-title { text-shadow: 0 2px 28px rgba(46,47,74,0.5); }
.feature--gym .feature-title { left: 550px; top: 266px; width: 700px; }
.feature--pt  .feature-title { left: 600px; top: 266px; width: 760px; }
.feature--spa .feature-title { left: 556px; top: 246px; width: 680px; }
.feature:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }

/* ---------- Contrast therapy (4135:272) ---------- */
.contrast { padding: 140px var(--gutter); display: flex; flex-direction: column; gap: 64px; }
.contrast-intro { display: flex; flex-direction: column; gap: 24px; padding-right: 440px; }
.card-grid { display: flex; gap: 24px; }
.card { flex: 1 1 0; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--keyline); background: var(--light); }
.card-image { position: relative; height: 240px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-copy { flex: 1 1 auto; padding: 28px; display: flex; flex-direction: column; gap: 10px; color: var(--navy); }

/* Cards fade and rise in one after another when the grid scrolls into view (js/nord.js adds .is-in) */
.js .card-grid .card { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .card-grid .card:nth-child(2) { transition-delay: .22s; }
.js .card-grid .card:nth-child(3) { transition-delay: .44s; }
.js .card-grid.is-in .card { opacity: 1; transform: none; }
.js .offer-cards .offer { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .offer-cards .offer:nth-child(2) { transition-delay: .22s; }
.js .offer-cards.is-in .offer { opacity: 1; transform: none; }
.js .fade-grid > * { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .fade-grid > :nth-child(2) { transition-delay: .22s; }
.js .fade-grid > :nth-child(3) { transition-delay: .44s; }
.js .fade-grid > :nth-child(4) { transition-delay: .66s; }
.js .fade-grid.is-in > * { opacity: 1; transform: none; }
/* Any rounded picture that drifts with the scroll (data-parallax on the frame) */
.px-image { position: relative; overflow: hidden; border-radius: 20px; }
.px-image .parallax-img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }

/* ---------- Join us (4170:2) ---------- */
.join { padding: 0 var(--gutter) 140px; }

/* ---------- Footer (4135:293) ---------- */
.site-footer-bleed { background: var(--light); }   /* footer ground runs edge to edge */
.site-footer { background: var(--light); color: var(--navy); padding: 97px var(--gutter) 56px; display: flex; flex-direction: column; gap: 48px; }
.footer-rule { height: 1px; background: var(--line-light); }
.footer-cols { display: flex; gap: 32px; }
.footer-col { flex: 1 1 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col--brand { gap: 20px; }
.footer-logo { width: 90.77px; height: 85px; }
.footer-logo svg { width: 100%; height: 100%; }
.footer-col a { color: var(--navy); }
.footer-col a:hover { color: var(--teal-deep); }
.footer-base { display: flex; align-items: center; gap: 32px; }
.footer-base p { flex: 1 1 auto; }
.social { display: flex; gap: 12px; }
.social a { width: 40px; height: 40px; border-radius: 4px; display: grid; place-items: center; }
.social svg { width: 20px; height: 20px; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  .badge img { animation: none; }
  .feature-image .parallax-img { top: 0; height: 100%; transform: none !important; transition: none; }
  .feature-title { transform: none !important; }
  .js .card-grid .card, .js .offer-cards .offer, .js .fade-grid > * { opacity: 1; transform: none; transition: none; }
  .m-image .parallax-img, .px-image .parallax-img { top: 0; height: 100%; transform: none !important; }
}


/* =====================================================================
   MEMBERSHIP page (PHASE 2 / MEMBERSHIP v3, Light, 4156:2) 1440 x 4178
   ===================================================================== */
.m-section { padding: var(--hero-top) var(--gutter) 140px; display: flex; flex-direction: column; gap: 64px; }

/* Intro (4156:28) */
.m-intro { display: flex; flex-direction: column; gap: 24px; padding-right: 440px; }
.m-intro h1 { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.08; letter-spacing: -0.02em; }
.m-intro .t-lead { color: rgba(255,255,255,0.8); }

/* Image (4194:39) */
.m-image { position: relative; height: 560px; border-radius: 20px; overflow: hidden; }
.m-image .parallax-img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }

/* Opening offers (4156:32) */
.m-offers { display: flex; flex-direction: column; gap: 24px; }
.offer-cards { display: flex; gap: 24px; }
.offer { position: relative; flex: 1 1 0; display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 12px; }
.offer--lifetime { background: #00A2A7; color: var(--white); }
.offer--founder  { background: var(--light); color: var(--navy); }
.offer-title { font-weight: 600; font-size: 32px; line-height: 38px; }
.offer-body { font-weight: 400; font-size: 18px; line-height: 1.5; }
.offer--lifetime .offer-body { color: rgba(255,255,255,0.92); }
.offer--founder  .offer-body { color: rgba(46,47,74,0.8); }
.offer-points { display: flex; flex-direction: column; gap: 10px; }
.offer-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 20px; line-height: 1.4; }
.offer-points li::before { content: ""; flex: 0 0 10px; width: 10px; height: 10px; border-radius: 3px; background: currentColor; }
.offer--founder .offer-points li::before { background: #00A2A7; }
.offer-saving { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 10px; }
.offer--lifetime .offer-saving { background: rgba(255,255,255,0.14); }
.offer--founder  .offer-saving { background: rgba(0,162,167,0.10); }
.offer-saving strong { display: block; font-weight: 700; font-size: 30px; line-height: 1.2; }
.offer-saving span { display: block; font-weight: 500; font-size: 15px; line-height: 1.4; }
.offer--lifetime .offer-saving span { color: rgba(255,255,255,0.85); }
.offer--founder  .offer-saving span { color: rgba(46,47,74,0.85); }
.offer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 8px; padding-right: 170px; }
.btn-claim { display: inline-flex; align-items: center; padding: 16px 28px; border-radius: 8px; font-weight: 600; font-size: 20px; line-height: 1.3; }
.offer--lifetime .btn-claim { background: var(--white); color: var(--teal-deep); }
.offer--founder  .btn-claim { background: var(--teal-deep); color: var(--white); }
.offer-until { font-weight: 500; font-size: 16px; line-height: 1.5; }
.offer--lifetime .offer-until { color: rgba(255,255,255,0.92); }
.offer--founder  .offer-until { color: rgba(46,47,74,0.8); }
.offer-sticker { position: absolute; right: 32px; bottom: 32px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.2; white-space: nowrap; }
.offer--lifetime .offer-sticker { background: var(--white); color: var(--teal-deep); }
.offer--founder  .offer-sticker { background: #00A2A7; color: var(--white); }
.m-footnote { font-weight: 400; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.8); }

/* Sign up and detail (4156:64) */
.m-signup { display: flex; flex-direction: column; gap: 64px; }

/* Gymflow embed area (4156:65). The block below is a faithful stand in for the Gymflow
   memberships embed (light theme) and is replaced by the real embed at integration. */
.gf { background: var(--light); box-shadow: inset 0 0 0 1px #E4E7EC; border-radius: 8px; padding: 20px 24px; display: flex; flex-direction: column; gap: 20px; color: #101828; }
.gf-controls { display: flex; align-items: center; gap: 16px; height: 35px; }
.gf-heading { font-weight: 500; font-size: 18px; line-height: 1.45; }
.gf-tabs { display: flex; gap: 8px; }
.gf-pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px #E4E7EC; font-weight: 500; font-size: 13px; line-height: 1.45; color: #667085; }
.gf-pill--on { box-shadow: inset 0 0 0 1px var(--teal-deep); color: var(--teal-deep); }
.gf-spacer { flex: 1 1 auto; }
.gf-sort { display: flex; gap: 8px; }
.gf-ctl { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 8px; background: var(--white); box-shadow: inset 0 0 0 1px #E4E7EC; font-weight: 500; font-size: 13px; line-height: 1.45; color: #667085; }
.gf-row { display: flex; gap: 20px; }
.gf-card { flex: 1 1 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px #E4E7EC; }
.gf-card--empty { background: none; box-shadow: none; }
.gf-top { display: flex; align-items: center; gap: 8px; }
.gf-name { font-weight: 600; font-size: 15px; line-height: 1.45; color: #101828; }
.gf-status { font-weight: 400; font-size: 14px; line-height: 1.45; color: var(--teal-deep); white-space: pre; }
.gf-desc { font-weight: 400; font-size: 12.5px; line-height: 1.45; color: #667085; }
.gf-divider { height: 1px; background: #E4E7EC; }
.gf-foot { display: flex; align-items: center; gap: 12px; }
.gf-price { display: flex; flex-direction: column; gap: 2px; }
.gf-price strong { font-weight: 600; font-size: 20px; line-height: 1.45; color: #101828; }
.gf-price span { font-weight: 400; font-size: 12px; line-height: 1.45; color: #667085; }
.gf-more { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 12px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--teal-deep); font-weight: 500; font-size: 13px; line-height: 1.45; color: var(--teal-deep); }
.gf-embed { padding: 8px; }
.gf-offers { padding: 20px 24px 24px; gap: 16px; box-shadow: inset 0 0 0 2px var(--teal-deep); }
.gf-offers-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.gf-sub { font-weight: 500; font-size: 14px; line-height: 1.45; color: #667085; }
.gf-offers-row { display: flex; gap: 20px; }
.gf-offers-row .gf-frame { flex: 1 1 0; min-width: 0; }
.gf-frame { display: block; width: 100%; border: 0; border-radius: 8px; background: var(--light); }
.gf-powered { text-align: center; font-weight: 400; font-size: 11px; line-height: 1.45; color: #667085; }

/* Lead form, collapsed (4156:155) */
.m-lead { display: flex; align-items: center; gap: 48px; padding: 28px 32px; border-radius: 12px; background: var(--light); color: var(--navy); }
.m-lead-copy { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
.m-lead-copy p { font-weight: 500; font-size: 16px; line-height: 1.5; color: rgba(46,47,74,0.8); }
.btn-outline { display: inline-flex; align-items: center; padding: 16px 28px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--teal-deep); color: var(--teal-deep); font-weight: 600; font-size: 20px; line-height: 1.4; white-space: nowrap; }

/* Detail, three columns (4156:161) */
.m-detail { display: flex; gap: 48px; }
.m-detail > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }

/* FAQ (4160:28) */
.m-faq { display: flex; flex-direction: column; gap: 64px; }
.m-faq-rule { height: 1px; background: var(--keyline); }
.m-faq-grid { display: flex; flex-direction: column; gap: 40px; }
.m-faq-row { display: flex; gap: 48px; }
.faq { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; padding-top: 24px; box-shadow: inset 0 1px 0 var(--keyline); }
.faq p { font-weight: 400; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.8); }

/* =====================================================================
   RESPONSIVE
   The Figma frames are 1440 only. Three tiers:
   1. 1440 and up: the composition exactly as designed, centred.
   2. 1024 to 1439: the 1440 composition scaled to fit (js/nord.js), so tablets in
      landscape and small laptops see the design unchanged.
   3. Below 1024: stacked layouts with a burger menu, built from the same tokens,
      type ramp and spacing rhythm. Sizes here are the mobile design decisions.
   ===================================================================== */

/* Burger and mobile nav: hidden above the tablet breakpoint */
.burger { display: none; }
.nav-join { display: none; }

@media (max-width: 1023px) {
  /* Safari: flex-basis 0 collapses items once a row is stacked into a column, so stacked items take their content height */
  .card, .footer-col, .offer, .gf-card, .gf-offers-row .gf-frame, .m-detail > div, .faq, .g-cols > div, .train, .block, .c-details, .gf-form .row > *, .kit .row > *, .kit-pop .row > * { flex: 0 0 auto; }
  .gf-offers-row .gf-frame { width: 100%; min-height: 480px; }
  :root { --gutter: 24px; }
  html, body { overflow-x: hidden; }
  body { font-size: 17px; }

  /* ---- Header ---- */
  .site-header { height: auto; padding: 16px var(--gutter) 16px; gap: 16px; position: relative; z-index: 60; }
  .brand { position: relative; z-index: 60; }
  .header-row { height: 72px; align-items: center; justify-content: space-between; }
  .brand { width: 77px; height: 72px; }
  .brand img { width: 77px; height: 72px; }
  .burger { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0 10px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; }
  .burger-bar { display: block; height: 2px; width: 28px; background: var(--navy); border-radius: 1px; transition: transform .25s ease, opacity .2s ease; }
  .burger[aria-expanded="true"] .burger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger-bar:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] .burger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Menu panel: full screen, light grey, slides in from the right */
  .nav { position: fixed; inset: 0; top: 0; width: 100vw; height: 100dvh; background: var(--light); color: var(--navy); padding: 121px var(--gutter) 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), visibility 0s linear .3s; z-index: 50; box-shadow: -1px 0 0 var(--keyline); }
  .nav.is-open { transform: none; visibility: visible; transition: transform .3s cubic-bezier(.2,.7,.2,1), visibility 0s; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 20px; font-size: 28px; line-height: 1.2; }
  .nav-links a { font-weight: 500; }
  .nav-icons { position: static; width: auto; height: 40px; display: flex; gap: 28px; }
  .nav-icons a { position: static; width: 33px; height: 40px; }
  .nav-icons svg { position: static; }
  .nav-join { display: inline-flex; margin-top: auto; }
  .menu-open { overflow: hidden; }

  /* ---- Buttons ---- */
  .btn-join { font-size: 20px; padding: 16px 22px 16px 24px; gap: 12px; }
  .btn-join svg { width: 24px; height: 24px; }
  .btn-offers { font-size: 18px; padding: 16px 26px; }

  /* ---- Type ---- */
  .t-heading-l { font-size: 34px; }
  .t-heading-s { font-size: 21px; }
  .t-lead { font-size: 19px; }
  .t-body { font-size: 17px; }

  /* ---- Hero ---- */
  .hero { height: auto; padding: 32px var(--gutter) 64px; gap: 28px; }
  .hero-copy { padding-right: 0; gap: 20px; }
  .hero h1 { font-size: 40px; line-height: 1.08; }

  /* ---- Opening offers: copy, then image with the badge over its corner ---- */
  .offers { height: auto; overflow: visible; display: flex; flex-direction: column; gap: 28px; padding: 0 var(--gutter) 64px; }
  .offers-copy { position: static; width: auto; }
  .offers-image { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 658 / 579; }
  .badge { left: auto; right: 8px; top: -32px; width: 180px; height: 180px; z-index: 2; }
  .badge img { width: 180px; height: 180px; }
  .offers-media { position: relative; }

  /* ---- Feature link boxes ---- */
  .feature { height: auto; padding: 0 var(--gutter) 56px; overflow: visible; }
  .feature-image { position: relative; top: auto; left: auto !important; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .feature { position: relative; }
  .feature .feature-title { position: absolute; left: calc(var(--gutter) + 20px); right: calc(var(--gutter) + 20px); top: 33%; width: auto; margin: 0; font-size: 40px; text-shadow: 0 2px 24px rgba(46,47,74,0.45); }

  /* ---- Contrast therapy ---- */
  .contrast { padding: 40px var(--gutter) 64px; gap: 32px; }
  .contrast-intro { padding-right: 0; gap: 16px; }
  .card-grid { flex-direction: column; gap: 20px; }
  .card-image { height: auto; aspect-ratio: 432 / 240; }
  .card-copy { padding: 22px; }

  /* ---- Join us ---- */
  .join { padding: 0 var(--gutter) 64px; }

  /* ---- Footer ---- */
  .site-footer { padding: 48px var(--gutter) 32px; gap: 32px; }
  .footer-cols { flex-direction: column; gap: 32px; }
  .footer-base { flex-wrap: wrap; gap: 16px; }
  .footer-base p { flex: 1 1 100%; }

  /* ---- Membership ---- */
  .m-section { padding: 32px var(--gutter) 64px; gap: 40px; }
  .m-intro { padding-right: 0; gap: 16px; }
  .m-intro h1 { font-size: 40px; }
  .m-image { height: auto; aspect-ratio: 4 / 3; }
  .offer-cards { flex-direction: column; gap: 20px; }
  .offer { padding: 24px; gap: 14px; }
  .offer-title { font-size: 26px; line-height: 1.2; }
  .offer-body { font-size: 17px; }
  .offer-points li { font-size: 17px; }
  .offer-saving strong { font-size: 26px; }
  .offer-saving span { font-size: 14px; }
  .offer-foot { flex-wrap: wrap; justify-content: flex-start; gap: 14px 20px; padding-top: 4px; padding-right: 0; }
  .btn-claim { font-size: 18px; padding: 14px 24px; }
  .offer-sticker { position: static; order: 3; align-self: flex-start; }
  .offer-points li { align-items: flex-start; }
  .offer-points li::before { margin-top: 7px; }
  .m-footnote { font-size: 15px; }
  .m-signup { gap: 40px; }
  .gf { padding: 16px; gap: 16px; }
  .gf-controls { flex-wrap: wrap; height: auto; gap: 10px 12px; }
  .gf-spacer { flex: 1 1 auto; }
  .gf-row { flex-direction: column; gap: 12px; }
  .gf-offers-row { flex-direction: column; gap: 12px; }
  .gf-card--empty { display: none; }
  .m-lead { flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px; }
  .btn-outline { font-size: 18px; padding: 14px 22px; }
  .m-detail { flex-direction: column; gap: 32px; }
  .m-faq { gap: 32px; }
  .m-faq-grid { gap: 24px; }
  .m-faq-row { flex-direction: column; gap: 24px; }
  .faq { padding-top: 20px; }
  .faq p { font-size: 17px; }
}

@media (max-width: 480px) {
  .hero h1, .m-intro h1, .feature-title { font-size: 34px; }
  .t-heading-l { font-size: 30px; }
  .badge { width: 150px; height: 150px; top: -26px; right: 6px; }
  .badge img { width: 150px; height: 150px; }
  .btn-join { width: 100%; justify-content: center; }
}

/* =====================================================================
   GYM page (PHASE 2 / GYM v1, 4177:2) 1440 x 5703
   ===================================================================== */
.g-hero { padding: var(--hero-top) var(--gutter) 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 40px; }
.g-hero-copy { width: 100%; display: flex; flex-direction: column; gap: 32px; padding-right: 200px; }
.g-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.08; letter-spacing: -0.02em; width: 700px; white-space: pre-wrap; }
.g-hero-image { padding: 0 var(--gutter) 140px; }
.g-hero-image .px-image { height: 640px; }
.g-section { padding: 0 var(--gutter) 140px; display: flex; flex-direction: column; gap: 64px; }
.g-intro { display: flex; flex-direction: column; gap: 24px; padding-right: 440px; }
.g-section .card { min-height: 537px; }   /* Figma grid 4142:17, cards fill the tallest */
.g-cols { display: flex; gap: 48px; }
.g-cols > div { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }
.g-pair { display: flex; gap: 24px; }
.g-pair .px-image { flex: 1 1 0; height: 500px; }
/* Train your way cards (4177:68) */
.train-cards { display: flex; gap: 24px; }
.train { flex: 1 1 0; display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 20px; background: var(--light); color: var(--navy); min-height: 332px; }
.train h3 { font-weight: 600; font-size: 28px; line-height: 1.2; }
.train-price { font-weight: 500; font-size: 18px; line-height: 1.4; color: var(--teal-deep); }
.train p { font-weight: 400; font-size: 18px; line-height: 1.5; color: rgba(46,47,74,0.8); }
.train .btn-small { margin-top: auto; align-self: flex-start; }
.btn-small { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 8px; background: var(--teal-deep); color: var(--white); font-weight: 600; font-size: 18px; line-height: 1.3; transition: background-color .2s ease; }
.btn-small:hover { background: #008C8D; }

@media (max-width: 1023px) {
  .g-hero { padding: 32px var(--gutter) 48px; gap: 28px; }
  .g-hero-copy { padding-right: 0; gap: 20px; }
  .g-hero h1 { font-size: 40px; width: auto; }
  .g-hero-image { padding: 0 var(--gutter) 64px; }
  .g-hero-image .px-image { height: auto; aspect-ratio: 4 / 3; }
  .g-section { padding: 0 var(--gutter) 64px; gap: 32px; }
  .g-section .card { min-height: 0; }
  .g-intro { padding-right: 0; gap: 16px; }
  .g-cols { flex-direction: column; gap: 28px; }
  .g-pair { flex-direction: column; gap: 20px; }
  .g-pair .px-image { height: auto; aspect-ratio: 660 / 500; }
  .train-cards { flex-direction: column; gap: 20px; }
  /* The base rule sets flex: 1 1 0 for the desktop row. Once the container flips to a
     column that basis applies to height, so with min-height cleared the cards collapsed
     to their padding and the copy and button spilled out behind the next card. */
  .train { flex: 0 0 auto; padding: 24px; min-height: 0; }
  .train h3 { font-size: 24px; }
  .train p { font-size: 17px; }
  .train .btn-small { margin-top: 8px; }
}
@media (max-width: 480px) { .g-hero h1 { font-size: 34px; } }

/* =====================================================================
   PERSONAL TRAINING page (PHASE 2 / PERSONAL TRAINING v1, 4215:2) 1440 x 4335
   Shares the gym page section styles (.g-hero, .g-section, .g-intro, .g-cols, .g-pair).
   ===================================================================== */
.pt-hero h1 { width: 760px; }
.blocks { display: flex; gap: 24px; }
.block { flex: 1 1 0; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 20px; background: var(--light); color: var(--navy); }
.block-price { font-weight: 600; font-size: 40px; line-height: 1.2; }
.block-note { font-weight: 500; font-size: 18px; line-height: 1.4; color: var(--teal-deep); }
.block-buy { margin-top: auto; padding-top: 12px; align-self: flex-start; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.pt-note { font-weight: 400; font-size: 20px; line-height: 1.5; color: rgba(255,255,255,0.8); }
@media (max-width: 1023px) {
  .pt-hero h1 { width: auto; }
  .blocks { flex-direction: column; gap: 16px; }
  .block { padding: 24px; }
  .block-price { font-size: 34px; }
  .pt-note { font-size: 17px; }
}

/* =====================================================================
   SPA page (PHASE 2 / SPA v1, 4213:2) 1440 x 3647. Shares the gym section styles.
   ===================================================================== */
.spa-hero h1 { width: 680px; height: 179px; }
.spa-hero .g-hero-copy { gap: 32px; }
.spa-cards .card { min-height: 536px; }
@media (max-width: 1023px) { .spa-hero h1 { width: auto; height: auto; } .spa-cards .card { min-height: 0; } }

/* =====================================================================
   CONTACT page (PHASE 2 / CONTACT v1, 4217:2) 1440 x 3712
   ===================================================================== */
.c-hero { padding: var(--hero-top) var(--gutter) 64px; }
.c-hero .g-hero-copy { padding-right: 200px; }
.c-hero h1 { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.08; letter-spacing: -0.02em; }
.c-form-row { display: flex; gap: 48px; min-height: 471px; }   /* Figma 4217:39 */
/* GYMFLOW EMBED / enquiry form stand in (4217:40). Replaced by the Gymflow lead form at integration. */
.gf-form { flex: 0 0 880px; display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 8px; background: var(--light); box-shadow: inset 0 0 0 1px #E4E7EC; color: #101828; }
.gf-form .row { display: flex; gap: 16px; }
.gf-form .row > * { flex: 1 1 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; font-size: 13px; line-height: 1.4; color: #667085; }
.field input, .field textarea { width: 100%; font: inherit; font-weight: 400; font-size: 14px; line-height: 1.4; color: #101828; background: var(--white); border: 0; box-shadow: inset 0 0 0 1px #E4E7EC; border-radius: 8px; padding: 12px 14px; }
.field textarea { min-height: 94px; padding: 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #667085; }
.field input:focus-visible, .field textarea:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--teal-deep); }
.gf-send { align-self: flex-start; display: inline-flex; align-items: center; padding: 12px 20px; border-radius: 12px; background: none; border: 0; box-shadow: inset 0 0 0 1.5px var(--teal-deep); color: var(--teal-deep); font-weight: 500; font-size: 15px; line-height: 1.4; cursor: pointer; }
.gf-form .gf-powered { text-align: left; line-height: 1.4; }
.c-details { flex: 1 1 0; display: flex; flex-direction: column; gap: 28px; }
.c-details > div { display: flex; flex-direction: column; gap: 6px; }
.c-details a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 4px; }
.c-details a.btn-small { color: var(--white); text-decoration: none; align-self: flex-start; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.c-map { padding: 0 var(--gutter) 140px; }
.c-map-frame { position: relative; height: 420px; border-radius: 20px; overflow: hidden; background: #E4E7EC; }
.c-map-frame img { width: 100%; height: 100%; object-fit: cover; }
.c-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Keep in touch (4254:2), also the sitewide pop up */
.kit { display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: 20px; background: var(--navy); box-shadow: inset 0 0 0 1px var(--keyline); color: var(--white); }
.kit-head { display: flex; flex-direction: column; gap: 10px; }
.kit-head h2 { font-weight: 600; font-size: 36px; line-height: 1.15; letter-spacing: -0.01em; }
.kit-head p { font-weight: 400; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.85); }
.kit .row { display: flex; gap: 16px; }
.kit .row > * { flex: 1 1 0; }
.kit .field label { font-size: 14px; color: rgba(255,255,255,0.85); }
.kit .field input { box-shadow: none; padding: 16px; font-size: 16px; line-height: 1.4; }
.kit-foot { display: flex; align-items: center; gap: 20px; }
.kit-foot small { font-weight: 400; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,0.7); }
.btn-signup { display: inline-flex; align-items: center; padding: 16px 28px; border-radius: 8px; border: 0; background: var(--teal-deep); color: var(--white); font: inherit; font-weight: 600; font-size: 20px; line-height: 1.3; cursor: pointer; }
.btn-signup:hover { background: #008C8D; }
.c-newsletter { padding: 0 var(--gutter) 140px; }

@media (max-width: 1023px) {
  .c-hero { padding: 32px var(--gutter) 48px; }
  .c-hero .g-hero-copy { padding-right: 0; }
  .c-hero h1 { font-size: 40px; }
  .c-form-row { flex-direction: column; gap: 32px; min-height: 0; }
  .gf-form { flex: 1 1 auto; padding: 20px; }
  .gf-form .row { flex-direction: column; }
  .c-map { padding: 0 var(--gutter) 64px; }
  .c-map-frame { height: auto; aspect-ratio: 4 / 3; }
  .kit { padding: 24px; }
  .kit-head h2 { font-size: 28px; }
  .kit .row { flex-direction: column; }
  .kit-foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .btn-signup { width: 100%; justify-content: center; }
  .c-newsletter { padding: 0 var(--gutter) 64px; }
}
@media (max-width: 480px) { .c-hero h1 { font-size: 34px; } }

/* =====================================================================
   Keep in touch pop up (PHASE 2 / POPUP, 4254:24) 880 x 572. Sitewide except Contact.
   ===================================================================== */
.kit-pop { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.kit-pop[hidden] { display: none; }
.kit-pop-backdrop { position: absolute; inset: 0; background: rgba(46,47,74,0.6); backdrop-filter: blur(2px); }
.kit-pop-box { position: relative; width: 880px; max-width: 100%; max-height: calc(100vh - 48px); overflow: auto; display: flex; flex-direction: column; gap: 28px; padding: 56px; border-radius: 20px; background: var(--navy); box-shadow: inset 0 0 0 1px var(--keyline), 0 30px 80px rgba(0,0,0,0.45); color: var(--white); }
.kit-pop-close { position: absolute; top: 20px; right: 20px; width: 34px; height: 35px; padding: 8px 10px; border: 0; border-radius: 999px; background: rgba(255,255,255,0.12); color: var(--white); font: inherit; font-weight: 500; font-size: 16px; line-height: 1.2; cursor: pointer; }
.kit-pop-close:hover { background: rgba(255,255,255,0.22); }
.kit-pop-head { display: flex; flex-direction: column; gap: 10px; }
.kit-pop-head h2 { font-weight: 600; font-size: 48px; line-height: 1.15; letter-spacing: -0.01em; }
.kit-pop-head p { font-weight: 400; font-size: 22px; line-height: 1.5; color: rgba(255,255,255,0.85); }
.kit-pop .row { display: flex; gap: 16px; }
.kit-pop .row > * { flex: 1 1 0; }
.kit-pop .field label { font-size: 14px; color: rgba(255,255,255,0.85); }
.kit-pop .field input { box-shadow: none; padding: 20px 16px; font-size: 16px; line-height: 1.4; }
.kit-pop-foot { display: flex; align-items: center; gap: 20px; }
.kit-pop-foot small { font-weight: 400; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,0.7); }
.kit-pop-btn { padding: 20px 36px; font-size: 22px; }
.kit-pop.is-open .kit-pop-box { animation: kit-in .45s cubic-bezier(.2,.7,.2,1) both; }
.kit-pop.is-open .kit-pop-backdrop { animation: kit-fade .35s ease both; }
@keyframes kit-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes kit-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .kit-pop.is-open .kit-pop-box, .kit-pop.is-open .kit-pop-backdrop { animation: none; } }
@media (max-width: 1023px) {
  .kit-pop { padding: 16px; align-items: flex-end; }
  .kit-pop-box { padding: 28px 24px 24px; gap: 20px; border-radius: 20px; max-height: calc(100dvh - 32px); }
  .kit-pop-close { top: 14px; right: 14px; }
  .kit-pop-head h2 { font-size: 30px; }
  .kit-pop-head p { font-size: 17px; }
  .kit-pop .row { flex-direction: column; }
  .kit-pop .field input { padding: 14px 16px; }
  .kit-pop-foot { flex-direction: column; align-items: flex-start; gap: 10px; }
  .kit-pop-btn { width: 100%; justify-content: center; font-size: 18px; padding: 16px 28px; }
}

/* =====================================================================
   Text pages: Privacy, Terms, Cookies, Sitemap, 404
   ===================================================================== */
.legal { padding: var(--hero-top) var(--gutter) 140px; display: flex; flex-direction: column; gap: 40px; }
.legal h1 { font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 1.08; letter-spacing: -0.02em; }
.legal-meta { font-weight: 400; font-size: 18px; line-height: 1.5; color: rgba(255,255,255,0.7); max-width: 904px; }
.legal-body { display: flex; flex-direction: column; gap: 32px; max-width: 904px; }
.legal-body section { display: flex; flex-direction: column; gap: 12px; }
.legal-body p, .legal-body li { font-weight: 400; font-size: 20px; line-height: 1.5; }
.legal-body ul { padding-left: 24px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.legal-body a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); text-underline-offset: 4px; }
.legal-body a:hover { text-decoration-color: var(--white); }
.sitemap-list { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; }
.sitemap-list a { font-weight: 500; font-size: 24px; line-height: 1.3; }
@media (max-width: 1023px) {
  .legal { padding: 32px var(--gutter) 64px; gap: 28px; }
  .legal h1 { font-size: 40px; }
  .legal-body p, .legal-body li { font-size: 17px; }
}


/* ---- Opening offer code chip (self contained: move to Elementor as one block) ---- */
.offer-code { display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  width: 100%; margin: 4px 0 0; padding: 14px 18px; text-align: left; cursor: pointer;
  font: inherit; color: inherit; background: transparent;
  border: 2px dashed rgba(255,255,255,0.55); border-radius: 10px;
  transition: border-color .18s ease, background .18s ease; }
.offer-code:hover, .offer-code:focus-visible { background: rgba(255,255,255,0.10); border-color: #fff; outline: none; }
.offer-code-label { font-size: 14px; font-weight: 500; opacity: .85; }
.offer-code-value { font-size: 28px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; }
.offer-code-hint { font-size: 13px; font-weight: 500; opacity: .7; }
.offer-code.is-copied .offer-code-hint::after { content: ''; }
.offer-code.is-copied { border-style: solid; }
.offer-code-value::selection { background: #00A2A7; color: #fff; }

.offer--founder .offer-code { border-color: rgba(0,162,167,0.55); }
.offer--founder .offer-code:hover, .offer--founder .offer-code:focus-visible { background: rgba(0,162,167,0.08); border-color: #00A2A7; }

.offer-note { margin: 10px 0 0; font-size: 14px; line-height: 1.45; opacity: .85; }

/* Codes reminder above the memberships embed */
.gf-codes { color: #141A2D; padding: 20px 24px; margin: 0 0 16px; background: #fff; border: 1px solid rgba(20,26,45,0.10); border-radius: 12px; }
.gf-codes-title { display: block; font-size: 18px; font-weight: 700; }
.gf-codes-text { margin: 4px 0 14px; font-size: 15px; line-height: 1.45; }
.gf-codes-row { display: flex; gap: 16px; flex-wrap: wrap; }
.offer-code--light { flex: 1 1 260px; width: auto; color: #141A2D; border-color: rgba(0,162,167,0.55); }
.offer-code--light:hover, .offer-code--light:focus-visible { background: rgba(0,162,167,0.08); border-color: #00A2A7; }
@media (max-width: 720px) { .gf-codes-row { flex-direction: column; } .offer-code--light { flex: 1 1 auto; } }


/* ---- Offer cards: identical row structure so both sides line up ---- */
@supports (grid-template-rows: subgrid) {
  .offer-cards { display: grid; grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto auto auto auto; align-items: stretch; }
  .offer { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 16px; }
  .offer > * { align-self: start; }
  .offer-saving, .offer-code { align-self: stretch; }
  .offer-foot { align-self: end; }
  @media (max-width: 900px) {
    .offer-cards { grid-template-columns: 1fr; grid-template-rows: none; gap: 20px; }
    .offer { grid-row: auto; grid-template-rows: none; display: flex; flex-direction: column; }
    /* the column flip turns align-self: end into a horizontal push, so reset it */
    .offer-foot { align-self: stretch; }
  }
}

.gf-lead { margin: 0 0 14px; font-size: 16px; line-height: 1.5; color: rgba(255,255,255,0.88); }

.gf-groups { display: flex; flex-direction: column; gap: 24px; }
.gf-group { display: block; }
.gf-group-title { margin: 0 0 6px; font-weight: 600; font-size: 26px; line-height: 1.25; color: var(--white); }
.gf-group .gf-lead { margin: 0 0 16px; max-width: 760px; }


/* Social links repeated on the contact page, on the navy so they need to be white. */
.social-light { margin-top: 4px; margin-left: -10px; } /* pull back so the first icon lines up with the text above */
.social-light a { color: var(--white); transition: opacity .2s ease; }
.social-light a:hover, .social-light a:focus-visible { opacity: 0.72; }

.kit-status { margin: 12px 0 0; font-weight: 500; font-size: 16px; line-height: 1.5; color: var(--white); }

/* Keyboard focus on the code chips. The hover rule above clears the outline, which left
   keyboard users with only a faint border change to go on. */
.offer-code:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.offer--founder .offer-code:focus-visible,
.offer-code--light:focus-visible { outline-color: #007F80; }

/* Thank you page: copy beside a picture, stacked on mobile */
.ty-row { display: flex; gap: 64px; align-items: flex-start; }
.ty-row .legal-body { flex: 1 1 0; }
.ty-image { flex: 1 1 0; height: 520px; }
@media (max-width: 1023px) {
  .ty-row { flex-direction: column; gap: 32px; }
  .ty-row .legal-body { flex: 0 0 auto; }
  .ty-image { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 660 / 500; }
}

/* Cookie consent bar: fixed to the bottom, outside the scaled canvas, site light card style */
.consent { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 900; max-width: 960px; margin: 0 auto; display: flex; gap: 24px; align-items: center; padding: 20px 24px; border-radius: 20px; background: var(--light); color: var(--navy); box-shadow: 0 12px 40px rgba(0,0,0,0.25); font-family: var(--font-body); }
.consent[hidden] { display: none; }
.consent-text { flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 500; font-size: 16px; line-height: 1.5; }
.consent-text a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 12px; flex: 0 0 auto; }
.consent-btn { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 8px; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.3; cursor: pointer; }
.consent-yes { border: 0; background: var(--teal-deep); color: var(--white); }
.consent-yes:hover { background: #008C8D; }
.consent-no { border: 1.5px solid var(--teal-deep); background: transparent; color: var(--teal-deep); }
.consent-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.consent-change { font-size: 18px; }
.c-map-link { position: absolute; right: 16px; bottom: 16px; padding: 10px 18px; border-radius: 8px; background: var(--teal-deep); color: var(--white); font-weight: 600; font-size: 16px; }
.c-map-link[hidden] { display: none; }
@media (max-width: 1023px) {
  .consent { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 16px; padding: 18px; }
  .consent-text { font-size: 15px; }
  .consent-actions .consent-btn { flex: 1 1 0; justify-content: center; }
}

/* Keep in touch messages and invalid state */
.kit-status:empty { display: none; }
.kit-status.is-error { color: #FDA29B; }
.kit-status.is-ok { color: var(--teal); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #F04438; }
.btn-signup[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer logo: NO ORDINARY GYM opens out of the logo when it comes into view (1 Oct 2026) ----------
   The SVG is the real logo plus NORD Regular letters, outlined, on the logo's own spacing. Still state = the logo.
   The box sits where the logo always sat; the O of ORDINARY hangs to its left (--nl-hang). */
:root { --nl-hang: 21.9px; }
.footer-logo { width: 295.8px; height: 110.6px; margin-left: calc(-1 * var(--nl-hang)); display: block; }
.footer-logo svg.nl { width: 100%; height: 100%; display: block; overflow: visible; }
.nl-ord, .nl-gym { opacity: 0; }
.nl.is-playing .nl-box, .nl.is-playing .nl-dot { animation: nl-box 6100ms linear both; }
.nl.is-playing .nl-ord { animation: nl-ord 6100ms linear both; }
.nl.is-playing .nl-gym { animation: nl-gym 6100ms linear both; }
@keyframes nl-box { 0%, 19.67% { opacity: 1; } 27.05%, 92.62% { opacity: 0; } 100% { opacity: 1; } }
@keyframes nl-ord { 0%, 31.15% { opacity: 0; } 39.34%, 81.15% { opacity: 1; } 88.52%, 100% { opacity: 0; } }
@keyframes nl-gym { 0%, 36.89% { opacity: 0; } 45.08%, 81.15% { opacity: 1; } 88.52%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nl.is-playing .nl-box, .nl.is-playing .nl-dot, .nl.is-playing .nl-ord, .nl.is-playing .nl-gym { animation: none; } }
@media (max-width: 1023px) {
  /* phones: the gutter is too narrow for the hanging O, so the footer text moves in to line up with the logo box */
  .site-footer { padding-left: calc(var(--gutter) + var(--nl-hang)); }
  .footer-rule { margin-left: calc(-1 * var(--nl-hang)); }
}
