/* ==========================================================================
   Morrison Media Group — phase 4 "The Modern Firm"
   Monochrome gallery-light system. Geist (display) + Manrope (body).
   No border-radius, no shadows, no glass, no gradients. See DESIGN.md.
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geist-variable-latin.woff2') format('woff2-variations'),
       url('../fonts/geist-variable-latin.woff2') format('woff2');
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-variable-latin.woff2') format('woff2-variations'),
       url('../fonts/manrope-variable-latin.woff2') format('woff2');
}

:root {
  --bg: #FAF9F6;
  --band: #F1EFEA;
  --ink: #141311;
  --ink-soft: #2A2925;
  --body: #4B4A45;
  --caption: #57564F;
  --num: #847F6F;
  --hairline: #DEDBD1;
  --hairline-strong: #C9C5B8;
  --footer-bg: #0E0D0C;
  --footer-text: #FAF9F6;
  --footer-sub: #B9B6AE;

  --font-display: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --max: 1280px;
  --air: clamp(5rem, 12vh, 9rem);
}

/* ---------- Reset ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
input, textarea { font: inherit; }

.display { font-family: var(--font-display); }

/* ---------- Layout helpers ---------- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: var(--air) 0; }
.section-tight { padding: calc(var(--air) * 0.6) 0; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caption);
  display: inline-block;
}

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: 0;
  top: -100%;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 22px;
  transition: top 0.15s ease-out;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Focus states ---------- */

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

footer a:focus-visible,
.footer-bg-focus:focus-visible {
  outline-color: var(--footer-text);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 28px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover { background: var(--ink-soft); }

.btn-ghost-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}

.read-link {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 2px;
}

.read-link:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-brand img { height: 26px; width: auto; }

.nav-brand .wordmark {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--body);
  letter-spacing: 0.01em;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { color: var(--ink); }

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom-color: var(--ink);
}

.nav-cta { display: flex; align-items: center; gap: 28px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.nav-toggle .bars {
  position: relative;
  width: 22px;
  height: 16px;
}

.nav-toggle .bars span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 7px; }
.nav-toggle .bars span:nth-child(3) { top: 14px; }

.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) {
  top: 7px;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) {
  top: 7px;
  transform: rotate(-45deg);
}

/* ---------- Home hero: full-width image + overlapping paper panel ---------- */

.hero-image {
  width: 100%;
  overflow: hidden;
  background: var(--ink);
  height: clamp(480px, 82vh, 900px);
}

@supports (height: 100svh) {
  .hero-image { height: clamp(480px, 82svh, 900px); }
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 16%;
}

.hero-panel {
  position: relative;
  z-index: 5;
  margin-top: clamp(-170px, -15vh, -90px);
  pointer-events: none;
}

.hero-panel-inner {
  pointer-events: auto;
  display: inline-block;
  max-width: 620px;
  background: var(--bg);
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.75rem, 4vw, 3rem);
}

.hero-panel-inner .eyebrow { margin-bottom: 22px; }

.hero-panel-inner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 16ch;
}

.hero-panel-inner .cta-row {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

@media (max-width: 640px) {
  .hero-panel-inner { max-width: none; width: 100%; }
}

/* Mission copy, paper section directly below the hero image */

.hero-mission { padding-top: clamp(3.5rem, 8vh, 5.5rem); }
.hero-mission .inner { max-width: 900px; }

.lede {
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--body);
}

.tagline {
  margin-top: 40px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  max-width: 40rem;
}

/* ---------- Inner-page split hero (About / Services / Press / Contact) ---------- */

.split-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: clamp(520px, 78vh, 880px);
}

@supports (min-height: 100svh) {
  .split-hero { min-height: clamp(520px, 78svh, 880px); }
}

.split-hero-text {
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}

.split-hero-text-inner { max-width: 32rem; }

.split-hero-text-inner .eyebrow { margin-bottom: 22px; }

.split-hero-text-inner h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.4vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.split-hero-text-inner p {
  margin-top: 24px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 34rem;
}

.split-hero-photo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--ink);
}

.split-hero-text { min-height: 0; }

.split-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tony's portrait crops tall (1600x2399); default center-crop lands on his
   chest, not his face. Anchor near the top so his whole face clears the
   frame with headroom at every split-hero width (desktop half and the
   mobile stacked panel both use this same percentage). */
.about-hero-photo img {
  object-position: 50% 10%;
}

