/* ===========================================================
   Carmi Agency — Scandinavian Editorial Design System
   =========================================================== */

/* Original carmiagency.com fonts: Poiret One (display) + Open Sans (body) */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poiret+One&display=swap");

/* Cross-page fade transitions are intentionally OFF — they caused
   double-fade flashing on top of the per-element reveal animations.
   We rely instead on the deliberate per-element entry. */

:root {
  /* Palette */
  --bg:         #F7F2EB;
  --bg-soft:    #EFE8DD;
  --bg-warm:    #E8DFD0;
  --ink:        #1C1A17;
  --ink-2:      #3A3631;
  --ink-3:      #6B655C;
  --ink-4:      #9A938A;
  --line:       #E1D8C9;
  --line-soft:  #EBE3D4;

  /* Logo star palette — the only colors used for brand stars */
  --s-gold:   #F2C94C;
  --s-teal:   #2FBFBE;
  --s-pink:   #E8379E;
  --s-purple: #7B4CAA;
  --s-green:  #7CC843;

  /* Site accent — pulls from the logo star palette */
  --accent:        var(--s-pink);
  --accent-2:      var(--s-teal);
  --accent-3:      var(--s-purple);
  --accent-4:      var(--s-gold);
  --accent-5:      var(--s-green);

  /* Type — Poiret One (display) and Open Sans (body), matching original carmiagency.com */
  --f-display: "Poiret One", "Didot", "Bodoni 72", serif;
  --f-body:    "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --f-mono:    "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  /* Layout */
  --max:      1360px;
  --gutter:   2rem;
  --header-h: 108px;

  /* Motion */
  --e-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --e-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --e-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:    220ms;
  --t-base:    420ms;
  --t-slow:    700ms;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-weight: 400;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--ink); color: var(--bg); }

/* Typography */
.display,
h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.15;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: geometricPrecision;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.75rem); font-weight: 400; line-height: 1.08; letter-spacing: 0.005em; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: 0.005em; text-wrap: balance; }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1.2; }
h4 {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  font-family: var(--f-body);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}
.lead {
  font-family: var(--f-body);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  color: var(--ink-2);
  line-height: 1.7;
  font-weight: 300;
}

em, .italic { font-style: italic; }

/* Layout */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(5rem, 10vw, 9rem) 0; }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  background: transparent;
  border-bottom: none;
}
/* On internal (non-hero) pages, give the fixed header a soft frosted backdrop
   so the dark-mode logo stays legible whether scrolled over light or dark sections. */
body:not(.home-hero) .site-header {
  background: rgba(247, 242, 235, 0.82);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
/* Center the nav links in the middle of the bar (matches the centered
   hero copy below) regardless of logo/CTA widths. */
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.brand-mark {
  display: inline-flex; align-items: center;
  color: var(--ink);
  transition: opacity 0.25s var(--e-out);
}
.brand-mark:hover { opacity: 0.75; }
.brand-mark img {
  height: 82px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex; gap: 2.75rem; align-items: center;
}
.nav-links a {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  position: relative;
  transition: color var(--t-fast) var(--e-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--nav-accent, var(--accent));
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-base) var(--e-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--ink); }

/* Per-link underline colors — one star color from the logo per item */
.nav-links a[href="index.html"]   { --nav-accent: var(--s-pink); }
.nav-links a[href="brands.html"]  { --nav-accent: var(--s-teal); }
.nav-links a[href="about.html"]   { --nav-accent: var(--s-gold); }
.nav-links a[href="contact.html"] { --nav-accent: var(--s-purple); }

.nav-cta {
  font-family: var(--f-body);
  padding: 0.78rem 1.45rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--t-fast) var(--e-out),
              color var(--t-fast) var(--e-out),
              transform var(--t-fast) var(--e-out),
              border-color var(--t-fast) var(--e-out);
}
.nav-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.mobile-panel { display: none; }
.nav-toggle span {
  position: absolute; left: 8px; right: 8px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--e-out), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle.open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { top: 19px; transform: rotate(-45deg); }

/* On pages with a dark hero behind the (transparent) nav, recolor nav
   chrome to white so it stays legible without a backdrop. The per-link
   underline colors remain (defined via --nav-accent) so the star palette
   still pops on hover. */
