/* Apex Wellness Group design system
   Fonts: Archivo (display headlines), Saira (body, UI, logo wordmark) */

:root {
  --black: #0C0C0D;
  --bone: #F1EEE8;
  --surface: #17171A;
  --surface-2: #1C1C1F;
  --line: #262628;
  --line-2: #3A3A3D;
  --text-body: #CFCBC4;
  --text-dim: #CFCBC4;
  --text-muted: #9C9A96;
  --text-faint: #8E8C88;
  --ink: #0C0C0D;
  --ink-dim: #3E3C39;
  --ink-muted: #5E5C58;
  --red: #DF2229;
  --red-dark: #B91C22;
  --red-text: #E8383E;
  --red-on-bone: #C41E25;
  --fs8-lime: #EEF394;
  --fs8-periwinkle: #7F93D7;

  --font-head: 'Archivo', 'Arial Narrow', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-body: 'Saira', 'Helvetica Neue', Helvetica, sans-serif;
  --font-logo: 'Saira', 'Arial Narrow', sans-serif;

  --max: 1360px;
  --pad: 40px;
  --section: 160px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--black); color: var(--text-body);
  font-family: var(--font-body); font-weight: 400; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--bone); text-decoration: none; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: var(--section); padding-bottom: var(--section); }

/* ---------- Type ---------- */
.label { font-size: 16px; font-weight: 500; letter-spacing: normal; text-transform: none; color: var(--text-muted); }
.label.is-red { color: var(--red-text); font-weight: 600; }
.bone .label.is-red { color: var(--red-on-bone); }
.h-display, .h-1, .h-2, .h-3 {
  margin: 0; font-family: var(--font-head); font-stretch: 68%; font-weight: 800;
  text-transform: uppercase; color: #fff;
}
.h-display { font-size: clamp(64px, 12vw, 196px); line-height: 0.86; letter-spacing: -0.01em; }
.h-1 { font-size: clamp(52px, 7vw, 112px); line-height: 0.9; }
.h-2 { font-size: clamp(44px, 6vw, 92px); line-height: 0.9; }
.h-3 { font-size: clamp(32px, 4vw, 48px); line-height: 0.95; }
.serif {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-stretch: 100%; text-transform: none; letter-spacing: -0.02em;
}
.lede { font-family: var(--font-body); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: var(--text-body); margin: 0; }
.body { font-size: 17px; line-height: 1.7; color: var(--text-body); font-weight: 400; margin: 0; max-width: 520px; }
.accent { color: var(--red); }
.standard-title { margin-bottom: 48px; max-width: 1150px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  font-size: 16px; font-weight: 600; letter-spacing: normal; text-transform: none;
  border: 1px solid var(--bone);
}
.btn-solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn-outline { color: var(--bone); }
.btn-outline:hover { background: rgba(241,238,232,0.08); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
  font-size: 16px; font-weight: 600; letter-spacing: normal; text-transform: none;
  border-bottom: 2px solid var(--red); padding-bottom: 6px;
}

