/* Open Sky Leadership Institute — marketing front end (preview)
   Design language ported from the Open Sky Leadership Institute Website project. */

:root {
  /* Official Open Sky brand palette — per /logo-usage.html */
  --ink: #0e1822;
  --ink-soft: #3d4f5f;
  --navy: #17345C;        /* navy mark */
  --navy-deep: #0D1B2A;   /* navy background */
  --sky: #9FB0C0;         /* muted navy subline */
  --cream: #F4F1EA;       /* cream on navy */
  --paper: #FCFAF4;
  --brass: #B0801F;       /* gold (dark) — on light backgrounds */
  --brass-light: #E8C463; /* gold (light) — on navy backgrounds */
  --gold-grad: linear-gradient(100deg, #B0801F, #D2A136 55%, #E8C463);
  --white: #ffffff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --max: 1200px;
  --header: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(166, 124, 58, 0.28); }
body.nav-open { overflow: hidden; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.on-light {
  background: rgba(246, 241, 232, 0.94);
  border-color: rgba(14, 24, 34, 0.08);
  backdrop-filter: blur(14px);
}

.site-header:not(.is-scrolled):not(.on-light) .nav-links a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header:not(.is-scrolled):not(.on-light) .nav-links a:hover,
.site-header:not(.is-scrolled):not(.on-light) .nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(var(--max) + 3rem);
  height: var(--header);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 164px; height: auto; }
.brand-logo--large { width: 220px; }

/* Swap to navy wordmark once the header has a light background */
.site-header.is-scrolled .brand-logo[src*="onecolor-white"],
.site-header.on-light .brand-logo[src*="onecolor-white"] {
  content: url("/open-sky-wordmark-static-onecolor-navy.svg");
}

/* Centered top-of-hero lockup */
.hero-cinema__lockup--center {
  margin: 0 auto 2rem;
}

.nav-panel { display: flex; align-items: center; gap: 0.5rem; }
.nav-links { display: flex; align-items: center; gap: 0.05rem; }

.nav-links a {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(142, 180, 201, 0.18);
  color: var(--navy);
}

.nav-cta {
  margin-left: 0.4rem;
  padding: 0.52rem 1rem;
  border-radius: 999px;
  background: var(--gold-grad);
  color: var(--navy-deep);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s, background 0.2s;
}

.nav-cta:hover { background: var(--brass-light); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  border: 1px solid rgba(14, 24, 34, 0.15);
  background: var(--paper);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* Typography */
.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-light);
}

.section--light .eyebrow { color: var(--brass); }

.hero-cinema__content .eyebrow {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--brass-light);
  margin-bottom: 2rem;
}

.hero-subhead {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--brass-light);
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); color: var(--navy); }
h3 { font-size: 1.4rem; color: var(--navy); }
p { margin: 0; }

.lead {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}

.page-lead {
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* Layout */
.wrap { width: min(var(--max), 100%); margin: 0 auto; padding-inline: 1.5rem; }
.section { padding: clamp(4rem, 10vw, 7rem) 0; }
.section--paper { background: var(--paper); }
.section--light { background: var(--cream); }

/* Cinematic hero */
.hero-cinema {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header);
}

.hero-cinema__media { position: absolute; inset: 0; z-index: 0; }
.hero-cinema__media img,
.hero-cinema__media video { width: 100%; height: 100%; object-fit: cover; }

.hero-cinema__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 25, 0.35) 0%, rgba(10, 18, 25, 0.15) 35%, rgba(10, 18, 25, 0.75) 100%),
    linear-gradient(90deg, rgba(10, 18, 25, 0.65) 0%, transparent 55%);
  z-index: 1;
}

.hero-cinema__content {
  position: relative;
  z-index: 2;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 1.5rem 4.5rem;
}

.hero-cinema__lockup {
  width: min(320px, 64vw);
  min-width: 180px;
  height: auto;
  margin-bottom: 2rem;
}

