/* Beyond the Scroll / Devon Hollawell. Scope all production styles to .bts. */
.bts {
  --ink: #1a131a; --muted: #5d4654; --paper: #fff8fa; --pink: #ff4d90;
  --berry: #963052; --blush: #ffe4ee; --peach: #ffdccd; --lilac: #ddd3fe;
  --line: #e6cbd8; --radius: 1.15rem; color: var(--ink); background: var(--paper);
  font-family: var(--portfolio-font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
  font-size: 1rem; line-height: 1.62; color-scheme: light;
}
.bts, .bts *, .bts *::before, .bts *::after { box-sizing: border-box; }
.bts :where(p,h1,h2,h3,figure,dl,dd,ol,ul) { margin: 0; }
.bts :where(h1,h2,h3) { font-family: var(--portfolio-font-display, inherit); line-height: 1.02; text-wrap: balance; font-weight: 800; }
.bts h2 { font-size: clamp(1.95rem, 5vw, 4rem); letter-spacing: -.06em; max-width: 19ch; }
.bts h3 { font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: -.03em; }
.bts a { color: #7f2446; text-underline-offset: .17em; text-decoration-thickness: .09em; }
.bts a:hover { text-decoration-thickness: .18em; }
.bts a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.bts :where([id]) { scroll-margin-top: var(--portfolio-scroll-offset, 5rem); }
.bts-wrap { width: min(calc(100% - clamp(2rem, 8vw, 8rem)), 71rem); margin-inline: auto; }
.bts-kicker { font-size: .75rem; text-transform: uppercase; font-weight: 800; letter-spacing: .12em; color: var(--berry); margin-block-end: .8rem; }
.bts-hero { background: #191119; color: #fff6fa; padding-block: clamp(3.25rem, 8vw, 7rem); }
.bts-hero-grid { display: grid; grid-template-columns: minmax(0, 1.13fr) minmax(0, .87fr); gap: clamp(1.75rem, 6vw, 5.5rem); align-items: center; }
.bts-hero .bts-kicker { color: #ffadcb; margin-block-end: 1.7rem; }
.bts-brand { color: #f4d0e2; font-size: .94rem; margin-block-end: .85rem; }
.bts h1 { font-size: clamp(3rem, 8.3vw, 8rem); line-height: .86; letter-spacing: -.092em; }
.bts h1 span { color: #ff75a7; }
.bts-intro { font-size: clamp(1.13rem, 2.3vw, 1.55rem); max-width: 29ch; margin-block-start: 1.45rem; }
.bts-label { color: #eccbdc; font-size: .87rem; max-width: 38ch; margin-block-start: .8rem; }
.bts-jump { margin-block-start: 1.45rem; }
.bts-jump a { display: inline-flex; gap: .55em; align-items: center; min-height: 44px; background: #ff9dbf; color: #1a131a; font-weight: 800; border-radius: 99px; padding: .55rem 1.1rem; text-decoration: none; }
.bts-jump a:hover { background: #ffbbd2; }
.bts a:focus-visible { outline-color: #a82d5c; }
.bts-hero a:focus-visible { outline-color: #fff6fa; }
.bts-art-stage { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 5 / 5.4; border: 1px solid #ff9fbb; border-radius: var(--radius); background: linear-gradient(150deg, #ffd6e3, #f983b5 53%, #976dbc); }
.bts-art figcaption { margin-block-start: .55rem; font-size: .8rem; color: #eac6d8; }
.bts-orb { position: absolute; width: 75%; aspect-ratio: 1; right: -7%; top: -6%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #ffe9ca, #fabcdf 62%, #ca93c0); box-shadow: 0 1.25rem 3rem #7c28545c; }
.bts-tube { position: absolute; width: 18%; height: 60%; border-radius: 30% 30% 16% 16% / 7% 7% 7% 7%; box-shadow: 0 1rem 2rem #6e214167; transform-origin: center; }
.bts-tube-a { top: 16%; right: 17%; transform: rotate(23deg); background: linear-gradient(95deg,#57264a,#a25887 23%,#e2a5c7 52%,#713a66 93%); }
.bts-tube-b { top: 30%; right: 35%; transform: rotate(23deg); background: linear-gradient(95deg,#a35469,#ffb5c0 32%,#ffe1c9 58%,#a95965 97%); }
.bts-tube-c { top: 40%; right: 12%; transform: rotate(23deg); background: linear-gradient(95deg,#8b264a,#fb5f9e 30%,#ffb1ce 55%,#ad3861 97%); }
.bts-tube::before { content: ""; position: absolute; inset: 0 0 auto; height: 32%; background: linear-gradient(90deg,#271623,#604057 37%,#2f1b2b 91%); border-radius: 15% 15% 2% 2%; }
.bts-art-index, .bts-art-title { position: absolute; left: 7%; color: #21101d; font-weight: 900; }
.bts-art-index { top: 6%; font-size: .8rem; letter-spacing: .14em; }
.bts-art-title { bottom: 6%; font-size: clamp(2.3rem, 5.5vw, 5rem); line-height: .82; letter-spacing: -.09em; }
.bts-facts { display: grid; grid-template-columns: 1fr 1.55fr 1fr; padding-block: 1.55rem; gap: 1.2rem; border-bottom: 1px solid var(--line); }
.bts-facts dt, .bts-metrics dt { font-size: .78rem; font-weight: 850; color: var(--berry); text-transform: uppercase; letter-spacing: .09em; }
.bts-facts dd { margin-block-start: .25rem; }
.bts-section { padding-block: clamp(2.6rem, 5.6vw, 5.1rem); }
.bts-section + .bts-section { border-top: 1px solid var(--line); }
.bts-editorial { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(1.1rem,6vw,5.4rem); }
.bts-editorial div:last-child p + p { margin-block-start: .8rem; }
.bts-grid, .bts-journey { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; list-style: none; padding: 0; margin-block-start: 1.5rem; }
.bts-grid > *, .bts-journey > * { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.02rem,2.3vw,1.55rem); min-width: 0; }
.bts-grid li p:not(.bts-kicker), .bts-grid dd p { margin-block-start: .55rem; }
.bts-compare > :nth-child(1), .bts-pilot > :nth-child(1) { background: var(--blush); }
.bts-compare > :nth-child(2), .bts-pilot > :nth-child(2) { background: var(--lilac); }
.bts-compare > :nth-child(3), .bts-pilot > :nth-child(3) { background: var(--peach); }
.bts-note { margin-block-start: 1.1rem; color: var(--muted); max-width: 76ch; }
.bts-glow { padding-block: clamp(2.7rem,6vw,5.6rem); background: var(--blush); }
.bts-glow h2 { max-width: none; font-size: clamp(3rem,9vw,6.8rem); }
.bts-glow h2 span { color: #bd285a; }
.bts-lede { font-size: 1.27rem; font-weight: 780; margin-block-start: .55rem; }
.bts-measure { max-width: 66ch; margin-block-start: .68rem; }
.bts-journey { grid-template-columns: repeat(4,minmax(0,1fr)); }
.bts-journey > * { background: #fff8fa; }
.bts-journey li > span { display: block; color: var(--berry); font-weight: 900; font-size: .82rem; }
.bts-journey strong { display: block; margin-block: .25rem; }
.bts-metrics > :nth-child(2) { background: var(--blush); border-color: #d96c97; }
.bts-metrics dd > strong { display: block; font-size: clamp(1.05rem,2vw,1.42rem); margin-block-start: .45rem; line-height: 1.25; }
.bts-close { border-top: 1px solid var(--line); padding-block: 2rem 3.2rem; }
.bts-close p { font-size: clamp(1.35rem,3.6vw,2.3rem); font-weight: 780; line-height: 1.2; max-width: 34ch; letter-spacing: -.035em; }
.bts-close > span { display: block; color: var(--muted); font-size: .88rem; margin-block-start: .85rem; }
@media (max-width: 850px) {
  .bts-journey { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 670px) {
  .bts-hero-grid, .bts-editorial, .bts-grid { grid-template-columns: minmax(0,1fr); }
  .bts-facts { grid-template-columns: minmax(0,1fr); gap: .8rem; }
  .bts h1 { font-size: clamp(3rem, 14vw, 6rem); }
  .bts-art-stage { aspect-ratio: 5 / 3.6; }
  .bts-art-title { font-size: clamp(2.15rem, 10vw, 4rem); }
  .bts-art { max-width: 30rem; }
}
@media (max-width: 370px) {
  .bts-journey { grid-template-columns: minmax(0,1fr); }
}
/* Optional replacement for the CSS illustration, using an approved local export. */
.bts-art-image { display: block; inline-size: 100%; block-size: auto; border-radius: var(--radius); border: 1px solid #ff9fbb; }

/* ── Portfolio integration (devonhollawell.com) ──
   Site fonts, 16px minimum for readable text, fixed-nav offset. */
.bts {
  --portfolio-font-display: 'Very Vogue', 'Playfair Display', Georgia, serif;
  --portfolio-font-body: 'Helvetica Now Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --portfolio-scroll-offset: 8rem;
}
.bts :where(h1,h2,h3) { font-weight: 400; }
.bts h1 { font-style: italic; letter-spacing: -.035em; line-height: .84; }
.bts h2 { letter-spacing: -.03em; }
.bts h3 { font-size: clamp(1.4rem, 2.4vw, 1.65rem); letter-spacing: .005em; line-height: 1.1; }
.bts-glow h2 { font-style: italic; }
.bts-hero { padding-block-start: calc(clamp(3.25rem, 8vw, 7rem) + 88px); }
.bts-kicker, .bts-brand, .bts-label, .bts-art figcaption, .bts-facts dt, .bts-metrics dt,
.bts-journey li > span, .bts-close > span, .bts-art-index { font-size: 1rem; }
/* Jump-link target is the h2; leave room above it for its kicker under the fixed nav */
.bts-glow h2 { scroll-margin-top: calc(var(--portfolio-scroll-offset) + 3rem); }
@media (max-width: 900px) { .bts { --portfolio-scroll-offset: 10rem; } }

/* ── Deck visuals: social-to-search loop + Glow Lab concept figure ── */
.bts-art figcaption { color: #eac6d8; }
.bts-loop { margin-block-start: 1.6rem; }
.bts-loop ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; counter-reset: none; }
.bts-loop li { position: relative; padding: 1.1rem 1.2rem 1.2rem; border: 1px solid var(--ink); border-radius: var(--radius); min-width: 0; }
.bts-loop li:nth-child(3n+1) { background: #ff5c9a; }
.bts-loop li:nth-child(3n+2) { background: #cdbcff; }
.bts-loop li:nth-child(3n+3) { background: #ffc9a8; }
.bts-loop li span { display: inline-block; font-size: 1rem; font-weight: 800; color: #fff8fa; background: var(--ink); border-radius: 6px; padding: .05rem .5rem; margin-block-end: .55rem; }
.bts-loop li strong { display: block; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.2; }
.bts-loop li em { display: block; font-style: normal; margin-block-start: .25rem; }
.bts-glow-figure { margin-block-start: 1.8rem; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.2rem); align-items: end; }
.bts-glow-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid #d96c97; }
.bts-glow-figure figcaption { font-size: 1.1rem; }
.bts-glow-figure figcaption span { display: block; margin-block-start: .6rem; font-size: 1rem; color: var(--muted); }
@media (max-width: 850px) { .bts-loop ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 670px) {
  .bts-loop ol, .bts-glow-figure { grid-template-columns: minmax(0, 1fr); }
}
