/* ============================================================
   SHARED INNER-PAGE STYLES
   ============================================================ */

/* One shared centered content container/grid for every interior page
   (About, Services, Contact, Work) — replaces page-specific ad-hoc
   widths so copy is never stranded in a narrow rail with the rest of
   a wide desktop screen left empty. */
.content-grid {
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--content-padding-inline);
}

/* One shared vertical rhythm for ordinary content sections: ~80-100px
   desktop, ~48-64px mobile (--section-gap) — NOT the much larger
   --section-space, which is reserved for deliberate full hero/CTA
   moments only. Sections using this are content-driven; no fixed or
   oversized min-height. */
.content-section {
  padding-top: var(--section-gap);
  border-top: 1px solid var(--color-hairline);
}
.content-section:first-child { border-top: none; }

/* Scoped, one-off reduction to the gap between the Services page
   intro and "What I do" only — per instruction, .page-intro and the
   shared .content-section rhythm stay untouched everywhere else. */
.production-tight-intro {
  padding-top: 46px;
}

/* ---------- Production Capabilities (Services page only) ---------- */
/* Scoped entirely to this component — no shared/global rules touched. */
.production-capabilities__intro {
  margin-top: 1.25rem;
  max-width: 48rem;
}

.production-capabilities__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 900px) {
  .production-capabilities__grid { grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3rem); }
}

.production-capabilities__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.production-capabilities__body {
  color: var(--color-support);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 26rem;
}

.production-capabilities__closer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-hairline);
  max-width: 42rem;
  color: var(--color-support);
  font-size: 0.9rem;
}

/* ---------- Social links (footer + Contact page) ---------- */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.social-links__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-support);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  transition: color var(--dur-dissolve) var(--ease-dissolve);
}
.social-links__item:hover,
.social-links__item:focus-visible {
  color: var(--color-paper);
  outline: none;
}

.social-links__icon {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

/* In-footer placement */
.site-footer .social-links {
  margin-top: 1.5rem;
}

/* Section labels/eyebrows that head a whole content section (not
   generic .u-label usage like nav, footer, form labels, or card
   metadata — those stay as-is). Given real presence per instruction:
   16px desktop / 14px mobile, stronger off-white contrast, same
   uppercase/tracking system. Explicitly excludes
   .about-note-inline__eyebrow, which was deliberately built to stay
   quiet as a secondary callout. Placed here (pages.css) rather than
   tokens.css: pages.css loads on every page and after layout.css, so
   it correctly wins the cascade against layout.css's .btn font-size —
   tokens.css loads first and was silently losing that tie. */
.section__eyebrow,
.featured-work__eyebrow,
.impact-recognition__eyebrow,
.page-intro__eyebrow {
  font-size: 1rem; /* 16px */
  color: var(--color-paper);
}
@media (max-width: 640px) {
  .section__eyebrow,
  .featured-work__eyebrow,
  .impact-recognition__eyebrow,
  .page-intro__eyebrow {
    font-size: 0.875rem; /* 14px */
  }
}

/* Standalone text CTAs (ghost-style links like "View all work →") —
   scoped to .btn--ghost specifically, not the solid .btn buttons
   ("Start a project", "Send"), which stay at their existing size.
   Size/weight only — the uppercase/tracking treatment is unchanged. */
.btn--ghost {
  font-size: 1rem; /* 16px */
  font-weight: 600;
}
@media (max-width: 640px) {
  .btn--ghost { font-size: 0.9375rem; } /* 15px */
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--color-paper);
  outline: none;
}

/* .section (spec/archive blocks, also used standalone on the
   homepage) already carries its own horizontal gutter padding; when
   nested inside .content-grid here, that would double up with the
   grid's own padding-inline. A cascade rule, not a per-instance patch. */
.content-grid .section {
  padding-inline: 0;
}

/* Same double-padding issue as .section above: .index-list carries
   its own gutter padding for its other (non-nested) usages. */
.content-grid .index-list {
  padding-inline: 0;
}

/* A tighter variant for sections that are conceptually a continuation
   of the block above them (e.g. Services' "How engagements work"
   directly follows its image proof strip) rather than a fresh topic
   needing the full section gap. */
