/*
Theme Name:  Medverse
Theme URI:   https://medverse.co.nz
Author:      Medverse Limited
Version:     1.2.0
License:     Private
Text Domain: medverse
*/

/* ═══════════════════════════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ═══════════════════════════════════════════════════════════════════════════ */
:root {
  --primary:        #2B4A3C;
  --primary-dark:   #1E3528;
  --primary-soft:   rgba(43,74,60,0.07);
  --primary-border: rgba(43,74,60,0.14);
  --gold:           #B8964A;
  --gold-soft:      rgba(184,150,74,0.10);
  --fg:             #1A2820;
  --muted:          #6B6055;
  --bg:             #FFFEF9;
  --off-white:      #F5F0E7;
  --white:          #ffffff;
  --w60:            rgba(255,255,255,0.6);
  --w70:            rgba(255,255,255,0.7);
  --w80:            rgba(255,255,255,0.8);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;

  --max-w:       1600px;
  --gutter:      clamp(1.5rem, 4vw, 3.5rem);
  --ease:        cubic-bezier(0.25, 0, 0, 1);
  --section-pad: clamp(4rem, 7vw, 7rem);
}

/* ═══════════════════════════════════════════════════════════════════════════
   2. RESET & BASE
   ═══════════════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 20px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }

/* All links: clearly clickable */
a {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a:hover { opacity: 0.82; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.1; }

/* ═══════════════════════════════════════════════════════════════════════════
   3. UTILITIES
   ═══════════════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--primary); color: var(--white);
  padding: 0.5rem 1rem; font-size: 1rem; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: block;
  font-size: 0.85rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--gold); margin-bottom: 1rem;
}

/* Scroll animations */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: 0.12s; }
.fade-up-d2 { transition-delay: 0.24s; }
.fade-up-d3 { transition-delay: 0.36s; }

/* ═══════════════════════════════════════════════════════════════════════════
   4. BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.1rem 2.75rem;
  font-family: var(--sans); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.025em;
  border-radius: 3px; border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap; cursor: pointer; text-decoration: none;
}
.btn--navy  { background: var(--primary);  color: var(--white); border-color: var(--primary); }
.btn--navy:hover { background: var(--primary-dark); border-color: var(--primary-dark); opacity: 1; }
.btn--white { background: var(--white); color: var(--primary);  border-color: var(--white); }
.btn--white:hover { background: rgba(255,255,255,0.9); opacity: 1; }
.btn--outline-white { background: transparent; color: var(--white); border-color: var(--w60); }
.btn--outline-white:hover { border-color: var(--white); opacity: 1; }
.btn--outline-navy  { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline-navy:hover  { background: var(--primary-soft); opacity: 1; }
.btn--sm { padding: 0.85rem 2rem; font-size: 1rem; }
.btn--lg { padding: 1.35rem 3.5rem; font-size: 1.2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   5. BADGES
   ═══════════════════════════════════════════════════════════════════════════ */
.portfolio-card__badges,
.brand-hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }

.badge {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.45em 1.1em; border-radius: 100px;
  background: var(--primary-soft); color: var(--primary);
  border: 1px solid var(--primary-border); white-space: nowrap;
}
.badge--navy { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════════════════
   6. HEADER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,254,249,0.95);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--primary-border); }

.header-inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--gutter);
  height: 6rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.site-branding a { display: flex; align-items: baseline; gap: 0.5rem; }
.brand-name { font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: 0.03em; color: var(--fg); }
.brand-sub  { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.28em; color: var(--muted); }

.primary-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 768px) { .primary-nav { display: flex; } }
.primary-nav a {
  font-size: 1.05rem; font-weight: 500; color: var(--muted);
  transition: color 0.2s; position: relative; padding-bottom: 3px;
  cursor: pointer;
}
.primary-nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px; background: var(--primary);
  transition: width 0.25s var(--ease);
}
.primary-nav a:hover,
.primary-nav a.current-page { color: var(--primary); opacity: 1; }
.primary-nav a:hover::after,
.primary-nav a.current-page::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 0.875rem; flex-shrink: 0; }
.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; padding: 0.4rem;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) { .menu-toggle { display: none; } }
.menu-toggle:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.hamburger { display: flex; flex-direction: column; justify-content: space-between; width: 22px; height: 15px; pointer-events: none; }
.hamburger span { display: block; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.2s, width 0.25s; }
.hamburger span:nth-child(1), .hamburger span:nth-child(3) { width: 100%; }
.hamburger span:nth-child(2) { width: 75%; }