/* ---------- Header / nav (shared by header and footer) ---------- */
.site-header { border-top: 3px solid var(--red); border-bottom: 1px solid var(--line); position: relative; z-index: 20; background: var(--black); }
.site-header .wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo { display: flex; align-items: center; gap: 14px; color: #fff; flex: none; }
.logo img { height: 30px; width: auto; }
.logo-divider { width: 1px; height: 24px; background: var(--line-2); }
.logo-word {
  font-family: var(--font-logo); font-style: italic; font-weight: 800; font-stretch: 75%;
  font-size: 19px; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; line-height: 1;
}
.nav, .footer-nav { display: flex; align-items: center; font-size: 16px; font-weight: 500; letter-spacing: normal; text-transform: none; }
.nav { gap: 32px; }
.nav > a, .footer-nav > a, .nav-trigger {
  border-bottom: 2px solid transparent; padding: 6px 0; white-space: nowrap;
}
.nav > a:not(.nav-cta), .footer-nav > a:not(.nav-cta) { color: var(--bone); }
.nav-item { position: relative; }
.nav-trigger {
  background: none; border-top: 0; border-left: 0; border-right: 0; color: var(--bone); font: inherit; letter-spacing: inherit;
  text-transform: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav-trigger svg { transition: transform .2s; }
.nav-item.open .nav-trigger svg { transform: rotate(180deg); }
.dropdown {
  display: none; position: absolute; top: calc(100% + 14px); left: -20px; min-width: 260px; z-index: 30;
  background: var(--black); border: 1px solid var(--line-2); padding: 8px 0; margin: 0; list-style: none;
}
.nav-item.open .dropdown { display: block; }
.dropdown::before { content: ""; position: absolute; top: -16px; left: 0; width: 100%; height: 16px; }
.dropdown a { display: block; padding: 12px 20px; font-size: 16px; font-weight: 500; border-left: 2px solid transparent; }
.dropdown a:hover { background: var(--surface); }
.dropdown a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav [aria-current="page"], .nav .is-active, .footer-nav > [aria-current="page"], .footer-nav .is-active { color: #fff; }
.nav > [aria-current="page"], .nav .nav-trigger.is-active, .footer-nav > [aria-current="page"], .footer-nav .nav-trigger.is-active { border-bottom-color: var(--red); }
.nav-cta { background: var(--red); color: #fff; padding: 0 22px; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; border-bottom: 0 !important; }
.nav > .nav-cta, .footer-nav > .nav-cta { padding-left: 22px; padding-right: 22px; }
.nav-cta:hover { background: var(--red-dark); color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 820px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; background: var(--surface); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,13,.35) 0%, rgba(12,12,13,.15) 40%, rgba(12,12,13,.85) 100%); }
.hero .wrap { position: relative; width: 100%; padding-bottom: 72px; }
.hero .label { color: #B9B6B0; margin-bottom: 28px; font-family: 'Geist', 'Helvetica Neue', Helvetica, sans-serif; font-weight: 400; font-size: 12px; line-height: 1.5; letter-spacing: 0.22em; text-transform: uppercase; }
.hero-foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 48px; }
.hero-foot p { margin: 0; max-width: 480px; font-family: 'Geist', 'Helvetica Neue', Helvetica, sans-serif; font-size: 18px; line-height: 1.55; color: #D6D3CD; font-weight: 300; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Stat bar ---------- */
.stat-bar { border-bottom: 1px solid var(--line); }
.stat-bar .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 56px; padding-bottom: 56px; }
.stat { border-top: 2px solid var(--red); padding-top: 20px; }
.stat-num { display: block; font-family: var(--font-head); font-stretch: 68%; font-weight: 800; text-transform: uppercase; color: #fff; font-size: clamp(56px, 6.4vw, 104px); line-height: 0.95; letter-spacing: -0.01em; }
.stat-label { display: block; margin-top: 12px; font-size: 16px; font-weight: 500; color: var(--text-body); }
.stat-num[data-count-unavailable] { font-family: var(--font-body); font-size: 22px; font-weight: 600; text-transform: none; letter-spacing: normal; }

/* ---------- Statement ---------- */
.statement { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.statement .h-1 { flex: 1 1 520px; }
.statement-copy { flex: 1 1 380px; max-width: 520px; padding-top: 12px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; border-top: 1px solid var(--line); padding-top: 32px; margin-bottom: 48px; }

/* ---------- Brand cards ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 24px; }
.brand-card { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; color: var(--bone); }
.brand-media { position: relative; height: 560px; overflow: hidden; background: var(--surface-2); }
.brand-media > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.brand-card:hover .brand-media > img:first-child { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .brand-card:hover .brand-media > img:first-child { transform: none; } }
.brand-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(12,12,13,0), rgba(12,12,13,.8)); }
.brand-logo { position: absolute; left: 32px; bottom: 32px; height: 52px; width: auto; z-index: 1; }
.brand-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.brand-meta p { margin: 12px 0 0; font-size: 17px; color: var(--text-body); font-weight: 400; }
.brand-card.fs8 .brand-meta p { color: var(--fs8-lime); }

/* ---------- Bone section ---------- */
.bone { background: var(--bone); color: var(--ink); }
.bone .label { color: var(--ink-muted); }
.bone .h-2, .bone .h-3 { color: var(--black); }
.bone .body, .bone p { color: var(--ink-dim); }
.apex-standard .standard-title { color: #0C0C0D; }
.wide-photo { width: 100%; height: 520px; object-fit: cover; object-position: center 35%; margin-bottom: 64px; }
.pillars { display: flex; flex-wrap: wrap; gap: 48px; }
.pillar { flex: 1 1 300px; border-top: 2px solid var(--red-on-bone); padding-top: 28px; }
.pillar p { margin: 20px 0 0; font-size: 17px; line-height: 1.65; font-weight: 400; }

/* ---------- Home: For franchise owners ---------- */
.fo-home { background: var(--surface); }
.fo-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.fo-home-photo { position: relative; min-height: 360px; overflow: hidden; }
.fo-home-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.fo-home-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding: 96px max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))) 96px 80px; }
.fo-home-copy .body { max-width: 460px; font-size: 19px; }
.fo-home-copy .btn-row { margin-top: 8px; }

/* ---------- Home: Work with us photo cards ---------- */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 64px; }
.work-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work-card { position: relative; display: flex; flex-direction: column; color: var(--bone); }
.work-card-media { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--surface-2); }
.work-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-card:hover .work-card-media img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .work-card:hover .work-card-media img { transform: none; } }
.work-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,13,0) 55%, rgba(12,12,13,.55)); }
.work-card-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-top: 2px solid var(--red); margin-top: 20px; padding-top: 20px; }
.work-card-title { font-family: var(--font-head); font-stretch: 68%; font-weight: 800; text-transform: uppercase; color: #fff; font-size: 40px; line-height: 1; margin: 0; transition: color .2s; }
.work-card:hover .work-card-title { color: var(--red); }
.work-card p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--text-body); font-weight: 400; }
.work-card svg { flex: none; margin-top: 4px; color: var(--red-text); }

