/*
Theme Name: Canadian Stream Merchant
Theme URI: https://example.com/
Author: Canadian Stream Merchant
Description: A lightweight, responsive one-page WordPress theme for Canadian Stream Merchant, focused on media, community storytelling, legacy preservation, and nonprofit partnerships.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: canadian-stream-merchant
*/

:root {
  --ink: #0a2023;
  --ink-deep: #061a1d;
  --paper: #f3eee3;
  --paper-light: #fbfaf6;
  --red: #df3b38;
  --muted: #657071;
  --line: rgba(8, 31, 33, 0.16);
  --white: #fffdf8;
  --max: 1350px;
  --header-h: 58px;
  --serif: "Libre Caslon Display", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 2000;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: rgba(5, 25, 28, 0.95);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
  background: rgba(5, 25, 28, 0.985);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.nav-shell {
  height: 100%;
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  width: fit-content;
}
.brand-mark {
  width: 25px;
  height: 25px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-family: Georgia, serif;
}
.brand-text {
  font-size: 9px;
  line-height: 1.1;
  letter-spacing: .18em;
  font-weight: 700;
  white-space: nowrap;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.desktop-nav a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 9px;
  font-weight: 600;
  opacity: .84;
  transition: opacity .2s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: var(--red);
  transition: right .25s ease;
}
.desktop-nav a:hover, .desktop-nav a.active { opacity: 1; }
.desktop-nav a:hover::after, .desktop-nav a.active::after { right: 0; }
.header-cta {
  justify-self: end;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  background: var(--white);
  color: var(--ink-deep);
  text-decoration: none;
  padding: 11px 17px;
  font-size: 10px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.header-cta:hover { transform: translateY(-1px); background: #fff; }
.menu-toggle, .mobile-menu { display: none; }

@media (min-width: 1051px) {
  :root { --header-h: 82px; }
  .site-header, .site-header.scrolled { background: #07171d; border-bottom-color: rgba(255,255,255,.16); }
  .nav-shell { grid-template-columns: auto 1fr auto; gap: 24px; padding: 0; width: calc(100% - 48px); }
  .site-header .brand { gap: 12px; }
  .site-header .brand-mark { width: 36px; height: 36px; font-size: 20px; border-color: rgba(255,255,255,.9); }
  .site-header .brand-text { font-size: 13px; letter-spacing: .12em; }
  .desktop-nav { justify-content: center; gap: 28px; }
  .desktop-nav a { font-size: 12px; letter-spacing: .1em; font-weight: 700; }
  .header-cta { min-height: 48px; padding: 0 24px; font-size: 14px; font-weight: 400; border-radius: 4px; gap: 12px; }
  .header-cta span { font-size: 18px; }
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 800px;
  height: max(800px, 90svh);
  color: var(--white);
  overflow: hidden;
  margin-top: 0;
}
.hero-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  transform: scale(1.01);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,14,16,.96) 0%, rgba(3,14,16,.79) 33%, rgba(3,14,16,.24) 66%, rgba(3,14,16,.12) 100%),
    linear-gradient(0deg, rgba(3,14,16,.42), rgba(3,14,16,.03) 50%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px 24px 68px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--red);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow span {
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}
.eyebrow.light { color: rgba(255,255,255,.78); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 6vw, 86px);
  line-height: .97;
  letter-spacing: -.03em;
  max-width: 760px;
  margin: 0 0 24px;
}
.hero p {
  max-width: 520px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .button { font-size: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 10px;
  font-weight: 600;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}
.button span { transition: transform .22s ease; }
.button:hover span { transform: translateX(3px); }
.button:hover { transform: translateY(-1px); }
.button-light { background: var(--white); color: var(--ink); }
.button-dark { background: rgba(3,15,17,.68); color: var(--white); border-color: rgba(255,255,255,.42); }
.button-navy { background: var(--ink); color: var(--white); }
.discover {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--max))/2 + 24px));
  bottom: 22px;
  color: rgba(255,255,255,.78);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .2em;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.section { padding: 96px 24px; }