.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; inset: 6rem 0 0;
  background: var(--bg); z-index: 99; overflow-y: auto;
  flex-direction: column; padding: 0.5rem var(--gutter) 2.5rem;
  border-top: 1px solid var(--primary-border);
}
.mobile-nav.is-open { display: flex; animation: navSlide 0.22s var(--ease) both; }
@keyframes navSlide { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.mobile-nav__close {
  display: flex; align-items: center; justify-content: center; align-self: flex-end;
  width: 3rem; height: 3rem; color: var(--muted);
  margin-bottom: 0.25rem; -webkit-tap-highlight-color: transparent; cursor: pointer;
}
.mobile-nav__close:hover { color: var(--primary); }
.mobile-nav__close:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.mobile-nav a {
  font-family: var(--serif); font-size: 2.5rem; color: var(--fg);
  padding: 1rem 0; border-bottom: 1px solid var(--primary-border);
  display: block; transition: color 0.2s; cursor: pointer;
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--primary); opacity: 1; }
.mobile-cta { padding-top: 2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   7. FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--primary); color: var(--white); padding-top: 6rem; }

.footer__inner {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  margin-bottom: 5rem;
}
@media (min-width: 600px)  { .footer__inner { grid-template-columns: repeat(2,1fr); gap: 3.5rem 2.5rem; } }
@media (min-width: 1024px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 0 4rem; } }

.footer__logo-link { display: inline-flex; align-items: baseline; gap: 0.4rem; margin-bottom: 1rem; cursor: pointer; }
.footer__logo-text { font-family: var(--serif); font-size: 1.875rem; color: var(--white); letter-spacing: 0.04em; }
.footer__tagline   { font-size: 1.15rem; color: var(--w80); line-height: 1.65; margin-bottom: 0.5rem; }
.footer__origin    { font-size: 1.05rem; color: var(--w60); }

.footer__col-label {
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--w60); margin-bottom: 1.5rem; display: block;
}
.footer__nav-col, .footer__ventures-col, .footer__contact-col { display: flex; flex-direction: column; }

/* Footer links — explicitly styled so they look and behave as links */
.footer__link {
  font-size: 1.15rem; color: var(--w80);
  margin-bottom: 0.875rem;
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.2);
  text-underline-offset: 3px;
}
.footer__link:hover {
  color: var(--white);
  text-decoration-color: rgba(255,255,255,0.7);
  opacity: 1;
}
.footer__address { font-size: 1.05rem; color: var(--w60); margin-top: 0.25rem; }

