/* Editorial consulting template — light banded layout, Fraunces + Inter */

:root {
  --paper: #f6f2ea;
  --paper2: #efe8dc;
  --ink: #1b1917;
  --ink-muted: #5c5650;
  --accent: #1e4d6b;
  --accent-soft: #e8f0f4;
  --line: #d4cdc2;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --max: 70rem;
  --narrow: 40rem;
  --content-pad: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 3.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 0.04em;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: underline;
}

.page-main {
  flex: 1;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
  border-radius: 2px;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Shell */
.page-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--content-pad);
  padding-right: var(--content-pad);
}

.page-shell--narrow {
  max-width: var(--narrow);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: var(--header-h);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Mobile nav (checkbox) */
.nav-cb {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  padding: 0.5rem;
  z-index: 120;
  margin-left: auto;
}
.nav-burger__line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s;
}

.nav-scrim {
  position: fixed;
  inset: 0;
  background: color-mix(in srgb, var(--ink) 35%, transparent);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  cursor: pointer;
  margin: 0;
}

.nav-cb:checked ~ .nav-scrim {
  opacity: 1;
  pointer-events: auto;
}

.nav-cb:checked + .nav-burger .nav-burger__line:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}
.nav-cb:checked + .nav-burger .nav-burger__line:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

@media (min-width: 768px) {
  .nav-burger,
  .nav-scrim {
    display: none;
  }
}

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(20rem, 100vw);
  z-index: 110;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 5rem 1.5rem 1.5rem;
  background: var(--paper);
  border-left: 1px solid var(--line);
  transform: translateX(100%);
  transition: transform 0.2s;
}

.nav-cb:checked ~ .site-nav {
  transform: translateX(0);
}

@media (min-width: 768px) {
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    width: auto;
    padding: 0;
    border: 0;
    background: none;
    transform: none;
    transition: none;
  }
}

.site-nav__link {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .site-nav__link {
    border: 0;
    padding: 0.2rem 0;
  }
  .site-nav__link:hover {
    color: var(--accent);
    text-decoration: underline;
  }
}

/* Hero */
.section--hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
  background: linear-gradient(180deg, var(--paper2) 0%, var(--paper) 70%);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
}

.headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  color: var(--ink);
  max-width: 18ch;
}

.lede {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
  color: var(--ink-muted);
  max-width: 48ch;
}

.lede--hero {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  margin-bottom: 1.75rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.btn--primary:hover {
  background: color-mix(in srgb, var(--accent) 88%, #000);
  text-decoration: none;
}

/* Sections */
.section {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.section--tint {
  background: color-mix(in srgb, var(--paper2) 55%, var(--paper));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--content {
  border-bottom: 1px solid var(--line);
}
.section--content .prose {
  color: var(--ink-muted);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-kicker {
  margin: 0 0 1.5rem;
  color: var(--ink-muted);
  max-width: 50ch;
  font-size: 1.05rem;
}

/* Intro split + stat */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.4fr 0.9fr;
    gap: 3rem;
  }
}

.lede--body {
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin: 0 0 0.5rem;
  color: var(--accent);
  letter-spacing: -0.03em;
}
.stat-card__context {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Card grid (audience) */
.card-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.5rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}
.card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.card__text {
  margin: 0;
  flex: 1;
  color: var(--ink-muted);
  font-size: 0.98rem;
}
.text-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}

/* Question list */
.question-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.4;
}
.question-list__item {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--line);
  position: relative;
}
.question-list__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height 0.2s;
}
.question-list__item:hover::before {
  height: 100%;
  top: 0;
}
.question-list__item:last-child {
  margin-bottom: 0;
}

/* Pillars (services) */
.pillar-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .pillar-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar {
  position: relative;
  padding: 0 0 0 0.5rem;
  border-left: 1px solid var(--line);
}
.pillar__num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
  letter-spacing: 0.1em;
}
.pillar__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.pillar__kicker {
  margin: 0 0 0.5rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.pillar__text {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Work cards */
.work-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.work-card {
  min-height: 100%;
  border-radius: 4px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.work-card:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.work-card__link {
  display: block;
  padding: 1.5rem 1.5rem 1.35rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.work-card__link:hover .work-card__title {
  color: var(--accent);
}
.work-card__eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.work-card__arrow {
  display: inline;
}
.work-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.4rem;
  color: var(--ink);
  transition: color 0.2s;
}
.work-card__sector {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* Quote grid */
.quote-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 800px) {
  .quote-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.35rem 1.4rem 1.5rem;
  min-height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}
.quote-block__text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
  font-family: var(--font-display);
  flex: 1;
  quotes: "“" "”" "‘" "’";
  position: relative;
  padding-top: 0.25rem;
}
.quote-block__name {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0;
  color: var(--ink);
}
.quote-block__role {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0.15rem 0 0;
}

/* Logos */
.logo-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
}
.logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.9rem;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 2px;
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
}

