/* ==================================================================
   BCB — "Inside Our Offices" page CSS
   ------------------------------------------------------------------
   A photo-led tour of a typical BCB office (photographed at Jones
   Road; captioned generically per Suzanne 2026-06-04). Sits on the
   sitewide v3 gradient canvas; photography floats in frosted rounded
   frames, with a guided walk-through of each kind of space, an
   animal-art signature band, and a closing gallery.

   Ported from the claude.ai/design handoff (design-references/
   inside-our-offices.css). Changes from the prototype:
   - Body scope rescoped page-offices -> page-inside-our-offices
     (matches the WP slug-driven body class).
   - Photo-frame shadow uses the sitewide token var(--shadow-photo)
     (canonical content-photo lift, shipped 2026-06-04) rather than a
     bespoke literal, so all site photography matches.
   - Baked-in defaults: generic captions (handled in markup), even-grid
     gallery, shadow frames, guided space labels on. The prototype's
     tweak-panel hooks (.io--ring / .io--no-labels / .io--generic-caps /
     .io--grid-even) are dropped.

   Load order:  colors_and_type.css -> nav.css -> inside-our-offices.css
   ================================================================== */

body.page-inside-our-offices {
  font-family: var(--font-sans);
  color: var(--navy-600);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  /* Navy-ending page ombre, SCROLL-attached (the `background` shorthand resets
     the sitewide `background-attachment: fixed`). This anchors the navy
     (#1F2D40 at 100%) to the PAGE bottom so it meets the footer cleanly and
     does not shift while scrolling -- same pattern as the location pages
     (body.lp-bg). DEPLOYED 2026-06-04. NOTE: do NOT roll this to other pages
     yet -- Suzanne is refining the approach with claude.ai/design (backlog). */
  background: var(--grad-page-v3) no-repeat;
  background-attachment: fixed;  /* scroll override RETIRED 2026-06-05 — footer dissolve now via the Case-A global ombré blend (opt-in in footer.css) */
}
body.page-inside-our-offices img { max-width: 100%; display: block; }

/* Anchor targets clear the fixed nav + hub-subnav strip. */
body.page-inside-our-offices [id] { scroll-margin-top: 150px; }

/* ─── Reading primitives (page-scoped) ─────────────────────────── */
body.page-inside-our-offices .io-sec { padding: clamp(40px, 5.4vw, 72px) 24px; background: transparent; }
body.page-inside-our-offices .io-sec--sm { padding: clamp(28px, 3.6vw, 48px) 24px; }
body.page-inside-our-offices .io-inner { max-width: 1180px; margin: 0 auto; }
body.page-inside-our-offices .io-inner--prose { max-width: 720px; margin: 0 auto; }

.io-eyebrow {
  font-family: var(--font-accent);
  font-weight: 700; font-size: 13px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pink-600);
  margin: 0 0 14px;
}
.io-h {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(25px, 2.9vw, 36px);
  line-height: 1.13; letter-spacing: -0.02em;
  color: var(--navy-700);
  margin: 0 0 16px;
  text-wrap: balance;
}
.io-h em { font-style: normal; color: var(--pink-600); }
.io-body {
  font-size: clamp(16px, 1.05vw, 17.5px);
  line-height: 1.72;
  color: var(--navy-600);
  margin: 0;
  text-wrap: pretty;
}
.io-body + .io-body { margin-top: 1.05em; }
.io-body strong { color: var(--navy-700); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   PHOTO FRAME — shared figure styling for every photograph
   ══════════════════════════════════════════════════════════════ */
.io-frame { margin: 0; position: relative; }
.io-frame img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-photo);
  transition: box-shadow var(--dur-base) var(--ease-out);
}

/* Caption — small mono line under a photo (generic, per Suzanne) */
.io-cap {
  margin: 11px 2px 0;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.01em; line-height: 1.5;
  color: var(--navy-400);
  display: flex; align-items: center; gap: 7px;
}
.io-cap::before {
  content: "";
  width: 6px; height: 6px; flex: none;
  border-radius: 1.5px; transform: rotate(45deg);
  background: var(--pink-400);
}

/* ══════════════════════════════════════════════════════════════
   HERO — text + framed photo, with on-this-page chips
   ══════════════════════════════════════════════════════════════ */
