/* Homepage collage layer: the paper-collage kit from the Instagram set (duotone + halftone photos, index cards,
   ticket stubs, crop marks), kept on a strict grid. Photos: public domain / CC0, see /collage/web/CREDITS.txt */
body.home {
  --c-ink: #15161f; --c-paper: #f6f1e7; --c-cream: #fbfaf6; --c-peach: #f0a07a; --c-lav: #a996f0;
  --c-mint: #5cc3a8; --c-gold: #f3cf86;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ruled: linear-gradient(90deg, transparent 22px, rgba(217, 85, 59, .5) 22px, rgba(217, 85, 59, .5) 23.5px, transparent 23.5px),
    repeating-linear-gradient(180deg, transparent 0 27px, rgba(80, 130, 190, .26) 27px 28.5px);
  --lift: 0 14px 32px rgba(21, 22, 31, .18);
}

/* ---------- kit ---------- */
body.home .duo { position: absolute; overflow: hidden; isolation: isolate; background: var(--tint, var(--c-lav)); }
body.home .duo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.25) brightness(1.05); mix-blend-mode: multiply; }
body.home .halftone::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: multiply;
  background: radial-gradient(rgba(21, 22, 31, .26) 1px, transparent 1.4px) 0 0 / 6px 6px; }

/* one label per section: number tab + name */
body.home .hx-num { display: inline-flex; align-items: center; gap: 10px; }
body.home .hx-num b { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; background: var(--c-ink); color: var(--c-cream); font: 500 11px/1 var(--mono); letter-spacing: .06em; }
body.home .ink-section .hx-num b { background: var(--c-cream); color: var(--c-ink); }

/* ---------- hero ---------- */
body.home .hero-v2 { position: relative; background: var(--c-paper); padding: clamp(40px, 7vh, 72px) 0 clamp(56px, 9vh, 88px); overflow: hidden; }
body.home .hero-v2::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: multiply; background-image: var(--grain); }
body.home .hero-v2 .grain { display: none; }
body.home .hero-v2 .wrap { max-width: 1180px; }
body.home .hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; text-align: left; }
body.home .hero-v2 h1 { font-size: min(5.2vw, 10.5vh); line-height: .98; letter-spacing: -.035em; }
body.home .hero-v2 .lede { margin: clamp(18px, 3vh, 26px) 0 0; max-width: 44ch; font-size: clamp(17px, 1.3vw, 19px); text-wrap: pretty; }
body.home .hero-v2 .cta-row { align-items: flex-start; }
body.home .hero-v2 .cta-pair { justify-content: flex-start; }
body.home .hero-v2 .cta-ask { text-align: left; }
body.home .hero-v2 .btn { padding: 17px 24px; font-size: 16px; }
body.home .hero-v2 .btn.ghost { background: rgba(255, 255, 255, .5); }
body.home .hero-v2 .eyebrow { justify-content: flex-start; }
/* claim on one line, the small print on the next (no orphaned word, no dangling separator) */
body.home .hero-v2 .cta-note { width: auto; text-align: left; }
body.home .hero-v2 .cta-note .sep { display: none; }
body.home .hero-v2 .cta-note b, body.home .hero-v2 .cta-note span { display: block; }
body.home .hero-v2 .cta-note span { margin-top: 4px; }

body.home .hx-crop { position: absolute; z-index: 3; width: 18px; height: 18px; border-color: var(--c-ink); opacity: .35; }
body.home .hx-crop.tl { left: 16px; top: 16px; border-left: 1.5px solid; border-top: 1.5px solid; }
body.home .hx-crop.tr { right: 16px; top: 16px; border-right: 1.5px solid; border-top: 1.5px solid; }
body.home .hx-crop.bl { left: 16px; bottom: 16px; border-left: 1.5px solid; border-bottom: 1.5px solid; }
body.home .hx-crop.br { right: 16px; bottom: 16px; border-right: 1.5px solid; border-bottom: 1.5px solid; }