.home-hero .nav-links a { color: rgba(255, 255, 255, 0.85); text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.home-hero .nav-links a:hover,
.home-hero .nav-links a.active { color: #fff; }
.home-hero .nav-cta {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.home-hero .nav-cta:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  text-shadow: none;
}
.home-hero .nav-toggle span { background: #fff; }
/* When the mobile panel is open it covers the dark hero with the cream
   panel — flip the toggle back to dark so the close (X) stays visible. */
.home-hero.mobile-open .nav-toggle span { background: var(--ink); }

/* ===========================================================
   Buttons
   =========================================================== */
.btn {
  font-family: var(--f-body);
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1rem 1.85rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform var(--t-base) var(--e-out),
              background var(--t-base) var(--e-out),
              color var(--t-base) var(--e-out),
              border-color var(--t-base) var(--e-out),
              box-shadow var(--t-base) var(--e-out);
  will-change: transform;
}
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 2px 0 transparent; }
.btn-primary:hover { transform: translateY(-3px); background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(232, 55, 158, 0.25); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-3px); }
.btn-light { background: rgba(255,255,255,0.95); color: var(--ink); box-shadow: 0 2px 0 transparent; }
.btn-light:hover { background: #fff; transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }

.btn .arrow {
  display: inline-block; transition: transform var(--t-base) var(--e-out);
}
.btn:hover .arrow { transform: translateX(5px); }

/* ===========================================================
   Home — Hero
   =========================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  margin-top: -1px;
  padding: 0;
  background: linear-gradient(180deg, #2a2723 0%, #1c1a17 100%);
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s var(--e-out), transform 2.2s var(--e-out);
}
.hero-video.is-ready {
  opacity: 1;
  transform: scale(1);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at center, rgba(28,26,23,0.6) 0%, rgba(28,26,23,0.35) 60%, rgba(28,26,23,0.2) 100%),
    linear-gradient(180deg, rgba(28,26,23,0.4) 0%, rgba(28,26,23,0.1) 35%, rgba(28,26,23,0.25) 70%, rgba(28,26,23,0.75) 100%);
  z-index: 2;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: var(--header-h) var(--gutter) 3rem;
  max-width: var(--max);
  margin: 0 auto;
  color: #fff;
  text-align: center;
}
.hero-eyebrow {
  font-family: var(--f-body);
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2rem;
  display: inline-flex; align-items: center; gap: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.js-ready .hero-eyebrow {
  opacity: 0;
  animation: hero-fade-up 1s var(--e-out) 0.2s forwards;
}
.hero-eyebrow::before,
.hero-eyebrow::after {
  content: ""; width: 32px; height: 1px; background: rgba(255,255,255,0.85);
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: #fff;
  max-width: 22ch;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.4);
  text-wrap: balance;
}
.js-ready .hero-title {
  opacity: 0;
  animation: hero-fade-up 1.1s var(--e-out) 0.4s forwards;
}
.hero-title em { font-style: italic; color: #fff; }
.hero-sub {
  font-family: var(--f-body);
  max-width: min(92ch, 88vw);
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  line-height: 2.0;
  letter-spacing: 0.015em;
  color: #fff;
  margin: 0 auto 2.75rem;
  padding: 0 1rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4);
  font-weight: 300;
}
.js-ready .hero-sub {
  opacity: 0;
  animation: hero-fade-up 1.1s var(--e-out) 0.6s forwards;
}
.js-ready .hero-actions {
  opacity: 0;
  animation: hero-fade-up 1.1s var(--e-out) 0.8s forwards;
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero-scroll {
  position: absolute;
  bottom: 1.75rem; left: 50%; transform: translateX(-50%);
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.hero-scroll::after {
  content: ""; width: 1px; height: 42px; background: rgba(255,255,255,0.5);
  animation: scroll-pulse 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.5; }
  50%      { transform: scaleY(1); opacity: 1; }
}

/* ===========================================================
   Home — Intro / Manifesto
   =========================================================== */
.manifesto {
  padding: clamp(6rem, 12vw, 10rem) 0;
  border-bottom: 1px solid var(--line);
}
.manifesto-grid {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.manifesto-grid .eyebrow { margin-bottom: 2.5rem; }
.manifesto p {
  font-family: var(--f-display);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.4;
  letter-spacing: 0.005em;
  font-weight: 400;
  color: var(--ink);
}
.manifesto p em { color: var(--accent); font-style: italic; }
.manifesto .signature {
  margin-top: 2.5rem;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-3);
}

/* ===========================================================
   Home — Featured brands preview
   =========================================================== */
.brands-preview { background: var(--bg-soft); }
.section-head {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.section-head h2 { max-width: 22ch; }
.section-head .head-actions { display: flex; align-items: center; gap: 1rem; justify-content: center; margin-top: 1rem; }

.preview-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

/* ===========================================================
   Brand Star (reusable) — hand-drawn / imperfect
   =========================================================== */
.star-link {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 2rem 1rem;
  transition: transform var(--t-base) var(--e-out);
}
.star-link:hover { transform: translateY(-8px); }

.brand-star {
  position: relative;
  width: 200px; height: 200px;
  display: flex; align-items: center; justify-content: center;
  color: var(--star-color, var(--ink));
  transition: transform var(--t-slow) var(--e-out);
  /* Slight default tilt for organic feel */
  transform: rotate(var(--star-tilt, -4deg));
}
.brand-star .star-outline {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  transition: transform var(--t-slow) var(--e-out),
              stroke-width var(--t-base) var(--e-out),
              filter var(--t-base) var(--e-out);
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.04));
}
.brand-star .star-logo,
.brand-star .star-text {
  /* Anchored at the visual centre of a 5-point star (just slightly below
     geometric centre — the star's mass leans low). Sized to clear the
     inner pentagon's straight edges by 2-3 units of the 100-unit viewBox
     even at the narrowest top. Counter-rotation keeps content upright. */
  position: absolute;
  top: 53.5%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--star-tilt, -4deg) * -1));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.brand-star .star-logo {
  /* With straight-edge polygons, the inscribed rectangle at the visual
     centre is ~30 wide × 20 tall on a 100-unit star. Logos sit at 28×18
     for a hair of breathing room from the outline. */
  max-width: 28%;
  max-height: 18%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand-star .star-text {
  font-family: var(--f-display);
  /* Sized so 2-word names sit on 2 comfortable lines, and 3-word names
     (e.g. "My Royal Baby") still fit cleanly without crowding the points. */
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  line-height: 1.05;
  color: var(--ink);
  text-align: center;
  max-width: 38%;
  text-transform: none;
  overflow-wrap: normal;
  word-break: keep-all;
  hyphens: none;
  font-weight: 400;
}
.star-link:hover .brand-star { transform: rotate(calc(var(--star-tilt, -4deg) + 8deg)); }
.star-link:hover .star-outline {
  transform: scale(1.06);
  stroke-width: 5;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,0.12));
}