@media (max-width: 900px) {
  .split-hero { grid-template-columns: 1fr; min-height: auto; }

  .split-hero-photo {
    order: -1;
    height: clamp(320px, 50vh, 520px);
  }

  @supports (height: 100svh) {
    .split-hero-photo { height: clamp(320px, 50svh, 520px); }
  }

  .split-hero-text { padding: clamp(2.5rem, 7vw, 3.5rem) var(--gutter); }
}

/* Contact page split hero: text half stays on the dark ground, photo fills the other half */

.contact-split .split-hero-text-inner .eyebrow { color: var(--footer-sub); }
.contact-split .split-hero-text-inner h1 { color: var(--footer-text); }
.contact-split .split-hero-text-inner p { color: var(--footer-sub); }

.contact-split .social-row {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--footer-sub);
}

.contact-split .social-row a { color: var(--footer-sub); border-bottom: 1px solid transparent; }
.contact-split .social-row a:hover { color: var(--footer-text); border-color: var(--footer-text); }

/* ---------- Contact form (dark ground) ---------- */

.contact-form {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 34rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.form-row label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--footer-text);
}

.form-row label .optional {
  font-weight: 400;
  color: var(--footer-sub);
}

.form-row input,
.form-row textarea {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  width: 100%;
  background: #17140F;
  color: var(--footer-text);
  border: 1px solid var(--footer-sub);
  padding: 14px 16px;
  font-size: 1rem;
  line-height: 1.5;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--footer-sub);
  opacity: 1;
}

.form-row textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row input[aria-invalid="true"],
.form-row textarea[aria-invalid="true"] {
  border-color: #F5B8B8;
}

.field-error {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: #F5B8B8;
}

.field-error[hidden] { display: none; }

/* Honeypot: hidden from sighted users and assistive tech, still present
   for naive bots that fill every field. */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

.contact-form .btn-primary {
  align-self: flex-start;
  margin-top: 6px;
}

.contact-form .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--footer-sub);
  min-height: 1.3em;
}

.form-failure {
  border: 1px solid #F5B8B8;
  padding: 16px 18px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--footer-sub);
}

.form-failure a {
  color: #F5B8B8;
  border-bottom: 1px solid #F5B8B8;
}

.form-failure a:hover { color: var(--footer-text); border-color: var(--footer-text); }

.form-success {
  margin-top: 40px;
  max-width: 34rem;
}

.form-success-lead {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--footer-text);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.form-success-sub {
  margin-top: 12px;
  color: var(--footer-sub);
  font-size: 1.02rem;
  line-height: 1.65;
}

.contact-page .contact-form input:focus-visible,
.contact-page .contact-form textarea:focus-visible,
.contact-page .contact-form button:focus-visible {
  outline: 2px solid var(--footer-text);
  outline-offset: 3px;
}

/* ---------- Logo wall ---------- */

.logo-band { background: var(--band); padding: var(--air) 0; }

.logo-band .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.logo-cell {
  width: 20%;
  min-width: 140px;
  flex: 1 0 20%;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(12px, 2vw, 28px);
}

.logo-cell img {
  max-height: var(--logo-h, 40px);
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) contrast(76%) brightness(0.58);
  opacity: 0.86;
}

/* Television Academy's mark is a warm gold, not near-black like its neighbors;
   the shared grayscale filter leaves it a pale gray, so it needs a deeper
   brightness trim on top of the shared filter to read at the same weight. */
.logo-cell img[alt="Television Academy"] {
  filter: grayscale(100%) contrast(76%) brightness(0.3);
}

@media (max-width: 720px) {
  .logo-cell { width: 33.33%; flex-basis: 33.33%; min-width: 0; height: 88px; }
}

@media (max-width: 460px) {
  .logo-cell { width: 50%; flex-basis: 50%; }
}

/* ---------- Section headers ---------- */

.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head .eyebrow { margin-bottom: 18px; }

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

.section-head p {
  margin-top: 22px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 38rem;
}

/* ---------- Numbered / dated hairline rows ---------- */

.row-list { border-top: 1px solid var(--hairline-strong); }

.row-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(20px, 4vw, 40px);
  align-items: start;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--hairline);
}

.row-item .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  color: var(--num);
}

.row-item .row-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 32rem;
}

.row-item .row-body p {
  margin-top: 14px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--body);
  max-width: 42rem;
}

.row-item .row-body ul {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.row-item .row-body ul li {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--body);
  padding-left: 1.1em;
  position: relative;
  max-width: 40rem;
}

.row-item .row-body ul li::before {
  content: '\00B7';
  position: absolute;
  left: 0;
  color: var(--hairline-strong);
}

