/* ==========================================================================
   Beyond the Frame — Selfie section (scoped: everything lives under .sx)
   Selfie identity: paper #F7F2EF · ink #0F0F0F · orange #FF4E2A
   Bricolage Grotesque · Instrument Serif italic · JetBrains Mono
   ========================================================================== */
.sx {
  --sx-paper: #F7F2EF; --sx-paper-2: #EFE8E3; --sx-ink: #0F0F0F; --sx-ink-2: #2A2725;
  --sx-muted: #6E6661; --sx-line: rgba(15,15,15,.14); --sx-orange: #FF4E2A; --sx-orange-ink: #D93A19;
  --sx-blue: #1598F5; --sx-navy: #0B2D53;
  --sx-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sx-serif: "Instrument Serif", Georgia, serif;
  --sx-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --sx-ease: cubic-bezier(.2,.7,.1,1);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--sx-paper); color: var(--sx-ink);
  font-family: var(--sx-display); font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased; cursor: auto;
}
.sx *, .sx *::before, .sx *::after { box-sizing: border-box; }
.sx a, .sx button { cursor: pointer; }
.sx-wrap { max-width: 1360px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.sx h2, .sx h3, .sx p { margin: 0; font-family: inherit; color: inherit; letter-spacing: normal; text-transform: none; }
.sx em { font-family: var(--sx-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.sx-label { font-family: var(--sx-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--sx-muted); }
.sx-label .o { color: var(--sx-orange-ink); }
.sx-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sx-orange); vertical-align: 1px; margin-right: 8px; }
.sx-dot.b { background: var(--sx-blue); }

/* entering the Selfie world: the dark page "opens" onto paper */
.sx-edge { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--sx-line); }
.sx-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--sx-line); }
.sx-top img { height: 44px; width: auto; display: block; }
.sx-top .sx-label { text-align: right; }

/* headline + smile underline (from the Selfie logo) */
.sx-h { font-weight: 700; font-size: clamp(2.7rem, 7.2vw, 6.6rem); line-height: .92; letter-spacing: -.045em; }
.sx-h em { font-size: 1.04em; }
.sx-smile { position: relative; white-space: nowrap; display: inline-block; }
.sx-smile svg { position: absolute; left: -2%; width: 104%; bottom: -.2em; height: .36em; overflow: visible; pointer-events: none; }
.sx-smile path { fill: none; stroke: var(--sx-orange); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 1.1s var(--sx-ease) .3s; vector-effect: non-scaling-stroke; }
.sx.in .sx-smile path { stroke-dashoffset: 0; }
.sx-tag { font-weight: 600; font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.25; letter-spacing: -.015em; }
.sx-tag em { color: var(--sx-orange); }
.sx-lead { font-size: 1.06rem; line-height: 1.6; color: var(--sx-ink-2); max-width: 44ch; }

/* ecosystem statement */
.sx .sx-eco-line { font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.02; letter-spacing: -.035em; }
.sx-eco-line em { color: var(--sx-orange); }
.sx-eco-line .r { color: var(--sx-navy); }
.sx-pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--sx-line); }
.sx-pair > div { padding: 22px 28px 4px 0; }
.sx-pair > div + div { padding-left: 28px; border-left: 1px solid var(--sx-line); }
.sx-pair b { display: block; font-size: 1.05rem; letter-spacing: -.01em; margin: 10px 0 6px; }
.sx-pair p { color: var(--sx-ink-2); font-size: .98rem; line-height: 1.55; }
.sx .sx-note, .sx-note { font-family: var(--sx-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--sx-muted); }

/* three ways in (official Selfie Solutions) */
.sx-sol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sx-ink); }
.sx-sol li { display: grid; grid-template-columns: 70px minmax(150px, 1fr) 1.6fr; gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--sx-line); }
.sx-sol .n { font-family: var(--sx-mono); font-size: .72rem; color: var(--sx-orange-ink); letter-spacing: .08em; }
.sx-sol b { font-size: clamp(1.25rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.sx-sol b small { display: block; font-family: var(--sx-mono); font-weight: 500; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sx-muted); margin-bottom: 6px; }
.sx-sol p { color: var(--sx-ink-2); font-size: .98rem; line-height: 1.55; }

/* Selfie button */
.sx-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px; border-radius: 999px; background: var(--sx-ink); color: var(--sx-paper); font-family: var(--sx-display); font-weight: 600; font-size: 1rem; letter-spacing: -.005em; text-decoration: none; border: 1.5px solid var(--sx-ink); transition: background .25s, color .25s, border-color .25s, transform .25s var(--sx-ease); }
.sx-btn .sx-dot { margin: 0; transition: background .25s; }
.sx-btn span[aria-hidden] { display: inline-block; transition: transform .25s var(--sx-ease); }
.sx-btn:hover { background: var(--sx-orange); border-color: var(--sx-orange); color: #fff; }
.sx-btn:hover .sx-dot { background: #fff; }
.sx-btn:hover span[aria-hidden] { transform: translate(2px,-2px); }
.sx-btn:active { transform: translateY(1px); }
.sx-btn:focus-visible { outline: 2px solid var(--sx-orange); outline-offset: 3px; }
.sx-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.sx-cta .sx-note { max-width: 30ch; }

/* reveal */
.sx .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--sx-ease), transform .8s var(--sx-ease); }
.sx.in .rv { opacity: 1; transform: none; }
.sx.in .rv.d1 { transition-delay: .1s; } .sx.in .rv.d2 { transition-delay: .2s; } .sx.in .rv.d3 { transition-delay: .3s; }