.content-section--tight {
  padding-top: calc(var(--section-gap) * 0.45);
}
@media (max-width: 640px) {
  .content-section--tight { padding-top: clamp(2rem, 8vw, 2.5rem); }
}

@media (max-width: 640px) {
  .content-section { padding-top: clamp(3rem, 12vw, 4rem); }
}

/* Placed after .content-section's own mobile rule above so this
   scoped override wins the cascade tie at mobile widths too. */
@media (max-width: 640px) {
  .production-tight-intro { padding-top: 20px; }
}

.page-intro {
  max-width: var(--content-max);
  margin-inline: auto;
  padding: clamp(7rem, 16vw, 10rem) var(--content-padding-inline) clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--color-hairline);
}

.page-intro__eyebrow { margin: 0 0 1rem; }

.page-intro__title {
  font-family: var(--font-display);
  font-size: var(--step-h1);
  line-height: var(--leading-display);
  max-width: 20ch;
  margin: 0;
}

.page-intro__lede {
  margin-top: 1.5rem;
  max-width: var(--measure);
  color: var(--color-support);
  font-size: var(--step-body-lg);
}

/* ---------- Living Index (Work page) ---------- */

.index-list {
  border-top: 1px solid var(--color-hairline);
  padding-inline: var(--gutter);
}

.index-row {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-hairline);
  text-decoration: none;
  color: inherit;
  transition: background var(--dur-dissolve) var(--ease-dissolve);
}

/* Below 640px, a 3-across grid has no real room: an "auto" track sizes
   to its content's own natural (unwrapped) width regardless of how
   little space is left, which was starving the title column down to
   0px and forcing overflow-wrap:anywhere to break every character.
   Stack instead: number+title on top, meta info as its own full-width
   line below — no column ever has to fight another for space. */
@media (max-width: 640px) {
  .index-row {
    grid-template-columns: 3rem minmax(0, 1fr);
    grid-template-areas:
      "num body"
      "meta meta";
    row-gap: 0.5rem;
  }
  .index-row__num { grid-area: num; }
  .index-row__body { grid-area: body; }
  .index-row__meta {
    grid-area: meta;
    text-align: left;
  }
}

.index-row:hover, .index-row:focus-visible {
  background: rgba(244, 241, 234, 0.03);
}

.index-row--static {
  cursor: default;
}
.index-row--static:hover {
  background: transparent;
}

.index-row__num {
  font-family: var(--font-body);
  font-size: var(--step-label);
  color: var(--color-support);
  letter-spacing: var(--tracking-label);
}

.index-row__frame {
  display: none;
}

.index-row__title {
  font-family: var(--font-display);
  font-size: var(--step-h3);
  margin: 0 0 0.3rem;
}

.index-row__logline {
  color: var(--color-support);
  font-size: 0.95rem;
  margin: 0;
  max-width: 52ch;
}

.index-row__meta {
  text-align: right;
}

@media (min-width: 640px) {
  /* Nowrap only once there's enough horizontal room for it — on
     narrow phones it was forcing long categories like "Community /
     Music" past the viewport edge. */
  .index-row__meta { white-space: nowrap; }
}

.index-row__role {
  display: block;
  font-size: var(--step-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-support);
}

.index-row__type {
  display: block;
  font-size: 0.8rem;
  color: var(--color-support);
  margin-top: 0.25rem;
}

@media (min-width: 900px) {
  .index-row {
    grid-template-columns: 3rem minmax(0, 1fr) auto;
  }
}

/* ---------- Case Study ---------- */

/* Primary content column — capped so the primary media frame (video
   embed or hero still) reads as an intentional, human-scaled editorial
   frame on every screen, not something that balloons to fill an entire
   wide monitor. This was the real cause of Food Stories/Sandals feeling
   "oversized": nothing here had a max-width before. */
.cs-hero {
  max-width: 56rem;
  margin-inline: auto;
  padding: clamp(7rem, 16vw, 10rem) var(--gutter) 0;
}

.cs-hero__frame {
  aspect-ratio: 16/9;
  margin-top: 2rem;
  overflow: hidden;
  background: #17150F;
  display: block;
}
.cs-hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-hero__title {
  font-family: var(--font-display);
  font-size: var(--step-h1);
  line-height: var(--leading-display);
  margin: 0 0 1rem;
  max-width: 22ch;
}

