/* ============================================================
   interludes.css  ·  ROUND 6
   Self-contained "interlude band" family — loose, photographic
   sections that break the rigid grid and give the site a
   human, family-run feel.

   Loaded LAST on EVERY page. Own --il-* vars (literal fallbacks),
   never depends on a page bundle.

   Round 6 changes (per client):
     - NO small heading / kicker above the title (hidden globally)
     - NO beige backgrounds — white + navy only (+ faint cool tint)
     - LARGER images everywhere, desktop AND mobile
     - room for MORE images (sx cluster up to 6, wider scrapbook)

   Variants:  A .sx-band  ·  B .holiday-band  ·  C .scrapbook
   Modifiers: .dark / .tone-navy  ·  .rev / .flip  ·  .tone-soft
   ============================================================ */

.sx-band,
.holiday-band,
.scrapbook {
  --il-navy:      #0f2747;
  --il-navy-deep: #0a1c36;
  --il-warm:      #c97a3f;
  --il-warm-soft: #e3a972;
  --il-gold:      #c98f3c;
  --il-soft:      #f3f6f9;   /* faint COOL tint — never beige */
  --il-ink:       #16202d;
  --il-ink-3:     #5c636c;
  --il-f-display: var(--f-display, "Archivo", "Hanken Grotesk", system-ui, sans-serif);
  --il-f-body:    var(--f-body, "Manrope", "Hanken Grotesk", system-ui, sans-serif);
  box-sizing: border-box;
}
.sx-band *,
.holiday-band *,
.scrapbook * { box-sizing: border-box; }

/* kicker / eyebrow KILLED globally — no small heading above the title */
.sx-kicker,
.holiday-band .kick,
.scrapbook .sb-kick { display: none !important; }

/* ============================================================
   A · .sx-band — pinned, tilted snapshot cluster (BIGGER)
   markup: .sx-wrap > .sx-grid > (.sx-copy + .sx-photos[p1..p6])
   ============================================================ */
.sx-band {
  position: relative;
  background: #fff;
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
}
.sx-band.dark      { background: var(--il-navy); }
.sx-band.tone-soft { background: var(--il-soft); }
.sx-wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.sx-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;   /* photos get more room */
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
}
.sx-band.rev .sx-grid   { grid-template-columns: 1.18fr 0.82fr; }
.sx-band.rev .sx-copy   { order: 2; }
.sx-band.rev .sx-photos { order: 1; }