/* ---------- Locations ---------- */
.locations { background: var(--surface); }
.locations .wrap { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 3px solid var(--red); }
.site-footer .wrap { padding-top: 96px; padding-bottom: 40px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 56px; }
.footer-lockup { display: flex; align-items: center; gap: 24px; }
.footer-lockup img { height: 96px; width: auto; }
.footer-lockup .logo-word { font-size: 32px; line-height: 0.98; white-space: normal; }
.footer-cols { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; gap: 28px; font-size: 16px; font-weight: 500; }
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.footer-follow { color: var(--text-faint); font-weight: 500; }
.footer-social a { padding: 6px 0; }
.footer-nav { flex-wrap: wrap; justify-content: flex-end; gap: 12px 32px; }
.footer-nav .dropdown { top: auto; bottom: calc(100% + 12px); left: auto; right: -20px; }
.footer-nav .dropdown::before { top: auto; bottom: -14px; height: 14px; }
.footer-brands { display: flex; align-items: center; gap: 40px; margin-top: 72px; }
.footer-brands img { height: 34px; width: auto; opacity: .85; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--text-faint); letter-spacing: normal; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.footer-lockup { max-width: 100%; }
.footer-grid .footer-lockup img { width: 130px; height: auto; }
.footer-grid .footer-lockup .logo-divider { height: 70px; }
.footer-grid .footer-lockup .logo-word { font-size: 24px; }
.footer-column { display: flex; flex-direction: column; align-items: start; gap: 4px; font-size: 16px; }
.footer-heading { margin: 0 0 18px; font-size: 16px; font-weight: 600; color: #fff; }
.footer-column > a:not(.btn) { display: flex; align-items: center; min-height: 44px; padding: 6px 0; }
.footer-contact .footer-email { min-height: 48px; padding: 12px 24px; margin-bottom: 12px; }
.footer-instagram { gap: 10px; }
.footer-instagram svg { flex-shrink: 0; }
.footer-icons { display: flex; gap: 12px; margin-top: 12px; }
.footer-icons a { display: grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--line-2); }
.footer-icons a:hover { border-color: var(--red); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-legal nav a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-trademarks { margin: 12px 0 0; font-size: 15px; color: var(--text-faint); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .footer-heading { margin-bottom: 8px; } }

/* ---------- Inner page ---------- */
.page-hero { padding-top: 120px; padding-bottom: 96px; }
.breadcrumb { margin-bottom: 32px; }
.breadcrumb a { color: var(--text-muted); }
.page-intro { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; margin-top: 72px; border-top: 1px solid var(--line); padding-top: 40px; }
.page-intro .lede { flex: 1 1 420px; max-width: 620px; }
.page-intro .body { flex: 1 1 380px; }
.page-photo { width: 100%; height: 560px; object-fit: cover; object-position: center 40%; }
.focus { display: flex; flex-wrap: wrap; gap: 48px; }
.focus-item { flex: 1 1 300px; border-top: 2px solid var(--red); padding-top: 28px; }
.focus-item p { margin: 20px 0 0; font-size: 17px; line-height: 1.65; color: var(--text-body); font-weight: 400; }

/* ---------- Forms ---------- */
.inquiry .wrap { display: flex; flex-wrap: wrap; gap: 80px; }
.inquiry-copy { flex: 1 1 400px; display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.form { flex: 1 1 520px; display: flex; flex-direction: column; gap: 28px; }
.form-row { display: flex; flex-wrap: wrap; gap: 28px; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 600; letter-spacing: normal; text-transform: none; color: var(--ink-dim); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; font-weight: 400; letter-spacing: normal; text-transform: none; color: var(--black);
  background: transparent; border: 0; border-bottom: 1px solid var(--black); border-radius: 0;
  padding: 14px 0; min-height: 48px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--red); }
.form-compact > .field { flex: 0 1 auto; }
.file-upload-control {
  position: relative; display: flex; align-items: center; gap: 16px; min-height: 48px;
  border-bottom: 1px solid var(--black); cursor: pointer;
}
.file-upload-control:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }
.file-upload-label { color: var(--black); font: inherit; font-size: 15px; font-weight: 600; letter-spacing: normal; text-transform: none; white-space: nowrap; }
.file-upload-name { min-width: 0; overflow: hidden; color: var(--ink-muted); font-size: 15px; font-weight: 500; letter-spacing: normal; text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.file-upload-control input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.file-upload-control input[type="file"]::file-selector-button { display: none; }
.file-upload-remove { position: relative; z-index: 2; flex-shrink: 0; padding: 8px; min-height: 44px; border: 1px solid var(--ink-muted); background: transparent; color: var(--black); font: 500 15px var(--font-body); cursor: pointer; }
.file-upload-name { flex: 1; }
.form-success { width: 100%; display: flex; flex-direction: column; gap: 28px; padding: 24px 0; }
.form-success h3 { margin: 0; color: var(--black); font: 800 40px var(--font-head); }
.hp { position: absolute; left: -9999px; }
.btn-dark { align-self: flex-start; background: var(--red); color: #fff; border: 0; min-height: 56px; padding: 0 40px; font: inherit; font-size: 16px; font-weight: 600; letter-spacing: normal; text-transform: none; cursor: pointer; }
.btn-dark:hover { background: var(--red-dark); }
.form-status { font-size: 15px; font-weight: 500; color: var(--black); margin: 0; }

/* ---------- Responsive: nav collapses at 1100px ---------- */
@media (max-width: 1100px) {
  .site-header .wrap { height: 68px; }
  .logo img { height: 24px; }
  .logo-word { font-size: 15px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: fixed; inset: 68px 0 0 0; background: var(--black); z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 40px; overflow-y: auto;
    font-family: var(--font-body); font-weight: 500; font-size: 16px;
  }
  .nav.open { display: flex; }
  .nav > a:not(.nav-cta), .nav-trigger { padding: 16px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; font-size: 16px; }
  .nav > [aria-current="page"], .nav .nav-trigger.is-active { border-bottom: 2px solid var(--red); }
  .nav .dropdown { position: static; border: 0; padding: 0 0 8px 16px; min-width: 0; }
  .nav .dropdown::before { display: none; }
  .nav .dropdown a { font-size: 16px; padding: 14px 0 14px 14px; }
  .nav > a.nav-cta { margin-top: 28px; justify-content: center; padding: 0 22px; min-height: 56px; font-size: 16px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  :root { --pad: 20px; --section: 88px; }
  .hero { min-height: 640px; }
  .hero .wrap { padding-bottom: 40px; }
  .hero-foot { margin-top: 32px; }
  .btn-row, .btn-row .btn { width: 100%; }
  .stat-bar .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .statement { gap: 32px; }
  .brand-media { height: 440px; }
  .brand-logo { left: 20px; bottom: 20px; height: 40px; }
  .wide-photo { height: 320px; margin-bottom: 40px; }
  .fo-home-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .fo-home-photo { min-height: 320px; }
  .fo-home-copy { padding: 56px var(--pad) 72px; }
  .work-head { margin-bottom: 40px; }
  .work-cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .work-card-media { aspect-ratio: 4 / 3; }
  .locations .wrap { gap: 40px; }
  .footer-lockup { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-lockup .logo-divider { display: none; }
  .footer-lockup img { height: 56px; }
  .footer-lockup .logo-word { font-size: 26px; }
  .footer-cols { align-items: stretch; width: 100%; }
  .footer-nav { flex-direction: column; align-items: stretch; gap: 0; order: 1; }
  .footer-social { order: 2; }
  .footer-nav > a:not(.nav-cta), .footer-nav .nav-trigger { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .footer-nav > [aria-current="page"], .footer-nav .nav-trigger.is-active { border-bottom: 2px solid var(--red); }
  .footer-nav .dropdown { position: static; border: 0; padding: 0 0 8px 16px; min-width: 0; }
  .footer-nav .dropdown::before { display: none; }
  .footer-nav .nav-cta { margin-top: 20px; justify-content: center; min-height: 52px; }
  .footer-brands { gap: 28px; margin-top: 56px; }
  .footer-brands img { height: 26px; }
  .page-hero { padding-top: 72px; padding-bottom: 64px; }
  .page-intro { margin-top: 40px; }
  .page-photo { height: 320px; }
  .inquiry .wrap { gap: 48px; }
  .btn-dark { width: 100%; }
}

@media (max-width: 599px) {
  .site-header .wrap { justify-content: flex-start; gap: 12px; }
  .site-header .logo img { height: 24px; }
  .site-header .logo-word { font-size: 15px; }
  .hero .label { font-size: 9.5px; letter-spacing: 0.06em; white-space: nowrap; }
  .hero-foot p { font-size: 14px; line-height: 1.35; }
  .stat-bar .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding-top: 22px; padding-bottom: 22px; }
  .stat { padding-top: 10px; }
  .stat-num { font-size: 34px; }
  .stat-label { font-size: 12px; }
}

/* ---------- The Apex Standard: full-bleed photo section (home) ---------- */
.std-photo { position: relative; display: flex; min-height: 880px; overflow: hidden; background: var(--surface); color: #fff; }
.apex-standard.std-photo { min-height: 760px; }
.std-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.std-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,13,.88) 0%, rgba(12,12,13,.45) 24%, rgba(12,12,13,.1) 46%, rgba(12,12,13,.5) 66%, rgba(12,12,13,.92) 100%); }
.std-inner { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding-top: 104px; padding-bottom: 72px; }
.apex-standard .std-inner { padding-top: 48px; }
.std-head .label { margin-bottom: 28px; }
.std-title { max-width: 980px; font-size: clamp(44px, 6vw, 92px); line-height: 0.9; color: #fff; }
.std-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.std-pillars li { border-top: 2px solid var(--red); padding-top: 24px; }
.std-num { display: block; margin-bottom: 14px; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; color: var(--red-text); }
.std-pillars .h-3 { color: #fff; }
.std-pillars p { margin: 14px 0 0; max-width: 380px; font-size: 16px; line-height: 1.6; font-weight: 400; color: #D6D3CD; }
@media (max-width: 900px) {
  .std-photo { min-height: 640px; }
  .apex-standard.std-photo { min-height: 640px; }
  .std-shade { background: linear-gradient(180deg, rgba(12,12,13,.88) 0%, rgba(12,12,13,.35) 28%, rgba(12,12,13,.55) 48%, rgba(12,12,13,.94) 70%); }
  .std-inner { gap: 32px; padding-top: 48px; padding-bottom: 36px; }
  .std-head .label { margin-bottom: 16px; }
  .std-title { font-size: clamp(36px, 10vw, 44px); }
  .std-pillars { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .std-pillars li { padding-top: 12px; }
  .std-num { margin-bottom: 4px; font-size: 13px; }
  .std-pillars .h-3 { font-size: 22px; line-height: 1; }
  .std-pillars .h-3 br { display: none; }
  .std-pillars p { margin-top: 6px; font-size: 14px; line-height: 1.5; }
}

@media (max-width: 599px) {
  .apex-standard.std-photo { min-height: 0; }
  .apex-standard .std-inner { justify-content: flex-start; gap: 18px; padding-top: 28px; padding-bottom: 22px; }
  .apex-standard .std-title { font-size: 30px; }
  .apex-standard .std-pillars { gap: 10px; }
  .apex-standard .std-num { font-size: 11px; }
  .apex-standard .std-pillars .h-3 { font-size: 17px; }
  .apex-standard .std-pillars p { font-size: 12px; line-height: 1.4; }
}

/* ---------- Brand card with a trial button (home, F45) ---------- */
.brand-card-link { display: flex; flex-direction: column; gap: 24px; color: inherit; }
.brand-cta { align-self: flex-start; gap: 10px; }
.brand-cta svg { flex: none; transition: transform .2s ease; }
.brand-cta:hover svg { transform: translateX(3px); }
@media (max-width: 900px) { .brand-cta { align-self: stretch; } }