.brand-star.sm { width: 130px; height: 130px; }
.brand-star.sm .star-outline { stroke-width: 2.25; }
.brand-star.sm .star-text { font-size: 0.7rem; max-width: 32%; }
.brand-star.sm .star-logo { max-width: 26%; max-height: 16%; }
.brand-star.lg { width: 320px; height: 320px; }
.brand-star.lg .star-outline { stroke-width: 3; }
.brand-star.lg .star-text { font-size: 1.55rem; max-width: 36%; }
.brand-star.lg .star-logo { max-width: 30%; max-height: 20%; }

/* Slight random-feel tilts cycling through children */
.constellation-grid .star-link:nth-child(7n+1) .brand-star { --star-tilt: -6deg; }
.constellation-grid .star-link:nth-child(7n+2) .brand-star { --star-tilt: 4deg; }
.constellation-grid .star-link:nth-child(7n+3) .brand-star { --star-tilt: -3deg; }
.constellation-grid .star-link:nth-child(7n+4) .brand-star { --star-tilt: 7deg; }
.constellation-grid .star-link:nth-child(7n+5) .brand-star { --star-tilt: -8deg; }
.constellation-grid .star-link:nth-child(7n+6) .brand-star { --star-tilt: 2deg; }
.constellation-grid .star-link:nth-child(7n+7) .brand-star { --star-tilt: -5deg; }

.star-caption {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  text-align: center;
  transition: color var(--t-fast) var(--e-out);
}
.star-link:hover .star-caption { color: var(--star-color, var(--ink)); }