.cs-hero__meta {
  font-size: var(--step-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-support);
}
.cs-hero__meta span:not(:last-child)::after {
  content: "\00b7";
  margin: 0 0.6em;
  opacity: 0.6;
}

.cs-block {
  max-width: 56rem;
  margin-inline: auto;
  padding: var(--section-space) var(--gutter);
  border-top: 1px solid var(--color-hairline);
}

.cs-block__label { margin-bottom: 1rem; }

.cs-block__body {
  max-width: var(--measure);
  color: var(--color-support);
}

.cs-frame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.cs-frame {
  aspect-ratio: 4/3;
}

.cs-frame figcaption {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--color-support);
}

.cs-credits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.25rem 2rem;
  margin-top: 1.5rem;
}

.cs-credits dt {
  font-size: var(--step-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-support);
  margin-bottom: 0.3rem;
}

.cs-credits dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.cs-next {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.cs-next__bg { position: absolute; inset: 0; z-index: 0; }
.cs-next__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(14,13,12,0.7);
  transition: background var(--dur-dissolve) var(--ease-dissolve);
}
.cs-next:hover .cs-next__scrim,
.cs-next:focus-visible .cs-next__scrim { background: rgba(14,13,12,0.5); }

.cs-next__content { position: relative; z-index: 2; padding: var(--gutter); }

/* ---------- About / Services (shared prose layout) ---------- */

.prose-section {
  padding: var(--section-space) var(--gutter);
  border-top: 1px solid var(--color-hairline);
}

.prose-section__title {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  line-height: var(--leading-display);
  max-width: 24ch;
  margin: 0 0 1.5rem;
}

.prose-section__body {
  max-width: var(--measure);
  color: var(--color-support);
}
.prose-section__body p + p { margin-top: 1.1em; }


.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
}

.pillar p {
  color: var(--color-support);
  font-size: 0.95rem;
}

/* ---------- Contact form ---------- */

/* ---------- Contact — balanced two-column composition ---------- */
/* Headline/reassurance on one side, form on the other — replaces the
   old placeholder-background hero (min-height:46vh, empty asset-
   placeholder) with content-driven sections in the shared grid. */

.contact-layout {
  padding-top: clamp(7rem, 15vw, 9.5rem);
  padding-bottom: var(--section-gap);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 32rem);
    align-items: start;
    gap: clamp(2.5rem, 6vw, 5rem);
  }
}
@media (max-width: 640px) {
  .contact-layout { padding-top: clamp(6rem, 20vw, 7rem); }
}

.contact-layout__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  font-size: var(--step-h1);
  line-height: var(--leading-display);
  max-width: 18ch;
  margin: 1rem 0 0;
}
.contact-layout__reassurance {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--color-support);
  font-size: var(--step-body-lg);
}

.contact-layout__intro .contact-alt {
  padding: 0;
  margin-top: 2rem;
}

.contact-form {
  max-width: 100%;
}

.form-row { margin-bottom: 1.75rem; }
.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 640px) {
  .form-row--split { grid-template-columns: 1fr; }
}

.form-label {
  display: block;
  font-size: var(--step-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-support);
  margin-bottom: 0.6rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-hairline);
  color: var(--color-paper);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.6rem 0;
  transition: border-color var(--dur-dissolve) var(--ease-dissolve);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238C8880' fill='none' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
}
.form-select option { background: var(--color-base); color: var(--color-paper); }

.form-textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.5;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-paper);
}

.form-input.has-error,
.form-select.has-error,
.form-textarea.has-error {
  border-color: var(--color-signal);
}

.form-error-text {
  min-height: 1.1rem;
  margin: 0.4rem 0 0;
  font-size: 0.8rem;
  color: #E06C5F; /* lighter than --color-signal specifically for AA contrast at small text size */
}

.form-error-text--general {
  min-height: 0;
  margin-top: 1rem;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--color-support);
  margin-top: 0.4rem;
}

.form-submit {
  margin-top: 0.5rem;
}

