/* ====================================================================
   WALDEN RIDGE - Pixel-Perfect Marketing Site
   Font Stack: JunicodeExpBold (logo) + Cormorant Garamond + IBM Plex Sans
   Target: 1440px viewport width
   ==================================================================== */

/* ---- Font Loading (self-hosted) ---------------------------------- */
@font-face {
  font-family: "JunicodeExpBold";
  src: url("assets/fonts/Junicode-ExpBold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("assets/fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

/* ---- CSS Variables ----------------------------------------------- */
:root {
  /* Fonts */
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;

  /* Layout — fluid from 320px to 1440px (Apple continuous-proportion model) */
  --outer-margin: clamp(24px, 6.46vw - 8px, 85px);
  --content-width: 1270px;

  /* Typography — fluid scale, no breakpoint overrides needed.
     Each value interpolates linearly between min (320px) and max (1440px).
     Hierarchy ratio (H1/body) stays ~3.4× across all viewports. */
  --fs-logo: clamp(22px, 0.71vw + 19.7px, 30px);
  --fs-subtitle: 16px;
  --fs-nav: clamp(11px, 0.27vw + 10.1px, 14px);
  --fs-h1: clamp(28px, 2.68vw + 19.4px, 58px);
  --fs-intro: clamp(16px, 0.54vw + 14.3px, 22px);
  --fs-body: clamp(14px, 0.27vw + 13.1px, 17px);
  --fs-caption: 15px;
  --fs-section-head: clamp(15px, 0.27vw + 14.1px, 18px);

  /* Line heights - from reference */
  --lh-logo: 1.0;
  --lh-subtitle: 1.4;
  --lh-nav: 1.4;
  --lh-h1: 1.04;
  --lh-intro: 1.4;
  --lh-body: 1.6;
  --lh-caption: 1.6;
  --lh-section: 1.2;

  /* Colors */
  --color-text: #1a1a1a;
  --color-bg: #f5f3f0;
  --color-link: #1a1a1a;
  --color-link-hover: #666;

  /* Optical adjustments */
  --optical-adjust-sm: -0.005em;
  --optical-adjust-md: -0.01em;
  --optical-adjust-body: 0.002em;

  /* Surface + lines */
  --color-surface: rgba(255, 255, 255, 0.7);
  --line-subtle: rgba(26, 26, 26, 0.12);
  --line-soft: rgba(26, 26, 26, 0.14);
  --line-mid: rgba(26, 26, 26, 0.15);
  --line-strong: rgba(26, 26, 26, 0.24);
  --line-emphasis: rgba(26, 26, 26, 0.25);

  /* Radii + shadows */
  --radius-sm: 10px;
  --radius-md: 18px;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.10);

}

/* ---- Base Styles ------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-bg);
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

/* View Transitions API support */
@view-transition {
  navigation: auto;
}

html {
  view-transition-name: root;
}

/* Prevent FOUC - hide content until fonts load (JS-only).
   IMPORTANT: Never blank the page when JS is disabled or fails. */
.js:not(.fonts-loaded) body {
  opacity: 0;
}

.js.fonts-loaded body {
  opacity: 1;
  transition: opacity 0.2s ease-in;
}

html:not(.js) body {
  opacity: 1;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.001em;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
  width: 100%;
  overflow-x: hidden;
}


a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

/* Accessible focus styles */
:where(a, button, input, select, textarea):focus {
  outline: none;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}


.break-desktop {
  display: inline;
}

/* breatheIn/fadeIn removed — unused legacy keyframes */

/* ---- Global Header ----------------------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px var(--outer-margin) 0;
  max-width: 1440px;
  margin: 0 auto;
  margin-bottom: 32px;
}

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}

.logo-wordmark {
  font-family: "JunicodeExpBold";
  font-size: var(--fs-logo);
  font-weight: 700;
  letter-spacing: 2px;
  line-height: var(--lh-logo);
  margin: 0;
  white-space: nowrap; /* never allow WALDEN / RIDGE to split */
  display: inline-block;
}

.logo-subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-subtitle);
  font-weight: 400;
  line-height: var(--lh-subtitle);
  margin: 0;
  padding-left: 2px;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 60px;
  padding-top: 8px;
  flex-wrap: nowrap; /* prevent awkward mid-width wrap */
  align-items: center;
}

.main-nav a {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: var(--lh-nav);
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 0;
  white-space: nowrap; /* never break nav labels */
}

.main-nav a:hover {
  color: var(--color-link-hover);
}

/* Nav CTA: understated institutional link (no pill / no empty button look) */
.main-nav .nav-cta {
  margin-left: auto; /* keep CTA pinned right on the nav row */
  padding: 4px 0;
  border: 0;
  background: transparent;
  position: relative;
  letter-spacing: 0.16em;
  white-space: nowrap; /* never split Request Proposal */
}

.main-nav .nav-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--line-soft);
  opacity: 0.9;
}

.main-nav .nav-cta:hover {
  color: var(--color-link-hover);
}

/* ---- Main Container ---------------------------------------------- */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--outer-margin);
}

main {
  padding-top: 0;
  position: relative;
}

.page-home .home-main {
  display: flex;
  flex-direction: column;
}

.page-home .home-hero {
  order: 1;
}

.page-home .home-summary {
  order: 2;
}

.page-home .home-metrics {
  order: 3;
}

.page-portfolio main {
  display: flex;
  flex-direction: column;
}

.page-portfolio .portfolio-intro {
  order: 1;
}

.page-portfolio .portfolio-intro-text {
  order: 2;
}

.page-portfolio .portfolio-layout {
  order: 3;
}

.page-portfolio .brand-logos-section {
  order: 4;
}

.page-strategy .strategy-main {
  order: 1;
}

.page-strategy .page-sidebar {
  order: 2;
}

.page-governance .governance-intro {
  display: flex;
  flex-direction: column;
}

.page-governance .governance-block {
  order: 1;
}

.page-governance .governance-overview {
  order: 1;
}