/* Testimonial */
.testimonial {
  margin: 0;
  text-align: center;
}
.testimonial__quote {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.3vw, 1.4rem);
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
}
.testimonial__cite {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.testimonial__name {
  font-weight: 600;
  color: var(--ink);
  font-style: normal;
  text-decoration: none;
}
.testimonial__title {
  font-size: 0.85rem;
  font-style: normal;
  color: var(--ink-muted);
}

/* Contact & newsletter */
.section--contact,
.section--newsletter {
  text-align: center;
}
.link-email {
  font-size: 1.35rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
  word-break: break-word;
}
.link-email:hover {
  text-decoration: underline;
}
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 24rem;
  margin: 1.25rem auto 0;
}
@media (min-width: 500px) {
  .newsletter-form {
    flex-direction: row;
    align-items: stretch;
  }
  .input {
    flex: 1;
  }
  .btn--primary {
    white-space: nowrap;
  }
}
.input {
  font: inherit;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  min-width: 0;
}
.input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

/* Home markdown (optional home body) */
.home-md :first-child {
  margin-top: 0;
}
.home-md h2,
.home-md h3 {
  font-family: var(--font-display);
  color: var(--ink);
}
.home-md a {
  color: var(--accent);
}

/* Inner pages (single) */
.is-page .page-article {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 2.5rem var(--content-pad) 3.5rem;
}
.page-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 600;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.page-article p,
.page-article li {
  color: var(--ink-muted);
}
.page-article h2,
.page-article h3 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
}
.page-article ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}
.page-article li {
  margin-bottom: 0.35rem;
}
.page-article strong {
  color: var(--ink);
}
.page-article a {
  color: var(--accent);
}
.page-article__intro p:last-child {
  margin-bottom: 1rem;
}
.page-article ul a {
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #e3dfd8;
  padding: 2.5rem var(--content-pad) 2rem;
  margin-top: 1rem;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: center;
  align-items: center;
}
@media (min-width: 800px) {
  .footer-grid {
    text-align: left;
    grid-template-columns: 1fr auto 1fr;
  }
  .footer-copy {
    text-align: right;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}
@media (min-width: 800px) {
  .footer-nav {
    justify-content: flex-start;
  }
}
.footer-nav a {
  color: #d0ccc4;
  text-decoration: none;
  font-size: 0.9rem;
}
.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  color: #a8a29d;
  line-height: 1.5;
}
.footer-copy a {
  color: #d0ccc4;
  text-decoration: none;
}
.footer-copy a:hover {
  text-decoration: underline;
  color: #fff;
}

/* Legacy prose (home optional block) */
.prose h1,
.prose h2,
.prose h3 {
  font-family: var(--font-display);
  color: var(--ink);
}
.prose a {
  color: var(--accent);
}

/* Audience card bullets */
.card__bullets {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}
.card__bullets li {
  margin-bottom: 0.4rem;
}