.contact-alt {
  color: var(--color-support);
  font-size: var(--step-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}
.contact-alt a { color: var(--color-paper); text-decoration: underline; text-underline-offset: 3px; }

.form-success {
  display: none;
  max-width: 40rem;
}
.form-success.is-visible { display: block; }
.form-success__title {
  font-family: var(--font-display);
  font-size: var(--step-h2);
  margin: 0 0 1rem;
}

/* ---------- Real media: embeds, posters, thumbnails ---------- */

/* Responsive Vimeo/YouTube embed. The iframe is the host's own player —
   no video files are downloaded or re-hosted. */
.cs-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 2rem;
  background: #17150F;
  overflow: hidden;
}
.cs-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cs-hero__logline {
  margin-top: 1rem;
  max-width: var(--measure);
  color: var(--color-support);
  font-size: var(--step-body-lg);
}

.cs-hero__source {
  margin-top: 1rem;
  font-size: var(--step-label);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--color-support);
}
.cs-hero__source a {
  color: var(--color-paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Index thumbnails, shown only for projects with real cleared media. */
.index-row__frame {
  display: none;
}
.index-row__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .index-row--media {
    grid-template-columns: 3rem 9rem 1fr auto;
  }
  .index-row--media .index-row__frame {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #17150F;
  }
}

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

/* ---------- Section notes, spec & archive flags ---------- */

.section__note {
  margin-top: 0.75rem;
  max-width: 52ch;
  color: var(--color-support);
  font-size: 0.95rem;
}

/* Spec work is flagged everywhere it appears — in the index row and on
   its own page — so it can never be mistaken for a client engagement. */
.index-row__flag,
.cs-spec-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-signal);
  border: 1px solid var(--color-signal);
  padding: 0.25rem 0.6rem;
  margin: 0 0 0.5rem;
}

.cs-spec-flag {
  font-size: 0.75rem;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.25rem;
}

.cs-archive-flag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-support);
  border: 1px solid var(--color-hairline);
  padding: 0.4rem 0.85rem;
  margin: 0 0 1.25rem;
}

/* Supporting context on archive entries — deliberately quiet, sits
   below the film, never presented as a headline stat. */
.cs-context__sources {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--color-support);
}
.cs-context__sources a {
  color: var(--color-paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cs-hero__client {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--color-support);
}

/* ---------- External-link case studies (rights-holder-controlled media) ---------- */

.cs-watch-external {
  margin-top: 2rem;
  display: inline-flex;
}

/* Facebook's official embed plugin renders inside a fixed-width iframe
   rather than a fluid one — center it and let it be its native size
   rather than stretching/distorting. */
.cs-player--bts {
  aspect-ratio: auto;
  height: auto;
  display: flex;
  justify-content: center;
  background: transparent;
}
.cs-player--bts iframe {
  position: static;
  width: 560px;
  max-width: 100%;
  height: 700px;
  border: 0;
}

/* ---------- Recognition block (case study) ---------- */

.cs-recognition__image {
  width: 100%;
  max-width: 32rem;
  height: auto;
  display: block;
  margin: 1.5rem 0 0;
  border: 1px solid var(--color-hairline);
}

.cs-recognition__quote {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-hairline);
  max-width: var(--measure);
}
.cs-recognition__quote p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-paper);
  margin: 0 0 0.75rem;
  text-transform: none; /* quotes read as prose, not display caps */
  letter-spacing: normal;
}
.cs-recognition__quote cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-support);
}
.cs-recognition__stats {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--color-support);
  margin: 1.25rem 0 1.5rem;
}

.cs-recognition__copy {
  max-width: var(--measure);
  color: var(--color-support);
  margin: 1.5rem 0 0;
}
.cs-recognition__embed {
  margin: 1.5rem 0 0;
}

/* ---------- BTS grid (supporting texture, not hero treatment) ---------- */

.cs-bts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cs-bts__item {
  margin: 0;
}

.cs-bts__image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--color-hairline);
}

/* A lone BTS item (most common case) shouldn't stretch full-width and
   look like a hero/poster — cap it so it still reads as supporting
   material, not the main event. */
.cs-bts__grid:has(> :only-child) {
  grid-template-columns: minmax(0, 32rem);
}

/* ---------- Featured Work grid (Work page) ---------- */

.featured-work {
  padding: clamp(2rem, 5vw, 3rem) var(--gutter) 0;
}
.featured-work__eyebrow {
  margin-bottom: 1.5rem;
}

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

@media (min-width: 900px) {
  .featured-work__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .featured-work__grid { grid-template-columns: 1fr; }
}