.hero-cinema__scroll {
  position: absolute;
  right: 1.5rem;
  bottom: 2rem;
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.preview-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 18, 25, 0.35);
  backdrop-filter: blur(6px);
}

/* Page hero (inner pages) */
.hero {
  min-height: min(72vh, 640px);
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding-top: var(--header);
}

.page-hero { min-height: min(62vh, 560px); }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(105deg, rgba(10, 18, 25, 0.88), rgba(10, 18, 25, 0.45) 55%, rgba(10, 18, 25, 0.25)),
    var(--hero-image, url("media/hero/hero-inflight.jpg")) center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 18, 25, 0.8), transparent);
}

.hero-inner { width: min(var(--max), 100%); margin: 0 auto; padding: 4rem 1.5rem 3.5rem; }
.hero .lead { color: rgba(255, 255, 255, 0.86); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform 0.2s var(--ease), background 0.2s;
}

.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--gold-grad); color: var(--navy-deep); }
.button--secondary { border-color: rgba(255, 255, 255, 0.4); color: var(--white); background: rgba(255, 255, 255, 0.08); }
.button--dark { background: var(--navy); color: var(--white); }
.button--light { border-color: rgba(14, 24, 34, 0.14); background: var(--paper); color: var(--navy); }

.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* Editorial blocks */
.thesis { padding: clamp(4rem, 12vw, 8rem) 0; text-align: center; background: var(--paper); }

.thesis h2 {
  max-width: 16ch;
  margin: 0 auto;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-style: italic;
}

.thesis p { max-width: 34rem; margin: 1.5rem auto 0; color: var(--ink-soft); font-size: 1.15rem; }

.theme-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(14, 24, 34, 0.1);
}

.theme-item {
  padding: clamp(2rem, 5vw, 3.5rem) 1.75rem;
  border-right: 1px solid rgba(14, 24, 34, 0.1);
  text-decoration: none;
  color: inherit;
  transition: background 0.25s;
}

.theme-item:last-child { border-right: 0; }
a.theme-item:hover { background: rgba(142, 180, 201, 0.1); }
.theme-item h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.theme-item p { color: var(--ink-soft); font-size: 0.98rem; }

.theme-item .link-arrow {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Full bleed */
.full-bleed { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.full-bleed__image { min-height: 420px; overflow: hidden; }
.full-bleed__image img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; }

.full-bleed__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
}

.full-bleed__copy h2 { color: var(--white); }
.full-bleed__copy .page-lead { color: rgba(255, 255, 255, 0.72); }
.full-bleed__copy--paper { background: var(--paper); color: var(--ink); }
.full-bleed__copy--paper h2 { color: var(--navy); }
.full-bleed__copy--paper .page-lead { color: var(--ink-soft); }

/* Quote */
.pull-quote {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(14, 24, 34, 0.08);
  border-bottom: 1px solid rgba(14, 24, 34, 0.08);
}

.pull-quote blockquote {
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-style: italic;
  line-height: 1.2;
  color: var(--navy);
  max-width: 22ch;
}

.pull-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Pillars */
.section-heading { display: grid; gap: 0.75rem; margin-bottom: 2rem; }
.section-heading.center { text-align: center; justify-items: center; }
.section-heading.center .page-lead { margin-inline: auto; }

.pillar-list { display: grid; gap: 0; border-top: 1px solid rgba(14, 24, 34, 0.1); }

.pillar-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(14, 24, 34, 0.1);
}

.pillar-item .num { font-family: var(--serif); font-size: 1.75rem; color: var(--brass); line-height: 1; }
.pillar-item h3 { margin-bottom: 0.35rem; font-size: 1.35rem; }
.pillar-item p { color: var(--ink-soft); max-width: 40rem; }

/* Story grid (about) */
.story-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-bottom: 1px solid rgba(14, 24, 34, 0.08);
}