.footer__bottom { padding-bottom: 3rem; }
.footer__bottom-inner {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
@media (min-width: 768px) { .footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__copy, .footer__legal { font-size: 1rem; color: var(--w60); }

/* ═══════════════════════════════════════════════════════════════════════════
   8. HOME — HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.home-hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--white); overflow: hidden;
  text-align: center;
}
.home-hero__bg { position: absolute; inset: 0; }
.home-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; }
.home-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(43,74,60,0.45) 0%, rgba(30,53,40,0.92) 100%);
}
.home-hero__content {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--max-w); margin-inline: auto;
  padding: clamp(4rem,10vw,7rem) var(--gutter);
}
.home-hero__eyebrow {
  font-size: 0.85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.35em; color: var(--w60); margin-bottom: 2rem;
  animation: heroUp 0.8s var(--ease) 0.1s both;
}
.home-hero__title {
  font-family: var(--serif); font-size: clamp(5rem, 16vw, 14rem);
  font-weight: 400; line-height: 1.0; letter-spacing: -0.025em;
  margin-bottom: 2rem;
  animation: heroUp 0.9s var(--ease) 0.2s both;
}
.home-hero__sub {
  font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 300;
  color: var(--w80); max-width: 52rem; margin-inline: auto;
  line-height: 1.8; margin-bottom: 3rem;
  animation: heroUp 0.9s var(--ease) 0.35s both;
}
.home-hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  animation: heroUp 0.9s var(--ease) 0.5s both;
}
@keyframes heroUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ═══════════════════════════════════════════════════════════════════════════
   9. HOME — HERITAGE STATS
   ═══════════════════════════════════════════════════════════════════════════ */
.home-heritage {
  padding: var(--section-pad) var(--gutter);
  background: var(--off-white); text-align: center;
}
.heritage-stats {
  display: grid; grid-template-columns: 1fr; gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 480px) { .heritage-stats { grid-template-columns: repeat(3,1fr); gap: 2rem; } }

.heritage-stat__number {
  font-family: var(--serif); font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 400; color: var(--primary); line-height: 1; margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.heritage-stat__label {
  font-size: 0.9rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.18em; color: var(--muted);
}
.home-heritage__body {
  max-width: 80rem; margin-inline: auto;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 300;
  color: var(--muted); line-height: 1.85;
}

/* ═══════════════════════════════════════════════════════════════════════════
   10. HOME — CAPABILITY
   ═══════════════════════════════════════════════════════════════════════════ */
.home-capability { padding: var(--section-pad) var(--gutter); }
.home-capability__header { max-width: var(--max-w); margin-bottom: 4rem; }
.home-capability__title { font-size: clamp(2.75rem, 5.5vw, 4.75rem); line-height: 1.1; margin: 0.75rem 0 1.25rem; }
.home-capability__header p { font-size: 1.35rem; color: var(--muted); line-height: 1.85; font-weight: 300; }

.capability-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 768px) { .capability-grid { grid-template-columns: repeat(3,1fr); gap: 1.5rem; } }

.capability-card {
  padding: clamp(2.25rem, 4vw, 3.5rem);
  border: 1px solid var(--primary-border);
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.25s;
}
.capability-card:hover {
  box-shadow: 0 10px 40px rgba(43,74,60,0.09);
  border-color: rgba(43,74,60,0.28); transform: translateY(-4px);
}
.capability-card__icon {
  width: 2.75rem; height: 2.75rem; color: var(--gold);
  margin-bottom: 1.5rem; stroke-width: 1.5; display: block;
}
.capability-card__title { font-size: 1.65rem; margin-bottom: 0.75rem; }
.capability-card__body  { font-size: 1.15rem; color: var(--muted); line-height: 1.85; font-weight: 300; }

/* ═══════════════════════════════════════════════════════════════════════════
   11. HOME — PORTFOLIO
   ═══════════════════════════════════════════════════════════════════════════ */
.home-portfolio { padding: var(--section-pad) var(--gutter); background: var(--off-white); }
.home-portfolio__header { max-width: var(--max-w); margin-bottom: 3.5rem; }
.home-portfolio__title  { font-size: clamp(2.75rem, 5.5vw, 4.75rem); line-height: 1.1; margin-top: 0.75rem; }

.portfolio-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2,1fr); } }

.portfolio-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--primary-border); overflow: hidden;
  transition: box-shadow 0.3s, transform 0.25s, border-color 0.3s;
}
.portfolio-card:not(.portfolio-card--dashed):hover {
  box-shadow: 0 14px 48px rgba(43,74,60,0.1);
  transform: translateY(-5px); border-color: rgba(43,74,60,0.25);
}
.portfolio-card--dashed { border-style: dashed; background: transparent; }
.portfolio-card--dashed .portfolio-card__body { padding-top: clamp(3rem, 6vw, 5rem); }

.portfolio-card__img { aspect-ratio: 4/3; overflow: hidden; background: var(--off-white); flex-shrink: 0; }
.portfolio-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-card:hover .portfolio-card__img img { transform: scale(1.04); }

.portfolio-card__body { padding: clamp(2rem, 4vw, 3rem); display: flex; flex-direction: column; flex: 1; }
.portfolio-card__name { font-size: 2rem; margin-bottom: 0.875rem; }
.portfolio-card__desc { font-size: 1.15rem; color: var(--muted); line-height: 1.85; font-weight: 300; flex: 1; margin-bottom: 1.5rem; }
.portfolio-card__actions { display: flex; flex-wrap: wrap; gap: 0.875rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   12. HOME — PARTNER CTA
   ═══════════════════════════════════════════════════════════════════════════ */
.home-partner-cta {
  padding: var(--section-pad) var(--gutter);
  background: var(--primary); color: var(--white); text-align: center;
}
.home-partner-cta__title {
  font-size: clamp(3.25rem, 7vw, 7rem); line-height: 1.05; margin-bottom: 1.5rem;
}
.home-partner-cta__body {
  font-size: clamp(1.25rem, 2.2vw, 1.65rem); font-weight: 300; color: var(--w80);
  max-width: 70rem; margin-inline: auto; line-height: 1.8; margin-bottom: 2.75rem;
}

/* ═══════════════════════════════════════════════════════════════════════════
   13. SHARED PAGE HERO
   ═══════════════════════════════════════════════════════════════════════════ */
.page-hero {
  padding: clamp(7rem, 14vw, 12rem) var(--gutter) clamp(4.5rem, 7vw, 7rem);
  border-bottom: 1px solid var(--primary-border);
}
.page-hero .container { max-width: var(--max-w); }
.page-hero__eyebrow   { margin-bottom: 1.5rem; }
.page-hero__title     { font-size: clamp(4rem, 10vw, 9rem); line-height: 1.0; margin-bottom: 1.25rem; }
.page-hero__sub       { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 300; color: var(--muted); line-height: 1.8; }

/* ═══════════════════════════════════════════════════════════════════════════
   14. ABOUT
   ═══════════════════════════════════════════════════════════════════════════ */
.about-intro { padding: var(--section-pad) var(--gutter); }
.about-intro__grid {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center;
}
@media (min-width: 900px) { .about-intro__grid { grid-template-columns: 1fr 1fr; gap: 7rem; } }

.about-intro__text h2 { font-size: clamp(3rem, 6vw, 5.5rem); margin-bottom: 1.5rem; }
.about-intro__text p  { font-size: 1.35rem; color: var(--muted); line-height: 1.9; font-weight: 300; }
.about-intro__text p + p { margin-top: 1rem; }

.about-intro__image { border-radius: 2px; overflow: hidden; }
.about-intro__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }

/* Group Advantage */
.group-advantage { padding: var(--section-pad) var(--gutter); background: var(--off-white); }
.group-advantage__header { margin-bottom: 3.5rem; }
.group-advantage__header h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-top: 0.75rem; }
.group-advantage__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .group-advantage__grid { grid-template-columns: repeat(2,1fr); } }

.group-advantage__item {
  background: var(--bg); padding: clamp(2.25rem, 4vw, 3.5rem);
  border: 1px solid var(--primary-border);
}
.group-advantage__icon { width: 2.5rem; height: 2.5rem; color: var(--gold); margin-bottom: 1.25rem; stroke-width: 1.5; display: block; }
.group-advantage__item h3 { font-size: 1.65rem; margin-bottom: 0.75rem; }
.group-advantage__item p  { font-size: 1.15rem; color: var(--muted); line-height: 1.85; font-weight: 300; }

/* Why NZ */
.why-nz { padding: var(--section-pad) var(--gutter); }
.why-nz__inner { max-width: var(--max-w); margin-inline: auto; }
.why-nz__inner h2 { font-size: clamp(2.75rem, 5.5vw, 5rem); margin: 0.75rem 0 2rem; }
.why-nz__body p { font-size: 1.35rem; color: var(--muted); line-height: 1.9; font-weight: 300; }
.why-nz__body p + p { margin-top: 1.25rem; }

/* Vision */
.vision { padding: var(--section-pad) var(--gutter); background: var(--primary); color: var(--white); }
.vision .container { max-width: var(--max-w); }
.vision .eyebrow   { color: var(--w60); }
.vision h2    { font-size: clamp(2.75rem, 5.5vw, 5rem); margin: 0.75rem 0 1.5rem; }
.vision__body { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 300; color: var(--w80); line-height: 1.9; }

/* ═══════════════════════════════════════════════════════════════════════════
   15. BRANDS
   ═══════════════════════════════════════════════════════════════════════════ */
.brand-hero { padding: var(--section-pad) var(--gutter); }
.brand-hero__grid {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center;
}
@media (min-width: 900px) { .brand-hero__grid { grid-template-columns: 1fr 1fr; gap: 7rem; } }

.brand-hero__eyebrow { margin-bottom: 1.25rem; }
.brand-hero__content h2 { font-size: clamp(3.25rem, 7vw, 6.5rem); margin-bottom: 1.25rem; }
.brand-hero__content > p { font-size: 1.35rem; color: var(--muted); line-height: 1.9; font-weight: 300; margin-bottom: 2rem; }
.brand-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }

.brand-hero__images { display: grid; grid-template-columns: 3fr 2fr; gap: 1rem; align-items: start; }
.brand-hero__img-primary  { aspect-ratio: 3/4; overflow: hidden; border-radius: 2px; }
.brand-hero__img-primary img  { width: 100%; height: 100%; object-fit: cover; }
.brand-hero__img-secondary { aspect-ratio: 1; overflow: hidden; border-radius: 2px; margin-top: 2.5rem; }
.brand-hero__img-secondary img { width: 100%; height: 100%; object-fit: cover; }