.page-governance .governance-ownership {
  order: 2;
}

.page-governance .governance-board {
  order: 3;
}

.page-governance .governance-advisory {
  order: 4;
}

.page-governance .governance-contact-block {
  order: 5;
}

.page-leadership .governance-intro {
  display: flex;
  flex-direction: column;
}

.page-leadership .governance-block {
  order: 1;
}

.page-leadership .governance-overview {
  order: 1;
}

.page-leadership .governance-ownership {
  order: 2;
}

.page-leadership .governance-board {
  order: 3;
}

.page-leadership .governance-advisory {
  order: 4;
}

.page-leadership .leadership-bios {
  order: 5;
}

.page-leadership .governance-contact-block {
  order: 6;
}

/* ---- Typography -------------------------------------------------- */
h1 {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  margin: 0 0 28px 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-family: var(--font-display);
  font-size: var(--fs-intro);
  font-weight: 600;
  line-height: var(--lh-intro);
  margin: 0 0 32px 0;
  text-wrap: balance;
}

h3 {
  font-family: var(--font-display);
  font-size: var(--fs-section-head);
  font-weight: 600;
  line-height: var(--lh-section);
  margin: 0 0 4px 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  font-weight: 400;
  margin: 0 0 18px 0;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

:where(.page-metrics, .section-eyebrow, .sidebar-title, .timeline-eyebrow, .role-tag, .metric-item dt, .footer-mark-text) {
  text-wrap: balance;
}

:where(.portfolio-intro-text, .strategy-intro-text, .governance-text, .sidebar-item-text, .metric-item dd, .timeline-text, .home-hero-text p, .home-hero-proof, .home-hero-caption, .content-column p) {
  text-wrap: pretty;
}

/* ---- Our Story Page ---------------------------------------------- */
.our-story-intro {
  position: relative;
  margin-bottom: 32px;
}

.our-story-intro h1 {
  margin-bottom: 0;
}

.our-story-intro::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--line-subtle);
  animation: expandWidth 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.our-story-grid {
  display: grid;
  grid-template-columns: 580px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 0;
  position: relative;
}

.our-story-grid.no-hero {
  grid-template-columns: 1fr;
  gap: 0;
}

.story-rail {
  position: relative;
  align-self: start;
  max-width: none;
  width: 100%;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line-mid);
}

.hero-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-caption {
  font-size: var(--fs-caption);
  line-height: 1.5;
  font-weight: 400;
}

.caption-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.caption-text {
  flex: 1;
}

.caption-text p {
  margin-bottom: 12px;
}

.caption-text p:last-child {
  margin-bottom: 0;
}

.caption-logo {
  width: auto;
  height: 72px;
  flex-shrink: 0;
  opacity: 0.9;
  margin-bottom: 0;
}

.content-column {
  padding-top: 0;
}

.content-column h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  margin-bottom: 12px;
}

.story-intro {
  font-size: var(--fs-intro);
  line-height: var(--lh-intro);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}

.story-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px 64px;
  margin: 0;
  padding: 0;
}

.story-rail .story-timeline {
  margin: 0;
  padding: 0;
}

.timeline-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.4;
  margin-bottom: 32px;
  grid-column: 1 / -1;
}

.story-rail .timeline-eyebrow {
  position: static;
  margin-bottom: 32px;
}

.timeline-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline-year {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 4px;
}

.timeline-text {
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  opacity: 0.7;
}

.content-column p {
  font-size: var(--fs-body);
  line-height: 1.45;
  font-weight: 400;
  margin-bottom: 18px;
  opacity: 0.72;
}

@media (min-width: 1024px) {
  .page-our-story .content-column p {
    max-width: 72ch;
  }
}

/* ---- Portfolio Page ---------------------------------------------- */
.portfolio-intro {
  margin-bottom: 32px;
  max-width: none;
  position: relative;
}

.portfolio-intro::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--line-subtle);
  animation: expandWidth 0.9s cubic-bezier(0.16, 0.84, 0.3, 1) 0.2s forwards;
}

@keyframes expandWidth {
  to {
    transform: scaleX(1);
  }
}

.portfolio-intro h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  margin-bottom: 12px;
}

.portfolio-intro-text {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  max-width: 900px;
  margin-bottom: 32px;
}

.portfolio-evidence {
  margin: 0 0 36px;
  font-variant-numeric: tabular-nums;
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
}

.evidence-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.evidence-item h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.015em;
}

.evidence-item p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  font-weight: 400;
  opacity: 0.72;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start;
}

/* Sidebar baseline alignment: start with the body text (intro paragraph) */
.page-portfolio .portfolio-sidebar {
  margin-top: -32px;
}

.portfolio-main {
  max-width: 900px;
}

.portfolio-sidebar {
}

.portfolio-sidebar .sidebar-title,
.portfolio-sidebar .sidebar-list,
.portfolio-sidebar .sidebar-list li,
.portfolio-sidebar .sidebar-item-title,
.portfolio-sidebar .sidebar-item-text {
  /* Inherit all sidebar styles from .page-sidebar */
}

/* ---- Governance Page -------------------------------------------- */
.governance-intro {
  margin-bottom: 32px;
  max-width: none;
  position: relative;
  padding-bottom: 32px;
  z-index: 1;
}

.governance-intro .governance-block {
  max-width: 900px;
}

.governance-header {
  position: relative;
  margin-bottom: 32px;
}

.governance-header::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--line-subtle);
  animation: expandWidth 0.9s cubic-bezier(0.16, 0.84, 0.3, 1) 0.2s forwards;
}

.governance-intro h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  margin-bottom: 12px;
}

.governance-text {
  font-size: var(--fs-body);
  line-height: 1.55;
  font-weight: 400;
  margin-bottom: 20px;
  opacity: 0.72;
}

.governance-divider {
  padding-bottom: 16px;
  border-bottom: none;
  margin-bottom: 24px;
}

.governance-section {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0;
}

.page-governance .governance-block {
  position: relative;
}