/* ---------- Services practice sections (services.html) ---------- */

.practice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: var(--air) 0;
  border-bottom: 1px solid var(--hairline);
}

.practice:first-of-type { padding-top: clamp(2.5rem, 6vw, 4rem); }
.practice:last-of-type { border-bottom: none; }

.practice.reverse { direction: rtl; }
.practice.reverse > * { direction: ltr; }

.practice-copy .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.65rem;
  color: var(--num);
  display: block;
  margin-bottom: 18px;
}

.practice-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
}

.practice-copy > p {
  margin-top: 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 34rem;
}

.practice-copy ul {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.practice-copy ul li {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--body);
  padding-left: 1.2em;
  position: relative;
  max-width: 34rem;
}

.practice-copy ul li::before {
  content: '\00B7';
  position: absolute;
  left: 0;
  color: var(--hairline-strong);
}

.practice-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}

.practice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 860px) {
  .practice { grid-template-columns: 1fr; }
  .practice.reverse { direction: ltr; }
  .practice-photo { order: -1; aspect-ratio: 16 / 10; }
}

/* ---------- Press ---------- */

.press-band { background: var(--band); }

.press-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.press-list { border-top: 1px solid var(--hairline-strong); }

.press-item { padding: clamp(24px, 4vw, 36px) 0; border-bottom: 1px solid var(--hairline-strong); }

.press-date {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caption);
}

.press-item h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 32rem;
}

.press-item p {
  margin-top: 12px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 34rem;
}

.press-item .read-link { margin-top: 16px; }

.press-images { display: flex; flex-direction: column; gap: 20px; }

.press-images .img-box { width: 100%; overflow: hidden; background: var(--ink); }
.press-images .img-box.small { height: 190px; }
.press-images .img-box.large { height: 340px; }
.press-images img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .press-grid { grid-template-columns: 1fr; }
  .press-images { flex-direction: row; }
  .press-images .img-box.small,
  .press-images .img-box.large { height: 220px; flex: 1; }
}

@media (max-width: 560px) {
  .press-images { flex-direction: column; }
}

/* Featured press cards (press.html top section) */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.featured-card { display: flex; flex-direction: column; }

.featured-card .img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink);
  margin-bottom: 20px;
}

.featured-card .img-box img { width: 100%; height: 100%; object-fit: cover; }

.featured-card .img-box.placeholder {
  background: var(--band);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-card .img-box.placeholder span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--caption);
}

.featured-card .press-date { display: block; }

.featured-card h3 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.featured-card p {
  margin-top: 10px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--body);
  flex-grow: 1;
}

.featured-card .read-link { margin-top: 14px; align-self: flex-start; }

@media (max-width: 860px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* Full chronological press index */

.press-index-list { border-top: 1px solid var(--hairline-strong); }

.press-index-row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 24px);
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}

.press-thumb {
  flex: 0 0 auto;
  width: clamp(72px, 9vw, 108px);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ink);
}

.press-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

.press-index-fields {
  display: grid;
  grid-template-columns: 120px 150px 1fr auto;
  gap: 24px;
  align-items: baseline;
  flex: 1;
  min-width: 0;
}

.press-index-row .press-date { white-space: nowrap; }

.press-index-row h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}

.press-index-row .read-link { white-space: nowrap; }

@media (max-width: 700px) {
  .press-index-fields { grid-template-columns: 1fr; gap: 8px; }
  .press-index-row .read-link { justify-self: start; }
}

/* ---------- Founder / about grid ---------- */

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.founder-grid.reverse { grid-template-columns: 420px 1fr; }

.founder-copy .eyebrow { margin-bottom: 20px; }

.founder-copy h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 26px;
}

.founder-copy p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 36rem;
}

.founder-copy p + p { margin-top: 18px; }

.founder-credentials {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline-strong);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.founder-credentials .sep { color: var(--hairline-strong); margin: 0 10px; }

.founder-copy .read-link { margin-top: 30px; font-size: 0.95rem; color: var(--ink); border-color: var(--ink); }

.founder-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}

.founder-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .founder-grid, .founder-grid.reverse { grid-template-columns: 1fr; }
  .founder-photo { max-width: 420px; }
}

/* ---------- Story behind the brand: text-led, no duplicate portrait (about.html) ---------- */

.founder-text {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--hairline);
}

.founder-text-head .eyebrow { margin-bottom: 20px; }

.founder-text-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.founder-text-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 42rem;
}