.io-hero {
  background: transparent;
  padding: clamp(22px, 3.4vw, 44px) 24px clamp(14px, 2.2vw, 26px);
}
.io-hero__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 52px);
  align-items: center;
}
@media (min-width: 920px) {
  .io-hero__inner { grid-template-columns: 1.02fr 0.98fr; }
}
.io-hero__h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(33px, 4.6vw, 58px);
  line-height: 1.05; letter-spacing: -0.024em;
  color: var(--pink-500);
  margin: 0;
  text-wrap: balance;
}
.io-hero__h1 em { font-style: normal; color: var(--navy-700); }
.io-hero__lede {
  font-weight: 500;
  font-size: clamp(16.5px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--navy-600);
  margin: clamp(18px, 2vw, 26px) 0 0;
  max-width: 38em;
  text-wrap: pretty;
}
.io-hero__media { position: relative; }
.io-hero__media .io-frame img {
  height: clamp(280px, 40vw, 460px);
  object-fit: cover;
  object-position: 50% 60%;
}

/* On-this-page chips */
.io-toc {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 9px;
  margin-top: clamp(18px, 2.2vw, 26px);
}
.io-toc__label {
  font-family: var(--font-accent);
  font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-400);
  flex-basis: 100%;
  margin: 0 0 8px;
}
.io-toc__chip {
  font-family: var(--font-sans);
  font-weight: 600; font-size: 13.5px;
  color: var(--navy-600);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(62, 80, 104, 0.14);
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.io-toc__chip:hover {
  background: #fff; color: var(--pink-600); border-color: var(--pink-200);
}

/* ══════════════════════════════════════════════════════════════
   INTRO LEAD + FEELING POINTS
   ══════════════════════════════════════════════════════════════ */
.io-intro { text-align: center; padding-bottom: clamp(8px, 1.4vw, 16px); }
.io-intro .io-lead {
  margin: 0 auto;
  max-width: 40ch;
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.5;
  color: var(--navy-700);
  text-wrap: balance;
}
.io-intro .io-lead em { font-style: normal; color: var(--pink-600); }

.io-points {
  margin-top: clamp(28px, 3.4vw, 44px);
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .io-points { grid-template-columns: repeat(3, 1fr); } }
.io-point {
  background: var(--card-lift-bg);
  -webkit-backdrop-filter: var(--card-lift-blur); backdrop-filter: var(--card-lift-blur);
  box-shadow: var(--shadow-card-lift);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.2vw, 26px);
  text-align: left;
}
.io-point__ic {
  width: 42px; height: 42px; border-radius: var(--radius-pill);
  display: grid; place-items: center;
  background: var(--pink-50); color: var(--pink-600);
  margin-bottom: 14px;
}
.io-point__ic svg { width: 22px; height: 22px; display: block; }
.io-point h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px; line-height: 1.25;
  color: var(--navy-700); margin: 0 0 7px;
}
.io-point p {
  margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--navy-500);
}

/* ══════════════════════════════════════════════════════════════
   GUIDED WALK-THROUGH — alternating photo / copy rows
   ══════════════════════════════════════════════════════════════ */
.io-spaces { display: flex; flex-direction: column; gap: clamp(40px, 5.4vw, 76px); }
.io-space {
  display: grid; grid-template-columns: 1fr; gap: clamp(22px, 3vw, 46px);
  align-items: center;
}
@media (min-width: 900px) {
  .io-space { grid-template-columns: 1.04fr 0.96fr; }
  .io-space--flip .io-space__media { order: 2; }
  .io-space--flip .io-space__text  { order: 1; }
}
.io-space__num {
  font-family: var(--font-accent);
  font-weight: 800; font-size: 13px; letter-spacing: 0.12em;
  color: var(--pink-400);
  margin: 0 0 10px;
}
.io-space__eyebrow {
  font-family: var(--font-accent);
  font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--pink-600);
  margin: 0 0 10px;
}
.io-space__text .io-h { font-size: clamp(23px, 2.6vw, 33px); }

/* media column: a main photo + an optional smaller detail beneath */
.io-space__media { display: flex; flex-direction: column; gap: 14px; }
.io-space__media .io-frame--main img { aspect-ratio: 3 / 2; object-fit: cover; }
.io-space__detail {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: end;
}
.io-space__detail .io-frame--main img { aspect-ratio: 4 / 3; }
.io-space__detail .io-frame--mini img { aspect-ratio: 3 / 4; object-fit: cover; }