.page-leadership .governance-block {
  position: relative;
}

.page-governance .governance-ownership,
.page-governance .governance-board,
.page-governance .governance-advisory {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.page-leadership .governance-ownership,
.page-leadership .governance-board,
.page-leadership .governance-advisory,
.page-leadership .leadership-bios {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.page-governance .governance-board,
.page-governance .governance-advisory {
  padding-left: 16px;
}

.page-leadership .governance-board,
.page-leadership .governance-advisory {
  padding-left: 16px;
}

.page-governance .governance-board::before,
.page-governance .governance-advisory::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  width: 1px;
  height: 32px;
  background: var(--line-emphasis);
}

.page-leadership .governance-board::before,
.page-leadership .governance-advisory::before {
  content: '';
  position: absolute;
  left: 0;
  top: 28px;
  width: 1px;
  height: 32px;
  background: var(--line-emphasis);
}

.page-leadership .leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 18px 28px;
  margin-top: 14px;
  max-width: 900px;
}

.page-leadership .leadership-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.page-leadership .leadership-card {
  transition: opacity 0.2s ease;
}

.page-leadership .leadership-card:hover {
  opacity: 0.8;
}

.page-leadership .leadership-photo {
  width: clamp(132px, 12vw, 168px);
  height: clamp(132px, 12vw, 168px);
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.3);
  flex: 0 0 auto;
}

.page-leadership .leadership-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-leadership .leadership-name {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.page-leadership .leadership-title {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  opacity: 0.78;
}

.page-leadership .leadership-bio {
  scroll-margin-top: 140px;
}

.page-leadership .leadership-bio + .leadership-bio {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}

.page-leadership .leadership-focus {
  margin-top: -8px;
  opacity: 0.9;
}

.page-leadership .leadership-backtop {
  display: inline-block;
  margin-top: 8px;
}

/* ---- Leadership Page: Two-Column Bio Layout ---------------------- */
.page-leadership .leadership-photo {
  display: none; /* Hidden until real photos are available */
}

.page-leadership .leadership-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  margin-top: 48px;
}

.page-leadership .leadership-nav {
  position: sticky;
  top: 120px;
  align-self: start;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.page-leadership .leadership-nav-section {
  margin-bottom: 48px;
}

.page-leadership .leadership-nav-section h3 {
  font-family: var(--font-display);
  font-size: var(--fs-section-head);
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.page-leadership .leadership-nav-card {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-leadership .leadership-nav-card:hover {
  padding-left: 8px;
}

.page-leadership .leadership-nav-card.active {
  padding-left: 8px;
  border-left: 2px solid var(--color-text);
}

.page-leadership .leadership-nav-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 2px;
}

.page-leadership .leadership-nav-title {
  font-size: 13px;
  opacity: 0.6;
}

.page-leadership .leadership-bio-container {
  min-height: 600px;
}

.page-leadership .leadership-bio-content {
  display: none;
}

.page-leadership .leadership-bio-content.active {
  display: block;
  animation: leadershipFadeIn 0.3s ease;
}

@keyframes leadershipFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.page-leadership .bio-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-mid);
}

.page-leadership .bio-name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}

.page-leadership .bio-role {
  font-size: 15px;
  opacity: 0.6;
}

/* Leadership responsive — aligned to global breakpoint system */
@media (max-width: 1023px) {
  .page-leadership .leadership-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .page-leadership .leadership-nav {
    position: static;
    max-height: none;
  }

  .page-leadership .leadership-bio-container {
    min-height: auto;
  }
}

@media (max-width: 833px) {
  .page-leadership .leadership-layout {
    gap: 48px;
  }

  .page-leadership .leadership-nav-section {
    margin-bottom: 32px;
  }

  .page-leadership .leadership-nav-section h3 {
    margin-bottom: 14px;
  }

  .page-leadership .leadership-nav-card {
    padding: 16px 0;
  }

  .page-leadership .leadership-nav-card.active {
    padding-left: 0;
    border-left: none;
    border-bottom: 1px solid var(--color-text);
  }

  .page-leadership .leadership-nav-card:hover {
    padding-left: 0;
  }

  .page-leadership .bio-name {
    font-size: 28px;
  }

  .page-leadership .bio-header {
    margin-bottom: 24px;
    padding-bottom: 18px;
  }

  .page-leadership .bio-role {
    font-size: 14px;
  }
}

@media (max-width: 599px) {
  .page-leadership .leadership-layout {
    gap: 32px;
    margin-top: 32px;
  }

  .page-leadership .leadership-nav-section {
    margin-bottom: 24px;
  }

  .page-leadership .leadership-nav-section h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .page-leadership .leadership-nav-card {
    padding: 14px 0;
  }

  .page-leadership .leadership-nav-name {
    font-size: 14px;
  }

  .page-leadership .leadership-nav-title {
    font-size: 12px;
  }

  .page-leadership .bio-name {
    font-size: 24px;
  }

  .page-leadership .bio-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
  }

  .page-leadership .bio-role {
    font-size: 13px;
  }

  .page-leadership .leadership-bio-container {
    min-height: auto;
  }
}

.governance-contact {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  margin-top: 32px;
}

.governance-contact a {
  color: var(--color-link);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.governance-contact a:hover {
  opacity: 0.6;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 48px;
  margin-bottom: 0;
}

.region-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.region-section-combined {
  gap: 28px;
}

.region-subsection {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Staggered cascade animation for each portfolio section */
.region-section:nth-child(1) {
  animation-delay: 0.4s;
}

.region-section:nth-child(2) {
  animation-delay: 0.5s;
}

.region-section:nth-child(3) {
  animation-delay: 0.6s;
}

.region-title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px 0;
  letter-spacing: -0.005em;
}

.property-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.property-list li {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0.85;
}

/* Footer spacing: keep intentional (avoid excessive empty page) */
.page-portfolio .site-footer,
.page-strategy .site-footer,
.page-our-story .site-footer,
.page-governance .site-footer,
.page-leadership .site-footer,
.page-home .site-footer,
.page-request .site-footer {
  margin-top: 64px;
}

@media (max-width: 833px) {
  .page-portfolio .site-footer,
  .page-strategy .site-footer,
  .page-our-story .site-footer,
  .page-governance .site-footer,
  .page-leadership .site-footer,
  .page-home .site-footer,
  .page-request .site-footer {
    margin-top: 96px;
  }
}

/* ---- Strategy Page ----------------------------------------------- */
.strategy-intro {
  margin-bottom: 32px;
  max-width: none;
  position: relative;
}

.strategy-intro::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--line-subtle);
  animation: expandWidth 0.9s cubic-bezier(0.16, 0.84, 0.3, 1) 0.2s forwards;
}

