/* Bobby S. Lee, DDS: the C3 interior components O-E (.op-band), BLK (.tblk), NEXT (.next). Owner: C2-build.
   Source of truth: v2-specs/components/O-E.md, BLK.md, NEXT.md (their css blocks, in that order, with the
   2026-09-27 C2-build addenda). Started from C2-spec's validated builds-review/interiors/_fixture/c2/c2-spec.css,
   then plan 10.6 / 10.7: BLK and NEXT H2s use the house heading token --grey-logo, and the shared .nw utility
   (css/interior.css) replaces .nobr. Loaded after tokens.css, site.css and interior.css. Later agents never edit
   this file: a needed change is reported to the main session. Pure CSS @media; no script reads the viewport. */

/* ================================================================ O-E interior title panel (O-E.md; easthamilton-int/01)
   OPENERS (owner ruling 2026-09-28: title areas too big/wide; O-E.md + _shared.md ADDENDUM OPENERS, class A): the
   full-bleed 75vh / 520 grain slab is gone. The section is the ground (the next band's surface: css/interior.css
   "opener panel"), the cell is a contained grain panel at the header card's edges and radius, and the height is
   the content plus padding. >= 1120: the panel starts at page y 0 under the header card (square top hidden under
   the util strip and frosted bar, 0 0 36 36 below); <= 1119: it starts below the house bar, all corners round. */
.op-band {
  position: relative; z-index: 1;
  display: block; min-height: 0;
  padding: 0 var(--chrome-inset);
  text-align: center;
}
.op-band__cell {
  width: auto; container-type: inline-size;
  /* NO-PILL 2026-09-28: bottom 36 (was 44) to match the 36 top, now that no opener carries a button */
  padding: calc(var(--chrome-h) + 36px) 40px 36px;
  background: var(--primary) url("../assets/tex-blue-grain.jpg") center top / cover no-repeat;
  border-radius: 0 0 var(--radius-eh) var(--radius-eh);
}
.op-band__head { margin: 0; }
/* TITLES (owner ruling 2026-09-27: titles too wide; O-E.md ADDENDUM TITLES, class A): the FitText 800 H1
   (min(63px, 100cqi / 8.5) = 63 / 41.2 at 390) is replaced by the interior H1 tier, the homepage H1's real weight
   and line-height ratio (hero 700, lh 1.25): 48 / 40 (<= 900) / 32 (<= 600), tracking normal, a 22ch measure (17ch at <= 600). */
.op-band__h1 {
  max-width: 22ch; margin: 0 auto; font: 700 48px/1.25 var(--font-display);
  color: var(--white); text-wrap: balance;
}
.op-band__deck { margin: 16px 0 0; font: 400 24px/33.6px var(--font-body); color: var(--white); text-wrap: balance; }
/* NO-PILL 2026-09-28 (owner ruling): the opener title band never carries a button. .op-band__btn and
   .op-band__pill are removed; a.pill.pill--inverse stays (interior.css FEAT4 ink-variant note documents it as
   the general inverse-atom pattern for .s-ink pills elsewhere, not opener-only). */
a.pill.pill--inverse { background: var(--white); border-color: var(--white); color: var(--primary); }
@media (hover: hover) {
  a.pill.pill--inverse:hover { background: var(--sky); border-color: var(--sky); color: var(--primary-deep); }
}
@media (max-width: 1119px) {
  .op-band { padding: calc(var(--chrome-h) + var(--chrome-inset)) var(--chrome-inset) 0; }
  .op-band__cell { padding: 36px 32px 36px; border-radius: var(--radius-eh); } /* NO-PILL: bottom matches top */
}
@media (max-width: 900px) { .op-band__h1 { font-size: 40px; } }
@media (max-width: 600px) {
  .op-band { padding: calc(var(--chrome-h) + 16px) 16px 0; }
  .op-band__cell { padding: 28px 20px 28px; border-radius: var(--radius-form); } /* NO-PILL: bottom matches top */
  .op-band__h1 { max-width: 17ch; font-size: 32px; }
  /* TITLES: the subtitle scales with its title on phones (24 read as large as a 32 H1): 20/28, ratio 1.4 kept */
  .op-band__deck { font-size: 20px; line-height: 28px; }
}

/* ================================================================ BLK treatment block (BLK.md; quincy-int/01)
   surfaces: .s-sky (default) or .s-white. One block per page; --rev puts the photo on the left. */