.about-section, .approach-section { background: var(--paper); }
.services-section, .leadership-section { background: var(--paper-light); }
.content-grid, .services-list, .approach-grid, .directors, .contact-grid, .footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr);
  gap: 86px;
}
.section h2, .approach-section h2, .contact-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.025em;
}
.section-intro h2, .services-heading h2, .leadership-header h2 {
  font-size: clamp(37px, 4vw, 53px);
  line-height: 1.08;
  margin: 0;
}
.quote-mark { color: var(--red); font-family: Georgia, serif; font-size: 42px; line-height: .6; margin-bottom: 8px; }
blockquote {
  margin: 0 0 34px;
  max-width: 690px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.impact-grid article { padding: 22px 24px 24px 0; }
.impact-grid article + article { border-left: 1px solid var(--line); padding-left: 24px; }
.item-no, .service-no { color: var(--red); font-size: 9px; letter-spacing: .14em; font-weight: 700; }
.impact-grid h3 {
  margin: 12px 0 9px;
  font-size: 14px;
  font-weight: 700;
}
.impact-grid p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; }

/* About section proportions and typography from the reference. */
.about-section { background: #f4eee3; color: #061a23; }
.about-section .quote-mark { color: #e92232; line-height: 1; margin-bottom: 24px; }
.about-section .quote-mark svg { display: block; }
@media (min-width: 861px) {
  .about-section { padding-top: 100px; padding-bottom: 144px; }
  .about-grid { grid-template-columns: minmax(0, 440fr) minmax(0, 822fr); gap: 88px; }
  .about-section .section-intro h2 { font-family: Georgia, "Times New Roman", serif; font-size: 50px; line-height: 1.2; }
  .about-section blockquote { max-width: none; font-family: Georgia, "Times New Roman", serif; font-size: 50px; line-height: 1.2; letter-spacing: -.025em; margin-bottom: 58px; }
  .about-section .impact-grid article { padding: 32px 28px 32px 0; }
  .about-section .impact-grid article + article { padding-left: 28px; }
  .about-section .item-no { font-size: 12px; letter-spacing: 0; font-weight: 400; }
  .about-section .impact-grid h3 { font-size: 16px; margin: 18px 0 14px; }
  .about-section .impact-grid p { font-size: 14px; line-height: 1.72; color: #526579; }
}

.services-section { padding-bottom: 112px; }
.services-heading { min-width: 0; }
.section-side-copy {
  align-self: end;
  max-width: 340px;
  margin: 0 0 2px auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}
.services-list { margin-top: 44px; border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 36px 28px 260px 1fr 310px;
  gap: 16px;
  align-items: start;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.service-icon { color: var(--red); font-size: 11px; padding-top: 1px; }
.service-row h3 { margin: 0; font-size: 15px; line-height: 1.45; font-weight: 700; }
.service-row > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.impact-goal { font-size: 15px; color: var(--muted); line-height: 1.7; }
.impact-goal span { display: block; color: var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: 8px; font-weight: 700; margin-bottom: 4px; }
.service-icon svg { display: block; width: 18px; height: 18px; }
@media (min-width: 1051px) {
  .services-section { padding-top: 60px; padding-bottom: 86px; color: #0c1b22; }
  .services-section .content-grid { grid-template-columns: 1.6fr 1fr; gap: 50px; }
  .services-heading h2 { font-family: Georgia, "Times New Roman", serif; font-size: 64px; line-height: 1.1; font-weight: 400; }
  .services-section .section-side-copy { max-width: none; width: 100%; color: #526579; }
  .services-list { margin-top: 60px; }
  .service-row { grid-template-columns: 18px 64px minmax(0, 327fr) minmax(0, 444fr) minmax(0, 393fr); gap: 16px; padding: 36px 20px; min-height: 145px; }
  .service-no { font-size: 12px; letter-spacing: 0; padding-top: 1px; }
  .service-icon { color: #ed172b; }
  .service-row h3 { font-size: 20px; line-height: 1.45; }
  .service-row > p, .impact-goal { font-size: 14px; line-height: 1.72; color: #526579; }
  .impact-goal span { font-size: 10px; margin-bottom: 8px; color: #ed172b; }
}

.legacy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  background: var(--ink-deep);
}
.legacy-image-wrap { overflow: hidden; min-height: 600px; }
.legacy-image-wrap picture { display: block; width: 100%; height: 100%; }
.legacy-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.legacy-content {
  color: var(--white);
  padding: 74px max(36px, calc((100vw - var(--max))/2 + 24px)) 64px 68px;
}
.legacy-content h2 { font-family: var(--serif); font-size: clamp(46px, 5vw, 64px); line-height: 1.02; font-weight: 400; margin: 0 0 25px; letter-spacing: -.025em; }
.legacy-lead { color: rgba(255,255,255,.74); font-size: 16px; max-width: 540px; line-height: 1.65; margin-bottom: 26px; }
.legacy-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.15); }
.legacy-list li { display: grid; grid-template-columns: 35px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.legacy-list li > span { color: var(--red); font-size: 13px; }
.legacy-list strong { display: block; font-size: 14px; margin-bottom: 3px; }
.legacy-list p { margin: 0; color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.7; }

.legacy-split { background: #04131b; }
@media (min-width: 861px) {
  .legacy-split { min-height: 800px; }
  .legacy-image-wrap { position: relative; min-height: 800px; }
  .legacy-image-wrap picture { position: absolute; inset: 0; }
  .legacy-content { padding: 94px clamp(36px, 5vw, 96px) 96px; }
  .legacy-content > * { max-width: 576px; }
  .legacy-content .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .legacy-content h2 { font-family: Georgia, "Times New Roman", serif; font-size: 64px; font-weight: 400; line-height: 1.18; margin-bottom: 32px; }
  .legacy-lead { margin-top: 0; margin-bottom: 42px; line-height: 1.75; color: rgba(255,255,255,.86); }
  .legacy-list li { grid-template-columns: 29px 1fr; gap: 18px; padding: 24px 0; min-height: 101px; }
  .legacy-list li > span { font-size: 18px; color: #ed172b; }
  .legacy-list strong { font-size: 16px; margin-bottom: 4px; }
  .legacy-list p { font-size: 14px; color: rgba(255,255,255,.86); }
}

.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 84px; }
.approach-copy h2 { font-size: clamp(40px, 4.6vw, 59px); line-height: 1.06; margin: 0 0 25px; }
.approach-copy > p { max-width: 540px; color: var(--muted); font-size: 16px; line-height: 1.75; margin: 0 0 24px; }
.production-figure { margin: 0; }
.production-figure picture { display: block; }
.production-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.production-figure figcaption { display: flex; align-items: center; gap: 12px; color: #526579; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; margin-top: 16px; }
.production-figure figcaption svg { width: 16px; height: 16px; flex-shrink: 0; color: #ed172b; }
.approach-section { background: #f4eee3; color: #0c1b22; }
.approach-copy .button { font-size: 14px; min-height: 48px; padding: 0 24px; border-radius: 3px; background: #0e2530; }
@media (min-width: 861px) {
  .approach-section { padding-top: 144px; padding-bottom: 144px; }
  .approach-grid { grid-template-columns: minmax(0, 670fr) minmax(0, 600fr); gap: 80px; }
  .approach-copy h2 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 3.37vw, 64px); font-weight: 400; line-height: 1.18; margin-bottom: 40px; }
  .approach-copy .eyebrow { font-size: 11px; margin-bottom: 16px; }
  .approach-copy > p { max-width: 560px; color: #526579; margin-bottom: 38px; }
}

.leadership-section { padding-top: 94px; padding-bottom: 100px; }
.leadership-header { align-items: end; }
.directors { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 42px; border-top: 1px solid var(--line); }
.directors article { position: relative; min-height: 150px; padding: 25px 28px 18px 0; }
.directors article + article { border-left: 1px solid var(--line); padding-left: 28px; }
.director-no { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid var(--line); border-radius: 50%; color: #879091; font-size: 9px; margin-bottom: 35px; }
.directors h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0 0 7px; }
.directors p { margin: 0; color: var(--red); text-transform: uppercase; letter-spacing: .18em; font-size: 8px; font-weight: 700; }

.leadership-section { color: #0c1b22; }
.leadership-header h2, .directors h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.director-no { width: 48px; height: 48px; font-family: Georgia, "Times New Roman", serif; font-size: 20px; color: #526579; }
@media (min-width: 861px) {
  .leadership-section { padding-top: 136px; padding-bottom: 144px; }
  .leadership-header { grid-template-columns: minmax(0, 782fr) minmax(0, 512fr); gap: 56px; }
  .leadership-header .eyebrow { font-size: 11px; margin-bottom: 12px; }
  .leadership-header h2 { font-size: 64px; line-height: 1.1; }
  .leadership-header .section-side-copy { max-width: 512px; width: 100%; color: #526579; margin-bottom: 0; }
  .directors { margin-top: 60px; }
  .directors article { min-height: 220px; padding: 36px 32px 32px 0; }
  .directors article + article { padding-left: 32px; }
  .director-no { margin-bottom: 36px; }
  .directors h3 { font-size: 30px; line-height: 1.2; margin-bottom: 12px; letter-spacing: -.025em; }
  .directors p { font-size: 11px; color: #ed172b; font-weight: 600; }
}

.contact-section { background: var(--ink-deep); color: var(--white); padding: 90px 24px 82px; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 92px; }
.contact-copy h2 { font-size: clamp(47px, 5vw, 66px); line-height: .98; margin: 0 0 28px; }
.contact-copy > p { max-width: 440px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.75; }
.contact-meta { margin-top: 30px; display: grid; gap: 9px; }
.contact-meta > div { display: flex; gap: 11px; align-items: flex-start; }
.meta-icon { color: var(--red); font-size: 13px; width: 16px; }
.contact-meta p { margin: 0; color: rgba(255,255,255,.76); font-size: 14px; line-height: 1.65; }
.contact-meta strong { color: var(--white); }
.contact-form { display: grid; gap: 14px; align-content: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 8px; color: rgba(255,255,255,.78); text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 0;
  padding: 13px 14px;
  min-height: 48px;
  font-size: 16px;
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form select option { color: #111; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: rgba(255,255,255,.78); box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
.submit-button { border: 0; min-height: 48px; background: var(--white); color: var(--ink-deep); font-size: 12px; font-weight: 600; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.submit-button:hover { transform: translateY(-1px); background: #fff; }
.form-status { min-height: 20px; margin: -2px 0 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; }

.contact-section { background: #031b1b; }
.contact-copy h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.contact-meta { border-top: 1px solid rgba(255,255,255,.2); padding-top: 32px; gap: 20px; }
.contact-meta > div { gap: 18px; }
.meta-icon { width: 18px; flex-shrink: 0; color: #ed172b; }
.meta-icon svg { display: block; width: 18px; height: 20px; margin-top: 3px; }
.contact-form { border-top: 1px solid rgba(255,255,255,.24); padding-top: 32px; }
.submit-button { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 400; border-radius: 3px; }
@media (min-width: 861px) {
  .contact-section { padding-top: 126px; padding-bottom: 132px; }
  .contact-grid { grid-template-columns: minmax(0, 537fr) minmax(0, 727fr); gap: 80px; }
  .contact-copy .eyebrow { font-size: 11px; margin-bottom: 14px; }
  .contact-copy h2 { font-size: 64px; line-height: 1.17; margin-bottom: 40px; }
  .contact-copy > p { max-width: none; margin: 0; color: #b4c9d4; }
  .contact-meta { margin-top: 42px; }
  .contact-meta p { line-height: 1.45; color: #b4c9d4; }
  .contact-form { gap: 24px; }
  .form-row { gap: 24px; }
  .contact-form label { gap: 8px; font-weight: 500; letter-spacing: .08em; color: #b4c9d4; }
  .contact-form input, .contact-form select { height: 48px; min-height: 48px; padding: 10px 12px; font-size: 14px; }
  .contact-form textarea { height: 128px; min-height: 128px; font-size: 14px; padding: 12px; }
  .submit-button { margin-top: 8px; }
}

.site-footer { background: #031b1b; color: #b4c9d4; border-top: 1px solid rgba(255,255,255,.15); padding: 40px 24px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; align-items: flex-end; }
.footer-brand { color: var(--white); gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-mark { width: 36px; height: 36px; font-size: 20px; border-color: rgba(255,255,255,.9); }
.footer-brand .brand-text { font-size: 13px; line-height: 1.15; letter-spacing: .12em; }
.footer-inner p { margin: 0; font-size: 12px; line-height: 1.55; }
.footer-right { text-align: right; }
.footer-links { display: flex; gap: 21px; justify-content: flex-end; margin-bottom: 14px; }
.footer-links a { font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--white); }

.reveal, .reveal-image { opacity: 0; transform: translateY(18px); transition: opacity .62s ease, transform .62s ease; }
.reveal-image { transform: scale(1.015); transition-duration: .8s; }
.reveal.is-visible, .reveal-image.is-visible { opacity: 1; transform: none; }

/* Responsive safety */
.content-grid > *, .approach-grid > *, .contact-grid > *, .service-row > * { min-width: 0; }
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; height: auto; }

@media (max-width: 1050px) {
  .desktop-nav { gap: 17px; }
  .desktop-nav a { font-size: 8px; }
  .service-row { grid-template-columns: 32px 24px 215px 1fr 250px; gap: 12px; }
  .content-grid, .approach-grid, .contact-grid { gap: 50px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav-shell { grid-template-columns: 1fr auto; padding: 0 18px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: grid; gap: 6px; border: 0; background: transparent; width: 38px; height: 38px; place-content: center; cursor: pointer; }
  .menu-toggle span { width: 22px; height: 1px; background: #fff; transition: transform .25s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { display: grid; max-height: 0; overflow: hidden; opacity: 0; background: var(--ink-deep); padding: 0 18px; transition: max-height .32s ease, opacity .26s ease, padding .32s ease; }
  .mobile-menu.open { max-height: 460px; opacity: 1; padding: 12px 18px 22px; }
  .mobile-menu a { padding: 13px 0; color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .15em; font-size: 11px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .mobile-menu .mobile-cta { margin-top: 8px; border: 0; background: var(--white); color: var(--ink-deep); text-align: center; }

  .hero { min-height: 660px; height: 78vh; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,14,16,.9), rgba(3,14,16,.52) 62%, rgba(3,14,16,.18)); }
  .hero-inner { padding-top: 128px; }
  .hero h1 { max-width: 630px; }
  .hero p { max-width: 470px; }

  .content-grid { grid-template-columns: 1fr; gap: 42px; }
  .section-side-copy { margin: 0; max-width: 520px; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-grid article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .service-row { grid-template-columns: 32px 24px 1fr; }
  .service-row > p, .impact-goal { grid-column: 3; }
  .legacy-split { grid-template-columns: 1fr; }
  .legacy-image-wrap { min-height: 460px; max-height: 560px; }
  .legacy-content { padding: 62px 24px 68px; }
  .approach-grid { grid-template-columns: 1fr; gap: 42px; }
  .approach-desktop-break { display: none; }
  .production-figure { max-width: 720px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .contact-copy > p { max-width: 560px; }
}

@media (max-width: 620px) {
  :root { --header-h: 62px; }
  body { font-size: 16px; line-height: 1.68; overflow-x: hidden; }
  .nav-shell { padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
  .brand-text { font-size: 9px; letter-spacing: .14em; }
  .brand-mark { width: 27px; height: 27px; }

  .hero { min-height: max(720px, 100svh); height: auto; }
  .hero-image { object-position: 62% 50%; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,14,16,.94) 0%, rgba(3,14,16,.72) 58%, rgba(3,14,16,.28) 100%), linear-gradient(0deg, rgba(3,14,16,.5), transparent 58%); }
  .hero-inner { padding: calc(var(--header-h) + 64px) 18px 100px; }
  .hero h1 { font-size: clamp(44px, 13vw, 62px); line-height: .99; max-width: 94vw; }
  .hero-break { display: none; }
  .hero p { font-size: 16px; line-height: 1.7; max-width: 100%; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; width: min(100%, 320px); }
  .button { width: 100%; min-width: 0; min-height: 48px; padding: 0 18px; font-size: 12px; }
  .discover { right: 18px; bottom: 18px; }

  .section { padding: 68px 18px; }
  .content-grid { gap: 34px; }
  .section-intro h2, .services-heading h2, .leadership-header h2 { font-size: clamp(36px, 10vw, 44px); }
  blockquote { font-size: clamp(29px, 8.5vw, 36px); line-height: 1.16; margin-bottom: 30px; }
  .impact-grid article { padding: 22px 0; }
  .impact-grid article + article { padding-left: 0; }
  .impact-grid h3 { font-size: 15px; }
  .impact-grid p { font-size: 16px; line-height: 1.72; }
  .section-side-copy { font-size: 16px; line-height: 1.7; }

  .services-section { padding-bottom: 76px; }
  .services-list { margin-top: 32px; }
  .service-row { grid-template-columns: 30px 1fr; gap: 8px 14px; padding: 24px 0; }
  .service-no { grid-column: 1; grid-row: 1; padding-top: 3px; }
  .service-icon { display: none; }
  .service-row h3 { grid-column: 2; grid-row: 1; font-size: 16px; line-height: 1.45; }
  .service-row > p, .impact-goal { grid-column: 2; font-size: 15px; line-height: 1.7; }
  .impact-goal { margin-top: 4px; }

  .legacy-image-wrap { min-height: 360px; max-height: 450px; }
  .legacy-content { padding: 56px 18px 62px; }
  .legacy-content h2 { font-size: clamp(44px, 12vw, 54px); }
  .legacy-lead { font-size: 16px; line-height: 1.72; }
  .legacy-list li { grid-template-columns: 26px 1fr; gap: 12px; padding: 19px 0; }
  .legacy-list strong { font-size: 15px; line-height: 1.45; }
  .legacy-list p { font-size: 15px; line-height: 1.7; }

  .approach-grid { gap: 34px; }
  .approach-copy h2 { font-size: clamp(38px, 10.5vw, 46px); line-height: 1.08; }
  .approach-copy > p { font-size: 16px; line-height: 1.75; }
  .production-figure figcaption { font-size: 10px; }

  .leadership-section { padding-top: 70px; padding-bottom: 72px; }
  .directors { grid-template-columns: 1fr; margin-top: 30px; }
  .directors article { min-height: 0; padding: 24px 0; }
  .directors article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .director-no { margin-bottom: 18px; }
  .directors h3 { font-size: 24px; }
  .directors p { font-size: 10px; }

  .contact-section { padding: 68px 18px 58px; }
  .contact-grid { gap: 42px; }
  .contact-copy h2 { font-size: clamp(44px, 12vw, 54px); line-height: 1; }
  .contact-copy > p { font-size: 16px; line-height: 1.75; }
  .contact-meta { gap: 14px; }
  .contact-meta p { font-size: 15px; line-height: 1.65; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { gap: 16px; }
  .contact-form label { font-size: 11px; }
  .contact-form input, .contact-form select, .contact-form textarea { min-height: 50px; font-size: 16px; padding: 13px 14px; }
  .submit-button { min-height: 50px; font-size: 13px; }

  .site-footer { padding: 30px 18px calc(30px + env(safe-area-inset-bottom)); }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .footer-right { text-align: left; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 13px 18px; }
  .footer-inner p, .footer-links a { font-size: 12px; }
}

@media (max-width: 420px) {
  .hero { min-height: max(690px, 100svh); height: auto; }
  .hero h1 { font-size: clamp(41px, 12.8vw, 52px); }
  .hero p { font-size: 15.5px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .legacy-content, .contact-section { padding-left: 16px; padding-right: 16px; }
  .contact-copy h2 { font-size: clamp(42px, 12vw, 50px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal, .reveal-image { opacity: 1; transform: none; }
}

/* WordPress admin-bar compatibility */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* Contact form submission feedback */
.contact-form.is-success .form-status {
  color: #dff7e8;
  font-weight: 600;
}
.contact-form.is-error .form-status {
  color: #ffd6d6;
}
.contact-form .submit-button:disabled {
  cursor: default;
  opacity: .92;
}