.strategy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start;
}

/* Sidebar baseline alignment: start with the body text (intro paragraph) */
.page-strategy .page-sidebar {
  margin-top: -32px;
}

.strategy-main {
  max-width: 900px;
}

.strategy-intro h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: var(--lh-h1);
  margin-bottom: 12px;
}

.strategy-intro-text {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  max-width: 900px;
  margin-bottom: 32px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-bottom: 0;
}

.strategy-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.strategy-heading {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 6px 0;
  letter-spacing: -0.015em;
}

.strategy-text {
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
  max-width: none;
  opacity: 0.72;
}

/* ---- Overlay Debug Mode ------------------------------------------ */
body.overlay-mode::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 1440px;
  height: 100vh;
  background-size: 1440px auto;
  background-repeat: no-repeat;
  background-position: top left;
  opacity: 0.5;
  pointer-events: none;
  z-index: 9999;
}

body.overlay-mode.page-our-story::before {
  background-image: url('/assets/refs/our-story.png');
}

body.overlay-mode.page-portfolio::before {
  background-image: url('/assets/refs/portfolio.png');
}

body.overlay-mode.page-strategy::before {
  background-image: url('/assets/refs/strategy.png');
}

/* ============================================================================
   RESPONSIVE DESIGN - Polished across all viewports
   ============================================================================ */

/* ---- Desktop (1440px+) - Primary Target -------------------------- */
/* Base styles above apply to 1440px+ screens */

/* ---- Laptop (1024px - 1439px) ------------------------------------ */
@media (max-width: 1439px) {
  .our-story-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .portfolio-grid {
    gap: 24px 40px;
  }

  .strategy-grid {
    gap: 24px 40px;
  }
}

/* ---- Tablet (max-width: 1023px) ---------------------------------- */
@media (max-width: 1023px) {
  .main-nav {
    gap: 24px;
  }
}

/* Problem breakpoint (~958px): header crowding.
   Solution: stack header (logo above nav) earlier than tablet-portrait. */
@media (max-width: 833px) {
  /* .site-header and .main-nav consolidated into Tablet Portrait block below */

  .main-nav .nav-cta {
    margin-left: 0;
  }

  /* Our Story - Timeline below narrative */
  .our-story-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .our-story-grid.no-hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .story-rail {
    max-width: none;
    margin-top: 56px;
    padding-top: 40px;
  }

  .story-rail .story-timeline {
    gap: 36px 48px;
  }

  .hero-column {
    order: -1; /* Image back on top */
  }

  /* Portfolio - 2 columns on tablet */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
  }

  /* Strategy - 2 columns maintained */
  .strategy-grid {
    gap: 24px 32px;
  }
}

/* ---- Tablet Portrait (600px - 833px) ----------------------------- */
@media (max-width: 833px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 28px var(--outer-margin) 0;
    margin-bottom: 22px;
    height: auto;
  }

  .main-nav {
    width: 100%;
    justify-content: center;
    gap: 32px;
    padding-top: 0;
  }

  .main-nav a {
    letter-spacing: 0.12em;
  }

  h1 {
    margin-bottom: 16px;
  }

  .story-intro {
    margin-bottom: 20px;
  }

  .portfolio-intro,
  .strategy-intro {
    margin-bottom: 28px;
  }

  .portfolio-grid,
  .strategy-grid {
    gap: 20px 28px;
  }

  /* Portfolio evidence — tablet scaling */
  .portfolio-intro-text {
    font-size: 16px;
    line-height: 1.6;
  }

  .evidence-item h3 {
    font-size: 16px;
  }

  .evidence-item p {
    font-size: 13px;
  }

  /* Leadership — tablet governance text */
  .governance-text {
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .site-footer {
    width: 100%;
    max-width: none;
  }

  .site-footer::before {
    width: 100%;
  }

  .footer-content {
    width: 100%;
  }

  /* Force visibility on small screens to avoid blank renders */
  .js .site-header,
  .js main,
  .js .portfolio-sidebar,
  .js .region-section,
  .js .page-sidebar {
    opacity: 1 !important;
  }

  .reveal-overlay {
    display: none;
  }
}

/* ---- Mobile Landscape (600px - 767px) ---------------------------- */
@media (max-width: 599px) {
  .break-desktop {
    display: none;
  }
  /* Portfolio + strategy grids: see main 599px block below */
}