/* Track record (exits) */
.milestone-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 52rem;
}
.milestone {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem 1.5rem;
  padding: 0.6rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  align-items: baseline;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
@media (min-width: 640px) {
  .milestone {
    grid-template-columns: minmax(10rem, 1fr) 1.2fr;
  }
}
.milestone__company {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.98rem;
}
.milestone__outcome {
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* First to ship */
.first-ship-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 800px) {
  .first-ship-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.first-ship-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.first-ship-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.first-ship-card__body {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Challenges + pivots */
.section-lead {
  max-width: 56ch;
  margin-bottom: 1.5rem;
}
.check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 50rem;
}
.check-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--ink-muted);
  line-height: 1.5;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.pivot-line {
  margin: 0;
  padding: 1rem 1.2rem;
  background: #fff;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 50rem;
  border-radius: 0 4px 4px 0;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
}

/* How we work (markdown subsections) */
.how-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 52rem;
}
.how-block__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.how-block__body {
  margin: 0;
}
.text-block {
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.text-block p {
  margin: 0 0 0.9rem;
}
.text-block p:last-child {
  margin-bottom: 0;
}
.text-block a {
  color: var(--accent);
  font-weight: 500;
}
.text-block strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---- Art / image placeholders (replace with <img> later) ---- */
.media-slot {
  background: rgba(0, 0, 0, 0.1);
  border: 1px dashed rgba(0, 0, 0, 0.14);
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  min-height: 5rem;
  box-sizing: border-box;
}
.media-slot__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  opacity: 0.85;
}
.media-slot__brief {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* Variants */
.media-slot--hero {
  min-height: clamp(10rem, 22vw, 15rem);
  aspect-ratio: 4 / 3;
}
@media (min-width: 900px) {
  .media-slot--hero {
    aspect-ratio: 16 / 10;
    min-height: 12rem;
  }
}
.media-slot--intro {
  min-height: 9rem;
  aspect-ratio: 4 / 3;
}
.media-slot--card {
  min-height: 6.5rem;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.35rem;
}
.media-slot--band {
  min-height: 4.5rem;
  width: 100%;
  margin-bottom: 1rem;
  aspect-ratio: auto;
  min-height: 5rem;
}
.media-slot--product {
  min-height: 7rem;
  aspect-ratio: 16 / 10;
  margin-bottom: 0.75rem;
}
.media-slot--diagram {
  min-height: 8rem;
  margin: 0 0 1.25rem;
  aspect-ratio: 21 / 9;
  max-height: 11rem;
}
.media-slot--hww {
  min-height: 6.5rem;
  margin-bottom: 1rem;
  aspect-ratio: 16 / 9;
  width: 100%;
}
@media (min-width: 768px) {
  .media-slot--hww {
    margin-bottom: 0;
  }
}
.media-slot--portrait {
  flex-shrink: 0;
  width: 5.5rem;
  min-height: 5.5rem;
  aspect-ratio: 1;
  min-height: auto;
  padding: 0.5rem;
}
@media (min-width: 500px) {
  .media-slot--portrait {
    width: 6.5rem;
    min-height: 6.5rem;
  }
}
.media-slot--portrait .media-slot__brief {
  font-size: 0.65rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-slot--logos-hero {
  min-height: 3.5rem;
  margin-bottom: 1.25rem;
  aspect-ratio: 21 / 4;
  max-height: 5.5rem;
}
.media-slot--contact {
  min-height: 7rem;
  margin-top: 0.5rem;
}
@media (min-width: 700px) {
  .media-slot--contact {
    margin-top: 0;
  }
}
.media-slot--newsletter {
  min-height: 4rem;
  margin-bottom: 0.5rem;
}

/* Hero: text + art */
.hero-layout {
  display: grid;
  gap: 1.5rem 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
  }
  .media-slot--hero {
    max-width: 100%;
  }
}

/* Intro: lede + stat + art */
.intro-layout {
  display: grid;
  gap: 1.5rem 2rem;
  align-items: start;
}
@media (min-width: 800px) {
  .intro-layout {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .intro-layout__lede {
    grid-row: 1 / span 2;
  }
  .intro-layout__side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}
@media (max-width: 799px) {
  .intro-layout__side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

/* How we work: art layers above copy; side-by-side on wide screens */
.how-block--layered {
  display: grid;
  gap: 0.9rem 1.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0.5rem;
}
.how-block--layered:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
@media (min-width: 768px) {
  .how-block--layered {
    grid-template-columns: minmax(8rem, 0.42fr) 1fr;
    align-items: start;
  }
  .how-block--layered .how-block__text {
    min-width: 0;
  }
}

/* Quotes: portrait slot + text */
.quote-block__row {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
@media (min-width: 520px) {
  .quote-block__row {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
  }
}
.quote-block__main {
  flex: 1;
  min-width: 0;
}

/* Contact + newsletter */
.contact-layout {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 700px) {
  .contact-layout {
    grid-template-columns: 1fr minmax(10rem, 0.5fr);
    align-items: center;
  }
}

.newsletter-layout {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .newsletter-layout {
    display: grid;
    grid-template-columns: 1fr 0.4fr 1.2fr;
    gap: 1rem 1.25rem;
    align-items: end;
  }
  .newsletter-layout__copy {
    grid-column: 1 / -1;
  }
  .media-slot--newsletter {
    margin-bottom: 0;
  }
  .newsletter-form {
    grid-column: 1 / -1;
  }
}

/* Long quotes (stacked) */
.quote-grid--stacked {
  max-width: 44rem;
  margin: 0 auto;
}
.quote-grid--stacked .quote-block {
  max-width: 100%;
}
.quote-block__body {
  margin: 0 0 0.9rem;
  padding: 0 0 0.25rem 1rem;
  border-left: 3px solid var(--line);
}
.quote-block__body p {
  margin: 0 0 0.75rem;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.6;
  font-style: normal;
  font-family: var(--font);
}
.quote-block__body p:last-child {
  margin-bottom: 0;
}
.quote-block__name {
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-style: normal;
}
.quote-block__role {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin: 0.15rem 0 0;
  font-style: normal;
}