/* Star color classes — only 5 colors, pulled directly from the Carmi logo */
.c-gold    { --star-color: var(--s-gold);   --star-ink: #3a2a00; }
.c-teal    { --star-color: var(--s-teal);   --star-ink: #ffffff; }
.c-pink    { --star-color: var(--s-pink);   --star-ink: #ffffff; }
.c-purple  { --star-color: var(--s-purple); --star-ink: #ffffff; }
.c-green   { --star-color: var(--s-green);  --star-ink: #12320a; }

/* ===========================================================
   Brands page — star constellation
   =========================================================== */
.brands-hero {
  padding: calc(var(--header-h) + 6rem) 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.brands-hero .eyebrow { display: block; margin-bottom: 1.5rem; }
.brands-hero h1 { margin: 0 auto 1.5rem; max-width: 18ch; }
.brands-hero p { max-width: 56ch; margin: 0 auto; color: var(--ink-2); }

.constellation {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--bg);
}
/* When the constellation is the first content (no hero above), give it
   room to clear the fixed header. */
.constellation--top {
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 5rem));
}

/* Side-by-side category pair (Footwear + Skincare on the brands page). */
.brand-category-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.brand-category-pair > .brand-category {
  margin-top: 0;
}
@media (max-width: 760px) {
  .brand-category-pair { grid-template-columns: 1fr; gap: 0; }
}

/* Category section grouping */
.brand-category {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}
.brand-category:first-child { margin-top: 0; }
.brand-category-header {
  text-align: center;
  margin: 0 auto clamp(2rem, 3.5vw, 3rem);
  max-width: 720px;
}
.brand-category-header .eyebrow {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--cat-color, var(--accent));
}
.brand-category-header h2 {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.85rem;
  letter-spacing: 0.01em;
}
.brand-category-header p {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 52ch;
  margin: 0 auto;
}
.brand-category-header .cat-rule {
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--cat-color, var(--accent));
  margin: 1.25rem auto 1.25rem;
  opacity: 0.7;
  transform-origin: center;
  transform: scaleX(0);
  animation: cat-rule-in 1s var(--e-out) 0.2s forwards;
}
@keyframes cat-rule-in { to { transform: scaleX(1); } }

.constellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}
.constellation-grid--narrow {
  max-width: 760px;
}

/* ===========================================================
   Brand detail page — single-screen hero layout
   =========================================================== */
.brand-detail {
  padding-top: var(--header-h);
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  align-items: center;
}
.brand-hero {
  width: 100%;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.brand-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.brand-hero-lifestyle {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-soft);
  max-height: 78vh;
  isolation: isolate;
}
/* Subtle shimmer skeleton while images load in */
.brand-hero-lifestyle::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 70%
  );
  background-size: 220% 100%;
  background-position: 100% 0;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
  opacity: 0.65;
  pointer-events: none;
}
.brand-hero-lifestyle.is-ready::before {
  opacity: 0;
  transition: opacity 0.5s var(--e-out);
}
@keyframes skeleton-shimmer {
  to { background-position: -100% 0; }
}
.brand-hero-lifestyle img,
.brand-hero-lifestyle video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.85s var(--e-out), transform 1.2s var(--e-out);
}
.brand-hero-lifestyle img.is-ready,
.brand-hero-lifestyle video.is-ready {
  opacity: 1;
  transform: scale(1);
}
.brand-hero-lifestyle--video { background: var(--ink); }
.brand-hero-lifestyle--placeholder {
  background:
    radial-gradient(ellipse 70% 50% at 25% 20%, var(--star-color), transparent 65%),
    radial-gradient(ellipse 80% 60% at 75% 80%, var(--star-color), transparent 70%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.5), transparent 50%),
    linear-gradient(135deg, var(--bg-warm), var(--bg-soft));
  opacity: 0.92;
}
.brand-hero-lifestyle--placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,0.18) 1px, transparent 0);
  background-size: 14px 14px;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.brand-hero-text .eyebrow { display: block; margin-bottom: 1.25rem; color: var(--star-color, var(--accent)); }
.brand-hero-text h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  margin-bottom: 1.25rem;
  line-height: 1.05;
  letter-spacing: 0.005em;
}
.brand-hero-text .lead {
  max-width: 46ch;
  margin-bottom: 2rem;
  color: var(--ink-2);
  font-style: italic;
  font-weight: 300;
}
.brand-kv {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}
.brand-kv dt {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  align-self: center;
}
.brand-kv dd { color: var(--ink); font-weight: 400; }
.brand-highlight {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--star-color, var(--accent));
  margin-bottom: 2rem;
  max-width: 48ch;
}
.brand-site-link {
  color: var(--star-color, var(--accent));
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out);
}
.brand-site-link:hover { color: var(--ink); }
.brand-site-link span { margin-left: 0.2em; font-size: 0.85em; }