/* ---- Mobile Portrait (390px - 599px) - iPhone, Android ----------- */
@media (max-width: 599px) {
  /* Leadership page: prevent horizontal overflow on mobile */
  .page-leadership .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .page-leadership .leadership-photo {
    width: 104px;
    height: 104px;
  }

  body {
    letter-spacing: 0.002em; /* Slightly tighter on mobile */
  }

  .site-header {
    padding: 24px var(--outer-margin) 0;
    margin-bottom: 18px;
    align-items: center;
  }

  .logo-wordmark {
    letter-spacing: 1.5px;
  }

  .logo-subtitle {
    font-size: 15px;
    padding-left: 0;
  }

  .main-nav {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
    align-self: stretch;
    margin-left: 0;
  }

  /* Mobile nav solution (Option 3): remove header CTA to prevent truncation.
     Request Proposal remains available via hero CTA (home) and footer CTA (all pages). */
  .main-nav .nav-cta {
    display: none;
  }

  .logo-wordmark {
    margin-left: 0;
    text-align: center;
  }

  .main-nav a:first-child {
    margin-left: 0;
  }

  .logo-block {
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .main-nav a {
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  h1 {
    margin-bottom: 12px;
    line-height: 1.2;
  }

  h3 {
    margin-bottom: 6px;
  }

  p {
    margin-bottom: 16px;
  }

  /* Our Story - Mobile */
  .our-story-grid {
    gap: 0;
  }
  
  .story-rail {
    margin-top: 48px;
    padding-top: 32px;
  }
  
  .story-rail .story-timeline {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-column {
    gap: 12px;
  }

  .content-column h1 {
    margin-bottom: 12px;
  }

  .story-intro {
    margin-bottom: 20px;
    line-height: 1.4;
  }

  .content-column p {
    margin-bottom: 16px;
    line-height: 1.5;
  }

  /* Portfolio - Mobile */
  .portfolio-intro,
  .strategy-intro {
    margin-bottom: 24px;
  }

  .portfolio-intro h1,
  .strategy-intro h1 {
    margin-bottom: 10px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .region-section {
    gap: 10px;
  }

  .property-list {
    gap: 6px;
  }

  /* Strategy - Single column on mobile */
  .strategy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strategy-block {
    gap: 10px;
  }

  /* Portfolio evidence - mobile scaling to match strategy-text rhythm */
  .portfolio-intro-text {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .evidence-item h3 {
    font-size: 15px;
  }

  .evidence-item p {
    font-size: 13px;
    line-height: 1.5;
  }

  .portfolio-evidence {
    margin-bottom: 28px;
  }

  /* Leadership - governance text mobile scaling */
  .governance-text {
    font-size: var(--fs-body);
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .governance-divider {
    margin-bottom: 20px;
  }

  .governance-intro {
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .governance-header {
    margin-bottom: 24px;
  }
}
@media (max-width: 599px) {
  .main-nav {
    gap: 10px 16px;
  }

  .main-nav a {
    letter-spacing: 0.08em;
  }

  .home-hero-media,
  .home-hero-image {
    max-height: calc(100vh - 240px);
  }
}

/* ---- Small Mobile (320px - 389px) - iPhone SE, older Android ----- */
@media (max-width: 389px) {
  .site-header {
    padding: 20px var(--outer-margin) 0;
    margin-bottom: 16px;
  }

  /* logo-wordmark: fluid --fs-logo handles sizing */

  .logo-subtitle {
    font-size: 14px;
  }

  .main-nav {
    gap: 16px 20px;
  }

  h1 {
    margin-bottom: 10px;
  }

  .story-intro {
    margin-bottom: 16px;
  }

  p {
    margin-bottom: 14px;
  }

  .portfolio-grid,
  .strategy-grid {
    gap: 16px;
  }

  .site-footer {
    padding: 32px var(--outer-margin) 28px;
  }

  .site-footer::before {
    margin-bottom: 18px;
  }

  .footer-content {
    gap: 24px;
  }

  .footer-logo {
    height: 46px;
  }

  .footer-left a,
  .footer-location {
    font-size: 12px;
  }

  .footer-cta {
    margin-top: 6px;
  }

  .footer-cta a {
    font-size: 9px;
  }

  .footer-mark-text {
    font-size: 9px;
  }
}

/* ---- Retina Display Optimization --------------------------------- */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}

/* ---- Dark Mode Support (Optional) -------------------------------- */
@media (prefers-color-scheme: dark) {
  /* Uncomment if dark mode is needed in future
  :root {
    --color-text: #e5e5e5;
    --color-bg: #1a1a1a;
    --color-link: #e5e5e5;
    --color-link-hover: #999;
  }
  */
}

/* ---- Reduced Motion Preference ----------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Mobile-Native Enhancements ---------------------------------- */

/* Touch targets: enforce 44px minimum on all interactive elements (WCAG 2.5.8) */
@media (max-width: 599px) {
  .main-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .footer-cta a,
  .footer-left a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .leadership-nav-card {
    min-height: 44px;
  }

  .btn {
    min-height: 44px;
  }
}

/* Safe areas for notched devices (iPhone X+, Pixel) */
@supports (padding: env(safe-area-inset-bottom)) {
  .site-footer {
    padding-bottom: calc(48px + env(safe-area-inset-bottom));
  }

  @media (max-width: 599px) {
    .site-header {
      padding-left: max(var(--outer-margin), env(safe-area-inset-left));
      padding-right: max(var(--outer-margin), env(safe-area-inset-right));
    }

    .site-footer {
      padding-bottom: calc(32px + env(safe-area-inset-bottom));
      padding-left: max(var(--outer-margin), env(safe-area-inset-left));
      padding-right: max(var(--outer-margin), env(safe-area-inset-right));
    }

    .container {
      padding-left: max(var(--outer-margin), env(safe-area-inset-left));
      padding-right: max(var(--outer-margin), env(safe-area-inset-right));
    }
  }
}

/* Momentum scrolling for iOS */
@media (max-width: 1023px) {
  .leadership-nav {
    -webkit-overflow-scrolling: touch;
  }
}

/* Prevent text selection on interactive elements */
.main-nav a,
.btn,
.leadership-nav-card,
.footer-cta a {
  -webkit-user-select: none;
  user-select: none;
}

/* GPU-accelerated transforms for smoother animations */
.leadership-bio-content {
  will-change: transform, opacity;
}

/* Remove 300ms tap delay (modern browsers) */
a, button, [role="button"] {
  touch-action: manipulation;
}

/* ---- Disable animations on very small screens -------------------- */
@media (max-width: 599px) {
  .site-header,
  main,
  .page-sidebar {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* ---- Right Sidebar ----------------------------------------------- */
.page-sidebar {
}

.page-sidebar,
.portfolio-sidebar {
  font-variant-numeric: tabular-nums;
}

.page-sidebar,
.portfolio-sidebar {
  position: relative;
  padding-left: 18px;
}

.page-sidebar::before,
.portfolio-sidebar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line-subtle);
}

.page-sidebar .sidebar-title,
.portfolio-sidebar .sidebar-title {
  padding-left: 0;
}

.page-sidebar .sidebar-title::before,
.portfolio-sidebar .sidebar-title::before {
  display: none;
}

/* ---- Entrance Animations (CSS-only, replaces GSAP) ----------------- */
@keyframes entranceReveal {
  from { opacity: 1 }
  to   { opacity: 0 }
}

@keyframes entranceHeader {
  from { opacity: 0; transform: translateY(-6px) }
  to   { opacity: 1; transform: translateY(0) }
}

@keyframes entranceMain {
  from { opacity: 0; transform: translateY(8px) }
  to   { opacity: 1; transform: translateY(0) }
}

/* Form page variants: slightly larger offsets, slower timing */
@keyframes entranceHeaderForm {
  from { opacity: 0; transform: translateY(-8px) }
  to   { opacity: 1; transform: translateY(0) }
}

@keyframes entranceMainForm {
  from { opacity: 0; transform: translateY(12px) }
  to   { opacity: 1; transform: translateY(0) }
}

/* Content visible by default — animations only when .entrance-play is set */
.js .site-header,
.js main,
.js .portfolio-sidebar,
.js .region-section,
.js .page-sidebar {
  opacity: 1;
}

/* When entrance-play is active, start hidden and let animation fill-forward */
html.entrance-play .site-header,
html.entrance-play main {
  opacity: 0;
}

html.entrance-play .reveal-overlay {
  animation: entranceReveal 0.3s cubic-bezier(0.33, 0, 0.67, 1) forwards;
}

html.entrance-play .site-header {
  animation: entranceHeader 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
}

html.entrance-play main {
  animation: entranceMain 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
}

/* Form pages: longer, more deliberate entrance */
html.entrance-play body.page-request .reveal-overlay,
html.entrance-play body.page-schedule .reveal-overlay {
  animation: entranceReveal 0.4s cubic-bezier(0.33, 0, 0.67, 1) forwards;
}

html.entrance-play body.page-request .site-header,
html.entrance-play body.page-schedule .site-header {
  animation: entranceHeaderForm 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

html.entrance-play body.page-request main,
html.entrance-play body.page-schedule main {
  animation: entranceMainForm 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.reveal-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  pointer-events: none;
  z-index: 0;
}

.no-motion .site-header,
.no-motion main,
.no-motion .portfolio-sidebar,
.no-motion .region-section,
.no-motion .page-sidebar {
  opacity: 1 !important;
}

.no-motion .reveal-overlay {
  display: none;
}

/* Entrance animations disabled on tablet/mobile — overlay already hidden at 833px */
@media (max-width: 833px) {
  html.entrance-play .reveal-overlay,
  html.entrance-play .site-header,
  html.entrance-play main {
    animation: none;
  }

  html.entrance-play .site-header,
  html.entrance-play main {
    opacity: 1;
    transform: none;
  }
}

.sidebar-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-left: 14px;
  margin: 0 0 12px 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.9;
}

.sidebar-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: var(--line-strong);
  transform: translateY(-50%);
}

.sidebar-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
}

.sidebar-list li {
  padding: 14px 0; /* tighten list spacing */
  border-top: 1px solid var(--line-subtle);
}

.sidebar-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-item-title {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  opacity: 0.95;
  letter-spacing: -0.005em;
  margin-bottom: 6px;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-overflow: clip;
  overflow: visible;
}

.sidebar-item-text {
  font-size: 14px;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.65;
  letter-spacing: 0.005em;
}

/* Stack layout on smaller screens */
@media (max-width: 1023px) {
  .strategy-layout,
  .portfolio-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .page-strategy .page-sidebar,
  .page-portfolio .portfolio-sidebar {
    margin-top: 0; /* stacked layout: no negative pull */
  }

  .page-sidebar,
  .portfolio-sidebar {
    max-width: 600px;
    padding-top: 32px;
    padding-left: 0;
    border-top: 1px solid var(--line-subtle);
  }

  .page-sidebar::before,
  .portfolio-sidebar::before {
    display: none;
  }

  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .home-summary {
    order: 3;
  }

  .page-home .home-metrics {
    order: 2;
  }

  .page-strategy .strategy-main {
    order: 2;
  }

  .page-strategy .page-sidebar {
    order: 1;
  }
}

/* Mobile: Further adjust sidebar */
@media (max-width: 599px) {
  .strategy-layout,
  .portfolio-layout {
    gap: 48px;
  }

  .page-sidebar,
  .portfolio-sidebar {
    padding-top: 24px;
  }

  .sidebar-title {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .sidebar-list li {
    padding: 16px 0;
  }

  .sidebar-item-title {
    font-size: 15px;
  }

  .sidebar-item-text {
    font-size: 14px;
    line-height: 1.55;
  }

}

/* ---- Home Page --------------------------------------------------- */
.home-hero {
  margin-top: 8px;
  margin-bottom: 32px;
  background: transparent;
}

.home-hero-media {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 260px);
  overflow: hidden;
  background: #e9e6e2;
}

.home-hero-image {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 260px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero-caption {
  margin: 12px 0 18px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.6;
}

.home-hero-overlay {
  display: none;
}

.home-hero-text {
  position: static;
  margin-top: 4px;
  max-width: 900px;
  color: var(--color-text);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.home-hero-text h1 {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.02;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.home-hero-text p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

.home-hero-proof {
  font-size: 15px;
  line-height: 1.45;
  font-weight: 400;
  margin-top: 6px;
  max-width: 720px;
}

.home-metrics {
  margin-top: 24px;
  max-width: none;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 26px; /* tighten vertical rhythm */
  margin: 0;
  padding: 0;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-item dt {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0;
}

.metric-item dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  opacity: 0.78;
}

.section-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-left: 14px;
}

.section-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  background: var(--line-strong);
  transform: translateY(-50%);
}

.section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
}

.page-stamp {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.6;
  margin-bottom: 10px;
}

.page-metrics {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.65;
  margin-top: 18px;
  margin-bottom: 14px;
}

.role-tag {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.6;
  margin: 0 0 10px 0;
}

.data-panel {
  border-top: none;
  background: transparent;
  padding: 10px 0 14px;
}

.home-summary {
  margin-top: 36px;
  font-variant-numeric: tabular-nums;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 28px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-item h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.015em;
}

.summary-item p {
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  font-weight: 400;
  opacity: 0.72;
}

.summary-note {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.75;
}

.summary-note a {
  text-decoration: none;
  opacity: 0.9;
}

.copy-compact {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .home-hero-text {
    max-width: 520px;
  }
  .home-hero-text h1 {
    font-size: 40px;
  }
  .home-hero-overlay {
    display: none;
  }
  .home-hero-media {
    max-height: calc(100vh - 240px);
  }
  .home-hero-image {
    max-height: calc(100vh - 240px);
  }
}

@media (max-width: 833px) {
  .home-hero-text {
    margin-top: 14px;
    max-width: 100%;
  }
  .home-hero-overlay {
    display: none;
  }
  .home-hero-media {
    max-height: calc(100vh - 220px);
  }
  .home-hero-image {
    max-height: calc(100vh - 220px);
  }

  .home-hero-text h1 {
    font-size: 34px;
  }

  .home-hero-text p {
    font-size: 17px;
  }

  /* Smaller buttons to fit side-by-side on mobile */
  .home-hero-cta .btn {
    padding: 10px 14px;
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .home-hero-proof {
    font-size: 14px;
  }
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .copy-extended {
    display: none;
  }

  .copy-compact {
    display: inline;
  }

  .page-portfolio .portfolio-layout {
    order: 3;
  }

  .page-portfolio .brand-logos-section {
    order: 4;
  }

  .page-governance .governance-board {
    order: 2;
  }

  .page-governance .governance-advisory {
    order: 3;
  }

  .page-governance .governance-ownership {
    order: 4;
  }

  .page-governance .governance-board,
  .page-governance .governance-advisory {
    padding-left: 0;
  }

  .page-governance .governance-board::before,
  .page-governance .governance-advisory::before {
    display: none;
  }

  .section-header {
    padding-left: 0;
  }

  .section-header::before {
    display: none;
  }

  .home-hero-caption {
    margin: 10px 0 14px;
  }

  .page-metrics {
    margin-top: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.12em;
  }

  .role-tag {
    margin-bottom: 8px;
  }

  .sidebar-title {
    padding-left: 0;
  }

  .sidebar-title::before {
    display: none;
  }

  .page-our-story,
  .page-strategy,
  .page-portfolio,
  .page-governance {
    background-image: none;
  }
}

@media (max-width: 599px) {
  .home-hero-text h1 {
    font-size: 30px;
  }
  .home-hero-text p {
    font-size: 16px;
  }
  .home-hero-proof {
    font-size: 14px;
  }
  .home-metrics {
    margin-top: 22px;
  }
  .metrics-grid {
    gap: 20px;
  }
  .home-summary {
    margin-top: 28px;
  }
  .summary-grid {
    gap: 22px;
  }
  .summary-item h3 {
    font-size: 15px;
  }
  .summary-item p {
    font-size: 13px;
    line-height: 1.5;
  }
  .metric-item dt {
    font-size: 13px;
  }
  .metric-item dd {
    font-size: 13px;
    line-height: 1.5;
  }
  .data-panel {
    padding: 14px 0 16px;
  }
  .page-metrics {
    font-size: 11px;
    letter-spacing: 0.1em;
    margin-top: 18px;
  }
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .main-nav a {
    padding: 8px 0;
  }
}

/* ---- Footer (Swiss Grid / Paul Rand Approach) -------------------- */
.site-footer {
  max-width: 1440px;
  margin: 64px auto 0;
  padding: 0 var(--outer-margin) 48px;
}

.site-footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: var(--line-mid);
  margin-bottom: 24px;
}

.footer-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-left a {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.2s ease;
}

.footer-left a:hover {
  opacity: 1;
}

.footer-location {
  font-size: 14px;
  opacity: 0.45;
  margin-top: 0;
}

.footer-cta {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
  line-height: 1.2;
}

.footer-cta a {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  line-height: 1.2;
}

.footer-cta a:hover {
  opacity: 1;
}

.footer-mark {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  margin-right: -2px;
  line-height: 1.2;
}

.footer-logo {
  width: auto;
  height: 68px;
  opacity: 0.28;
  display: block;
  transform: translateY(7px); /* Lower just the logo */
}

.footer-mark-text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.5;
  padding-right: 2px;
  line-height: 1.2;
  margin-top: -2px; /* Tuck closer to logo */
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.4;
}

.footer-info a {
  color: var(--color-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-info a:hover {
  opacity: 1;
}

.footer-separator {
  opacity: 0.3;
}

.footer-secondary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-location {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.4;
}

.footer-quote-text {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.4;
  text-align: right;
}

/* Footer Responsive */
@media (max-width: 1023px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-quote {
    text-align: center;
  }

  .footer-legal {
    text-align: center;
  }
}

@media (max-width: 599px) {
  body {
    min-height: 100vh;
  }

  .site-footer {
    margin-top: 64px;
    padding: 36px var(--outer-margin) 32px;
  }

  .site-footer::before {
    margin-bottom: 20px;
  }

  .footer-content {
    gap: 16px;
    align-items: flex-end;
  }

  .footer-logo {
    height: 42px;
    transform: translateY(4px);
  }

  .footer-left a,
  .footer-location {
    font-size: 11px;
  }

  .footer-cta {
    margin-top: 4px;
    font-size: 0; /* hide the · text node */
  }

  .footer-cta a {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .footer-cta a:first-child::after {
    content: '';
    display: inline-block;
    width: 8px;
  }

  .footer-mark {
    align-items: center;
    gap: 0;
  }

  .footer-mark-text {
    font-size: 8px;
    letter-spacing: 0.16em;
    margin-top: 0;
  }

  .page-portfolio .site-footer,
  .page-strategy .site-footer,
  .page-our-story .site-footer,
  .page-governance .site-footer,
  .page-home .site-footer {
    margin-top: 64px;
  }

  .page-home main {
    padding-bottom: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    padding-top: 24px;
  }
}

/* ---- Brand Logos (Static Row) ------------------------------------ */
.brand-logos-section {
  margin: 32px 0 0;
  padding: 0;
  max-width: 900px;
}

.brand-logos-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: 0.4;
  filter: grayscale(100%);
  flex-shrink: 0;
}

/* Optical size adjustments - normalized to feel equal weight */
.brand-logo-courtyard {
  height: 26px;
}

.brand-logo-hilton-garden {
  height: 32px;
}

.brand-logo-valdoro {
  height: 30px;
}

.brand-logo-hampton {
  height: 44px;
  opacity: 0.5;
}

.brand-logo-residence {
  height: 24px;
}

.brand-logo-sonesta {
  height: 32px;
}

.brand-logo-springhill {
  height: 22px;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .brand-logos-section {
    margin: 28px 0 0;
  }

  .brand-logos-container {
    gap: 36px;
  }

  .brand-logo {
    height: 24px;
  }

  .brand-logo-courtyard { height: 22px; }
  .brand-logo-hilton-garden { height: 28px; }
  .brand-logo-valdoro { height: 26px; }
  .brand-logo-hampton { height: 38px; opacity: 0.5; }
  .brand-logo-residence { height: 20px; }
  .brand-logo-sonesta { height: 28px; }
  .brand-logo-springhill { height: 18px; }
}

@media (max-width: 599px) {
  .brand-logos-section {
    margin: 24px 0 0;
  }

  .brand-logos-container {
    gap: 28px 32px;
  }

  .brand-logo {
    height: 20px;
  }

  .brand-logo-courtyard { height: 18px; }
  .brand-logo-hilton-garden { height: 24px; }
  .brand-logo-valdoro { height: 22px; }
  .brand-logo-hampton { height: 32px; opacity: 0.5; }
  .brand-logo-residence { height: 16px; }
  .brand-logo-sonesta { height: 24px; }
  .brand-logo-springhill { height: 15px; }
}

/* ---- Print Styles ------------------------------------------------ */
@media print {
  body {
    background-color: white;
    color: black;
  }

  .site-header {
    padding: 20px 0;
  }

  .main-nav {
    display: none;
  }

  .our-story-grid,
  .portfolio-grid,
  .strategy-grid {
    break-inside: avoid;
  }

  h1, h2, h3 {
    break-after: avoid;
  }

  .site-footer {
    break-before: avoid;
  }
}

/* ---- CTA Buttons + Request Form --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1px solid var(--color-text);
  transition: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-text);
  color: var(--color-bg) !important; /* prevent any inheritance/visited overrides */
}

.btn-secondary {
  background: transparent;
  color: var(--color-text);
}

.home-hero-cta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.request-intro {
  margin-bottom: 24px;
  position: relative;
}

.request-intro::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--line-subtle);
  animation: expandWidth 0.9s cubic-bezier(0.16, 0.84, 0.3, 1) 0.2s forwards;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start;
}

.request-main {
  max-width: 900px;
}

.request-lede {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  max-width: 900px;
  margin-bottom: 16px;
  opacity: 0.72;
}

.request-subtext {
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.72;
  max-width: 78ch;
  margin-top: 10px;
}

.page-request .request-subtext a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.request-form {
  margin-top: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.7;
}

.form-input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.55);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-text);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
  border-color: var(--color-text);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
}