.featured-card {
  display: block;
  border: 1px solid var(--color-hairline);
  transition: opacity var(--dur-dissolve) var(--ease-dissolve);
}
.featured-card:hover,
.featured-card:focus-visible {
  opacity: 0.85;
}

.featured-card__frame {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #17150F;
}
.featured-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-card__meta {
  padding: 1rem 1.1rem 1.25rem;
}

.featured-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.08;
  font-size: 1.15rem;
  margin: 0 0 0.4rem;
  overflow-wrap: anywhere;
}

.featured-card__logline {
  font-size: 0.85rem;
  color: var(--color-support);
  margin: 0 0 0.5rem;
}

.featured-card__role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-support);
}

/* Text-forward cards (no real image exists yet — Dewesoft, Applebee's)
   get more breathing room in the meta block instead of a fake/blank
   image slot, and read as an intentional editorial choice, not a
   missing asset. */
.featured-card--text .featured-card__meta {
  padding: 1.5rem 1.25rem;
  min-height: 9rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-card--text .featured-card__title {
  font-size: 1.3rem;
}

/* ---------- BTS wide editorial image (case studies) ---------- */
/* A real visual moment, not a thumbnail: bleeds wider than the text
   column but stays contained (not full-viewport), restrained height
   so it reads as a deliberate editorial beat, not a hero replay. */

.cs-bts__wide {
  /* Full-viewport-width breakout — robust regardless of the parent's
     own max-width, unlike a gutter-relative negative margin. */
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.cs-bts__wide-image {
  width: 100%;
  height: clamp(16rem, 42vw, 30rem);
  object-fit: cover;
  display: block;
}

/* ---------- Services — three-image strip ---------- */
/* Restrained, equal-weight visual proof of range across the three
   pillars named above it — real confirmed project stills only. */

.services-strip {
  margin-top: clamp(2rem, 5vw, 3rem);
}

.services-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 700px) {
  .services-strip__grid {
    grid-template-columns: 1fr;
  }
}

.services-strip__item {
  margin: 0;
}

.services-strip__item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #17150F;
}

/* Scoped to this one photo only — the default center crop was
   clipping the top of Josh's head; shifting the focal point up gives
   it breathing room without touching the other two panels. */
.services-strip__item--speedway img {
  object-position: center 20%;
}

.services-strip__item figcaption {
  margin-top: 0.6rem;
}

/* ---------- About page — real desktop content grid ---------- */
/* Uses the shared .content-grid/.content-section system above; only
   this page's own two-column arrangements live here. */

.about-hero-section {
  padding-top: clamp(7rem, 15vw, 9.5rem);
}
@media (max-width: 640px) {
  .about-hero-section { padding-top: clamp(6rem, 20vw, 7rem); }
}

/* 1. Intro/hero — two columns desktop (text | portrait), stacked
   mobile (text first, image below). Image top aligns with the
   headline block via align-items:start. */
.about-hero-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .about-hero-section {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); /* image column now ~52-53% of the composition, was capped at 26rem (~36%) */
    align-items: start;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