/* On-screen nav arrows on brand detail pages — small icon-only circles
   pinned to the left/right edges, vertically centered. */
.brand-nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(28, 26, 23, 0.18), 0 1px 3px rgba(28, 26, 23, 0.12);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.6s var(--e-out) 0.6s,
              transform 0.35s var(--e-out),
              background 0.25s var(--e-out),
              color 0.25s var(--e-out),
              box-shadow 0.35s var(--e-out);
}
.brand-nav-btn.in { opacity: 1; }
.brand-nav-btn:hover {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 55, 158, 0.32), 0 1px 3px rgba(0,0,0,0.1);
}
.brand-nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.brand-nav-btn--prev { left: clamp(0.75rem, 2vw, 1.5rem); }
.brand-nav-btn--next { right: clamp(0.75rem, 2vw, 1.5rem); }
.brand-nav-btn--prev:hover { transform: translateY(-50%) translateX(-3px); }
.brand-nav-btn--next:hover { transform: translateY(-50%) translateX(3px); }
.brand-nav-btn svg { width: 16px; height: 16px; }
.brand-nav-label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .brand-nav-btn { transition: opacity 0.2s, background 0.2s, color 0.2s; opacity: 1; }
  .brand-nav-btn--prev:hover, .brand-nav-btn--next:hover { transform: translateY(-50%); }
}
@media (max-width: 760px) {
  .brand-nav-btn { display: none; }
}

.brand-hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
}

/* ===========================================================
   About page
   =========================================================== */