.sx-copy h2 {
  font-family: var(--il-f-display);
  font-size: clamp(31px, 3.6vw, 54px);
  line-height: 1.0;
  letter-spacing: -0.032em;
  font-weight: 600;
  color: var(--il-ink);
  margin: 0;
}
.sx-copy h2 em { font-style: italic; font-weight: 300; color: var(--il-warm); }
.sx-band.dark .sx-copy h2 { color: #fff; }
.sx-band.dark .sx-copy h2 em { color: var(--il-warm-soft); }
.sx-copy p {
  margin: 18px 0 0;
  font-family: var(--il-f-body);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--il-ink-3);
  max-width: 44ch;
}
.sx-band.dark .sx-copy p { color: rgba(255,255,255,.8); }
.sx-copy .sx-sign {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--il-f-body);
  font-size: 14.5px;
  color: var(--il-ink);
  font-weight: 500;
}
.sx-band.dark .sx-copy .sx-sign { color: #fff; }
.sx-copy .sx-sign .dot { width: 30px; height: 1px; background: var(--il-warm); display: inline-block; }
.sx-cta {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--il-navy);
  color: #fff !important;
  padding: 14px 22px;
  border-radius: 8px;
  font-family: var(--il-f-body);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, gap .2s ease;
}
.sx-cta:hover { background: var(--il-warm); gap: 14px; }
.sx-band.dark .sx-cta { background: #fff; color: var(--il-navy) !important; }
.sx-band.dark .sx-cta:hover { background: var(--il-warm-soft); }

/* photo cluster — taller canvas, bigger snapshots, up to 6 */
.sx-photos {
  position: relative;
  height: clamp(440px, 42vw, 600px);
}
.sx-photos figure {
  position: absolute;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: 0 30px 60px -28px rgba(13,28,52,.6);
  background: #ccd6e2;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.sx-band.dark .sx-photos figure { border-color: #16335c; }
.sx-photos figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-photos .p1 { width: 55%; height: 68%; left: 0;    top: 9%;   transform: rotate(-3.5deg); z-index: 3; }
.sx-photos .p2 { width: 47%; height: 54%; right: 0;   top: 0;    transform: rotate(3deg);    z-index: 4; }
.sx-photos .p3 { width: 45%; height: 50%; right: 3%;  bottom: 0; transform: rotate(-2.5deg); z-index: 5; }
.sx-photos .p4 { width: 33%; height: 39%; left: 9%;   bottom: 1%; transform: rotate(4.5deg); z-index: 6; }
.sx-photos .p5 { width: 27%; height: 31%; left: 33%;  top: -1%;  transform: rotate(-5.5deg); z-index: 7; }
.sx-photos .p6 { width: 25%; height: 29%; right: 26%; bottom: 20%; transform: rotate(6deg);  z-index: 7; }
.sx-photos figure:hover { transform: rotate(0deg) scale(1.05); z-index: 9; }

@media (max-width: 860px) {
  .sx-grid, .sx-band.rev .sx-grid { grid-template-columns: 1fr; gap: 22px; }
  .sx-band.rev .sx-copy   { order: 1; }
  .sx-band.rev .sx-photos { order: 2; }
  .sx-photos {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .sx-photos figure {
    position: static;
    transform: none !important;
    width: auto !important; height: auto !important;
    aspect-ratio: 4/3;
    border-width: 5px;
    box-shadow: 0 16px 34px -18px rgba(13,28,52,.5);
  }
  .sx-photos figure:nth-child(odd)  { transform: rotate(-1.3deg) !important; }
  .sx-photos figure:nth-child(even) { transform: rotate(1.3deg) !important; }
  /* first photo spans full width = big hero snapshot */
  .sx-photos .p1 { grid-column: 1 / -1; aspect-ratio: 16/10; }
}

/* ============================================================
   B · .holiday-band — copy + irregular masonry scatter (BIGGER)
   markup: .wrap > .hb-inner > (.hb-copy + .hb-scatter[6 figures])
   ============================================================ */
.holiday-band {
  position: relative;
  background: #fff;
  padding: clamp(48px, 6vw, 96px) 0;
  overflow: hidden;
}
.holiday-band.tone-navy { background: var(--il-navy); color: #fff; }
.holiday-band.tone-soft { background: var(--il-soft); }
.holiday-band > .wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.holiday-band .hb-inner {
  display: grid;
  grid-template-columns: 0.82fr 1.28fr;    /* photos dominate */
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.holiday-band.flip .hb-inner   { grid-template-columns: 1.28fr 0.82fr; }
.holiday-band.flip .hb-copy    { order: 2; }
.holiday-band.flip .hb-scatter { order: 1; }

.holiday-band .hb-copy h2 {
  font-family: var(--il-f-display);
  font-size: clamp(31px, 3.7vw, 52px);
  line-height: 1.03;
  letter-spacing: -0.032em;
  font-weight: 600;
  margin: 0;
  color: var(--il-ink);
}
.holiday-band.tone-navy .hb-copy h2 { color: #fff; }
.holiday-band .hb-copy h2 em { font-style: italic; font-weight: 300; color: var(--il-warm); }
.holiday-band.tone-navy .hb-copy h2 em { color: var(--il-gold); }
.holiday-band .hb-copy p {
  margin: 18px 0 0;
  font-family: var(--il-f-body);
  font-size: 16.5px;
  line-height: 1.62;
  color: var(--il-ink-3);
  max-width: 46ch;
}
.holiday-band.tone-navy .hb-copy p { color: rgba(255,255,255,.82); }
.holiday-band .hb-copy .hb-link {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--il-f-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--il-navy);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  text-decoration: none;
  transition: gap .2s ease, color .2s ease;
}
.holiday-band.tone-navy .hb-copy .hb-link { color: #fff; }
.holiday-band .hb-copy .hb-link:hover { gap: 14px; color: var(--il-warm); }
.holiday-band.tone-navy .hb-copy .hb-link:hover { color: var(--il-gold); }

/* scattered photo cluster — bigger rows, slight tilts */
.hb-scatter {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(98px, 10vw, 138px);
  gap: clamp(10px, 1.1vw, 15px);
}
.hb-scatter figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 22px 48px -26px rgba(13,28,52,.5);
  background: #dde6f0;
}
.hb-scatter figure img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .9s ease;
}
.hb-scatter figure:hover img { transform: scale(1.06); }
.hb-scatter figure:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 4; transform: rotate(-1.5deg); }
.hb-scatter figure:nth-child(2) { grid-column: 2 / 4; grid-row: 1 / 3; }
.hb-scatter figure:nth-child(3) { grid-column: 2 / 3; grid-row: 3 / 6; transform: rotate(1.5deg); }
.hb-scatter figure:nth-child(4) { grid-column: 3 / 4; grid-row: 3 / 5; }
.hb-scatter figure:nth-child(5) { grid-column: 1 / 2; grid-row: 4 / 6; transform: rotate(1deg); }
.hb-scatter figure:nth-child(6) { grid-column: 3 / 4; grid-row: 5 / 6; transform: rotate(-1deg); }

@media (max-width: 900px) {
  .holiday-band .hb-inner,
  .holiday-band.flip .hb-inner { grid-template-columns: 1fr; gap: 26px; }
  .holiday-band.flip .hb-copy    { order: 0; }
  .holiday-band.flip .hb-scatter { order: 0; }
  .hb-scatter { grid-auto-rows: 96px; }
}
@media (max-width: 520px) {
  .hb-scatter { grid-auto-rows: 82px; gap: 9px; }
  .hb-scatter figure { transform: none !important; }
}

/* ============================================================
   C · .scrapbook — polaroid wall (BIGGER, more images)
   markup: .sb-wrap > (.sb-head) + .sb-wall > figure.sb-photo[]
   ============================================================ */
.scrapbook {
  position: relative;
  background: #fff;
  padding: clamp(48px, 6vw, 92px) 0;
  overflow: hidden;
}
.scrapbook.tone-navy { background: var(--il-navy); color: #fff; }
.scrapbook.tone-soft,
.scrapbook.tone-sand { background: var(--il-soft); }   /* tone-sand kept as alias, now COOL not beige */
.sb-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.sb-head {
  max-width: 640px;
  margin: 0 auto clamp(26px, 3.2vw, 46px);
  text-align: center;
}
.sb-head h2 {
  font-family: var(--il-f-display);
  font-size: clamp(29px, 3.5vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0;
  color: var(--il-ink);
}
.scrapbook.tone-navy .sb-head h2 { color: #fff; }
.sb-head h2 em { font-style: italic; font-weight: 300; color: var(--il-warm); }
.scrapbook.tone-navy .sb-head h2 em { color: var(--il-gold); }
.sb-head p {
  margin: 14px 0 0;
  font-family: var(--il-f-body);
  font-size: 16.5px;
  line-height: 1.58;
  color: var(--il-ink-3);
}
.scrapbook.tone-navy .sb-head p { color: rgba(255,255,255,.82); }

/* the wall — fewer, WIDER columns => bigger photos; reflows cleanly */
.sb-wall {
  columns: 3 300px;
  column-gap: clamp(18px, 2vw, 30px);
}
.sb-photo {
  break-inside: avoid;
  margin: 0 0 clamp(18px, 2vw, 30px);
  display: inline-block;
  width: 100%;
  background: #fff;
  padding: 11px 11px 0;
  border-radius: 4px;
  box-shadow: 0 20px 44px -22px rgba(13,28,52,.5), 0 2px 6px rgba(13,28,52,.08);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.scrapbook.tone-navy .sb-photo { background: #11335f; }
.sb-photo .ph { overflow: hidden; border-radius: 2px; background: #ccd6e2; }
.sb-photo .ph img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .9s ease;
}
.sb-photo figcaption {
  font-family: var(--il-f-body);
  font-size: 13px;
  letter-spacing: .01em;
  color: var(--il-ink-3);
  text-align: center;
  padding: 10px 4px 13px;
}
.scrapbook.tone-navy .sb-photo figcaption { color: rgba(255,255,255,.68); }
.sb-photo:nth-child(4n+1) .ph { aspect-ratio: 4/5; }
.sb-photo:nth-child(4n+2) .ph { aspect-ratio: 1/1; }
.sb-photo:nth-child(4n+3) .ph { aspect-ratio: 5/6; }
.sb-photo:nth-child(4n+4) .ph { aspect-ratio: 4/3; }
.sb-photo:nth-child(6n+1) { transform: rotate(-2.2deg); }
.sb-photo:nth-child(6n+2) { transform: rotate(1.8deg); }
.sb-photo:nth-child(6n+3) { transform: rotate(-1.1deg); }
.sb-photo:nth-child(6n+4) { transform: rotate(2.4deg); }
.sb-photo:nth-child(6n+5) { transform: rotate(-1.7deg); }
.sb-photo:nth-child(6n+6) { transform: rotate(1.1deg); }
.sb-photo:hover {
  transform: rotate(0deg) scale(1.035);
  box-shadow: 0 28px 58px -22px rgba(13,28,52,.56), 0 3px 8px rgba(13,28,52,.1);
  z-index: 2;
  position: relative;
}
.sb-photo:hover .ph img { transform: scale(1.05); }

@media (max-width: 900px) { .sb-wall { columns: 2 240px; } }
@media (max-width: 620px) {
  .sb-wall { columns: 2 150px; column-gap: 14px; }
  .sb-photo { margin-bottom: 14px; padding: 8px 8px 0; }
  .sb-photo figcaption { font-size: 12px; padding: 8px 2px 10px; }
}
@media (max-width: 430px) {
  .sb-wall { columns: 1; }   /* big full-width photos on small phones */
  .sb-photo { transform: none !important; margin-bottom: 16px; }
}

/* ============================================================
   D · .cove-life — FULL-WIDTH holiday band (NOT left/right)
   Light-blue, centered heading, edge-to-edge justified photo
   montage with many images + hand-placed tilts.
   markup: .cl-wrap > .cl-head(h2,p) + .cl-strip > figure[]
   ============================================================ */
.cove-life {
  --il-sky:      #e6f1fb;
  --il-sky-deep: #d3e6f7;
  --il-navy:     #0f2747;
  --il-warm:     #c97a3f;
  --il-ink:      #16202d;
  --il-ink-3:    #4f5a67;
  --il-f-display: var(--f-display, "Archivo", "Hanken Grotesk", system-ui, sans-serif);
  --il-f-body:    var(--f-body, "Manrope", "Hanken Grotesk", system-ui, sans-serif);
  box-sizing: border-box;
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, var(--il-sky) 0%, var(--il-sky-deep) 100%);
  padding: clamp(46px, 5.6vw, 88px) 0 clamp(50px, 6vw, 96px);
  overflow: hidden;
}
.cove-life * { box-sizing: border-box; }
.cove-life .sx-kicker, .cove-life .cl-kick { display: none !important; }
.cove-life .cl-wrap { max-width: 1340px; margin: 0 auto; padding: 0 24px; }
.cove-life .cl-head {
  max-width: 720px;
  margin: 0 auto clamp(30px, 3.6vw, 52px);
  text-align: center;
}
.cove-life .cl-head h2 {
  font-family: var(--il-f-display);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.033em;
  font-weight: 600;
  color: var(--il-navy);
  margin: 0;
}
.cove-life .cl-head h2 em { font-style: italic; font-weight: 300; color: var(--il-warm); }
.cove-life .cl-head p {
  margin: 16px auto 0;
  max-width: 56ch;
  font-family: var(--il-f-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--il-ink-3);
}
/* justified montage — flex rows that stretch edge to edge */
.cove-life .cl-strip {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, 1vw, 15px);
  justify-content: center;
  align-items: stretch;
}
.cove-life .cl-strip figure {
  position: relative;
  margin: 0;
  height: clamp(150px, 17vw, 232px);
  flex: 1 1 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 20px 44px -24px rgba(13,28,52,.45);
  background: #cbdaea;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.cove-life .cl-strip figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* varied widths => organic justified look */
.cove-life .cl-strip figure:nth-child(1) { flex-basis: 320px; }
.cove-life .cl-strip figure:nth-child(2) { flex-basis: 220px; }
.cove-life .cl-strip figure:nth-child(3) { flex-basis: 280px; }
.cove-life .cl-strip figure:nth-child(4) { flex-basis: 200px; }
.cove-life .cl-strip figure:nth-child(5) { flex-basis: 300px; }
.cove-life .cl-strip figure:nth-child(6) { flex-basis: 230px; }
.cove-life .cl-strip figure:nth-child(7) { flex-basis: 270px; }
.cove-life .cl-strip figure:nth-child(8) { flex-basis: 250px; }
/* hand-placed tilts */
.cove-life .cl-strip figure:nth-child(3n+1) { transform: rotate(-1.3deg); }
.cove-life .cl-strip figure:nth-child(3n+2) { transform: rotate(1.1deg); }
.cove-life .cl-strip figure:nth-child(3n+3) { transform: rotate(-0.6deg); }
.cove-life .cl-strip figure:hover { transform: rotate(0deg) scale(1.04); z-index: 3; }

@media (max-width: 760px) {
  /* becomes a swipeable single-height rail on phones */
  .cove-life .cl-strip {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    padding: 4px 24px 6px;
    margin: 0 -24px;
    gap: 12px;
  }
  .cove-life .cl-strip::-webkit-scrollbar { display: none; }
  .cove-life .cl-strip figure {
    flex: 0 0 76% !important;
    height: 220px;
    scroll-snap-align: center;
    transform: none !important;
    border-width: 4px;
  }
}

/* ============================================================
   Scrapbook SWITCHER — category tabs filtering .sb-photo[data-cat]
   markup: .sb-head + .sb-tabs > button.sb-tab[data-cat] + .sb-wall
   ============================================================ */
.sb-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin: 0 auto clamp(26px, 3vw, 40px);
  max-width: 900px;
}
.sb-tab {
  font: 600 13.5px/1 var(--il-f-body, "Manrope", system-ui, sans-serif);
  cursor: pointer;
  border: 1px solid rgba(15,39,71,.16);
  background: #fff;
  color: #0f2747;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.sb-tab:hover { border-color: rgba(15,39,71,.4); transform: translateY(-1px); }
.sb-tab.is-active { background: #0f2747; color: #fff; border-color: #0f2747; }
.scrapbook.tone-navy .sb-tab { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.22); }
.scrapbook.tone-navy .sb-tab:hover { border-color: rgba(255,255,255,.5); }
.scrapbook.tone-navy .sb-tab.is-active { background: #fff; color: #0f2747; border-color: #fff; }
.sb-photo.is-hidden { display: none !important; }
.sb-photo { animation: sbfade .35s ease both; }
@keyframes sbfade { from { opacity: 0; transform: translateY(6px) scale(.985); } }

@media (prefers-reduced-motion: reduce) {
  .sx-photos figure, .sb-photo, .hb-scatter figure img, .sb-photo .ph img,
  .cove-life .cl-strip figure { transition: none; }
  .sb-photo { animation: none; }
}


/* ============================================================
   ROUND 6b — MOBILE: larger images for galleries + interlude
   (layout-breaking) sections.
   ============================================================ */
@media (max-width: 600px){
  /* cove-life swipe rail — bigger, taller */
  .cove-life .cl-strip figure{ flex:0 0 90% !important; height:300px !important; }
  /* scrapbook wall — single big column */
  .scrapbook .sb-wall{ columns:1 !important; }
  .scrapbook .sb-photo{ transform:none !important; margin-bottom:16px !important; }
  /* holiday-band scatter — taller rows */
  .holiday-band .hb-scatter{ grid-auto-rows:118px !important; gap:10px !important; }
  /* sx-band photos — bigger */
  .sx-band .sx-photos{ gap:14px !important; }
  .sx-band .sx-photos figure{ aspect-ratio:16/11 !important; }
  /* galleries turned into swipe rails — larger slides */
  .bd-swipe > *{ flex:0 0 90% !important; width:90% !important; max-width:90% !important; }
  .bd-swipe.gallery-grid > a{ aspect-ratio:3/2 !important; }
  .bd-swipe.ab-masonry > figure{ aspect-ratio:3/4 !important; }
}