/* Brand Detail */
.brand-detail { padding: var(--section-pad) var(--gutter); background: var(--off-white); }
.brand-detail__inner { max-width: var(--max-w); margin-inline: auto; }
.brand-detail__inner > h2 { font-size: clamp(2.25rem, 4.5vw, 4rem); margin-bottom: 3rem; }
.brand-detail__grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .brand-detail__grid { grid-template-columns: repeat(2,1fr); } }
.brand-detail__item { background: var(--bg); padding: clamp(2rem, 3.5vw, 3rem); border: 1px solid var(--primary-border); }
.brand-detail__item h3 { font-size: 1.65rem; margin-bottom: 0.75rem; }
.brand-detail__item p  { font-size: 1.15rem; color: var(--muted); line-height: 1.85; font-weight: 300; }

/* Gallery */
.brand-gallery { padding: clamp(3rem, 6vw, 6rem) var(--gutter); }
.brand-gallery__grid {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem;
}
@media (min-width: 640px) { .brand-gallery__grid { grid-template-columns: repeat(4,1fr); } }
.brand-gallery__grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }

/* Pipeline */
.brands-pipeline { padding: var(--section-pad) var(--gutter); background: var(--primary); color: var(--white); }
.brands-pipeline .container { max-width: var(--max-w); }
.pipeline-eyebrow { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--w60); margin-bottom: 1.25rem; }
.pipeline-title   { font-size: clamp(3rem, 6.5vw, 6rem); margin-bottom: 1.5rem; }
.pipeline-body    { font-size: 1.35rem; font-weight: 300; color: var(--w80); max-width: 60rem; line-height: 1.9; margin-bottom: 3.5rem; }
.pipeline-grid    { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .pipeline-grid { grid-template-columns: repeat(2,1fr); } }
.pipeline-grid > div { background: rgba(255,255,255,0.06); padding: 3rem; border: 1px solid rgba(255,255,255,0.12); }
.pipeline-item__label { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--w60); margin-bottom: 1rem; display: block; }
.pipeline-item__title { font-size: 1.875rem; margin-bottom: 0.75rem; }
.pipeline-item__body  { font-size: 1.15rem; font-weight: 300; color: var(--w80); line-height: 1.85; }

/* ═══════════════════════════════════════════════════════════════════════════
   16. PARTNERS
   ═══════════════════════════════════════════════════════════════════════════ */
.partners-who { padding: var(--section-pad) var(--gutter); }
.partners-who__intro { max-width: var(--max-w); margin-bottom: 3.5rem; }
.partners-who__intro-label { font-size: clamp(2.25rem, 4.5vw, 4rem); margin-bottom: 1.25rem; }
.partners-who__intro-body  { font-size: 1.35rem; color: var(--muted); line-height: 1.9; font-weight: 300; }

.partners-cat-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .partners-cat-grid { grid-template-columns: repeat(2,1fr); } }

.partners-cat {
  padding: clamp(2.25rem, 4vw, 3.5rem); border: 1px solid var(--primary-border);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.partners-cat:hover { box-shadow: 0 6px 32px rgba(43,74,60,0.09); border-color: rgba(43,74,60,0.28); }
.partners-cat__icon  { width: 2.75rem; height: 2.75rem; color: var(--gold); margin-bottom: 1.5rem; stroke-width: 1.5; display: block; }
.partners-cat__title { font-size: 1.65rem; margin-bottom: 0.75rem; }
.partners-cat__body  { font-size: 1.15rem; color: var(--muted); line-height: 1.85; font-weight: 300; }

/* What We Bring */
.partners-what { padding: var(--section-pad) var(--gutter); background: var(--off-white); }
.partners-what__label { margin-bottom: 3rem; }
.partners-val-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .partners-val-grid { grid-template-columns: repeat(3,1fr); gap: 4rem; } }
.partners-val__icon  { width: 2.75rem; height: 2.75rem; color: var(--gold); margin-bottom: 1.5rem; stroke-width: 1.5; display: block; }
.partners-val__title { font-size: 1.65rem; margin-bottom: 0.75rem; }
.partners-val__body  { font-size: 1.15rem; color: var(--muted); line-height: 1.85; font-weight: 300; }

/* Contact form section */
.partners-contact { padding: var(--section-pad) var(--gutter); background: var(--primary); color: var(--white); }
.partners-contact__inner {
  max-width: var(--max-w); margin-inline: auto;
  display: grid; grid-template-columns: 1fr; gap: 4rem;
}
@media (min-width: 900px) { .partners-contact__inner { grid-template-columns: 2fr 3fr; gap: 8rem; align-items: start; } }