.about-hero {
  padding: calc(var(--header-h) + 6rem) 0 clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.about-hero h1 { max-width: 18ch; margin: 0 auto 2rem; }
.about-hero .lead { max-width: 52ch; margin: 0 auto; }
.about-hero .eyebrow { display: block; margin-bottom: 1.5rem; }

.about-story { padding: clamp(5rem, 9vw, 8rem) 0; }
.about-story-grid {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about-story-grid .eyebrow { margin-bottom: 2rem; }
.about-story-grid p + p { margin-top: 1.25rem; }
.about-story-grid p { color: var(--ink-2); font-size: 1.05rem; }

.values { background: var(--bg-soft); padding: clamp(5rem, 9vw, 8rem) 0; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.value {
  padding: 2.5rem 2rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.value .n {
  font-family: var(--f-display);
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.value h3 { font-size: 1.55rem; margin-bottom: 1rem; letter-spacing: 0.01em; }
.value p { color: var(--ink-2); font-size: 0.98rem; line-height: 1.7; font-weight: 300; }

/* ===========================================================
   Team
   =========================================================== */
.team {
  padding: calc(var(--header-h) + clamp(4rem, 7vw, 6rem)) 0 clamp(5rem, 9vw, 8rem);
  background: var(--bg-soft);
}
.team-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(3.5rem, 6vw, 5rem);
}
.team-intro .eyebrow { display: block; margin-bottom: 1.25rem; }
.team-intro h2 { max-width: 22ch; margin: 0 auto; }

.team-member {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
.team-member + .team-member {
  border-top: 1px solid var(--line);
}
.team-member--reverse .team-photo { order: 2; }
.team-member--reverse .team-bio { order: 1; }

.team-photo {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(0,0,0,0.04), rgba(0,0,0,0.08)),
    var(--bg);
  border: 1px solid var(--line);
}
.team-photo::after {
  content: "Photo";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  pointer-events: none;
  z-index: 0;
}
.team-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-photo img[alt]:after {
  content: "";
}

.team-bio .eyebrow { display: block; margin-bottom: 1.25rem; }
.team-bio h3 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.team-bio p {
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 300;
}
.team-bio p + p { margin-top: 1rem; }
.team-bio-tagline {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.25rem !important;
  color: var(--accent) !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.4 !important;
}

.stats { padding: clamp(4rem, 8vw, 7rem) 0; border-top: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat .num {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 4.4vw, 3.85rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--accent);
}
.stat .lbl {
  font-family: var(--f-body);
  margin-top: 0.85rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}

/* ===========================================================
   Contact page
   =========================================================== */
.contact-hero {
  padding: calc(var(--header-h) + 6rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.contact-hero h1 { max-width: 16ch; margin: 0 auto 1.5rem; }
.contact-hero .lead { max-width: 52ch; margin: 0 auto; }
.contact-hero .eyebrow { display: block; margin-bottom: 1.5rem; }

/* When the contact info+map is the first content (no hero above), give it
   room to clear the fixed header. */
.contact-section--top { padding-top: calc(var(--header-h) + clamp(2.5rem, 5vw, 4rem)); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-info {
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
  border-right: 1px solid var(--line);
}
.contact-info h2 { margin-bottom: 2.5rem; }
.info-row { padding: 1.5rem 0; border-top: 1px solid var(--line-soft); }
.info-row:first-of-type { border-top: none; padding-top: 0; }
.info-row h4 {
  font-family: var(--f-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.info-row p, .info-row a {
  font-family: var(--f-display);
  font-size: 1.3rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: 0.005em;
  transition: color var(--t-fast) var(--e-out);
}
.info-row a:hover { color: var(--accent); }

.map-wrap {
  position: relative;
  min-height: 520px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}
.toronto-map {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
}
.map-pin {
  position: absolute;
  bottom: 2rem; right: 2rem;
  z-index: 2;
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  max-width: 240px;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
.map-pin .eyebrow { margin-bottom: 0.5rem; color: var(--accent); }
.map-pin p { font-family: var(--f-display); font-size: 1.05rem; line-height: 1.4; letter-spacing: 0.005em; }

.contact-form-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: var(--bg-soft);
  scroll-margin-top: var(--header-h);
}
.form-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.form-head { text-align: center; margin-bottom: 4rem; }
.form-head h2 { margin-bottom: 1rem; }
form.cf { display: grid; gap: 1.75rem; }
form.cf .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
form.cf label {
  display: block;
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
form.cf input,
form.cf textarea,
form.cf select {
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--ink-4);
  font-family: var(--f-body);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--t-fast) var(--e-out);
  outline: none;
}
form.cf input:focus,
form.cf textarea:focus,
form.cf select:focus { border-bottom-color: var(--accent); }
form.cf textarea { resize: vertical; min-height: 140px; }
form.cf button[type="submit"] {
  justify-self: start;
  margin-top: 1rem;
}
form.cf button[type="submit"][disabled] { opacity: 0.6; cursor: progress; }
.cf-status {
  margin: 0;
  font-size: 0.95rem;
  min-height: 1.5em;
  line-height: 1.5;
}
.cf-status--ok { color: #2f7a4a; }
.cf-status--err { color: #b94545; }
.cf-status a { color: inherit; text-decoration: underline; }

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  padding: clamp(4rem, 8vw, 7rem) 0 2.5rem;
  background: var(--ink);
  color: var(--bg);
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: center;
}
.site-footer .footer-top > div { display: flex; flex-direction: column; align-items: center; }
.site-footer .f-brand p { text-align: center; }
.site-footer address { text-align: center; }
.site-footer h4 {
  font-family: var(--f-body);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.site-footer .f-brand .brand-mark { margin-bottom: 1.5rem; }
.site-footer .f-brand .brand-mark img { height: 92px; }
.site-footer .f-brand p { color: rgba(255,255,255,0.7); max-width: 32ch; font-size: 0.95rem; }
.site-footer ul li { margin-bottom: 0.65rem; }
.site-footer a {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  transition: color 0.2s var(--e-out);
}
.site-footer a:hover { color: var(--bg); }
.site-footer address {
  font-style: normal;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
}
.footer-bottom {
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap; gap: 1rem;
}

/* ===========================================================
   Utility
   =========================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-2 { margin-top: 2rem; } .mt-4 { margin-top: 4rem; }

/* ── Entry animation gating ────────────────────────────────────────────
   `.reveal` and `.stagger` only "hide" themselves once <html> has the
   .js-ready class (set by a tiny inline script in <head>). Without JS,
   or before the script runs, content is fully visible — eliminates the
   first-paint flash on every page navigation. */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out);
  will-change: opacity, transform;
}
.js-ready .reveal.in { opacity: 1; transform: translateY(0); }

.js-ready .reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--e-out), transform 0.8s var(--e-out);
}
.js-ready .reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.js-ready .reveal-stagger.in > *:nth-child(1)  { transition-delay: 0.04s; }
.js-ready .reveal-stagger.in > *:nth-child(2)  { transition-delay: 0.10s; }
.js-ready .reveal-stagger.in > *:nth-child(3)  { transition-delay: 0.16s; }
.js-ready .reveal-stagger.in > *:nth-child(4)  { transition-delay: 0.22s; }
.js-ready .reveal-stagger.in > *:nth-child(5)  { transition-delay: 0.28s; }
.js-ready .reveal-stagger.in > *:nth-child(6)  { transition-delay: 0.34s; }
.js-ready .reveal-stagger.in > *:nth-child(7)  { transition-delay: 0.40s; }
.js-ready .reveal-stagger.in > *:nth-child(8)  { transition-delay: 0.46s; }
.js-ready .reveal-stagger.in > *:nth-child(9)  { transition-delay: 0.52s; }
.js-ready .reveal-stagger.in > *:nth-child(10) { transition-delay: 0.58s; }
.js-ready .reveal-stagger.in > *:nth-child(11) { transition-delay: 0.64s; }
.js-ready .reveal-stagger.in > *:nth-child(12) { transition-delay: 0.70s; }

/* Staggered entry used on brand detail pages */
.js-ready .stagger {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 1s var(--e-out) calc(var(--stagger, 0) * 100ms + 80ms),
    transform 1s var(--e-out) calc(var(--stagger, 0) * 100ms + 80ms);
  will-change: opacity, transform;
}
.js-ready .stagger.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal, .js-ready .reveal.in,
  .js-ready .reveal-stagger > *, .js-ready .reveal-stagger.in > *,
  .js-ready .stagger, .js-ready .stagger.in {
    transition: none;
    transform: none;
    opacity: 1;
  }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; }
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .brand-mark img { height: 56px; }
  .site-footer .f-brand .brand-mark img { height: 72px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-open .mobile-panel { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-panel {
    display: flex; flex-direction: column; gap: 1.5rem;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); z-index: 70;
    padding: 3rem var(--gutter);
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: transform 0.35s var(--e-out), opacity 0.35s var(--e-out);
  }
  .mobile-panel a {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--ink);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--line);
  }
  .manifesto-grid,
  .brand-hero-grid,
  .about-story-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .team-member { grid-template-columns: 1fr; gap: 2rem; }
  .team-member--reverse .team-photo { order: 0; }
  .team-member--reverse .team-bio { order: 0; }
  .team-photo { max-width: 480px; margin: 0 auto; aspect-ratio: 4 / 5; }
  .team-bio { text-align: center; }
  .team-bio h3 { margin-left: auto; margin-right: auto; }
  .brand-hero-grid { text-align: center; gap: 2rem; }
  .brand-hero-lifestyle { order: -1; max-height: 50vh; aspect-ratio: 4 / 3; }
  .brand-kv { max-width: 420px; margin-left: auto; margin-right: auto; margin-bottom: 1.5rem; grid-template-columns: 1fr; gap: 0.25rem 0; }
  .brand-kv dt { margin-top: 0.75rem; }
  .brand-kv dt:first-of-type { margin-top: 0; }
  .brand-highlight { margin-left: auto; margin-right: auto; }
  .brand-hero-actions { justify-content: center; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--line); }
  .values-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; }
  form.cf .row { grid-template-columns: 1fr; }
  .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem 2rem; }
  .site-footer .f-brand { grid-column: 1 / -1; }
  .brand-star { width: 130px; height: 130px; }
  .brand-star .label { font-size: 0.85rem; }
  .constellation-grid .star-link:nth-child(4n+2),
  .constellation-grid .star-link:nth-child(4n+4) { transform: none; }
  .constellation-grid .star-link:nth-child(4n+2):hover,
  .constellation-grid .star-link:nth-child(4n+4):hover { transform: translateY(-6px); }
  .map-pin { display: none; }
}
@media (max-width: 520px) {
  :root { --gutter: 1.25rem; --header-h: 72px; }
  .brand-mark img { height: 44px; }
  .site-footer .f-brand .brand-mark img { height: 64px; }
  .site-footer .footer-top { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 100svh; height: auto; }
  .hero-content {
    position: relative;
    min-height: 100svh;
    justify-content: flex-start;
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 2.5rem;
  }
  .hero-eyebrow { margin-bottom: 1.25rem; font-size: 0.7rem; }
  .hero-title { margin-bottom: 1.25rem; }
  .hero-sub { margin-bottom: 1.75rem; line-height: 1.7; }
  .hero-actions { gap: 0.75rem; flex-direction: column; width: 100%; margin-top: auto; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