.founder-text-body p + p { margin-top: 18px; }

@media (max-width: 860px) {
  .founder-text { grid-template-columns: 1fr; }
}

.founder-credentials-row {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline-strong);
}

.founder-credentials-row .cred {
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2vw, 24px) 0;
  border-left: 1px solid var(--hairline);
}

.founder-credentials-row .cred:first-child { border-left: none; padding-left: 0; }

.founder-credentials-row .cred-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

@media (max-width: 760px) {
  .founder-credentials-row { grid-template-columns: repeat(2, 1fr); }
  .founder-credentials-row .cred:nth-child(odd) { border-left: none; padding-left: 0; }
  .founder-credentials-row .cred:nth-child(2) { border-left: 1px solid var(--hairline); }
  .founder-credentials-row .cred:nth-child(3),
  .founder-credentials-row .cred:nth-child(4) {
    border-top: 1px solid var(--hairline);
    padding-top: 20px;
    margin-top: 20px;
  }
}

/* ---------- How we work (about.html) ---------- */

.how-we-work { border-top: 1px solid var(--hairline-strong); }

/* reuse .row-item pattern for the three-step list */

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(3.5rem, 9vh, 6rem) 0;
  text-align: center;
}

.cta-band .inner { max-width: 640px; margin: 0 auto; }

.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cta-band p {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--footer-sub);
}

.cta-band .cta-row {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.cta-band .btn-primary { background: var(--bg); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--footer-sub); }

.cta-band .btn-ghost-link { color: var(--bg); border-bottom-color: var(--bg); }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: clamp(3.5rem, 8vh, 6rem) 0 clamp(1.75rem, 4vh, 2.75rem);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid rgba(250, 249, 246, 0.16);
}

.footer-top h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  max-width: 480px;
  line-height: 1.1;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 8px 24px;
}

.footer-nav a {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--footer-sub);
}

.footer-nav a:hover { color: var(--footer-text); }
.footer-nav a[aria-current="page"] { color: var(--footer-text); font-weight: 600; }

.footer-bottom {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 20px; width: auto; filter: invert(1); }

.footer-brand span {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--footer-sub);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--footer-sub);
  letter-spacing: 0.01em;
}

.footer-meta a { color: var(--footer-sub); }
.footer-meta a:hover { color: var(--footer-text); }

/* ---------- Contact page (inverted) ---------- */

.contact-page {
  background: var(--footer-bg);
  color: var(--footer-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.contact-page .site-nav {
  background: var(--footer-bg);
  border-bottom-color: rgba(250, 249, 246, 0.16);
}

.contact-page .nav-brand .wordmark,
.contact-page .nav-links a[aria-current="page"] { color: var(--footer-text); }
.contact-page .nav-links a { color: var(--footer-sub); }
.contact-page .nav-links a:hover { color: var(--footer-text); }
.contact-page .nav-brand img { filter: invert(1); }
.contact-page .nav-toggle .bars span { background: var(--footer-text); }

.contact-page .btn-primary { background: var(--footer-text); color: var(--footer-bg); }
.contact-page .btn-primary:hover { background: var(--footer-sub); }

.contact-page .footer-bottom-only {
  padding: clamp(1.75rem, 4vh, 2.75rem) 0;
  border-top: 1px solid rgba(250, 249, 246, 0.16);
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 550ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-settle img { transform: scale(1.03); }
.photo-settle.in-view img {
  transform: scale(1);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .reveal.in-view { transition: none; }
  .photo-settle img { transform: none; }
  .photo-settle.in-view img { transition: none; }
  .nav-toggle .bars span { transition: none; }
}

/* ---------- Galleries: "In the room" (home) + "Behind the story" (about) ---------- */

/* Mosaic/gallery cells are sized entirely by grid geometry (column span x
   row span x a fixed row unit) rather than per-cell aspect-ratio. That
   keeps every row's track height shared and identical across columns, so
   an asymmetric mix of wide/tall/square cells still packs into a strict,
   gapless grid (a real gallery hang) with zero CLS: box size never depends
   on the image's intrinsic size. */

.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(130px, 12vw, 210px);
  gap: clamp(6px, 1vw, 12px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(140px, 14vw, 230px);
  gap: clamp(6px, 1vw, 12px);
}

.gallery-cell {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--ink);
  padding: 0;
  border: 0;
  text-align: left;
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-cell:hover img,
.gallery-cell:focus-visible img { opacity: 0.92; }

.gallery-cell:focus-visible { outline-offset: -3px; }

.col-2 { grid-column: span 2; }
.row-2 { grid-row: span 2; }

@media (max-width: 860px) {
  .mosaic-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .mosaic-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .mosaic-grid .col-2,
  .gallery-grid .col-2 { grid-column: span 1; }
  .mosaic-grid .row-2,
  .gallery-grid .row-2 { grid-row: span 1; }
  .mosaic-grid .gallery-cell,
  .gallery-grid .gallery-cell { aspect-ratio: 4 / 3; }
}

/* ---------- Lightbox (sanctioned blur exception, Daniel's explicit ask) ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
}

.lightbox[hidden] { display: none; }

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 13, 12, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
}

.lightbox.is-open .lightbox-backdrop {
  opacity: 1;
  transition: opacity 220ms ease-out;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  opacity: 0;
  transform: scale(0.98);
  /* The dialog is a full-viewport flex container so its content can
     center, but only its actual controls/frame should intercept clicks —
     otherwise it invisibly blocks the backdrop's click-to-close. */
  pointer-events: none;
}

.lightbox-dialog > * { pointer-events: auto; }

.lightbox.is-open .lightbox-dialog {
  opacity: 1;
  transform: scale(1);
  transition: opacity 220ms ease-out, transform 220ms ease-out;
}

.lightbox-frame {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-caption {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--footer-text);
  text-align: center;
  max-width: 46rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--footer-text);
  font-family: var(--font-display);
  background: transparent;
  border: 0;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible { color: var(--footer-sub); }

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--footer-text);
  outline-offset: 2px;
}