/* mini feature list inside a space */
.io-flags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.io-flags li {
  position: relative; padding-left: 26px;
  font-size: 15.5px; line-height: 1.55; color: var(--navy-600);
}
.io-flags li::before {
  content: ""; position: absolute; left: 4px; top: 0.55em;
  width: 8px; height: 8px; background: var(--pink-400);
  border-radius: 2px; transform: rotate(45deg);
}
.io-flags li strong { color: var(--navy-700); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   EMOTIONAL BEAT — wide baby photo + pull-quote
   ══════════════════════════════════════════════════════════════ */
.io-beat .io-frame img {
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  object-fit: cover;
  object-position: 50% 42%;
}
.io-beat__quote {
  max-width: 760px; margin: clamp(24px, 3vw, 36px) auto 0;
  text-align: center;
}
.io-beat__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 34px);
  line-height: 1.28; letter-spacing: -0.018em;
  color: var(--navy-700);
  text-wrap: balance;
}
.io-beat__quote em { font-style: normal; color: var(--pink-500); }

/* ══════════════════════════════════════════════════════════════
   ANIMAL-ART SIGNATURE — frosted band, 3-up portraits
   ══════════════════════════════════════════════════════════════ */
.io-art__sheet {
  max-width: 1120px; margin: 0 auto;
  background: rgba(255, 253, 251, 0.86);
  -webkit-backdrop-filter: blur(10px) saturate(110%); backdrop-filter: blur(10px) saturate(110%);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-2xl);
  padding: clamp(28px, 4vw, 52px) clamp(22px, 4vw, 52px);
  box-shadow: 0 1px 3px rgba(31,45,64,.05), 0 22px 60px -22px rgba(31,45,64,.24);
}
.io-art__head { max-width: 640px; margin-bottom: clamp(24px, 3vw, 36px); }
.io-art__grid {
  display: grid; gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .io-art__grid { grid-template-columns: repeat(3, 1fr); } }
.io-art__grid .io-frame img { aspect-ratio: 3 / 4; object-fit: cover; }
.io-art__note {
  margin: clamp(22px, 2.6vw, 30px) 0 0;
  font-size: 15px; line-height: 1.65; color: var(--navy-500);
  max-width: 64ch;
}
.io-art__note em { font-style: italic; }
.io-art__note a {
  font-style: normal;
  color: var(--pink-600);
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 99, 138, 0.3);
  padding-bottom: 1px;
  transition: color var(--dur-fast), border-color var(--dur-fast);
}
.io-art__note a:hover { color: var(--pink-700); border-color: var(--pink-500); }

/* ══════════════════════════════════════════════════════════════
   GALLERY — even grid (baked default)
   ══════════════════════════════════════════════════════════════ */
.io-gallery__head { text-align: center; margin-bottom: clamp(24px, 3vw, 38px); }
.io-gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) { .io-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .io-gallery { grid-template-columns: 1fr; } }
.io-gallery .io-frame img { border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }

/* ══════════════════════════════════════════════════════════════
   CTA — floating card on the navy gradient base
   ══════════════════════════════════════════════════════════════ */
.io-cta { padding: clamp(18px, 2.4vw, 32px) 24px clamp(48px, 6vw, 80px); }
.io-cta__inner {
  max-width: 680px; margin: 0 auto;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 54px) clamp(24px, 4vw, 48px);
  box-shadow: 0 1px 3px rgba(31,45,64,.08), 0 26px 60px -20px rgba(31,45,64,.4);
}
.io-cta .io-eyebrow { color: var(--pink-600); }
.io-cta__title {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(26px, 3vw, 40px);
  line-height: 1.12; letter-spacing: -0.02em;
  color: var(--pink-500); margin: 0 0 14px; text-wrap: balance;
}
.io-cta__body { margin: 0 auto; max-width: 48ch; font-size: clamp(16px, 1.05vw, 17.5px); line-height: 1.65; color: var(--navy-600); }
.io-cta__buttons {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin: clamp(24px, 2.8vw, 32px) auto 0;
}
.io-cta__note { margin: 18px 0 0; font-size: 13.5px; color: var(--navy-400); }
.io-cta__note a { color: var(--pink-600); text-decoration: none; border-bottom: 1px solid rgba(194,99,138,.3); padding-bottom: 1px; }
.io-cta__note a:hover { color: var(--pink-700); border-color: var(--pink-500); }

/* ─── Mobile refinements ───────────────────────────────────────── */
@media (max-width: 700px) {
  .io-space__detail { grid-template-columns: 1.3fr 1fr; }
}

/* ── QA 2026-06-15 (Suzanne QA – Location Pages) ──
   Remove the numbered section badges (01–04) and the captions under photos. */
.io-space__num,
.io-cap { display: none; }