.form-input::placeholder {
  opacity: 0.55;
}

textarea.form-input {
  resize: vertical;
}

.form-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-fineprint {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.7;
}

@media (max-width: 1023px) {
  .request-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }
}

@media (max-width: 833px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------
   SCHEDULE PAGE
   ------------------------------------------------------- */

.schedule-shell { max-width: 920px; margin: 0 auto; padding: 0 var(--outer-margin); }
.schedule-intro { position: relative; margin-bottom: 32px; }
.schedule-intro::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--line-subtle);
  animation: expandWidth 0.9s cubic-bezier(0.16, 0.84, 0.3, 1) 0.2s forwards;
}

.schedule-lede {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  opacity: 0.72;
  margin: 0 0 14px;
}
.schedule-topics {
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  opacity: 0.72;
  margin: 0 0 14px;
}
.schedule-card {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 20px;
  background: rgba(255,255,255,0.25);
}
.schedule-availability {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 14px;
  background: rgba(255,255,255,0.35);
}
.schedule-availability-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.schedule-availability-time { margin-top: 6px; }

.schedule-form label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 6px;
}
.schedule-form input[type="text"],
.schedule-form input[type="email"],
.schedule-form input[type="tel"],
.schedule-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.65);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.45;
}
.schedule-form textarea { min-height: 110px; resize: vertical; }

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}
.schedule-grid .full { grid-column: 1 / -1; }
.req { color: #7a2f2f; font-weight: 600; }

.schedule-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 14px;
}
.schedule-status { margin-top: 12px; font-size: 14px; opacity: 0.9; }
.status-ok { color: #1d3e2f; }
.status-bad { color: #7a2f2f; }
.schedule-confirm { opacity: 0.72; margin-top: 12px; }

/* Calendar picker */
.cal-picker {
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255,255,255,0.35);
}
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.cal-nav .btn { padding: 10px 12px; border-radius: 999px; }
.cal-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 14px;
  text-align: center;
}
.cal-weekday {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.time-section { margin-top: 16px; }
.time-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}
.time-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 833px) {
  .schedule-grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .schedule-shell { padding: 0 var(--outer-margin); }
  .cal-weekdays, .cal-days { gap: 6px; }
  .time-slots { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; }
}