.partners-contact__eyebrow { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--w60); margin-bottom: 1.25rem; }
.partners-contact__title   { font-size: clamp(2.75rem, 5.5vw, 5rem); margin-bottom: 1.25rem; }
.partners-contact__body    { font-size: 1.35rem; font-weight: 300; color: var(--w80); line-height: 1.85; }

/* Form */
.contact-form { display: grid; gap: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 1.05rem; font-weight: 500; color: rgba(255,255,255,0.75); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); padding: 1rem 1.25rem;
  font-family: var(--sans); font-size: 1.1rem; font-weight: 300;
  border-radius: 2px; transition: border-color 0.2s, background 0.2s; appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.12); }
.form-group select option { background: var(--primary); }
.form-group textarea { resize: vertical; min-height: 160px; }

.form-submit {
  width: 100%; background: var(--white); color: var(--primary);
  border: none; padding: 1.15rem 2.5rem;
  font-family: var(--sans); font-size: 1.15rem; font-weight: 600;
  border-radius: 2px; cursor: pointer; transition: background 0.2s, opacity 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.form-submit:hover { background: rgba(255,255,255,0.92); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.2); padding: 3rem; text-align: center; }
.form-success__icon { width: 4rem; height: 4rem; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.form-success__title { font-size: 2rem; margin-bottom: 0.75rem; }
.form-success__body  { font-size: 1.25rem; font-weight: 300; color: var(--w80); line-height: 1.8; }
.form-errors { background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.3); padding: 1.15rem 1.5rem; font-size: 1.1rem; color: #fca5a5; margin-bottom: 1.5rem; border-radius: 2px; }
.form-errors p + p { margin-top: 0.35rem; }
.field-error { border-color: rgba(239,68,68,0.55) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   17. ORIGIN
   ═══════════════════════════════════════════════════════════════════════════ */
.origin-hero {
  position: relative;
  min-height: 70vh; min-height: 70svh;
  display: flex; align-items: flex-end;
  background: var(--primary); color: var(--white); overflow: hidden;
}
.origin-hero__bg { position: absolute; inset: 0; }
.origin-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.25; }
.origin-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,74,60,0.95) 0%, rgba(43,74,60,0.35) 100%); }
.origin-hero__content {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin-inline: auto;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter); width: 100%;
}
.origin-hero__eyebrow { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: var(--w60); margin-bottom: 1.25rem; }
.origin-hero__title   { font-size: clamp(4rem, 11vw, 10rem); line-height: 1.0; margin-bottom: 1.25rem; }
.origin-hero__sub     { font-size: clamp(1.25rem, 2.2vw, 1.75rem); font-weight: 300; color: var(--w80); max-width: 50rem; line-height: 1.8; }

.origin-manifesto { padding: var(--section-pad) var(--gutter); }
.manifesto-paras  { max-width: var(--max-w); }
.manifesto-paras p { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 300; color: var(--muted); line-height: 1.95; }
.manifesto-paras p + p { margin-top: 1.75rem; }

.origin-cta { padding: var(--section-pad) var(--gutter); background: var(--off-white); text-align: center; }
.origin-cta__title { font-size: clamp(2.75rem, 6vw, 6rem); margin-bottom: 2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   18. 404 & GENERIC PAGES
   ═══════════════════════════════════════════════════════════════════════════ */
.not-found {
  min-height: 60vh; min-height: 60svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 5rem var(--gutter);
}
.not-found__code  { font-family: var(--serif); font-size: clamp(7rem, 20vw, 14rem); color: var(--primary-border); line-height: 1; margin-bottom: 0.75rem; }
.not-found__title { font-size: clamp(2.5rem, 5.5vw, 4.5rem); margin-bottom: 1rem; }
.not-found__body  { font-size: 1.35rem; color: var(--muted); margin-bottom: 2.5rem; }

.page-content { padding: clamp(4rem, 8vw, 8rem) var(--gutter); }
.page-content__body.rte { max-width: 60rem; margin-inline: auto; }
.page-content__body.rte h2, .page-content__body.rte h3 { margin-top: 2.5rem; margin-bottom: 1rem; }
.page-content__body.rte p  { margin-bottom: 1.25rem; color: var(--muted); line-height: 1.9; font-size: 1.2rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   19. FOCUS & PRINT
   ═══════════════════════════════════════════════════════════════════════════ */
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
a:focus-visible { border-radius: 2px; }

@media print {
  .site-header, .mobile-nav, .site-footer { display: none; }
  .home-hero { min-height: auto; padding: 2rem; }
}