/* stage: 4 pieces, one dominant photo, small tilts */
body.home .hx-stage { position: relative; width: 100%; aspect-ratio: 1 / .96; }
body.home .hx-stage > * { position: absolute; animation: hx-in .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 120ms + 200ms); }
@keyframes hx-in { from { opacity: 0; translate: 0 14px; } }
body.home .hx-p1 { --d: 0; left: 0; top: 8%; width: 78%; aspect-ratio: 1.27; box-shadow: var(--lift); }
body.home .hx-p2 { --d: 1; right: 0; top: 0; width: 38%; rotate: 3deg; z-index: 2; background: var(--c-cream); padding: 8px 8px 30px; box-shadow: var(--lift); }
body.home .hx-p2 img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.15); }
body.home .hx-p2 span { position: absolute; left: 10px; bottom: 10px; font: 500 10px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
body.home .hx-tape { position: absolute; left: 33%; top: -11px; width: 34%; height: 22px; background: rgba(246, 241, 231, .75); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); rotate: -3deg; z-index: 2; }
body.home .hx-p3 { --d: 2; left: 8%; bottom: 0; width: 50%; aspect-ratio: 1.75; rotate: -1.5deg; z-index: 3; background-color: #fffdf7; background-image: var(--ruled); background-position: 0 0, 0 14px; box-shadow: var(--lift); }
body.home .hx-ct { position: absolute; left: 36px; top: 16px; font: 500 10px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
body.home .hx-cl { position: absolute; left: 36px; top: 38%; font: 400 clamp(22px, 2.4vw, 34px)/1 var(--serif); letter-spacing: -.02em; }
body.home .hx-cl2 { top: 66%; font-size: clamp(15px, 1.4vw, 20px); font-style: italic; }
body.home .hx-cl2 s { text-decoration: none; background: var(--c-ink); color: transparent; }
body.home .hx-p5 { --d: 3; right: 2%; bottom: 10%; z-index: 4; rotate: 2deg; padding: 12px 20px; background: var(--c-gold); box-shadow: 0 10px 22px rgba(21, 22, 31, .16);
  -webkit-mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 8px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 8px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
body.home .hx-p5 b { display: block; margin-bottom: 6px; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
body.home .hx-p5 span { font: 400 clamp(24px, 2.2vw, 32px)/1 var(--serif); letter-spacing: -.02em; }
@media (prefers-reduced-motion: reduce) { body.home .hx-stage > * { animation: none; } }

/* ---------- cutout collage stage: B&W cutouts standing on colour panels ---------- */
body.home .hx-cutstage { aspect-ratio: 1 / 1.02; }
body.home .hx-arch { position: absolute; display: block; border-radius: 999px 999px 10px 10px; }
body.home .hx-a1 { --d: 0; left: 0; bottom: 5%; width: 44%; height: 56%; background: var(--c-lav); }
body.home .hx-a2 { --d: 1; right: 1%; bottom: 0; width: 40%; height: 68%; background: var(--c-peach); }
body.home .hx-a3 { --d: 2; left: 36%; bottom: 5%; width: 17%; height: 30%; background: var(--c-mint); z-index: 0; }
body.home .hx-cut { z-index: 2; }
body.home .hx-cut img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.14) brightness(1.02);
  -webkit-filter: grayscale(1) contrast(1.14) brightness(1.02); }
/* figures break out above the arch tops: the cutout reads as the subject, the panel as ground */
body.home .hx-c1 { --d: 1; left: -2%; bottom: 5%; width: 54%; }
body.home .hx-c2 { --d: 2; right: -3%; bottom: 0; width: 49%; }
/* cards sit flat on the cutouts, no paper kit */
body.home .hx-cutstage .hx-p3 { --d: 3; left: 0; bottom: 0; width: 56%; aspect-ratio: auto; rotate: 0deg; z-index: 4;
  background: var(--c-cream); background-image: none; padding: 16px 18px; border-radius: 12px; box-shadow: 0 16px 36px rgba(21,22,31,.20); }
body.home .hx-cutstage .hx-p3 .hx-ct { position: static; display: block; left: auto; top: auto; margin-bottom: 7px; }
body.home .hx-cutstage .hx-p3 .hx-cl { position: static; display: block; left: auto; top: auto; font-size: clamp(19px, 2vw, 27px); }
body.home .hx-cutstage .hx-p3 .hx-cl2 { margin-top: 5px; font-size: clamp(13px, 1.2vw, 16px); }
body.home .hx-cutstage .hx-p5 { --d: 4; right: 1%; top: 4%; bottom: auto; z-index: 5; }
@media (max-width: 860px) {
  body.home .hx-cutstage { aspect-ratio: 1 / .88; }
  body.home .hx-cutstage .hx-p3 { width: 64%; padding: 13px 15px; }
}

/* ---------- tools strip: ink band ---------- */
body.home .tools { position: relative; background: var(--c-ink); border: 0; padding: 26px 0 30px; }
body.home .tools-label { color: rgba(251, 250, 246, .55); }
body.home .marquee-track span { color: var(--c-cream); background: transparent; border: 1px solid rgba(251, 250, 246, .2); border-radius: 3px; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
body.home .marquee-track svg, body.home .marquee-track span:hover svg { fill: var(--c-gold); }

/* ---------- paper on the lower sections, one print each ---------- */
body.home main > section#fit, body.home main > section#faq, body.home main > section#closed { position: relative; background: var(--c-paper); }
body.home #fit::after, body.home #faq::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: multiply; background-image: var(--grain); }
body.home #fit > *:not(.hc-side), body.home #faq > *:not(.hc-side) { position: relative; z-index: 1; }
body.home .hc-side { position: absolute; right: max(24px, calc((100vw - 1180px) / 2)); top: 72px; width: 170px; rotate: 3deg; background: var(--c-cream); padding: 7px 7px 26px; box-shadow: var(--lift); z-index: 2; pointer-events: none; }
body.home .hc-side img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.15); }
body.home .hc-side span { position: absolute; left: 9px; bottom: 9px; font: 500 9.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c-ink); }
body.home .hc-side .hx-tape { width: 40%; top: -10px; height: 20px; }
body.home .hc-side.l { right: auto; top: auto; bottom: 64px; left: max(24px, calc((100vw - 1180px) / 2)); rotate: -3deg; }
/* cutout variant: no paper frame, figure stands on a small colour arch */
body.home .hc-side.hc-cut { width: 182px; rotate: 0deg; background: none; padding: 0; box-shadow: none; }
body.home .hc-side.hc-cut .hc-arch { position: absolute; left: 10%; bottom: 0; width: 80%; height: 62%; border-radius: 999px 999px 8px 8px; z-index: 0; }
body.home .hc-side.hc-cut img { position: relative; z-index: 1; filter: grayscale(1) contrast(1.14) brightness(1.02); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  body.home .hc-side { display: none; }
}
@media (max-width: 880px) {
  body.home .hero-grid { grid-template-columns: minmax(0, 1fr); }
  body.home .hero-v2 h1 { font-size: 11.4vw; }
  body.home .hx-stage { width: min(100%, 520px); margin-top: 4px; }
}
@media (max-width: 560px) {
  body.home .hero-v2 .btn { width: 100%; }
  body.home .hx-ct, body.home .hx-cl { left: 30px; }
  body.home .hx-p2 { padding-bottom: 24px; }
  body.home .hx-p2 span { left: 8px; bottom: 8px; white-space: nowrap; font-size: 8px; letter-spacing: .04em; }
}