.about-hero-section__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  font-size: var(--step-h1);
  line-height: var(--leading-display);
  margin: 1rem 0 0;
}
.about-hero-section__lede {
  margin-top: 1.5rem;
  max-width: 42rem;
  color: var(--color-support);
  font-size: var(--step-body-lg);
}
.about-hero-section__image {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* 2. Background + How I Work — two readable columns desktop, stacked
   mobile. Paragraph size/contrast raised from the old muted, small
   treatment to a normal reading size in the primary text color. */
.about-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 76px; /* divider (below intro) -> Background/How I Work headings: within the requested 72-80px */
  padding-bottom: 76px; /* text columns -> their lower divider: within the requested 72-80px */
}
@media (max-width: 640px) {
  .about-columns { padding-top: 46px; padding-bottom: 46px; } /* proportional mobile versions */
}
@media (min-width: 900px) {
  .about-columns { grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  font-size: var(--step-section-heading);
  line-height: var(--leading-display);
  margin: 0 0 1.25rem;
}

/* Lead/summary copy — meaningful body content that introduces or
   carries a section, not ordinary paragraph text: 20-22px desktop
   with comfortable line-height, 17-18px mobile. */
.lead-copy {
  font-size: 1.25rem; /* 20px */
  line-height: 1.6;
  color: var(--color-paper);
}
@media (min-width: 1200px) {
  .lead-copy { font-size: 1.375rem; } /* 22px on genuinely wide desktop */
}
@media (max-width: 640px) {
  .lead-copy { font-size: 1.0625rem; line-height: 1.55; } /* 17px */
}

.about-body {
  max-width: 42rem;
  color: var(--color-paper);
  font-size: var(--step-body-lg);
}
.about-body p + p { margin-top: 1.1em; }

/* 3. Selected credits — same centered container, a genuinely readable
   measure rather than a narrow stranded paragraph. FilmToledo stays
   understated, nested at the bottom of this same content area. */
.about-credits {
  padding-bottom: var(--section-gap);
}
.about-credits .about-body {
  max-width: 48rem;
}

/* ---------- Press & Recognition (About page) ---------- */
.about-press__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  max-width: 40rem;
}
.about-press__item {
  border-top: 1px solid var(--color-hairline);
}
.about-press__item:last-child {
  border-bottom: 1px solid var(--color-hairline);
}
/* ---------- Testimonial (About page) ---------- */
/* Deliberately restrained -- no card, border, background fill, photo,
   star rating, date, or platform badge. Just a quote and a name, in
   the same quiet editorial voice as the rest of the page. Centered
   (and given its own tightened, deliberate spacing above/below) so it
   reads as a distinct pause, separated from the left-aligned body
   copy around it, rather than another paragraph in the same column. */
.about-testimonial {
  padding-top: 92px; /* upper divider -> quote: within the requested
                         88-96px, and matched by padding-bottom below
                         so the quote+attribution sit centered in the
                         space between the two dividers, not hugging
                         the top */
  padding-bottom: 92px; /* attribution -> lower divider: same 88-96px
                            range, so attribution sits comfortably
                            above the divider instead of nearly on it */
  text-align: center;
}
.about-testimonial__quote {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0;
  border: none;
}
.about-testimonial__quote p {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-h3);
  line-height: 1.2;
  color: var(--color-paper);
  margin: 0 0 1.25rem;
}
.about-testimonial__quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-support);
}
@media (max-width: 640px) {
  .about-testimonial__quote p { font-size: 1.5rem; }
  .about-testimonial { padding-top: 55px; padding-bottom: 55px; } /* proportional mobile version, same symmetric treatment */
}

/* Scoped to the specific instance following the testimonial only --
   not a change to .about-credits generally, so nothing else that
   might reuse that class elsewhere is affected. */
.about-testimonial + .about-credits {
  padding-top: 72px; /* rule (end of testimonial) -> Selected Credits:
                         within the requested ~72px */
}
@media (max-width: 640px) {
  .about-testimonial + .about-credits { padding-top: 44px; } /* proportional mobile version */
}

.about-press__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  color: var(--color-support);
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5;
  transition: color var(--dur-dissolve) var(--ease-dissolve);
}
.about-press__link:hover,
.about-press__link:focus-visible {
  color: var(--color-paper);
}
.about-press__arrow {
  flex-shrink: 0;
  font-size: 0.9rem;
  opacity: 0.6;
}
@media (max-width: 640px) {
  .about-press__link { font-size: 0.9rem; padding: 0.85rem 0; }
}

/* A meaningful secondary credential, not a footnote — normal reading
   size/contrast, real breathing room, and a left rule + small eyebrow
   to read as an intentional callout. Still deliberately quieter than
   the Selected Credits heading above it (small eyebrow vs. that
   section's large display title), and still plain text — no logo,
   no card treatment, nothing implying FilmToledo is a client. */
.about-note-inline {
  margin-top: 3rem;
  padding: 0.15rem 0 0.15rem 1.5rem;
  border-left: 2px solid var(--color-hairline);
  max-width: 42rem;
}
.about-note-inline__eyebrow {
  margin-bottom: 0.6rem;
}
.about-note-inline__body {
  font-size: var(--step-body);
  line-height: 1.6;
  color: var(--color-paper);
  margin: 0;
}
.about-note-inline__body a {
  color: var(--color-paper);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.about-note-inline__body a:hover { color: var(--color-support); }