.story-block--reverse .story-block__media { order: 2; }
.story-block--reverse .story-block__text { order: 1; }
.story-block__media { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; }
.story-block__media img,
.story-block__media video { width: 100%; height: 100%; object-fit: cover; }

/* Real media grid */
.real-media-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem 0.75rem; }
.real-media-grid figure {
  position: relative;
  grid-column: span 6;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--navy-deep);
}
.real-media-grid figure:nth-child(1),
.real-media-grid figure:nth-child(6) { grid-column: span 7; }
.real-media-grid figure:nth-child(2),
.real-media-grid figure:nth-child(5) { grid-column: span 5; }
.real-media-grid img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}
.real-media-grid figure:nth-child(2) img,
.real-media-grid figure:nth-child(5) img { aspect-ratio: 3 / 4; }
.real-media-grid figure:hover img { transform: scale(1.025); opacity: 0.92; }
.real-media-grid figcaption {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.field-note {
  max-width: 54rem;
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1rem;
  font-style: italic;
}

/* Client credibility */
.client-credibility { background: var(--cream); }
.client-credibility .section-heading { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.client-credibility .eyebrow,
.portfolio-note .eyebrow { color: var(--brass); }
.portfolio-note .eyebrow {
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(14, 24, 34, 0.12);
  border-left: 1px solid rgba(14, 24, 34, 0.12);
}
.industry-group {
  min-width: 0;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-right: 1px solid rgba(14, 24, 34, 0.12);
  border-bottom: 1px solid rgba(14, 24, 34, 0.12);
  background: rgba(255, 255, 255, 0.34);
}
.industry-group h3 {
  margin-bottom: 1.1rem;
  font-size: 1.35rem;
}
.client-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.industry-grid--sample {
  margin-bottom: 1.5rem;
}
@media (min-width: 900px) {
  .industry-grid--sample { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.client-chip-grid span,
.client-name {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.35rem;
  padding: 0.48rem 0.7rem 0.48rem 1.35rem;
  border: 1px solid rgba(23, 52, 92, 0.12);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(244, 241, 234, 0.72));
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 5px 16px rgba(13, 27, 42, 0.035);
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.client-chip-grid span::before,
.client-name::before {
  content: "";
  position: absolute;
  left: 0.62rem;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: 0 0 0 3px rgba(176, 128, 31, 0.1);
}
.client-chip-grid span:hover,
.client-name:hover {
  transform: translateY(-2px);
  border-color: rgba(176, 128, 31, 0.38);
  box-shadow: 0 10px 24px rgba(13, 27, 42, 0.08);
}
.client-disclaimer {
  max-width: 50rem;
  margin: 1.75rem auto 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}
.actions--center { justify-content: center; }

/* Client portfolio page */
.portfolio-hero {
  padding: calc(var(--header) + clamp(4rem, 10vw, 8rem)) 1.5rem clamp(4rem, 10vw, 7rem);
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
}
.portfolio-hero h1 { max-width: 14ch; margin: 0 auto; }
.portfolio-hero .page-lead { margin: 1.25rem auto 0; color: rgba(255, 255, 255, 0.74); }
.portfolio-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}
.client-name { min-height: 3.4rem; padding: 0.75rem 0.9rem 0.75rem 1.65rem; }
.client-name::before { left: 0.85rem; }
.portfolio-note {
  max-width: 54rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

/* UH collaboration band */
.uh-band {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
}

.uh-band h2 { color: var(--white); max-width: 24ch; margin: 0 auto; }
.uh-band .page-lead { color: rgba(255, 255, 255, 0.72); margin: 1rem auto 0; }
.uh-band .uh-rule { width: 46px; height: 3px; background: #C8102E; border-radius: 2px; margin: 1.25rem auto 0; }

/* Invitation */
.invitation {
  text-align: center;
  padding: clamp(4rem, 10vw, 7rem) 1.5rem;
  background: var(--navy-deep);
  color: var(--white);
}

.invitation h2 { color: var(--white); max-width: 14ch; margin: 0 auto; }
.invitation .page-lead { color: rgba(255, 255, 255, 0.75); margin: 1rem auto 0; }
.invitation--compact {
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
}

.invitation .dev-note {
  margin-top: 2.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* Footer */
.site-footer { padding: 3.5rem 1.5rem 2.5rem; background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; }
.footer-brand-logo { display: block; width: min(270px, 70vw); height: auto; margin-bottom: 0.8rem; }
.footer-tagline { margin: 0; max-width: 22rem; font-size: 0.95rem; line-height: 1.5; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; justify-content: flex-end; align-content: center; }
.footer-nav a { color: rgba(255, 255, 255, 0.82); text-decoration: none; font-size: 0.86rem; font-weight: 600; }
.footer-nav a:hover { color: var(--brass-light); }

.footer-meta {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.86rem;
}

.footer-meta a { color: var(--white); text-decoration: none; font-weight: 600; }

.footer-base {
  grid-column: 1 / -1;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-base a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; }
.footer-base a:hover { color: var(--brass-light); }

/* Stat / reach */
.reach-strip { text-align: center; }
.reach-strip strong { color: var(--navy); }
.reach-strip .page-lead {
  max-width: 50rem;
  margin-inline: auto;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.6;
  color: var(--ink);
}

/* About Robert — compact section rhythm */
.hero-tagline {
  margin-top: 0.85rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  color: var(--brass-light);
}
.about-compact .section { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.about-compact .thesis { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.about-compact .story-block { padding: clamp(2rem, 5vw, 3.25rem) 0; }
.about-compact .uh-band { padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }

  .nav-panel {
    position: absolute;
    top: calc(var(--header) - 0.2rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid rgba(14, 24, 34, 0.1);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .nav-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-cta { margin: 0.5rem 0 0; text-align: center; }
  .site-header:not(.is-scrolled) .nav-links a { color: var(--ink-soft); }

  .theme-row,
  .full-bleed,
  .story-block,
  .footer-inner,
  .real-media-grid { grid-template-columns: 1fr; }
  .real-media-grid figure { grid-column: auto; }
  .industry-grid { grid-template-columns: 1fr; }
  .portfolio-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .theme-item { border-right: 0; border-bottom: 1px solid rgba(14, 24, 34, 0.1); }
  .full-bleed__image { min-height: 280px; }
  .story-block--reverse .story-block__media,
  .story-block--reverse .story-block__text { order: unset; }
  .footer-nav { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .portfolio-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* Cinematic scroll rhythm — each major visual settles before the next */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .snap-scroll { scroll-snap-type: y proximity; }
  .snap-scroll .hero-cinema,
  .snap-scroll .full-bleed,
  .snap-scroll .thesis,
  .snap-scroll .pull-quote { scroll-snap-align: start; }
}

/* Client portfolio — premium hero with stats */
.portfolio-hero--premium {
  position: relative;
  padding: calc(var(--header) + clamp(4rem, 10vw, 8rem)) 1.5rem clamp(4.5rem, 11vw, 8rem);
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 58%, var(--navy-deep) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.portfolio-hero--premium::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 60%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(159, 176, 192, 0.28), transparent 70%);
  pointer-events: none;
}
.portfolio-hero--premium::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 56%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 196, 99, 0.35), transparent);
  pointer-events: none;
}
.portfolio-hero--premium > * { position: relative; z-index: 1; }
.portfolio-hero--premium h1 { max-width: 18ch; margin: 0 auto; }
.portfolio-hero--premium .page-lead {
  max-width: 46rem;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.78);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem 1rem;
  max-width: 58rem;
  margin: clamp(2.75rem, 7vw, 4.5rem) auto 0;
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stat { text-align: center; }
.stat strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--brass-light);
  line-height: 1.1;
}
.stat span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

/* Industry-grouped portfolio grid (full) */
.industry-grid--full {
  margin-bottom: 1.5rem;
}
@media (min-width: 900px) {
  .industry-grid--full { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.industry-grid--full .industry-group h3 {
  font-size: 1.2rem;
  color: var(--navy);
}
.industry-grid--full .client-chip-grid span { font-size: 0.78rem; }

/* Section 5 — full searchable portfolio */
.portfolio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  margin: 0 auto clamp(1.5rem, 4vw, 2.25rem);
  max-width: 54rem;
}
.portfolio-search-input {
  flex: 1 1 240px;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(23, 52, 92, 0.18);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
}
.portfolio-search-input:focus { outline: 2px solid var(--brass); outline-offset: 1px; }
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}
.portfolio-filter-btn {
  padding: 0.5rem 0.95rem;
  border: 1px solid rgba(23, 52, 92, 0.18);
  border-radius: 20px;
  background: transparent;
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.portfolio-filter-btn:hover { border-color: rgba(176, 128, 31, 0.5); }
.portfolio-filter-btn.is-active {
  background: var(--gold-grad);
  color: var(--navy-deep);
  border-color: transparent;
}
.portfolio-count {
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.portfolio-list .client-name.is-hidden { display: none; }
.portfolio-list .client-name.is-empty {
  display: block;
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem 0;
  background: none;
  border: none;
  box-shadow: none;
  color: var(--ink-soft);
}
.portfolio-list .client-name.is-empty::before { display: none; }

/* Conversation starter (start-a-conversation.html) */
.convo-intro { text-align: center; }
.convo-intro .page-lead { max-width: 42rem; margin: 1rem auto 0; }
.convo-intro h2 { max-width: 26ch; margin: 0 auto; }

.convo-starter {
  max-width: 42rem;
  margin: 0 auto;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 30px 80px -40px rgba(13, 27, 42, 0.35);
  padding: clamp(1.75rem, 5vw, 3rem);
}

.convo-progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.convo-progress__dot {
  width: 2.25rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(14, 24, 34, 0.12);
  transition: background 0.3s var(--ease);
}
.convo-progress__dot.is-active,
.convo-progress__dot.is-done { background: var(--brass); }

.convo-step { display: none; }
.convo-step.is-active { display: block; animation: convo-fade 0.4s var(--ease); }
@keyframes convo-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.convo-step h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  margin: 0 0 0.5rem;
  color: var(--navy);
}
.convo-step__hint {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}

.convo-field { margin-bottom: 1.25rem; }
.convo-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.convo-field textarea,
.convo-field input[type="text"],
.convo-field input[type="email"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(14, 24, 34, 0.16);
  border-radius: 6px;
  background: var(--paper);
  resize: vertical;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.convo-field textarea { min-height: 7rem; }
.convo-field textarea:focus,
.convo-field input:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176, 128, 31, 0.15);
}
.convo-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .convo-field-row { grid-template-columns: 1fr; }
}

.convo-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.convo-chip {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 24, 34, 0.16);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.convo-chip:hover { border-color: var(--brass); }
.convo-chip.is-selected {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.convo-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.convo-actions .button { border: none; cursor: pointer; }
.convo-back {
  background: none;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.7rem 0;
}
.convo-back:hover { color: var(--navy); }
.convo-back:disabled { visibility: hidden; }

.convo-summary {
  background: var(--paper);
  border: 1px solid rgba(14, 24, 34, 0.1);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
}
.convo-summary h4 {
  margin: 0 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.convo-summary p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
.convo-summary p:last-child { margin-bottom: 0; }

.convo-error {
  color: #a3402a;
  font-size: 0.85rem;
  margin: -0.5rem 0 1rem;
  display: none;
}
.convo-error.is-visible { display: block; }

.convo-done {
  text-align: center;
}
.convo-done h3 { margin-bottom: 0.75rem; }
.convo-done p { color: var(--ink-soft); }