.tblk { padding: 75px 0; }
.tblk__row {
  display: flex; flex-wrap: wrap; align-items: center;
  width: 100%; max-width: 1192px; margin: 0 auto; padding: 0 20px;
}
.tblk--rev .tblk__row { flex-direction: row-reverse; }
.tblk__text { width: 50%; display: flex; flex-direction: column; padding: 0 32px 0 0; }
.tblk--rev .tblk__text { padding: 0 0 0 32px; }
.tblk__media { width: 50%; padding: 0 12px; }
.tblk__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.tblk__h2 { margin: 0 0 32px; font: 600 36px/39.6px var(--font-display); color: var(--grey-logo); text-wrap: balance; }
.tblk__body p { font: 400 16px/23.47px var(--font-body); letter-spacing: .5px; color: var(--body-ink); }
.tblk__body p:not(:last-of-type) { margin-bottom: 24px; }
.tblk__body a:not(.pill) { color: var(--link, var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) { .tblk__body a:not(.pill):hover { text-decoration-thickness: 2px; } }
.tblk__btn { margin-top: 32px; }
.tblk__pill { --pill-h: 44px; --pill-px: 32px; --pill-fs: 16px; }
@media (max-width: 1024px) { .tblk { padding: 48px 0; } }
@media (max-width: 768px) {
  .tblk__row, .tblk--rev .tblk__row { flex-direction: column-reverse; align-items: stretch; padding: 0; }
  .tblk__media { width: 100%; padding: 0; margin-bottom: 16px; }
  .tblk__text, .tblk--rev .tblk__text { width: 100%; padding: 0 20px; }
  .tblk__h2 { font-size: 28px; line-height: 30.8px; }   /* TITLES 2026-09-27: phone H2 tier 28 (was 30 / 33) */
}

/* ================================================================ NEXT logistics closer (NEXT.md; quincy-int/04, photo-less)
   surfaces: .s-sky or .s-sky2 (never white: the footer is white). The text half + the action half on the 1192 rail. */
.next { padding: 75px 0; }
.next__row {
  display: flex; flex-wrap: wrap; align-items: center;
  width: 100%; max-width: 1192px; margin: 0 auto; padding: 0 20px;
}
.next__text { width: 50%; display: flex; flex-direction: column; padding: 0 32px 0 0; }
.next__head:not(:last-child) { margin-bottom: 32px; }
.next__h2 { margin: 0; font: 600 36px/39.6px var(--font-display); color: var(--grey-logo); text-wrap: balance; }
.next__h3 { margin: 4px 0 0; font: 700 24px/26.4px var(--font-body); color: var(--primary); text-wrap: balance; }
.next__body p { font: 400 16px/23.47px var(--font-body); letter-spacing: .5px; color: var(--body-ink); }
.next__body p:not(:last-of-type) { margin-bottom: 24px; }
.next__body a:not(.pill) { color: var(--link, var(--primary)); text-decoration: underline; text-underline-offset: 2px; }
@media (hover: hover) { .next__body a:not(.pill):hover { text-decoration-thickness: 2px; } }
/* FIX-3, 2026-09-27 (NEXT.md ADDENDUM 2026-09-27, NX.18): a single max-content column, stretched, so both pills
   share the wider label's width at every breakpoint; left-aligned (grid default justify-content: start). */
.next__actions {
  width: 50%; padding: 0 0 0 32px;
  display: grid; grid-template-columns: minmax(0, max-content); justify-items: stretch; justify-content: start;
  row-gap: 32px;
}
.next__pill { --pill-h: 44px; --pill-px: 32px; --pill-fs: 16px; }
@media (max-width: 1024px) { .next { padding: 48px 0; } }
@media (max-width: 768px) {
  .next__row { flex-direction: column; align-items: stretch; }
  .next__text, .next__actions { width: 100%; padding: 0; }
  .next__actions { margin-top: 32px; }
  .next__h2 { font-size: 28px; line-height: 30.8px; }   /* TITLES 2026-09-27: phone H2 tier 28 (was 30 / 33) */
}
/* shared by BLK and NEXT text slots (class C): a phone number never breaks at its hyphen. A hyphenated compound in
   any slot uses the shared <span class="nw"> (css/interior.css); there is no .nobr and no copy of it here. */
:is(.tblk__body, .next__body) a[href^="tel:"] { white-space: nowrap; }
/* quincy's button cap (max-width:100%): a label longer than the phone well wraps inside its pill instead of
   spilling past the border (the atom's min-width:0 lets a flex-item pill shrink under its nowrap label) */
@media (max-width: 400px) {
  a.pill.next__pill {   /* must out-rank site.css `a.pill` (height, padding, white-space) */
    max-width: 100%; height: auto; min-height: var(--pill-h);
    padding-top: 10.4px; padding-bottom: 10.4px; white-space: normal; text-align: center;
  }
}