/* ---------------- Proposal A · Minimal Editorial ---------------- */
.sx-a { padding: 0 0 clamp(90px, 10vw, 140px); }
.sx-a .sx-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 6vw, 110px); align-items: end; padding: clamp(64px, 8vw, 120px) 0 clamp(56px, 7vw, 96px); }
.sx-a .sx-right { display: grid; gap: 20px; padding-bottom: 8px; }
.sx-a .sx-eco { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 110px); padding: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--sx-ink); }
.sx-a .sx-eco-l { display: grid; gap: 22px; align-content: start; }
.sx-a .sx-ways { padding-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 110px); }
.sx-a .sx-ways-l { display: grid; gap: 18px; align-content: start; }
.sx-a .sx-ways-l h3 { font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.035em; line-height: 1.05; }
.sx-a .sx-end { margin-top: clamp(48px, 6vw, 72px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* ---------------- Proposal B · Creative Experience ---------------- */
.sx-b { padding: 0 0 clamp(90px, 10vw, 140px); }
.sx-marq { overflow: hidden; border-bottom: 1px solid var(--sx-line); padding: 14px 0; white-space: nowrap; }
.sx-marq-t { display: inline-flex; gap: 34px; align-items: center; animation: sxmarq 38s linear infinite; padding-left: 34px; }
.sx-marq span { font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: -.03em; }
.sx-marq span em { font-weight: 400; }
.sx-marq i { width: 8px; height: 8px; border-radius: 50%; background: var(--sx-orange); flex: none; }
@keyframes sxmarq { to { transform: translateX(-50%); } }
.sx-b .sx-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 5vw, 90px); align-items: center; padding: clamp(60px, 7vw, 110px) 0 clamp(40px, 5vw, 70px); }
.sx-b .sx-left { display: grid; gap: 22px; }
.sx-angle { position: relative; margin: 0; width: 100%; max-width: 380px; justify-self: end; aspect-ratio: 1; }
.sx-angle svg { width: 100%; height: 100%; overflow: visible; display: block; }
.sx-angle .t1 { fill: none; stroke: var(--sx-ink); stroke-width: 14; stroke-dasharray: 1.4 24.5; opacity: .4; }
.sx-angle .t2 { fill: none; stroke: var(--sx-ink); stroke-width: 6; stroke-dasharray: .9 8.7; opacity: .25; }
.sx-angle .base { stroke: var(--sx-ink); stroke-width: 1.5; }
.sx-angle .base.v { stroke-dasharray: 3 6; opacity: .5; }
.sx-angle .ray { stroke: var(--sx-ink); stroke-width: 3; stroke-linecap: round; }
.sx-angle .tip { fill: var(--sx-orange); }
.sx-angle .vx { fill: var(--sx-ink); }
.sx-angle .arc { fill: rgba(255,78,42,.16); stroke: var(--sx-orange); stroke-width: 2.5; }
.sx-angle figcaption { position: absolute; right: 0; top: 6px; display: grid; justify-items: end; gap: 2px; }
.sx-angle figcaption b { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.sx-angle figcaption .sx-label { color: var(--sx-orange-ink); }
/* flow: Strategy → AI → Creative → Automation → Growth */
.sx-flow { list-style: none; margin: 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; border-top: 1px solid var(--sx-line); }
.sx-flow::before { content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 100%; background: var(--sx-orange); transform-origin: 0 50%; transform: scaleX(0); transition: transform 2.2s var(--sx-ease) .4s; }
.sx.in .sx-flow::before { transform: scaleX(1); }
.sx-flow li { padding-right: 14px; }
.sx-flow .sx-label { color: var(--sx-orange-ink); }
.sx-flow b { display: block; font-size: clamp(1.05rem, 1.6vw, 1.35rem); letter-spacing: -.02em; margin-top: 6px; }
/* the ecosystem: a dark Ragalhães frame inside the Selfie page */
.sx-b .sx-eco { margin-top: clamp(56px, 7vw, 96px); display: grid; grid-template-columns: 1fr 1fr; border-radius: 4px; overflow: hidden; background: var(--sx-ink); color: var(--sx-paper); }
.sx-b .sx-eco figure { margin: 0; position: relative; min-height: 100%; }
.sx-b .sx-eco figure img { width: 100%; height: 100%; object-fit: cover; object-position: 35% 60%; display: block; aspect-ratio: 5 / 4; }
.sx-b .sx-eco figcaption { position: absolute; left: 18px; bottom: 16px; font-family: var(--sx-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: #F7F2EF; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.sx-b .sx-eco-r { padding: clamp(28px, 4vw, 56px); display: grid; gap: 22px; align-content: center; }
.sx-b .sx-eco-line .r { color: #6FB8F7; }
.sx-b .sx-eco-r p:not(.sx-eco-line):not(.sx-note):not(.b3-line) { color: rgba(247,242,239,.78); line-height: 1.6; }
.sx-b .sx-eco-r .sx-note { color: rgba(247,242,239,.55); }
.sx-b .sx-sol { margin-top: clamp(48px, 6vw, 80px); }
.sx-b .sx-end { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* responsive */
@media (max-width: 900px) {
  .sx-a .sx-grid, .sx-a .sx-eco, .sx-a .sx-ways, .sx-b .sx-grid, .sx-b .sx-eco { grid-template-columns: 1fr; }
  .sx-angle { max-width: 240px; justify-self: start; order: -1; }
  .sx-flow { grid-template-columns: repeat(5, minmax(110px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .sx-sol li { grid-template-columns: 44px 1fr; }
  .sx-sol li p { grid-column: 2; }
}
@media (max-width: 560px) {
  .sx-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .sx-top .sx-label { text-align: left; }
  .sx-top img { height: 36px; }
  .sx-pair { grid-template-columns: 1fr; }
  .sx-pair > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--sx-line); }
  .sx-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sx .rv { opacity: 1; transform: none; transition: none; }
  .sx-smile path { stroke-dashoffset: 0; transition: none; }
  .sx-marq-t { animation: none; }
  .sx-flow::before { transform: scaleX(1); transition: none; }
}

/* =================== Proposal B2 · Creative Experience, refined ===================
   Ragalhães night → dusk light → Selfie paper → dusk light → Ragalhães night.
   No drawn sun or horizon: only colour, light and the campaign photograph. */
.sx-b2 { background: var(--sx-paper); padding: 0; }
.b2-entry { position: relative; isolation: isolate; padding: clamp(70px, 9vw, 120px) 0 clamp(40px, 5vw, 64px);
  background: linear-gradient(180deg,
    #030B15 0%, #0B2D53 13%, #2C5A8F 26%, #5F7FA9 36%, #A495A6 47%, #D9A386 58%, #EDBF9C 67%, #F4DCC8 78%, var(--sx-paper) 90%); }
.b2-kicker { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; color: rgba(244,242,238,.78); margin-bottom: clamp(28px, 4vw, 44px); }
.b2-kicker .sx-label { color: inherit; }
.b2-kicker .sx-label b { color: #F4F2EE; font-weight: 500; }
.b2-photo { position: relative; margin: 0 auto; max-width: 1120px; }
.b2-photo img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 38% 58%; border-radius: 3px; display: block; }
/* the photograph's own warm light spills into the sky around it */
.b2-glow { position: absolute; inset: 4% -6% -2%; z-index: 0; background-size: cover; background-position: 38% 58%; filter: blur(64px) saturate(1.25); opacity: .6; transform: translateZ(0); pointer-events: none; }
.b2-photo figcaption { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.b2-photo figcaption .sx-label { color: var(--sx-ink-2); }

/* logos as part of the sentence */
.b2-eco { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 84px); }
.b2-lines { display: grid; grid-template-columns: auto 1fr; column-gap: clamp(16px, 2vw, 28px); row-gap: clamp(14px, 2vw, 22px); align-items: center; max-width: 980px; margin: 0 auto; }
.b2-logo { justify-self: end; display: flex; align-items: center; }
.b2-logo img { display: block; width: auto; }
.b2-logo.r img { height: clamp(42px, 5.6vw, 76px); }                 /* R + agalhães: light wordmark, needs height */
.b2-logo.s img { height: clamp(52px, 7vw, 94px); margin-bottom: -22%; transform: translateY(14%); } /* Selfie: heavy wordmark + smile below */
.b2-say { font-weight: 700; font-size: clamp(1.7rem, 4.2vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.b2-say em { color: var(--sx-orange); }
.b2-say small { display: block; margin-top: 8px; font-family: var(--sx-mono); font-weight: 500; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sx-muted); }
.sx .b2-note { text-align: center; margin-top: clamp(44px, 5vw, 68px); }

.sx-b2 .sx-marq { border-top: 1px solid var(--sx-line); }
.sx-b2 .sx-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 5vw, 90px); align-items: center; padding: clamp(56px, 7vw, 100px) 0 clamp(36px, 4vw, 56px); }
.sx-b2 .sx-left { display: grid; gap: 20px; }
.sx-b2 .sx-ais { display: flex; gap: 10px 22px; flex-wrap: wrap; padding-top: 6px; }
.sx-b2 .sx-ais span { font-family: var(--sx-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-ink-2); display: inline-flex; align-items: center; gap: 8px; }
.sx-b2 .sx-ais span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--sx-orange); }

/* three ways in, side by side (compact) */
.sx-sol3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--sx-ink); }
.sx-sol3 li { padding: 22px 26px 6px 0; }
.sx-sol3 li + li { padding-left: 26px; border-left: 1px solid var(--sx-line); }
.sx-sol3 .n { font-family: var(--sx-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sx-orange-ink); }
.sx-sol3 b { display: block; font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; margin: 8px 0 8px; }
.sx-sol3 p { color: var(--sx-ink-2); font-size: .96rem; line-height: 1.55; }
.sx-b2 .sx-end { padding: clamp(36px, 4.5vw, 56px) 0 clamp(64px, 7vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* the way back to Ragalhães */
.b2-exit { height: clamp(200px, 24vw, 340px);
  background: linear-gradient(180deg, var(--sx-paper) 0%, #F3E2D6 16%, #E3BFA7 32%, #B49A9C 48%, #6E7D9A 62%, #2E4A70 76%, #0F2440 88%, #06121F 100%); }
.sx-b2 + .sec { padding-top: clamp(56px, 7vw, 96px); }

@media (max-width: 900px) {
  .sx-b2 .sx-grid { grid-template-columns: 1fr; }
  .sx-sol3 { grid-template-columns: 1fr; }
  .sx-sol3 li, .sx-sol3 li + li { padding: 18px 0 14px; border-left: 0; border-top: 1px solid var(--sx-line); }
  .sx-sol3 li:first-child { border-top: 0; }
  .b2-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .b2-entry { background: linear-gradient(180deg, #030B15 0%, #0B2D53 12%, #2C5A8F 24%, #5F7FA9 33%, #A495A6 43%, #D9A386 54%, #EDBF9C 63%, #F4DCC8 74%, var(--sx-paper) 86%); }
  .b2-kicker { flex-direction: column; gap: 6px; }
  .b2-lines { grid-template-columns: 1fr; row-gap: 10px; justify-items: start; }
  .b2-logo { justify-self: start; }
  .b2-lines .b2-say { margin-bottom: 18px; }
  .b2-logo.r img { height: 40px; }
  .b2-logo.s img { height: 62px; margin: 0; transform: none; }
  .sx-b2 .sx-angle { order: 0; max-width: 200px; }
  .b2-glow { filter: blur(40px) saturate(1.2); }
}

/* =================== Proposal B3 · B + real sunset gradient + logos in the sentence =================== */
/* entry: Ragalhães night → navy → ocean → (sunset hues) → Selfie orange → sunset orange → gold → Selfie paper */
.b3-in, .b3-out { position: relative; }
.b3-in { height: clamp(260px, 30vw, 420px);
  background: linear-gradient(180deg, #030B15 0%, #0B2D53 16%, #3B6EA8 34%, #A65A8C 47%, #FF4E2A 60%, #FF8A3D 72%, #F4B000 84%, #F7F2EF 100%); }
.b3-out { height: clamp(260px, 30vw, 420px);
  background: linear-gradient(180deg, #F7F2EF 0%, #F4B000 16%, #FF8A3D 28%, #FF4E2A 40%, #A65A8C 53%, #3B6EA8 66%, #0B2D53 84%, #06121F 100%); }
@supports (background: linear-gradient(in oklch, red, blue)) {
  .b3-in { background: linear-gradient(in oklch 180deg, #030B15 0%, #0B2D53 16%, #3B6EA8 34%, #FF4E2A 60%, #FF8A3D 72%, #F4B000 84%, #F7F2EF 100%); }
  .b3-out { background: linear-gradient(in oklch 180deg, #F7F2EF 0%, #F4B000 16%, #FF8A3D 28%, #FF4E2A 40%, #3B6EA8 66%, #0B2D53 84%, #06121F 100%); }
}
.b3-in .sx-label { position: absolute; left: 0; right: 0; top: clamp(40px, 5vw, 64px); color: rgba(244,242,238,.75); }
.sx-b3 { padding-bottom: 0; }
.sx-b3 .sx-end { margin-bottom: clamp(64px, 7vw, 100px); }
.sx-b3 + .sec { padding-top: clamp(56px, 7vw, 96px); }
/* the sentence: same type, white; only the brand names become logos */
.sx .b3-line { font-weight: 700; font-size: clamp(1.45rem, 2.5vw, 2.35rem); line-height: 1.5; white-space: nowrap; letter-spacing: -.035em; color: var(--sx-paper); }
.b3-line img { display: inline-block; width: auto; vertical-align: middle; }
.b3-line .lr { height: 1.02em; margin: -.1em .18em 0 -.05em; position: relative; top: -.04em; }
.b3-line .ls { height: 1.55em; margin: -.25em .14em -.35em 0; position: relative; top: .2em; }
@media (max-width: 560px) { .b3-in, .b3-out { height: 240px; } .sx .b3-line { font-size: 1.35rem; } }
@media (max-width: 380px) { .sx .b3-line { font-size: 1.18rem; } }

/* =================== Proposal B4 · blue that lightens into Selfie paper · iPad · symbols =================== */
.b4-in { height: clamp(240px, 26vw, 380px);
  background: linear-gradient(180deg, #030B15 0%, #0B2D53 22%, #2F5E93 42%, #7E9DC2 60%, #C8D5E3 78%, #EEEDEC 92%, #F7F2EF 100%); position: relative; }
.b4-in .sx-label { position: absolute; top: clamp(40px, 5vw, 64px); color: rgba(244,242,238,.72); }
.b4-out { height: clamp(240px, 26vw, 380px);
  background: linear-gradient(180deg, #F7F2EF 0%, #EEEDEC 8%, #C8D5E3 24%, #7E9DC2 42%, #2F5E93 60%, #0B2D53 80%, #06121F 100%); }
.sx-b4 { padding-bottom: 0; }
.sx-b4 .sx-end { margin-bottom: clamp(56px, 6vw, 90px); }
.sx-b4 + .sec { padding-top: clamp(56px, 7vw, 96px); }

/* ecosystem: the photo on an iPad, the sentence with the two symbols */
.sx-b4 .b4-eco { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.b4-device { position: relative; margin: 0; padding: clamp(10px, 1.2vw, 16px); border-radius: clamp(22px, 2.4vw, 34px); background: #141414;
  box-shadow: inset 0 0 0 1px #2B2B2B, 0 0 0 1px rgba(15,15,15,.08), 0 40px 70px -40px rgba(15,15,15,.45); }
.b4-device::before { content: ""; position: absolute; top: 50%; left: clamp(4px, .5vw, 7px); width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: #2E2E2E; }
.b4-device img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 30% 60%; border-radius: clamp(10px, 1.2vw, 18px); }
.b4-device figcaption { position: absolute; left: 0; right: 0; bottom: calc(-1 * clamp(28px, 3vw, 36px)); display: flex; justify-content: space-between; }
.b4-device figcaption .sx-label { color: var(--sx-muted); }
.b4-text { display: grid; gap: 22px; }
.sx .b4-line { font-weight: 700; font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.35; letter-spacing: -.035em; color: var(--sx-ink); }
.b4-line span { display: grid; grid-template-columns: 1.32em auto; align-items: center; white-space: nowrap; }
.b4-line img { display: inline-block; width: auto; vertical-align: middle; position: relative; }
.b4-line .sr { height: 1.12em; top: -.04em; margin-left: -.14em; }
.b4-line .ss { height: .86em; top: -.03em; }
.b4-text .sx-lead { max-width: 40ch; }
@media (max-width: 900px) {
  .sx-b4 .b4-eco { grid-template-columns: 1fr; }
  .b4-text { padding-top: 28px; }
}
@media (max-width: 560px) { .b4-in, .b4-out { height: 220px; } .sx .b4-line { font-size: 1.45rem; } }

/* =================== Proposal B5 · device stage + R/S pair =================== */
.b5-stage { position: relative; height: clamp(460px, 46vw, 660px); margin-top: clamp(48px, 6vw, 90px); perspective: 1800px; perspective-origin: 50% 30%; }
.b5-rig { position: absolute; inset: 0; transition: transform .6s var(--sx-ease); }
.b5-dev { position: absolute; margin: 0; background: #121212;
  box-shadow: inset 0 0 0 1.5px #2C2C2C, 0 0 0 1px rgba(15,15,15,.06), 0 50px 60px -30px rgba(15,15,15,.45), 0 18px 24px -14px rgba(15,15,15,.3); }
.b5-dev img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b5-pad { left: 25%; width: 50%; top: 4%; aspect-ratio: 4 / 3; padding: clamp(8px, 1vw, 14px); border-radius: clamp(18px, 2vw, 28px); z-index: 3;
  transform: perspective(1600px) rotateX(6deg) rotateY(-8deg); }
.b5-pad img { border-radius: clamp(8px, 1vw, 14px); }
.b5-ph { aspect-ratio: 9 / 19.5; padding: clamp(5px, .55vw, 8px); border-radius: clamp(22px, 2.4vw, 36px); }
.b5-ph img { border-radius: clamp(17px, 1.9vw, 29px); }
.b5-ph::after { content: ""; position: absolute; top: clamp(10px, 1.1vw, 15px); left: 50%; width: 30%; height: clamp(8px, .9vw, 12px); margin-left: -15%; border-radius: 99px; background: #121212; }
.b5-p1 { left: 13%; width: 16%; top: 22%; z-index: 4; transform: perspective(1200px) rotateY(18deg) rotateZ(-4deg); }
.b5-p2 { right: 13%; width: 16%; top: 26%; z-index: 4; transform: perspective(1200px) rotateY(-18deg) rotateZ(4deg); }
.b5-p3 { left: 1%; width: 12.5%; top: 6%; z-index: 1; transform: perspective(1200px) rotateY(26deg) rotateZ(-8deg) scale(.96); }
.b5-p4 { right: 1%; width: 12.5%; top: 9%; z-index: 1; transform: perspective(1200px) rotateY(-26deg) rotateZ(8deg) scale(.96); }
@media (prefers-reduced-motion: no-preference) {
  .b5-dev { animation: b5float 7s ease-in-out infinite; }
  .b5-p1 { animation-delay: -1.5s; } .b5-p2 { animation-delay: -3s; } .b5-p3 { animation-delay: -4.5s; } .b5-p4 { animation-delay: -6s; }
  @keyframes b5float { 50% { translate: 0 -8px; } }
}
.b5-cap { display: flex; justify-content: center; gap: 18px; margin-top: 4px; }
.b5-cap .sx-label { color: var(--sx-muted); }

/* the pair: R and S side by side, same optical size */
.b5-pair { display: grid; grid-template-columns: 1fr 1fr; max-width: 920px; margin: clamp(56px, 6vw, 84px) auto 0; }
.b5-pair > div { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 6px clamp(18px, 3vw, 44px); }
.b5-pair > div + div { border-left: 1px solid var(--sx-line); }
.b5-pair img { display: block; width: auto; }
.b5-pair .sr { height: clamp(46px, 4.6vw, 62px); }
.b5-pair .ss { height: clamp(44px, 4.4vw, 58px); }
.sx .b5-pair p { font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 2.15rem); line-height: 1.1; letter-spacing: -.035em; color: var(--sx-ink); }
.b5-pair .sx-label { color: var(--sx-muted); }
.sx .b5-sub { text-align: center; margin: clamp(26px, 3vw, 36px) auto 0; max-width: 46ch; color: var(--sx-ink-2); line-height: 1.6; }
.sx-b5 .sx-sol { margin-top: clamp(56px, 7vw, 96px); }

@media (max-width: 760px) {
  .b5-stage { height: clamp(330px, 92vw, 460px); perspective: 1200px; }
  .b5-pad { left: 14%; width: 72%; top: 6%; }
  .b5-p1 { left: 2%; width: 25%; top: 30%; }
  .b5-p2 { right: 2%; width: 25%; top: 34%; }
  .b5-p3, .b5-p4 { display: none; }
  .b5-pair > div { padding: 6px 12px; }
  .sx .b5-pair p { font-size: 1.25rem; }
}
.b5-pair > div { grid-template-rows: clamp(48px, 4.8vw, 64px) auto auto; align-content: start; }
.b5-pair > div > img { align-self: end; }
@media (max-width: 760px) { .b5-pair > div { grid-template-rows: 48px auto auto; } .b5-pair .sr { height: 42px; } .b5-pair .ss { height: 40px; } }

/* =================== Proposal B6 · devices beside the R/S pair =================== */
.b6-eco { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; margin-top: clamp(48px, 6vw, 90px); }
.b6-stage { position: relative; aspect-ratio: 1.45 / 1; }
.b6-stage .b5-dev { position: absolute; }
.b6-stage .b5-pad { padding: clamp(5px, .7vw, 9px); border-radius: clamp(12px, 1.4vw, 20px); }
.b6-stage .b5-pad img { border-radius: clamp(7px, .8vw, 12px); aspect-ratio: 4 / 3; }
.b6-stage .b5-dev { top: auto; bottom: auto; left: auto; right: auto; height: auto; aspect-ratio: auto; }
.b6-stage .b6-a { left: 0; top: 0; width: 44%; z-index: 1; transform: perspective(1400px) rotateY(16deg) rotateZ(-3deg); }
.b6-stage .b6-b { right: 7%; top: 1%; width: 43%; z-index: 1; transform: perspective(1400px) rotateY(-16deg) rotateZ(3deg); }
.b6-stage .b6-c { left: 1%; top: 46%; width: 40%; z-index: 2; transform: perspective(1400px) rotateY(14deg) rotateZ(2deg); }
.b6-stage .b6-main { left: 21%; top: 25%; width: 57%; z-index: 3; transform: perspective(1600px) rotateX(5deg) rotateY(-6deg); }
.b6-stage .b6-ph { right: 0; top: 30%; width: 16%; z-index: 4; transform: perspective(1200px) rotateY(-16deg) rotateZ(4deg); }
.b6-stage .b5-ph { padding: clamp(4px, .45vw, 6px); border-radius: clamp(16px, 1.8vw, 26px); }
.b6-stage .b5-ph img { border-radius: clamp(12px, 1.4vw, 21px); aspect-ratio: 9 / 19.5; }
.b6-stage .b5-ph::after { top: clamp(7px, .8vw, 11px); height: clamp(6px, .6vw, 9px); }
.b6-side { display: grid; gap: clamp(24px, 3vw, 36px); }
.b6-side .b5-pair { margin: 0; max-width: none; }
.b6-side .b5-pair > div { padding: 6px clamp(12px, 1.6vw, 24px); }
.sx .b6-side .b5-pair p { font-size: clamp(1.25rem, 1.9vw, 1.75rem); }
.sx .b6-side .b5-sub { text-align: left; margin: 0; }
.b6-side .b5-cap { justify-content: flex-start; margin: 0; }
@media (max-width: 900px) {
  .b6-eco { grid-template-columns: 1fr; }
  .b6-side .b5-sub, .b6-side .b5-cap { text-align: center; justify-content: center; }
}

/* =================== Proposal B7 · original film frames (contact sheet) beside the R/S pair =================== */
.b7-sheet { display: grid; gap: 0; }
.b7-row { display: flex; }
.b7-f { position: relative; margin: 0; padding: 26px 8px; background: #1A1A1A; flex-basis: 0; min-width: 0; }
.b7-f::before, .b7-f::after { content: ""; position: absolute; left: 0; right: 0; height: 11px; background: repeating-linear-gradient(90deg, transparent 0 9px, var(--sx-paper) 9px 20px, transparent 20px 31px); }
.b7-f::before { top: 7px; } .b7-f::after { bottom: 7px; }
.b7-f img { display: block; width: 100%; height: auto; }
.b7-f .no { position: absolute; top: 9px; right: 12px; font-family: var(--sx-mono); font-size: 10px; color: #FF8A3D; z-index: 1; background: #1A1A1A; padding: 0 3px; }
.b7-f .cap { position: absolute; bottom: 31px; left: 15px; font-family: var(--sx-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: #F4F2EE; background: rgba(3,11,21,.78); padding: 3px 7px; }
.b7-row + .b7-row .b7-f::before { display: none; }
.b7-row + .b7-row .b7-f { padding-top: 0; }
@media (max-width: 760px) {
  .b7-f { padding: 20px 5px; } .b7-row + .b7-row .b7-f { padding-top: 0; }
  .b7-f::before, .b7-f::after { height: 8px; top: 6px; } .b7-f::after { top: auto; bottom: 6px; }
  .b7-f .cap { bottom: 24px; left: 10px; font-size: 9px; }
}

/* =================== Proposal B8 · Selfie's own "Creative DNA" photo collage + R/S pair =================== */
.b8-eco { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 7vw, 100px); }
.b8-copy { display: grid; gap: 22px; align-content: center; }
.b8-copy .b5-pair { margin: 0; max-width: none; }
.b8-copy .b5-pair > div { padding: 6px clamp(10px, 1.6vw, 22px); }
.sx .b8-copy .b5-pair p { font-size: clamp(1.25rem, 1.9vw, 1.7rem); }
.sx .b8-copy .b5-sub { text-align: left; margin: 0; }
.sx .b8-credit { font-family: var(--sx-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); }
.b8-frames { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); aspect-ratio: 1.15; }
.b8-frames figure { margin: 0; position: relative; transition: transform .8s var(--sx-ease); }
.b8-frames img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; box-shadow: 0 30px 60px -36px rgba(15,15,15,.6); }
.b8-frames .f1 { grid-column: 1 / 5; grid-row: 1 / 5; z-index: 2; }
.b8-frames .f2 { grid-column: 4 / 7; grid-row: 1 / 3; transform: rotate(4deg) translate(6%, -8%); z-index: 1; }
.b8-frames .f3 { grid-column: 4 / 7; grid-row: 4 / 7; transform: rotate(-3deg) translate(4%, 4%); z-index: 3; }
.b8-frames .f4 { grid-column: 1 / 4; grid-row: 5 / 7; transform: rotate(2deg) translate(-4%, 10%); z-index: 1; }
.b8-frames figure:hover { z-index: 5; }
.b8-frames .cr { position: absolute; inset: -10px; pointer-events: none; }
.b8-frames .cr i { position: absolute; width: 22px; height: 22px; border: 2.5px solid var(--sx-orange); }
.b8-frames .cr i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.b8-frames .cr i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.b8-frames .cr i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.b8-frames .cr i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
@media (max-width: 959px) { .b8-eco { grid-template-columns: 1fr; } .b8-frames { order: -1; margin-bottom: 28px; } }

/* =================== Proposal B9 · clean gallery, every photo at its true proportion =================== */
.b9-eco { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(36px, 5vw, 80px); align-items: center; margin-top: clamp(56px, 7vw, 100px); }
.b9-gal { display: grid; gap: clamp(8px, .9vw, 14px); }
.b9-row { display: flex; gap: clamp(8px, .9vw, 14px); }
.b9-row figure { margin: 0; flex-basis: 0; min-width: 0; overflow: hidden; border-radius: 3px; box-shadow: 0 24px 44px -30px rgba(15,15,15,.55); }
.b9-row img { display: block; width: 100%; height: auto; transition: transform 1.2s var(--sx-ease); }
.b9-row figure:hover img { transform: scale(1.035); }
.sx .b9-credit { font-family: var(--sx-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sx-muted); margin-top: 4px; }
@media (max-width: 959px) { .b9-eco { grid-template-columns: 1fr; } .b9-gal { order: -1; } }

/* =================== B10 · same photo layout as selfieclube.com (Creative DNA), R/S pair beside =================== */
.b10-frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); align-items: start; }
.b10-col { display: grid; gap: clamp(14px, 1.8vw, 26px); }
.b10-col:nth-child(2) { margin-top: 12%; }
.b10-col:nth-child(3) { margin-top: 24%; }
.b10-frames figure { margin: 0; position: relative; aspect-ratio: var(--ar); }
.b10-frames img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 10px; box-shadow: 0 24px 44px -30px rgba(15,15,15,.6); transform: rotate(var(--rot, 0deg)); transition: transform .8s var(--sx-ease); }
.b10-frames .cr { position: absolute; inset: -9px; pointer-events: none; transform: rotate(var(--rot, 0deg)); transition: transform .8s var(--sx-ease); }
.b10-frames .cr i { position: absolute; width: 16px; height: 16px; border: 2px solid var(--sx-orange); }
.b10-frames .cr i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.b10-frames .cr i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.b10-frames .cr i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.b10-frames .cr i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.b10-frames .k1 { --rot: -1.5deg; } .b10-frames .k2 { --rot: 1.5deg; } .b10-frames .k3 { --rot: -1deg; }
.b10-frames .k4 { --rot: 1deg; } .b10-frames .k5 { --rot: -1deg; } .b10-frames .k6 { --rot: 1.5deg; } .b10-frames .k7 { --rot: -1.5deg; }
.b10-frames figure:hover img, .b10-frames figure:hover .cr { --rot: 0deg; }
.b10-eco { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 5vw, 72px); align-items: center; margin-top: clamp(56px, 7vw, 100px); }
@media (max-width: 959px) { .b10-eco { grid-template-columns: 1fr; } .b10-frames { order: -1; } }
@media (max-width: 599px) {
  .b10-frames { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .b10-col:nth-child(3) { grid-column: 1 / -1; grid-template-columns: 1fr 1.6fr; align-items: center; margin-top: 0; }
  .b10-col:nth-child(2) { margin-top: 18%; }
}