.lightbox-close {
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  font-size: 1.6rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  line-height: 1;
  width: 56px;
  height: 56px;
}

.lightbox-prev { left: clamp(0.25rem, 2vw, 1.25rem); }
.lightbox-next { right: clamp(0.25rem, 2vw, 1.25rem); }

@media (max-width: 640px) {
  .lightbox-prev { left: 0.25rem; }
  .lightbox-next { right: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox-backdrop,
  .lightbox-dialog { transition: none; }
}

/* ---------- Newsroom filter chips (press.html) ---------- */

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.filter-chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 9px 18px;
}

.filter-chip:hover { color: var(--ink); border-color: var(--ink); }

.filter-chip[aria-pressed="true"] {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}

.press-index-row .press-category {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--caption);
}

.press-index-row[hidden] { display: none; }

@media (max-width: 700px) {
  .press-index-fields .press-category { grid-column: 1; }
}

/* ---------- Substack, "Tony's Take" (press.html) ---------- */

.newsletter-band { background: var(--band); }

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.newsletter-copy p {
  margin-top: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 34rem;
}

.newsletter-copy .read-link { margin-top: 22px; }

.newsletter-embed {
  background: var(--bg);
  padding: clamp(1rem, 2vw, 1.5rem);
  width: 100%;
  max-width: 480px;
}

.newsletter-embed iframe {
  display: block;
  width: 100%;
  max-width: 480px;
  height: 320px;
  border: 0;
}

@media (max-width: 860px) {
  .newsletter-grid { grid-template-columns: 1fr; }
  .newsletter-embed { max-width: 100%; }
  .newsletter-embed iframe { max-width: 100%; }
}

/* ---------- Mobile nav ---------- */

@media (max-width: 640px) {
  .nav-cta .btn-primary { display: none; }
  .nav-brand .wordmark { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 12px var(--gutter) 32px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    overflow-y: auto;
  }

  .contact-page .nav-links { background: var(--footer-bg); }

  .nav-links[data-open="true"] {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 1.15rem;
  }

  .contact-page .nav-links a { border-bottom-color: rgba(250, 249, 246, 0.16); }

  .nav-links a[aria-current="page"] { border-bottom-color: var(--hairline-strong); }

  .nav-cta .btn-primary { padding: 11px 20px; font-size: 0.88rem; }
}

/* No-JS fallback: keep the mobile menu list visible and let it flow naturally */
.no-js .nav-links {
  position: static;
  inset: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 0;
}

@media (max-width: 900px) {
  .no-js .nav-links {
    flex-direction: column;
    padding: 12px var(--gutter) 24px;
  }
}

.no-js .nav-toggle { display: none; }

/* ---------- Small screens: hero/photo scale down further ---------- */

@media (max-width: 480px) {
  .hero { padding-top: 2.5rem; }
  .row-item { grid-template-columns: 48px 1fr; }
  .press-index-fields { grid-template-columns: 1fr; }
  .press-thumb { width: 64px; }
}
