/*
Theme Name: Bamtoo Portfolio One Page V16
Theme URI: https://bamtoo.sn/
Author: Bamtoo
Description: Portfolio one-page custom Bamtoo, V3-59 avec corrections responsive finales et galerie Branding.
Version: 3.5.0
Text Domain: bamtoo-portfolio
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700;1,900&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=Caveat:wght@600;700&display=swap');

:root {
  --orange: #FF8304;
  --blue: #223286;
  --paper: #F5F0E8;
  --near-black: #0C0C0C;
  --white: #FFFFFF;
  --blue-mid: #4e5ba2;
}

html,
body,
#root {
  height: 100%;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: var(--paper);
  color: var(--near-black);
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 3px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 2px;
}

.font-display {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
}

.paper-grid {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.065) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px;
  background-color: var(--paper);
}

.dark-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  background-color: var(--near-black);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee 18s linear infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== V2 additions ===== */
.portfolio-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 1.2vw;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .8;
  letter-spacing: -.012em;
  font-size: clamp(4.6rem, 16.1vw, 25rem);
  white-space: nowrap;
}
.cover-mark-wrap {
  position: relative;
  width: .82em;
  height: .62em;
  margin: 0 .035em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: markFloat 4.6s ease-in-out infinite;
  transform-origin: 50% 50%;
  cursor: crosshair;
  z-index: 3;
}
.cover-mark-wrap svg {
  animation: markPulse 7s ease-in-out infinite;
  transition: transform .45s cubic-bezier(.16,1,.3,1), filter .45s ease;
}
.cover-mark-wrap:hover svg {
  transform: rotate(12deg) scale(1.16);
  filter: drop-shadow(0 14px 18px rgba(34,50,134,.24));
}
.cover-mark-orbit {
  position: absolute;
  width: 1.18em;
  height: 1.18em;
  border: 1px solid rgba(255,131,4,.55);
  border-radius: 50%;
  animation: orbitSpin 8s linear infinite;
}
.cover-mark-orbit::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  top: 6%;
  left: 18%;
}
.cover-note {
  position: absolute;
  font-family: 'DM Sans', sans-serif;
  font-size: .56rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .48;
}
.cover-note-left { left: 12vw; top: 61%; transform: rotate(-5deg); }
.cover-note-right { right: 10vw; top: 37%; transform: rotate(5deg); color: var(--orange); opacity: 1; }

@keyframes markFloat {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}
@keyframes markPulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(.92); }
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }

.expertise-v2::after {
  content: '';
  position: absolute;
  width: 38vw;
  height: 38vw;
  border: 1px solid rgba(34,50,134,.12);
  border-radius: 50%;
  right: -12vw;
  bottom: -14vw;
}
.expertise-cloud {
  position: relative;
  min-height: 52vh;
  margin-top: 4rem;
}
.expertise-pill {
  position: absolute;
  border: 1px solid rgba(0,0,0,.12);
  padding: 1.4rem 1.6rem 1.1rem;
  background: rgba(245,240,232,.7);
  backdrop-filter: blur(5px);
  transition: transform .35s cubic-bezier(.16,1,.3,1), background .35s, color .35s, border-color .35s;
  cursor: default;
  z-index: 2;
}
.expertise-pill:hover {
  transform: translateY(-10px) rotate(-1deg) scale(1.03);
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.expertise-pill-1 { left: 4%; top: 8%; transform: rotate(-2deg); }
.expertise-pill-2 { left: 39%; top: 0; transform: rotate(2deg); }
.expertise-pill-3 { right: 2%; top: 18%; transform: rotate(-1deg); }
.expertise-pill-4 { left: 13%; bottom: 4%; transform: rotate(1.5deg); }
.expertise-pill-5 { left: 49%; bottom: 7%; transform: rotate(-2deg); }
.expertise-pill-6 { right: 4%; bottom: 0; transform: rotate(2.5deg); }
.expertise-cross {
  position: absolute;
  right: 6vw;
  top: 5rem;
  font-size: clamp(3rem, 7vw, 8rem);
  color: var(--orange);
  animation: orbitSpin 14s linear infinite;
}

@media (max-width: 900px) {
  .portfolio-lockup { font-size: 18vw; }
  .cover-note { display: none; }
  .expertise-cloud { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
  .expertise-pill { position: relative; inset: auto !important; transform: none !important; }
  .selected-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .selected-grid { grid-template-columns: 1fr; }
  .selected-card { min-height: 280px; }
}

/* ===== V3 motion + reference integrations ===== */
.cover-o-window,
.final-o-window {
  position: relative;
  display: inline-block;
  width: .72em;
  height: .72em;
  margin: 0 .025em;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: .018em solid rgba(12,12,12,.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45), 0 .05em .12em rgba(0,0,0,.08);
  vertical-align: -.08em;
  flex: 0 0 auto;
}
.bouncing-bamtoo {
  position: absolute;
  width: 66%;
  height: 66%;
  object-fit: contain;
  left: 7%;
  top: 8%;
  animation: logoBounce 5.4s linear infinite;
  will-change: left, top, transform;
  mix-blend-mode: normal;
}
@keyframes logoBounce {
  0%   { left: 5%;  top: 6%;  transform: rotate(-5deg) scale(.96); }
  18%  { left: 29%; top: 28%; transform: rotate(4deg) scale(1); }
  34%  { left: 8%;  top: 29%; transform: rotate(-2deg) scale(.98); }
  52%  { left: 28%; top: 7%;  transform: rotate(5deg) scale(1.02); }
  69%  { left: 5%;  top: 19%; transform: rotate(-4deg) scale(.98); }
  84%  { left: 30%; top: 30%; transform: rotate(3deg) scale(1); }
  100% { left: 5%;  top: 6%;  transform: rotate(-5deg) scale(.96); }
}

/* Turn the old orbit-style V2 cover animation off */
.cover-mark-wrap,
.cover-mark-orbit { display: none !important; }

.selected-client-logo {
  max-width: 58%;
  max-height: 52%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(.95);
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.selected-card:hover .selected-client-logo { transform: scale(.95); }

.stories-type-field {
  position: absolute;
  inset: 14% -10% 22% -10%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .01em;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.stories-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .78;
  font-size: clamp(8rem, 27vw, 46rem);
  color: #fff;
  will-change: transform;
}
.stories-track span { display: block; flex: none; }
.stories-track-a { animation: storiesFlowA 16s linear infinite; }
.stories-track-b { animation: storiesFlowB 19s linear infinite; }
@keyframes storiesFlowA { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes storiesFlowB { from { transform: translateX(-8%); } to { transform: translateX(-58%); } }

.polaroid-section {
  position: relative;
  min-height: 105vh;
  padding: 5rem 3rem 7rem;
  overflow: hidden;
}
.polaroid-heading {
  font-size: clamp(4rem, 12vw, 18rem);
  line-height: .82;
  color: var(--near-black);
  max-width: 70%;
}
.polaroid-stage {
  position: relative;
  min-height: 620px;
  margin-top: -1rem;
}
.polaroid {
  position: absolute;
  width: min(30vw, 430px);
  margin: 0;
  padding: 16px 16px 24px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(0,0,0,.18);
  transition: transform .45s cubic-bezier(.16,1,.3,1), z-index .1s;
}
.polaroid:hover { transform: rotate(0deg) translateY(-14px) scale(1.025) !important; z-index: 10; }
.polaroid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.polaroid figcaption {
  margin-top: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .86rem;
  line-height: 1.45;
  letter-spacing: .02em;
  color: #181818;
}
.polaroid figcaption span { color: rgba(0,0,0,.45); font-size: .72rem; }
.polaroid-one { left: 5%; top: 16%; transform: rotate(-6deg); }
.polaroid-two { left: 37%; top: 2%; transform: rotate(3.5deg); width: min(32vw, 470px); }
.polaroid-three { right: 4%; top: 18%; transform: rotate(6deg); }
.polaroid-note { max-width: 520px; margin: 0 0 0 5%; color: rgba(0,0,0,.45); font-size: .9rem; line-height: 1.75; }

.brand-space-section { background: #100c0a; padding: 6rem 2.5rem 2.5rem; }
.brand-space-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2rem; }
.brand-space-head > div:last-child { font-size: clamp(4rem, 9vw, 13rem); line-height: .82; text-align: right; }
.brand-space-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.brand-space-grid img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; filter: saturate(.86) contrast(1.03); }
.brand-space-grid img:nth-child(2), .brand-space-grid img:nth-child(3) { aspect-ratio: 16/9; }

.product-presence {
  min-height: 100vh;
  padding: 7rem 5vw;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 5vw;
  position: relative;
  overflow: hidden;
}
.product-presence::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 70px;
  background: var(--near-black);
  clip-path: polygon(0 60%, 4% 48%, 9% 58%, 15% 44%, 23% 55%, 31% 42%, 39% 56%, 48% 45%, 57% 57%, 66% 43%, 75% 55%, 84% 47%, 92% 58%, 100% 45%, 100% 100%, 0 100%);
}
.presence-copy { position: relative; z-index: 3; }
.presence-copy h2 {
  margin: 1.4rem 0 1.5rem;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: clamp(4rem, 8vw, 12rem);
  line-height: .84;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.presence-copy p { max-width: 630px; font-size: clamp(1rem, 1.35vw, 1.35rem); line-height: 1.55; color: rgba(0,0,0,.7); }
.mockup-orbit { position: relative; height: min(68vw, 690px); perspective: 1200px; transform-style: preserve-3d; z-index: 2; }
.mockup-shadow { position: absolute; left: 20%; right: 10%; bottom: 8%; height: 7%; background: rgba(0,0,0,.12); filter: blur(18px); border-radius: 50%; animation: shadowPulse 6s ease-in-out infinite; }
.mockup-card {
  position: absolute;
  width: 42%;
  height: 62%;
  border: 10px solid #f8f4ec;
  box-shadow: 0 24px 50px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
  color: white;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.mockup-card span { font: 600 .58rem/1 'DM Sans',sans-serif; letter-spacing: .18em; opacity: .7; }
.mockup-card strong { font: 900 clamp(2rem,4vw,5rem)/.86 'Barlow Condensed',sans-serif; margin-top: .7rem; }
.mockup-card small { font-size: .68rem; opacity: .65; margin-top: .7rem; }
.mockup-card-1 { left: 8%; top: 18%; background: linear-gradient(160deg, #223286, #111); animation: orbitCard1 8s ease-in-out infinite; }
.mockup-card-2 { left: 34%; top: 9%; background: linear-gradient(160deg, #ff8304, #4d2100); animation: orbitCard2 8s ease-in-out infinite; }
.mockup-card-3 { left: 56%; top: 22%; background: linear-gradient(160deg, #151515, #223286); animation: orbitCard3 8s ease-in-out infinite; }
@keyframes orbitCard1 { 0%,100% { transform: rotateY(20deg) rotateZ(-6deg) translate3d(0,0,10px); } 50% { transform: rotateY(8deg) rotateZ(-3deg) translate3d(30px,-14px,45px); } }
@keyframes orbitCard2 { 0%,100% { transform: rotateY(-4deg) rotateZ(2deg) translate3d(0,0,60px); } 50% { transform: rotateY(12deg) rotateZ(-2deg) translate3d(-18px,18px,10px); } }
@keyframes orbitCard3 { 0%,100% { transform: rotateY(-22deg) rotateZ(6deg) translate3d(0,0,20px); } 50% { transform: rotateY(-8deg) rotateZ(3deg) translate3d(-30px,-12px,55px); } }
@keyframes shadowPulse { 0%,100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.8); opacity: .55; } }

.final-resonate {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: clamp(4rem, 14vw, 23rem);
  color: var(--orange);
  line-height: .82;
  letter-spacing: -.02em;
}
.final-gif-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .74em;
  height: .86em;
  margin: 0 .012em;
  flex: 0 0 auto;
  overflow: visible;
  transform: translateY(.03em);
}
.final-gif-mark img {
  width: 118%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-width: none;
}

@media (max-width: 900px) {
  .stories-type-field { inset: 18% -20% 24%; }
  .polaroid-stage { min-height: 980px; }
  .polaroid { width: min(65vw, 420px); }
  .polaroid-one { left: 4%; top: 4%; }
  .polaroid-two { left: 28%; top: 34%; width: min(65vw, 440px); }
  .polaroid-three { right: 5%; top: 66%; }
  .brand-space-head { display: block; }
  .brand-space-head > div:last-child { text-align: left; margin-top: 1rem; }
  .product-presence { grid-template-columns: 1fr; padding-bottom: 9rem; }
  .mockup-orbit { height: 620px; }
}
@media (max-width: 620px) {
  .cover-o-window { width: .68em; height: .68em; }
  .polaroid-heading { max-width: 100%; }
  .polaroid-stage { min-height: 880px; }
  .polaroid { width: 82vw; }
  .polaroid-one { left: 1%; }
  .polaroid-two { left: 7%; top: 31%; }
  .polaroid-three { right: 1%; top: 61%; }
  .brand-space-grid { grid-template-columns: 1fr; }
  .mockup-orbit { height: 500px; }
  .mockup-card { width: 48%; height: 58%; border-width: 7px; padding: .8rem; }
  .mockup-card-1 { left: 0; }
  .mockup-card-2 { left: 27%; }
  .mockup-card-3 { left: 51%; }
  .final-resonate { font-size: 16vw; }
}

/* ══════════════════════════════════════════════════════════════
   V3.1 — COVER GIF MARK · ARROW + SLOGAN · NAKA WAAR · TORN BAND
   Only these blocks were added for this pass. Nothing above this
   line (besides the two edits noted in App.tsx) was touched.
   ══════════════════════════════════════════════════════════════ */

/* ── Cover: animated GIF replacing the "O" ─────────────────────── */
.cover-gif-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .78em;
  height: .92em;
  margin: 0 .015em;
  vertical-align: -.12em;
  flex: 0 0 auto;
  z-index: 5;
  overflow: visible;
}
.cover-gif-mark img {
  width: 118%;
  height: 100%;
  object-fit: contain;
  display: block;
  max-width: none;
}

/* ── Cover: arrow below the Bamtoo mark + slogan after the arrow ── */
.cover-annotation {
  position: absolute;
  left: 50%;
  top: 84%;
  display: flex;
  align-items: flex-end;
  gap: clamp(.8rem, 1.2vw, 1.45rem);
  transform: translateX(-.12em) rotate(-1deg);
  pointer-events: none;
  z-index: 8;
  width: max-content;
  font-size: 1rem; /* detach annotation sizing from the huge PORTFOLIO type */
}
.cover-arrow {
  width: clamp(150px, 12.5vw, 225px);
  height: auto;
  flex: 0 0 auto;
  overflow: visible;
}
.cover-arrow-shaft {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: drawCoverArrow 1.55s cubic-bezier(.33,.02,.2,1) 1.05s forwards;
}
.cover-arrow-head {
  stroke-dasharray: 58;
  stroke-dashoffset: 58;
  animation: drawCoverArrow .42s ease-out 2.55s forwards;
}
@keyframes drawCoverArrow {
  to { stroke-dashoffset: 0; }
}
.cover-slogan {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  align-items: baseline;
  padding-bottom: .2rem;
  font-family: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
  font-weight: 700;
  font-size: clamp(1.85rem, 2.7vw, 3.05rem);
  line-height: 1;
  letter-spacing: .025em;
  color: rgba(15,13,10,0.9);
}
.cover-slogan > span {
  display: inline-block;
  opacity: 0;
  transform: translateY(7px);
  animation: coverLetterIn .42s ease forwards;
}
.cover-slogan > .cover-slogan-space {
  width: .36em;
  min-width: .36em;
}
@keyframes coverLetterIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .cover-annotation {
    top: 82%;
    gap: .65rem;
  }
  .cover-arrow { width: clamp(112px, 18vw, 160px); }
  .cover-slogan { font-size: clamp(1.25rem, 3.7vw, 2rem); }
}

/* ── 02 — NAKA WAAR ──────────────────────────────────────────── */
.naka-section {
  display: grid;
  grid-template-columns: minmax(250px, .9fr) minmax(500px, 1.55fr) minmax(280px, .92fr);
  align-items: start;
  gap: clamp(2rem, 4vw, 5rem);
  min-height: 100vh;
  padding: clamp(7rem, 9vw, 10rem) clamp(2.5rem, 5vw, 5.5rem) 7rem;
}
.naka-left {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: .8rem;
}
.naka-figure-wrap {
  width: min(25vw, 390px);
  height: clamp(570px, 66vw, 760px);
  perspective: 1500px;
  overflow: hidden;
}
.naka-figure {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  animation: nakaRotate 10s ease-in-out infinite;
  will-change: transform;
}
.naka-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
}
@keyframes nakaRotate {
  0%, 100% { transform: perspective(1500px) rotateY(-7deg) rotateZ(-.35deg) translateX(-2px); }
  50%      { transform: perspective(1500px) rotateY(7deg) rotateZ(.35deg) translateX(2px); }
}
.naka-center {
  min-width: 0;
}
.naka-title {
  font-size: clamp(5.4rem, 9.1vw, 10.5rem);
  line-height: .76;
  letter-spacing: -.045em;
  white-space: nowrap;
  margin: 0 0 2.8rem;
}
.naka-copy {
  max-width: 760px;
}
.naka-copy h3 {
  margin: 0 0 .85rem;
  color: var(--near-black);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.25;
  font-weight: 800;
}
.naka-copy p {
  margin: 0 0 2.35rem;
  color: rgba(15,13,10,.78);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(.92rem, 1.02vw, 1.08rem);
  line-height: 1.48;
  font-weight: 400;
  max-width: 62ch;
}
.naka-right {
  display: flex;
  flex-direction: column;
  padding-top: .15rem;
}
.naka-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}
.naka-skill-tile {
  aspect-ratio: 1;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .3rem;
  color: #fff;
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.naka-skill-tile:hover { transform: translateY(-4px) scale(1.04); }
.naka-skill-tile .code {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1;
}
.naka-skill-tile .name {
  font-family: 'DM Sans', sans-serif;
  font-size: .5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  text-align: center;
  padding: 0 .3rem;
}

@media (max-width: 1180px) and (min-width: 1001px) {
  .naka-section {
    grid-template-columns: minmax(220px,.78fr) minmax(430px,1.5fr) minmax(245px,.9fr);
    gap: 2rem;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
  }
  .naka-title { font-size: clamp(5rem, 8.4vw, 7.5rem); }
  .naka-figure-wrap { width: min(24vw, 310px); height: 620px; }
}

@media (max-width: 1000px) {
  .naka-section { grid-template-columns: 1fr; text-align: center; padding: 7rem 1.8rem 5rem; gap: 3.5rem; }
  .naka-left { order: 1; }
  .naka-center { order: 2; display: flex; flex-direction: column; align-items: center; }
  .naka-title { font-size: clamp(4rem, 14vw, 7rem); }
  .naka-copy { text-align: left; max-width: 680px; }
  .naka-copy p { margin-left: auto; margin-right: auto; }
  .naka-right { order: 3; align-items: center; }
  .naka-skills-grid { max-width: 420px; margin-left: auto; margin-right: auto; }
  .naka-figure-wrap { width: min(58vw, 390px); height: min(105vw, 720px); }
}

/* ── 03 — Torn paper / black band ───────────────────────────── */
.torn-band-section {
  position: relative;
  padding: 0;
  overflow: hidden;
}
.torn-band-black {
  position: relative;
  width: 100%;
  height: min(67vh, 680px);
  background:
    radial-gradient(110% 22% at 50% 2%, rgba(70,70,70,.32) 0%, rgba(18,18,18,.12) 44%, transparent 72%),
    radial-gradient(110% 22% at 50% 98%, rgba(70,70,70,.28) 0%, rgba(18,18,18,.10) 44%, transparent 72%),
    linear-gradient(180deg, #111 0%, #080808 18%, #050505 50%, #090909 82%, #121212 100%);
  filter: drop-shadow(0 7px 9px rgba(20,20,20,.38)) drop-shadow(0 -7px 9px rgba(20,20,20,.30));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.torn-band-black::before,
.torn-band-black::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 0;
  width: 100%;
  height: 34px;
  pointer-events: none;
  opacity: .62;
  filter: blur(8px);
}
.torn-band-black::before {
  top: 0;
  background: linear-gradient(180deg, rgba(115,115,115,.34), rgba(35,35,35,.18) 40%, transparent 100%);
}
.torn-band-black::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(105,105,105,.30), rgba(35,35,35,.16) 42%, transparent 100%);
}
.torn-marquee-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1;
}
.torn-marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.02em;
  font-size: clamp(4rem, 10.5vw, 11.5rem);
  line-height: 1;
  color: #fff;
  opacity: .92;
  animation: marquee 26s linear infinite;
}
.torn-portrait-wrap {
  position: relative;
  z-index: 5;
  width: min(31vw, 355px);
  height: min(58vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.torn-portrait-shadow {
  position: absolute;
  inset: 8% -10%;
  background: radial-gradient(ellipse, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 68%);
  filter: blur(20px);
  z-index: 0;
}
.torn-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.team-loop img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0;
  border-radius: 2px;
  box-shadow: 0 18px 55px rgba(0,0,0,.52);
  animation: teamPortraitLoop 12s steps(1, end) infinite;
}
.team-loop img:nth-child(1) { animation-delay: 0s; }
.team-loop img:nth-child(2) { animation-delay: 1s; }
.team-loop img:nth-child(3) { animation-delay: 2s; }
.team-loop img:nth-child(4) { animation-delay: 3s; }
.team-loop img:nth-child(5) { animation-delay: 4s; }
.team-loop img:nth-child(6) { animation-delay: 5s; }
.team-loop img:nth-child(7) { animation-delay: 6s; }
.team-loop img:nth-child(8) { animation-delay: 7s; }
.team-loop img:nth-child(9) { animation-delay: 8s; }
.team-loop img:nth-child(10) { animation-delay: 9s; }
.team-loop img:nth-child(11) { animation-delay: 10s; }
.team-loop img:nth-child(12) { animation-delay: 11s; }
@keyframes teamPortraitLoop {
  0%, 8.32% { opacity: 1; }
  8.33%, 100% { opacity: 0; }
}

@media (max-width: 700px) {
  .torn-band-black { height: 56vh; }
  .torn-portrait-wrap { width: 56vw; height: 48vh; }
}



/* ===== V3.9 — Selected Works / newspaper hover ===== */
.selected-v3 {
  position: relative;
  padding: 7rem 4rem 9rem;
  overflow: hidden;
  background-color: var(--paper);
}
.selected-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 4.5rem;
}
.selected-title {
  margin-top: .7rem;
  color: var(--near-black);
  font-size: clamp(5.5rem, 15.2vw, 19rem);
  line-height: .78;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.selected-heading-note {
  margin-top: 2.1rem;
  font: 500 .58rem/1.6 'DM Sans', sans-serif;
  letter-spacing: .17em;
  color: rgba(12,12,12,.46);
}
.selected-grid-wrap {
  position: relative;
  z-index: 3;
}
.selected-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(0,0,0,.18);
  border-left: 1px solid rgba(0,0,0,.18);
}
.selected-card {
  position: relative;
  min-height: 300px;
  border-right: 1px solid rgba(0,0,0,.18);
  border-bottom: 1px solid rgba(0,0,0,.18);
  background: rgba(245,240,232,.46);
  cursor: crosshair;
  overflow: hidden;
}
.selected-card::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px dashed transparent;
  transition: border-color .25s ease;
  pointer-events: none;
}
.selected-card:hover::after { border-color: rgba(0,0,0,.18); }
.selected-card-id {
  position: absolute;
  top: 1.1rem;
  left: 1.2rem;
  z-index: 5;
  font: 500 .58rem/1 'DM Sans', sans-serif;
  letter-spacing: .18em;
  color: rgba(0,0,0,.34);
}
.selected-logo-state {
  position: absolute;
  inset: 2.7rem 2rem 3.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.selected-client-logo {
  max-width: 62%;
  max-height: 54%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.03);
  will-change: transform;
}
.selected-card-1 .selected-client-logo { animation: logoDriftA 5.8s ease-in-out infinite; }
.selected-card-2 .selected-client-logo { animation: logoDriftB 6.6s ease-in-out infinite; }
.selected-card-3 .selected-client-logo { animation: logoDriftC 5.2s ease-in-out infinite; }
.selected-card-4 .selected-client-logo { animation: logoDriftB 7.2s ease-in-out infinite reverse; }
.selected-card-5 .selected-client-logo { animation: logoDriftA 6.1s ease-in-out infinite reverse; }
.selected-card-6 .selected-client-logo { animation: logoDriftC 6.9s ease-in-out infinite reverse; }
.selected-card:hover .selected-client-logo { animation-play-state: paused; transform: scale(1.06); }
.selected-card-caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1rem;
  font: 600 .58rem/1.2 'DM Sans', sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(0,0,0,.38);
}
@keyframes logoDriftA {
  0%,100% { transform: translate3d(0,0,0) rotate(-1deg) scale(1); }
  50% { transform: translate3d(0,-9px,0) rotate(1.4deg) scale(1.025); }
}
@keyframes logoDriftB {
  0%,100% { transform: translate3d(-3px,1px,0) rotate(.8deg); }
  50% { transform: translate3d(5px,-7px,0) rotate(-1.2deg); }
}
@keyframes logoDriftC {
  0%,100% { transform: translate3d(0,2px,0) scale(.985); }
  50% { transform: translate3d(0,-6px,0) scale(1.035); }
}

.newspaper-reveal {
  position: absolute;
  z-index: 30;
  left: 50%;
  top: 50%;
  width: min(79vw, 1120px);
  height: min(72vh, 700px);
  transform: translate(-50%, -46%) rotate(-.55deg) scale(.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .36s cubic-bezier(.16,1,.3,1);
  filter: drop-shadow(0 26px 36px rgba(22,17,10,.28));
}
.newspaper-reveal.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-.55deg) scale(1);
  pointer-events: auto;
}
.newspaper-sheet {
  position: absolute;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: auto;
  scrollbar-color: rgba(47,35,21,.72) rgba(81,58,27,.10);
  scrollbar-gutter: stable;
  padding: 1.3rem 1.5rem 1.5rem;
  color: #17130e;
  background-color: #e9dfcb;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(80,51,20,.08) 0 1px, transparent 1.5px),
    radial-gradient(circle at 79% 67%, rgba(80,51,20,.055) 0 1px, transparent 1.5px),
    linear-gradient(90deg, rgba(82,59,29,.028) 1px, transparent 1px),
    linear-gradient(rgba(82,59,29,.02) 1px, transparent 1px);
  background-size: 19px 17px, 27px 31px, 7px 100%, 100% 9px;
  border: 1px solid rgba(47,35,21,.35);
  box-shadow: inset 0 0 50px rgba(78,49,16,.12);
}

.newspaper-sheet::-webkit-scrollbar {
  width: 13px;
}
.newspaper-sheet::-webkit-scrollbar-track {
  background: rgba(81,58,27,.10);
  border-left: 1px solid rgba(47,35,21,.18);
}
.newspaper-sheet::-webkit-scrollbar-thumb {
  background: rgba(47,35,21,.58);
  border: 3px solid #e9dfcb;
  border-radius: 999px;
}
.newspaper-sheet::-webkit-scrollbar-thumb:hover {
  background: rgba(47,35,21,.78);
}

.newspaper-sheet::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(74,47,18,.05), transparent 8%, transparent 91%, rgba(74,47,18,.07));
  mix-blend-mode: multiply;
}
.newspaper-topline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid #2b241b;
  font: 700 .53rem/1 'DM Sans', sans-serif;
  letter-spacing: .12em;
}
.newspaper-header {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  gap: 1rem;
  align-items: center;
  padding: .45rem 0 .25rem;
}
.newspaper-side-note {
  font: 700 .5rem/1.3 'DM Sans', sans-serif;
  letter-spacing: .12em;
  text-align: left;
}
.newspaper-side-note-right { text-align: right; }
.newspaper-masthead {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(2.5rem, 5.4vw, 5.8rem);
  line-height: .9;
  letter-spacing: -.055em;
}
.newspaper-rule { border-top: 4px double #211b14; margin: .2rem 0 .65rem; }
.newspaper-project-type {
  font: 800 .58rem/1 'DM Sans', sans-serif;
  letter-spacing: .19em;
  text-align: center;
  margin-bottom: .35rem;
}
.newspaper-project-title {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 900;
  font-size: clamp(2.7rem, 6.4vw, 7.2rem);
  line-height: .82;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-align: center;
}
.newspaper-deck {
  width: min(84%, 850px);
  margin: .6rem auto .8rem;
  padding: .55rem 0;
  border-top: 1px solid rgba(36,29,19,.65);
  border-bottom: 1px solid rgba(36,29,19,.65);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  text-align: center;
  font-size: clamp(.86rem, 1.25vw, 1.18rem);
  line-height: 1.2;
}
.newspaper-body {
  min-height: 390px;
  display: grid;
  grid-template-columns: .8fr 1.45fr .76fr;
  gap: 1rem;
}
.newspaper-column {
  min-width: 0;
  padding-right: .8rem;
  border-right: 1px solid rgba(38,31,22,.5);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.68rem, .82vw, .86rem);
  line-height: 1.28;
  text-align: justify;
}
.newspaper-column p { margin: .45rem 0; }
.newspaper-mini-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.35rem, 2.05vw, 2.15rem);
  line-height: .9;
  font-weight: 900;
  margin-bottom: .5rem;
}
.newspaper-main-image {
  position: relative;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border-right: 1px solid rgba(38,31,22,.5);
  padding-right: 1rem;
}
.newspaper-main-image img {
  width: 100%;
  height: calc(100% - 1.2rem);
  object-fit: cover;
  display: block;
  filter: grayscale(1) sepia(.22) contrast(1.08);
}
.newspaper-main-image figcaption {
  padding-top: .28rem;
  font: 700 .43rem/1 'DM Sans', sans-serif;
  letter-spacing: .12em;
}
.newspaper-right-column { border-right: 0; padding-right: 0; }
.newspaper-quote {
  margin: .65rem 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.9rem, 1.1vw, 1.15rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
}
.newspaper-small-image {
  height: 34%;
  margin-top: .9rem;
  border-top: 1px solid rgba(38,31,22,.6);
  border-bottom: 1px solid rgba(38,31,22,.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
}
.newspaper-small-image img {
  max-width: 84%;
  max-height: 84%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(1.08);
}
.newspaper-index {
  margin-top: .6rem;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: .8;
  font-weight: 900;
  text-align: right;
}
.newspaper-small-rule { border-top: 1px solid rgba(38,31,22,.6); margin: .7rem 0; }

.newspaper-sheet::-webkit-scrollbar { width: 8px; }
.newspaper-sheet::-webkit-scrollbar-track { background: transparent; }
.newspaper-sheet::-webkit-scrollbar-thumb {
  background: rgba(47,35,21,.34);
  border-radius: 99px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.newspaper-continuation {
  position: relative;
  margin-top: 1.15rem;
  padding-top: .25rem;
  min-height: 470px;
}
.newspaper-continuation-rule {
  border-top: 4px double #211b14;
  border-bottom: 1px solid rgba(38,31,22,.65);
  padding: .45rem 0 .4rem;
  margin-bottom: .9rem;
  text-align: center;
}
.newspaper-continuation-rule span {
  font: 800 .58rem/1 'DM Sans', sans-serif;
  letter-spacing: .2em;
}
.newspaper-continuation-grid {
  display: grid;
  grid-template-columns: .9fr 1.35fr .72fr;
  gap: 1rem;
}
.newspaper-continuation-copy {
  padding-right: .8rem;
  border-right: 1px solid rgba(38,31,22,.5);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(.68rem, .82vw, .86rem);
  line-height: 1.34;
  text-align: justify;
}
.newspaper-continuation-copy p { margin: .45rem 0 .85rem; }
.newspaper-continuation-copy-last { border-right: 0; padding-right: 0; }
.newspaper-continuation-media {
  display: grid;
  grid-template-rows: 1.55fr .75fr;
  gap: .75rem;
  padding-right: 1rem;
  border-right: 1px solid rgba(38,31,22,.5);
  min-height: 390px;
}
.newspaper-media-placeholder {
  min-height: 235px;
  border: 1px solid rgba(38,31,22,.55);
  background:
    linear-gradient(135deg, rgba(38,31,22,.055), rgba(38,31,22,.015)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(38,31,22,.035) 12px 13px);
  display: grid;
  place-items: center;
  font: 800 .5rem/1 'DM Sans', sans-serif;
  letter-spacing: .16em;
}
.newspaper-media-placeholder-small { min-height: 120px; }
.newspaper-folio { font: 700 .44rem/1.3 'DM Sans', sans-serif; letter-spacing: .12em; }

@media (max-width: 980px) {
  .selected-v3 { padding: 6rem 2rem 7rem; }
  .selected-grid { grid-template-columns: repeat(2, 1fr); }
  .newspaper-reveal { width: 91vw; height: 68vh; }
  .newspaper-header { grid-template-columns: 80px 1fr 80px; }
  .newspaper-body { grid-template-columns: .72fr 1.35fr .68fr; gap: .7rem; }
}
@media (max-width: 680px) {
  .selected-title { white-space: normal; font-size: 21vw; }
  .selected-grid { grid-template-columns: 1fr; }
  .selected-card { min-height: 270px; }
  .newspaper-reveal { display: none; }
}

/* ===== V3.12 — stable newspaper hover bridge ===== */
.newspaper-reveal.is-visible {
  isolation: isolate;
}
.newspaper-sheet {
  touch-action: pan-y;
}


/* ═══ COVER STEP 01 — V3-19 BASE ONLY ═══ */
.cover-title-group {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.cover-studio-label {
  margin-left: 2.15vw;
  margin-bottom: clamp(.65rem, 1.15vw, 1.35rem);
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1rem, 1.55vw, 1.8rem);
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--near-black);
  text-transform: uppercase;
}
.cover-title-group .portfolio-lockup { padding-top: 0; }

/* Sequence: arrow draws, then slogan writes, both clear, then sequence restarts. */
.cover-annotation { top: 88%; }
.cover-arrow-shaft {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: coverArrowShaftCycle 6s cubic-bezier(.33,.02,.2,1) .65s infinite;
}
.cover-arrow-head {
  stroke-dasharray: 58;
  stroke-dashoffset: 58;
  animation: coverArrowHeadCycle 6s ease-out .65s infinite;
}
@keyframes coverArrowShaftCycle {
  0%, 5% { stroke-dashoffset: 320; opacity: 1; }
  28%, 82% { stroke-dashoffset: 0; opacity: 1; }
  90%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes coverArrowHeadCycle {
  0%, 25% { stroke-dashoffset: 58; opacity: 1; }
  34%, 82% { stroke-dashoffset: 0; opacity: 1; }
  90%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
.cover-slogan {
  overflow: visible;
  padding-top: .2em;
  padding-bottom: .28em;
  line-height: 1.2;
}
.cover-slogan > span {
  opacity: 0;
  transform: translateY(7px);
  animation: coverSloganCycle 6s ease infinite;
  animation-delay: calc(.65s + (var(--letter-index, 0) * .052s));
}
@keyframes coverSloganCycle {
  0%, 42% { opacity: 0; transform: translateY(7px); }
  50%, 82% { opacity: 1; transform: translateY(0); }
  90%, 100% { opacity: 0; transform: translateY(0); }
}
@media (max-width: 900px) {
  .cover-studio-label { margin-left: 2.2vw; margin-bottom: .6rem; }
  .cover-annotation { top: 87%; }
}


/* ═══ STEP 02 — COVER REFINEMENT + TORN PAPER ═══ */
/* Cover: STUDIO CRÉATIF now belongs visually to the PORTFOLIO lockup. */
.cover-studio-label {
  margin-left: 1.2vw;
  margin-bottom: clamp(.22rem, .42vw, .58rem);
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-size: clamp(2rem, 5.35vw, 8.4rem);
  font-weight: 900;
  letter-spacing: -.012em;
  line-height: .82;
  color: var(--near-black);
  text-transform: uppercase;
}

/* Torn band: the cream grid sheet itself is ripped open to reveal black underneath. */
.torn-band-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.065) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px;
}

.torn-band-black {
  position: relative;
  width: 100%;
  height: min(67vh, 680px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(110% 22% at 50% 3%, rgba(70,70,70,.24) 0%, rgba(18,18,18,.10) 44%, transparent 72%),
    radial-gradient(110% 22% at 50% 97%, rgba(70,70,70,.20) 0%, rgba(18,18,18,.08) 44%, transparent 72%),
    linear-gradient(180deg, #111 0%, #080808 18%, #050505 50%, #090909 82%, #121212 100%);
  filter: none;
  clip-path: none !important;
  -webkit-clip-path: none !important;
}

/* These two pieces are the SAME cream grid paper, not white/grey strips. */
.torn-band-black::before,
.torn-band-black::after {
  content: "";
  position: absolute;
  left: -1%;
  width: 102%;
  height: 84px;
  z-index: 8;
  pointer-events: none;
  opacity: 1;
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.065) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px;
  filter: none;
}

.torn-band-black::before {
  top: -1px;
  clip-path: polygon(
    0 0, 100% 0, 100% 44%, 98.5% 48%, 97.1% 43%, 95.4% 55%,
    93.8% 47%, 92.2% 61%, 90.4% 52%, 88.7% 66%, 86.9% 55%,
    85.1% 63%, 83.3% 50%, 81.5% 58%, 79.7% 46%, 77.8% 62%,
    75.9% 53%, 74.1% 68%, 72.3% 56%, 70.4% 64%, 68.6% 49%,
    66.8% 60%, 64.9% 54%, 63.1% 70%, 61.3% 58%, 59.5% 65%,
    57.6% 51%, 55.8% 62%, 54% 48%, 52.2% 68%, 50.4% 55%,
    48.6% 64%, 46.8% 50%, 45% 59%, 43.2% 46%, 41.4% 65%,
    39.6% 54%, 37.8% 69%, 36% 56%, 34.2% 63%, 32.4% 49%,
    30.6% 60%, 28.8% 52%, 27% 67%, 25.2% 55%, 23.4% 62%,
    21.6% 48%, 19.8% 59%, 18% 51%, 16.2% 66%, 14.4% 53%,
    12.6% 63%, 10.8% 47%, 9% 58%, 7.2% 52%, 5.4% 65%,
    3.6% 54%, 1.8% 61%, 0 55%
  );
  filter: drop-shadow(0 5px 3px rgba(0,0,0,.28));
}

.torn-band-black::after {
  bottom: -1px;
  clip-path: polygon(
    0 46%, 1.8% 39%, 3.6% 51%, 5.4% 36%, 7.2% 48%, 9% 40%,
    10.8% 55%, 12.6% 37%, 14.4% 49%, 16.2% 34%, 18% 47%,
    19.8% 40%, 21.6% 53%, 23.4% 38%, 25.2% 50%, 27% 35%,
    28.8% 48%, 30.6% 39%, 32.4% 54%, 34.2% 37%, 36% 49%,
    37.8% 33%, 39.6% 46%, 41.4% 35%, 43.2% 53%, 45% 40%,
    46.8% 50%, 48.6% 36%, 50.4% 48%, 52.2% 32%, 54% 45%,
    55.8% 37%, 57.6% 51%, 59.5% 35%, 61.3% 47%, 63.1% 31%,
    64.9% 44%, 66.8% 36%, 68.6% 51%, 70.4% 38%, 72.3% 46%,
    74.1% 32%, 75.9% 45%, 77.8% 36%, 79.7% 52%, 81.5% 40%,
    83.3% 50%, 85.1% 37%, 86.9% 46%, 88.7% 34%, 90.4% 48%,
    92.2% 39%, 93.8% 53%, 95.4% 41%, 97.1% 50%, 98.5% 42%, 100% 47%,
    100% 100%, 0 100%
  );
  filter: drop-shadow(0 -5px 3px rgba(0,0,0,.25));
}

/* Keep the content over the black surface but under the cream torn edges. */
.torn-marquee-wrap,
.torn-portrait-wrap {
  z-index: 3;
}

@media (max-width: 900px) {
  .cover-studio-label {
    margin-left: 1.2vw;
    margin-bottom: .28rem;
    font-size: clamp(1.8rem, 7.2vw, 4.7rem);
  }
  .torn-band-black::before,
  .torn-band-black::after {
    height: 62px;
  }
}

/* ═══ STEP 02B — REFERENCE-BASED TORN PAPER ═══
   Uses the exact silhouette/rhythm of the supplied 769 reference.
   Outside = original cream grid paper. Opening = black layer.
   Torn fibers = cream paper with warm grey depth, derived from the reference. */
.torn-band-section {
  background-color: var(--paper);
  background-image:
    linear-gradient(rgba(0,0,0,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.065) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px;
}

.torn-band-black {
  position: relative;
  width: 100%;
  height: min(72vh, 760px);
  background: #070707;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  -webkit-mask-image: url('assets/torn-reference-mask.png');
  mask-image: url('assets/torn-reference-mask.png');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
}

.torn-band-black::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  pointer-events: none;
  background: url('assets/torn-reference-edge.png') center / 100% 100% no-repeat;
  opacity: 1;
  filter: none;
  clip-path: none;
}

.torn-band-black::after {
  content: none;
  display: none;
}

.torn-marquee-wrap,
.torn-portrait-wrap {
  z-index: 3;
}

@media (max-width: 900px) {
  .torn-band-black {
    height: min(62vh, 620px);
  }
}

/* ===== V3-25 — expertise notebooks only ===== */
.expertise-v2 { overflow: visible !important; }
.expertise-cloud { margin-top: 1rem; min-height: 72vh; }
.expertise-pill { cursor: pointer; overflow: visible; }
.expertise-pill:hover { z-index: 30; }
.expertise-notebook {
  position: absolute;
  width: clamp(300px, 27vw, 430px);
  min-height: 300px;
  left: 50%;
  top: calc(100% + 18px);
  transform: translate(-50%, 16px) rotate(-2deg) scale(.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, transform .36s cubic-bezier(.16,1,.3,1), visibility .24s;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.18));
  color: #111;
  z-index: 50;
}
.expertise-pill:nth-child(even) .expertise-notebook { transform: translate(-50%, 16px) rotate(2deg) scale(.94); }
.expertise-pill:hover .expertise-notebook { opacity: 1; visibility: visible; transform: translate(-50%, 0) rotate(-2deg) scale(1); }
.expertise-pill:nth-child(even):hover .expertise-notebook { transform: translate(-50%, 0) rotate(2deg) scale(1); }
.notebook-page {
  min-height: 300px;
  padding: 2rem 1.8rem 1.45rem 2.6rem;
  border: 1px solid rgba(20,20,20,.2);
  background-color: #f5f0e8;
  background-image:
    linear-gradient(rgba(40,40,40,.105) 1px, transparent 1px),
    linear-gradient(90deg, rgba(40,40,40,.105) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: inset 7px 0 0 rgba(0,0,0,.035), 0 3px 0 #ded7ca, 0 6px 0 #ece6dc;
  position: relative;
  overflow: hidden;
}
.notebook-spiral {
  position: absolute; left: -8px; top: 16px; bottom: 16px; width: 26px; z-index: 3;
  background: repeating-linear-gradient(to bottom, transparent 0 13px, #1b1b1b 13px 16px, transparent 16px 27px);
  border-radius: 8px;
}
.notebook-topline { display:flex; justify-content:space-between; gap:1rem; font: 700 .62rem/1.1 'Space Mono', monospace; letter-spacing:.08em; text-transform:uppercase; }
.notebook-title { font-family:'Barlow Condensed', sans-serif; font-size:clamp(3.5rem,5vw,5.8rem); font-weight:900; line-height:.82; margin-top:1.25rem; letter-spacing:-.04em; }
.notebook-page p { max-width:29ch; font: 600 .82rem/1.35 'Space Mono', monospace; margin:1rem 0 1.1rem; }
.notebook-media { height:92px; border:1.5px solid #171717; background:rgba(255,255,255,.22); display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden; }
.notebook-media::before { content:''; position:absolute; inset:9px; border:1px dashed rgba(0,0,0,.28); }
.notebook-media-label { position:absolute; left:10px; top:8px; font:700 .55rem 'Space Mono', monospace; letter-spacing:.08em; }
.notebook-play { font-size:1.5rem; }
.notebook-scribble { margin-top:.8rem; font-family:'Caveat', cursive; font-size:1.05rem; transform:rotate(-1deg); }
.expertise-pill-3 .expertise-notebook, .expertise-pill-6 .expertise-notebook { left:auto; right:0; transform:translate(0,16px) rotate(-2deg) scale(.94); }
.expertise-pill-3:hover .expertise-notebook, .expertise-pill-6:hover .expertise-notebook { transform:translate(0,0) rotate(-2deg) scale(1); }
.expertise-pill-4 .expertise-notebook, .expertise-pill-5 .expertise-notebook, .expertise-pill-6 .expertise-notebook { top:auto; bottom:calc(100% + 18px); }
@media (max-width:900px) {
  .expertise-v2 { padding:5rem 1.25rem !important; }
  .expertise-cloud { min-height:auto; }
  .expertise-notebook { width:min(82vw,390px); left:50% !important; right:auto !important; top:calc(100% + 12px) !important; bottom:auto !important; }
  .expertise-pill:hover .expertise-notebook, .expertise-pill:nth-child(even):hover .expertise-notebook, .expertise-pill-3:hover .expertise-notebook, .expertise-pill-6:hover .expertise-notebook { transform:translate(-50%,0) rotate(-1deg) scale(1); }
}

/* ===== V3-26 — NEW TORN REFERENCE + LOGOS & MARKS CHAPTER ===== */
/* The supplied reference is used as the actual silhouette: grid paper outside,
   black opening immediately inside the torn edge. */
.torn-band-black {
  height: min(72vh, 760px);
  background: #070707 !important;
  -webkit-mask-image: url('assets/torn-mask-v26.png') !important;
  mask-image: url('assets/torn-mask-v26.png') !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
}
.torn-band-black::before,
.torn-band-black::after { content: none !important; display: none !important; }

.logos-transition {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}
.logos-transition-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  filter: saturate(.82) contrast(1.08);
}
.logos-transition-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.38), rgba(0,0,0,.04) 50%, rgba(0,0,0,.24));
}
.logos-transition-title {
  position: absolute;
  z-index: 2;
  left: 3.2vw;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.055em;
  line-height: .73;
  font-size: clamp(7rem, 18vw, 22rem);
  color: #e42a21;
  white-space: nowrap;
  mix-blend-mode: normal;
}
.logos-transition-title span:last-child { margin-left: 7vw; }
.logos-transition-meta {
  position: absolute;
  z-index: 3;
  top: 2.4rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem;
  line-height: 1.55;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.logos-transition-meta-left { left: 3.5vw; }
.logos-transition-meta-right { right: 3.5vw; text-align: right; }
.logos-transition-index {
  position: absolute;
  z-index: 3;
  left: 3.5vw;
  bottom: 2.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .62rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
/* 9 logos: keep the existing grid language, simply extend it to 3×3. */
.selected-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.selected-card-7 .selected-client-logo { animation: logoDriftB 6.4s ease-in-out infinite; }
.selected-card-8 .selected-client-logo { animation: logoDriftC 7s ease-in-out infinite reverse; }
.selected-card-9 .selected-client-logo { animation: logoDriftA 5.7s ease-in-out infinite reverse; }

@media (max-width: 900px) {
  .logos-transition { min-height: 620px; height: 86vh; }
  .logos-transition-title { font-size: clamp(5.2rem, 23vw, 11rem); line-height: .78; left: 4vw; }
  .logos-transition-title span:last-child { margin-left: 2vw; }
  .selected-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .selected-grid { grid-template-columns: 1fr; }
}

/* ===== V3.27 — chapter system + reference polaroids ===== */
.chapter-marquee{background:#0C0C0C;color:#F5F0E8;overflow:hidden;border-top:1px solid rgba(245,240,232,.18);border-bottom:1px solid rgba(245,240,232,.18);padding:1.05rem 0;position:relative;z-index:8}
.chapter-marquee-track{display:flex;width:max-content;white-space:nowrap;font-family:'Barlow Condensed',system-ui,sans-serif;font-weight:900;text-transform:uppercase;font-size:clamp(1.4rem,2.4vw,2.8rem);line-height:.9;letter-spacing:.015em;animation:marquee 22s linear infinite}
.chapter-marquee-track span{padding-right:1.4rem}

.logo-partners{padding:7vw 4vw 9vw;min-height:100vh}
.logo-partners-grid{max-width:1500px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(1.4rem,3vw,4rem)}
.logo-partner-card{margin:0;background:#fbf8f2;padding:clamp(.8rem,1.4vw,1.35rem) clamp(.8rem,1.4vw,1.35rem) clamp(1.4rem,2.2vw,2.4rem);box-shadow:0 18px 35px rgba(30,25,18,.13);transition:transform .25s ease}
.logo-partner-card:nth-child(3n+1){transform:rotate(-1.4deg)}.logo-partner-card:nth-child(3n+2){transform:translateY(1.5rem) rotate(.8deg)}.logo-partner-card:nth-child(3n){transform:rotate(1.25deg)}
.logo-partner-card:hover{transform:translateY(-8px) rotate(0deg)}
.logo-partner-media{height:clamp(180px,20vw,330px);display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}
.logo-partner-media img{width:78%;height:78%;object-fit:contain}
.logo-partner-card figcaption{font-family:'Caveat',cursive;font-size:clamp(1.2rem,1.8vw,2rem);margin-top:1rem;color:#171512}

.images-transition .logos-transition-title{font-size:clamp(4rem,12.5vw,15rem)}
.media-polaroid-gallery{padding:clamp(4rem,7vw,8rem) 2.5vw clamp(6rem,10vw,12rem);overflow:hidden}
.media-polaroid-row{position:relative;max-width:1650px;height:clamp(500px,49vw,800px);margin:0 auto clamp(2rem,5vw,6rem)}
.media-polaroid{position:absolute;width:31%;margin:0;background:#fbf8f2;padding:1.2% 1.2% 3.4%;box-shadow:0 22px 38px rgba(25,22,18,.20);transform-origin:center center}
.media-polaroid-1{left:5%;top:5%;transform:rotate(-7deg)}
.media-polaroid-2{left:34.5%;top:9%;width:34%;transform:rotate(-3deg);z-index:3}
.media-polaroid-3{right:4.5%;top:1%;transform:rotate(6deg)}
.media-polaroid-row-2 .media-polaroid-1{transform:rotate(5deg);top:3%}.media-polaroid-row-2 .media-polaroid-2{transform:rotate(2deg);top:10%}.media-polaroid-row-2 .media-polaroid-3{transform:rotate(-6deg);top:4%}
.media-polaroid-frame{position:relative;aspect-ratio:1.34/1;overflow:hidden;background:#ddd}
.media-polaroid-frame img{width:100%;height:100%;object-fit:cover;display:block}
.media-polaroid figcaption{font-family:'Caveat',cursive;font-size:clamp(1.15rem,1.75vw,2rem);line-height:1.05;margin-top:clamp(.8rem,1.4vw,1.5rem);color:#171512}.media-polaroid figcaption span{font-size:.8em}
.media-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:clamp(44px,5vw,72px);height:clamp(44px,5vw,72px);border-radius:50%;background:rgba(12,12,12,.78);color:white;display:grid;place-items:center;font-size:1.2rem;padding-left:.15em}

/* New torn-paper reference: the paper itself is torn; black starts immediately behind it. */
.torn-band-section{padding:0!important;background-color:#F5F0E8!important;overflow:hidden!important}
.torn-band-black{height:clamp(500px,62vh,760px)!important;background:#050505!important;clip-path:none!important;-webkit-mask-image:url('assets/torn-mask-v27.svg')!important;mask-image:url('assets/torn-mask-v27.svg')!important;-webkit-mask-size:100% 100%!important;mask-size:100% 100%!important;-webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;-webkit-mask-position:center!important;mask-position:center!important}
.torn-band-black::before,.torn-band-black::after{display:none!important}

@media(max-width:800px){
 .logo-partners-grid{grid-template-columns:repeat(2,1fr)}
 .media-polaroid-row{height:auto;display:flex;flex-direction:column;gap:1.5rem;margin-bottom:1.5rem}
 .media-polaroid{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:88%!important;margin:0 auto!important;transform:rotate(-2deg)!important}
 .media-polaroid:nth-child(even){transform:rotate(2deg)!important}
}
@media(max-width:520px){.logo-partners-grid{grid-template-columns:1fr}.chapter-marquee{padding:.85rem 0}}

/* V3.28 corrections */
.logos-transition-title{letter-spacing:-.018em!important;line-height:.78!important}.images-transition .logos-transition-title{letter-spacing:-.012em!important}
.chapter-marquee{padding:.68rem 0!important;background:#050505!important}.chapter-marquee-track{font-size:clamp(1.15rem,1.75vw,2.05rem)!important;letter-spacing:.055em!important;line-height:1!important}.chapter-marquee-track span{padding-right:1.8rem!important}
.logo-partners{padding:0!important;min-height:auto!important;background-color:#F5F0E8!important}.logo-reference-grid{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(12,12,12,.48);border-left:1px solid rgba(12,12,12,.48)}.logo-reference-cell{min-height:clamp(340px,37vw,610px);margin:0;padding:clamp(1.4rem,2.4vw,2.7rem);display:grid;grid-template-rows:auto 1fr auto;border-right:1px solid rgba(12,12,12,.48);border-bottom:1px solid rgba(12,12,12,.48);background:rgba(245,240,232,.94)}.logo-reference-type,.logo-reference-cell figcaption{font-family:'DM Sans',Arial,sans-serif;color:#171512;text-transform:uppercase;font-size:clamp(.62rem,.82vw,.92rem);font-weight:500;letter-spacing:-.025em}.logo-reference-type{text-align:center}.logo-reference-cell figcaption{text-align:center;margin:0}.logo-reference-media{display:flex;align-items:center;justify-content:center;padding:clamp(1rem,3vw,3.4rem)}.logo-reference-media img{width:min(72%,430px);height:min(72%,270px);object-fit:contain;display:block;mix-blend-mode:multiply}
.media-polaroid{cursor:pointer;transition:transform .28s ease,box-shadow .28s ease;outline:none}.media-polaroid:hover,.media-polaroid:focus-visible{z-index:12!important;box-shadow:0 34px 58px rgba(25,22,18,.28)}.media-polaroid-row-1 .media-polaroid-1:hover{transform:translateY(-12px) rotate(-3deg) scale(1.025)}.media-polaroid-row-1 .media-polaroid-2:hover{transform:translateY(-12px) rotate(-1deg) scale(1.025)}.media-polaroid-row-1 .media-polaroid-3:hover{transform:translateY(-12px) rotate(3deg) scale(1.025)}.media-polaroid-row-2 .media-polaroid-1:hover{transform:translateY(-12px) rotate(2deg) scale(1.025)}.media-polaroid-row-2 .media-polaroid-2:hover{transform:translateY(-12px) rotate(1deg) scale(1.025)}.media-polaroid-row-2 .media-polaroid-3:hover{transform:translateY(-12px) rotate(-3deg) scale(1.025)}.media-polaroid-frame img{transition:transform .35s ease}.media-polaroid:hover .media-polaroid-frame img{transform:scale(1.035)}.media-open{position:absolute;right:.7rem;bottom:.6rem;background:#050505;color:#F5F0E8;padding:.35rem .55rem;font-family:'DM Sans',sans-serif;font-size:.58rem;letter-spacing:.12em;opacity:0;transition:.22s}.media-polaroid:hover .media-open{opacity:1}.media-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(5,5,5,.93);display:flex;align-items:center;justify-content:center;padding:5vw}.media-lightbox-content{max-width:min(1200px,82vw);max-height:82vh;color:#F5F0E8;font-family:'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.1em;font-size:.7rem}.media-lightbox-content img{display:block;max-width:100%;max-height:74vh;object-fit:contain;margin:0 auto 1rem}.media-lightbox-close,.media-lightbox-nav{position:fixed;border:0;background:transparent;color:#F5F0E8;cursor:pointer;z-index:10000}.media-lightbox-close{right:2rem;top:1.2rem;font-size:3rem}.media-lightbox-nav{top:50%;transform:translateY(-50%);font-size:2.5rem}.media-lightbox-nav.prev{left:1.2rem}.media-lightbox-nav.next{right:1.2rem}
@media(max-width:900px){.logo-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.logo-reference-cell{min-height:380px}}@media(max-width:600px){.logo-reference-grid{grid-template-columns:1fr}.logo-reference-cell{min-height:330px}}

/* V3-29 — Chapter 03 / Réseaux Sociaux, Product-to-Presence reference */
.social-transition .logos-transition-image { filter: saturate(.82) contrast(1.04); }
.social-transition-title { letter-spacing: .045em; }
.social-presence { min-height: 100vh; }
.social-presence .presence-copy { align-self: center; }
.social-presence .presence-copy h2 { letter-spacing: -.025em; }
.social-orbit { min-height: 650px; }
.social-card { cursor: default; }
.social-note {
  position:absolute; z-index:6; font-family:'Caveat',cursive; font-size:clamp(1rem,1.4vw,1.45rem);
  color:rgba(15,13,10,.62); transform:rotate(-4deg); pointer-events:none;
}
.social-note-a { left:4%; bottom:12%; }
.social-note-b { right:3%; top:8%; transform:rotate(3deg); }
@media(max-width:760px){
  .social-transition-title { letter-spacing:.025em; }
  .social-note { display:none; }
}


/* V3-30 — second mirrored social composition */
.social-presence-reverse {
  grid-template-columns: 1.1fr .9fr;
  padding-top: 4.5rem;
  padding-bottom: 8rem;
}
.social-presence-reverse::after { display:none; }
.social-orbit-reverse { grid-column:1; grid-row:1; }
.social-copy-reverse { grid-column:2; grid-row:1; align-self:center; }
.social-presence-reverse .mockup-card-1 { background:linear-gradient(160deg,#151515,#223286); }
.social-presence-reverse .mockup-card-2 { background:linear-gradient(160deg,#ff8304,#5b2700); }
.social-presence-reverse .mockup-card-3 { background:linear-gradient(160deg,#223286,#0d0d0d); }
@media(max-width:760px){
  .social-presence-reverse { grid-template-columns:1fr; }
  .social-orbit-reverse { grid-column:1; grid-row:1; }
  .social-copy-reverse { grid-column:1; grid-row:2; }
}

/* ═══ V3-31 — social continuity + compact integrated logo wall ═══ */
/* The two social compositions are one continuous paper spread: no black divider. */
.social-presence::after,
.social-presence-reverse::after {
  display: none !important;
  content: none !important;
}
.social-presence { padding-bottom: 4.5rem; }
.social-presence-reverse { padding-top: 2.5rem; }

/* LOGOS & MARKS — closer to the Behance reference: denser cells, marks living on paper. */
.logo-reference-cell {
  min-height: clamp(235px, 25vw, 390px) !important;
  padding: clamp(.9rem, 1.45vw, 1.6rem) !important;
  background: rgba(245,240,232,.34) !important;
}
.logo-reference-media {
  padding: clamp(.45rem, 1.55vw, 1.75rem) !important;
  background: transparent !important;
  overflow: hidden;
}
.logo-reference-media img {
  width: min(68%, 340px) !important;
  height: min(68%, 190px) !important;
  object-fit: contain;
  mix-blend-mode: multiply !important;
  filter: contrast(1.08) saturate(.92);
  opacity: .94;
}
.logo-reference-type,
.logo-reference-cell figcaption {
  font-size: clamp(.56rem,.68vw,.78rem) !important;
  letter-spacing: .005em !important;
}
@media(max-width:760px){
  .logo-reference-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .logo-reference-cell{min-height:260px!important}
}
@media(max-width:520px){
  .logo-reference-grid{grid-template-columns:1fr!important}
  .logo-reference-cell{min-height:240px!important}
}

/* ═══ V3-32 — final torn-paper mapping + transition title balance ═══ */
/* Reference mapping: outer brown areas = continuous cream grid paper; central white area = black opening. */
.torn-band-section {
  padding: 0 !important;
  background-color: #F5F0E8 !important;
  overflow: hidden !important;
}
.torn-band-black {
  height: clamp(680px, 78vh, 960px) !important;
  background: #050505 !important;
  clip-path: none !important;
  -webkit-mask-image: url('assets/torn-mask-final.png') !important;
  mask-image: url('assets/torn-mask-final.png') !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
}
.torn-band-black::before,
.torn-band-black::after {
  display: none !important;
  content: none !important;
}

/* IMAGES ET VIDEOS must carry the same visual weight as the other chapter transitions. */
.images-transition .logos-transition-title {
  font-size: clamp(6.4rem, 17vw, 18rem) !important;
  letter-spacing: -.008em !important;
  line-height: .78 !important;
}
@media (max-width: 760px) {
  .torn-band-black { height: clamp(560px, 72vh, 760px) !important; }
  .images-transition .logos-transition-title { font-size: clamp(4.8rem, 18vw, 10rem) !important; }
}

/* ═══ V3-33 — final tear from 25600 reference + tighter social rhythm ═══ */
/* 25600 mapping: blue center = black opening; gray exterior = continuous cream grid paper. No white border. */
.torn-band-section {
  padding: 0 !important;
  background-color: #F5F0E8 !important;
  overflow: hidden !important;
}
.torn-band-black {
  height: clamp(720px, 82vh, 1040px) !important;
  background: #050505 !important;
  clip-path: none !important;
  -webkit-mask-image: url('assets/torn-mask-25600.png') !important;
  mask-image: url('assets/torn-mask-25600.png') !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  filter: none !important;
}
.torn-band-black::before,
.torn-band-black::after {
  display: none !important;
  content: none !important;
}

/* Réseaux sociaux: the two Product-to-Presence spreads read as one continuous chapter. */
.social-presence {
  min-height: 82vh !important;
  padding-top: 4.6rem !important;
  padding-bottom: 1.25rem !important;
}
.social-presence-reverse {
  min-height: 82vh !important;
  padding-top: 0 !important;
  padding-bottom: 5rem !important;
  margin-top: -2rem !important;
}
.social-orbit,
.social-orbit-reverse {
  min-height: 560px !important;
  height: min(58vw, 610px) !important;
}
@media (max-width: 760px) {
  .torn-band-black { height: clamp(620px, 76vh, 820px) !important; }
  .social-presence,
  .social-presence-reverse { min-height: auto !important; }
  .social-presence { padding-bottom: .75rem !important; }
  .social-presence-reverse { margin-top: -1rem !important; padding-top: 0 !important; }
  .social-orbit,
  .social-orbit-reverse { min-height: 500px !important; height: 500px !important; }
}

/* ═══ V3-34 — true alpha tear mask (25600 reference) ═══
   The black band itself is clipped to the torn silhouette.
   Transparent mask areas reveal the continuous paper-grid parent. */
.torn-band-section {
  padding: 0 !important;
  background-color: var(--paper) !important;
  overflow: visible !important;
}
.torn-band-black {
  width: 100% !important;
  height: clamp(720px, 82vh, 1040px) !important;
  background: #050505 !important;
  clip-path: none !important;
  -webkit-mask-image: url('assets/torn-mask-25600-alpha.png') !important;
  mask-image: url('assets/torn-mask-25600-alpha.png') !important;
  -webkit-mask-mode: alpha !important;
  mask-mode: alpha !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center center !important;
  mask-position: center center !important;
  filter: none !important;
}
.torn-band-black::before,
.torn-band-black::after {
  content: none !important;
  display: none !important;
}
@media (max-width: 760px) {
  .torn-band-black { height: clamp(620px, 76vh, 820px) !important; }
}

/* ═══ V3-35 — final tear cleanup ═══
   Keep the exact torn silhouette, remove all semi-transparent light fringe,
   and give the black opening more vertical presence. */
.torn-band-black {
  height: clamp(820px, 90vh, 1180px) !important;
  -webkit-mask-image: url('assets/torn-mask-25600-hard.png') !important;
  mask-image: url('assets/torn-mask-25600-hard.png') !important;
  -webkit-mask-mode: alpha !important;
  mask-mode: alpha !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center center !important;
  mask-position: center center !important;
}
@media (max-width: 760px) {
  .torn-band-black { height: clamp(700px, 84vh, 940px) !important; }
}

/* ══ V3-36 — BRANDING / VISUAL IDENTITY ═════════════════════ */
.branding-transition-title{font-size:clamp(4.8rem,9.4vw,10.8rem)!important;letter-spacing:-.035em!important;line-height:.79!important}
.branding-identity{padding:7vw 4vw 9vw;position:relative}
.branding-sketch-stage{max-width:980px;margin:0 auto 9vw;position:relative;transform:rotate(-1deg)}
.branding-sketch-stage:before{content:"";position:absolute;inset:18px -16px -18px 16px;background:rgba(0,0,0,.13);filter:blur(18px);z-index:0}
.branding-sketch-stage img{position:relative;z-index:1;width:100%;display:block;box-shadow:0 18px 42px rgba(0,0,0,.17)}
.branding-sketch-note,.branding-mosaic-label{font-family:'Caveat',cursive;font-size:clamp(1.1rem,1.7vw,1.7rem);font-weight:700;letter-spacing:.02em}
.branding-sketch-note{position:absolute;z-index:2;top:-2.8rem;left:1rem;transform:rotate(-2deg)}
.branding-mosaic-wrap{max-width:1440px;margin:0 auto}.branding-mosaic-label{margin:0 0 1.5rem .4rem}
.branding-mosaic{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:minmax(92px,8.2vw);gap:12px;background:#101010;padding:12px}
.brand-tile{position:relative;overflow:hidden;border-radius:4px;background:#f3eee5;display:flex;align-items:center;justify-content:center;padding:1.3rem}
.brand-tile img{width:72%;height:72%;object-fit:contain}.brand-mini{position:absolute;top:12px;left:14px;font-size:.58rem;letter-spacing:.18em;font-weight:800}
.brand-tile-symbol{grid-column:1/4;grid-row:1/3}.brand-tile-blue{grid-column:4/7;grid-row:1/3;background:#223286}.brand-tile-blue img{filter:drop-shadow(0 8px 15px rgba(0,0,0,.22))}
.brand-tile-word{grid-column:7/13;grid-row:1/3;background:linear-gradient(120deg,#223286,#0e174c)}.brand-tile-word .brand-mini,.brand-tile-word{color:white}
.brand-tile-type{grid-column:1/4;grid-row:3/6;align-items:flex-start;justify-content:flex-end;flex-direction:column}.brand-tile-type strong{font-size:clamp(4rem,8vw,8rem);line-height:.8;font-weight:500}.brand-tile-type small{margin-top:1rem}
.brand-tile-palette{grid-column:4/8;grid-row:3/5;display:grid;grid-template-columns:1fr 1fr;gap:.7rem;align-content:end;justify-content:stretch}.brand-tile-palette .brand-mini{grid-column:1/-1}.brand-swatches{grid-column:1/-1;display:flex;height:54px}.brand-swatches i{flex:1}.brand-swatches i:nth-child(1){background:#ff8304}.brand-swatches i:nth-child(2){background:#223286}.brand-swatches i:nth-child(3){background:#0f3d8f}
.brand-tile-screen{grid-column:8/13;grid-row:3/6;background:linear-gradient(135deg,#ff8304,#df6400);color:white;align-items:flex-start;justify-content:flex-end;flex-direction:column}.brand-screen-mark{font-size:clamp(6rem,12vw,13rem);font-weight:900;line-height:.65}.brand-tile-screen small{margin-top:1.4rem;text-transform:uppercase;letter-spacing:.15em}
.brand-tile-pattern{grid-column:4/8;grid-row:5/8;background:#fff}.brand-pattern{font-size:clamp(2.2rem,5vw,6rem);font-weight:900;line-height:.8;color:#223286;transform:rotate(-8deg);white-space:nowrap}
.brand-tile-app{grid-column:1/4;grid-row:6/8;background:#223286}.brand-tile-app .brand-mini{color:white}.brand-app-icon{width:58%;aspect-ratio:1;border-radius:22%;background:linear-gradient(145deg,#ff8a00,#ff6500);display:grid;place-items:center;color:white;font-size:clamp(3rem,6vw,7rem);font-weight:900;box-shadow:0 14px 30px rgba(0,0,0,.25)}
.brand-tile-dark{grid-column:8/11;grid-row:6/8;background:#151515}.brand-tile-dark .brand-mini{color:white}.brand-tile-message{grid-column:11/13;grid-row:6/8;background:#ff8304;color:#111;align-items:flex-start;flex-direction:column;font-size:clamp(.9rem,1.5vw,1.5rem);font-weight:900;line-height:1.35}
@media(max-width:800px){.branding-identity{padding:18vw 4vw}.branding-sketch-stage{margin-bottom:18vw}.branding-mosaic{grid-template-columns:repeat(2,1fr);grid-auto-rows:180px}.brand-tile{grid-column:auto!important;grid-row:auto!important}.brand-tile-word,.brand-tile-screen,.brand-tile-pattern{grid-column:1/-1!important}.branding-transition-title{font-size:clamp(3.4rem,14vw,7rem)!important}}

/* ══ V3-37 — Branding dark-grid + expertise notebook media focus ══ */
/* Branding chapter: temporary switch to the same dark graph-paper world as the FUSUN reference. */
.branding-identity.dark-grid{
  background-color:#0d0d0e!important;
  background-image:
    linear-gradient(rgba(255,255,255,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.075) 1px,transparent 1px)!important;
  background-size:42px 42px!important;
  color:#f4f0e8;
}
.branding-identity .branding-sketch-note,
.branding-identity .branding-mosaic-label{color:#f4f0e8}
.branding-identity .branding-sketch-stage{max-width:1040px;margin-bottom:7vw}
.branding-identity .branding-sketch-stage:before{background:rgba(0,0,0,.55);filter:blur(24px)}
.branding-identity .branding-sketch-stage img{box-shadow:0 24px 60px rgba(0,0,0,.55)}
.branding-identity .branding-mosaic{background:transparent;padding:0;gap:10px}
.branding-identity .brand-tile{box-shadow:0 8px 24px rgba(0,0,0,.22)}

/* Keep the notebook shell exactly as-is; only reorganise its internal content. */
.expertise-notebook .notebook-title{display:none!important}
.expertise-notebook .notebook-page p{
  max-width:34ch;
  margin:1.25rem 0 .9rem;
  font:600 .82rem/1.4 'Space Mono',monospace;
}
.expertise-notebook .notebook-media{
  height:190px;
  flex:1 1 auto;
  min-height:160px;
}
.expertise-notebook .notebook-media::before{inset:10px}
.expertise-notebook .notebook-play{font-size:2rem}
.expertise-notebook .notebook-scribble{
  margin-top:.7rem;
  font-family:'Caveat',cursive;
  font-size:1.12rem;
  font-weight:700;
  letter-spacing:.02em;
  transform:rotate(-1deg);
}
@media(max-width:800px){
  .branding-identity.dark-grid{background-size:34px 34px!important}
  .expertise-notebook .notebook-media{height:165px;min-height:145px}
}


/* ══ V3-38 — transition assets, chapter order & cover micro-fixes ══ */
/* Keep the approved cover typography; only tighten the vertical lockup. */
.cover-studio-label{margin-bottom:clamp(.03rem,.08vw,.12rem)!important}
/* Preserve the note, but move it into clean negative space away from the P. */
.cover-note-left{left:3.5vw!important;top:31%!important;transform:rotate(-5deg)!important}
/* Branding is long, but must carry the same visual authority as every transition. */
.branding-transition-title{
  font-size:clamp(6.8rem,13.4vw,16.8rem)!important;
  letter-spacing:-.045em!important;
  line-height:.73!important;
}
.branding-transition-title span:last-child{margin-left:4.5vw!important}
@media(max-width:900px){
  .cover-note-left{left:3.5vw!important;top:27%!important}
  .branding-transition-title{font-size:clamp(4.2rem,16vw,8.8rem)!important;line-height:.78!important}
}

/* ===== V3-39 — NAKA photo + real skills + featured torn portrait ===== */
.naka-skill-tile {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(15,13,10,.14);
  color: var(--near-black);
  box-shadow: 0 5px 18px rgba(15,13,10,.05);
  padding: .65rem .35rem .55rem;
}
.skill-logo-wrap {
  width: clamp(32px, 3.1vw, 48px);
  height: clamp(32px, 3.1vw, 48px);
  display: grid;
  place-items: center;
}
.skill-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.skill-fallback {
  display: none;
  width: 100%; height: 100%;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 9px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
}
.naka-skill-tile .name {
  color: rgba(15,13,10,.68);
  text-align: center;
  font-size: clamp(.42rem, .48vw, .55rem);
  letter-spacing: .045em;
  line-height: 1.1;
}
.torn-portrait-wrap {
  width: min(45vw, 610px);
  height: min(75vh, 730px);
  align-self: flex-end;
}
.torn-featured-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 22px 35px rgba(0,0,0,.5));
}
@media (max-width: 700px) {
  .torn-portrait-wrap { width: 76vw; height: 54vh; }
}

/* ===== V3-40 — real local skill marks + portrait head over upper tear ===== */
.skill-logo-wrap {
  width: clamp(42px, 4vw, 62px);
  height: clamp(42px, 4vw, 62px);
}
.skill-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Keep the validated tear mask untouched. This extra transparent layer only
   exposes the upper part of the same portrait above the top torn edge. */
.torn-band-section { position: relative !important; overflow: visible !important; }
.torn-head-overlap {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 0;
  transform: translate(-50%, -9.5%);
  width: min(45vw, 610px);
  height: min(75vh, 730px);
  pointer-events: none;
  overflow: hidden;
  /* show only the head / upper silhouette; body remains handled by the masked portrait */
  clip-path: inset(0 0 68% 0);
}
.torn-head-overlap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.28));
}
@media (max-width: 700px) {
  .torn-head-overlap {
    width: 76vw;
    height: 54vh;
    transform: translate(-50%, -7%);
    clip-path: inset(0 0 64% 0);
  }
}

/* ===== V3-42 — torn portrait correction =====
   Same portrait is used for both layers. The overlap copy is now pixel-aligned
   with the portrait inside the torn black band, so only the head crossing the
   upper tear becomes visible — no duplicated/floating head. */
.torn-band-section {
  position: relative !important;
  overflow: visible !important;
}
.torn-portrait-wrap,
.torn-head-overlap {
  width: min(45vw, 610px) !important;
  height: min(75vh, 730px) !important;
}
.torn-head-overlap {
  position: absolute !important;
  z-index: 8 !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  pointer-events: none !important;
  overflow: hidden !important;
  /* only reveal the upper slice outside the black torn mask */
  clip-path: inset(0 0 68% 0) !important;
}
.torn-featured-portrait img,
.torn-head-overlap img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  object-position: 50% 100% !important;
}
.torn-featured-portrait img {
  filter: drop-shadow(0 22px 35px rgba(0,0,0,.48)) !important;
}
.torn-head-overlap img {
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.24)) !important;
}
@media (max-width: 700px) {
  .torn-portrait-wrap,
  .torn-head-overlap {
    width: 76vw !important;
    height: 54vh !important;
  }
  .torn-head-overlap {
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    clip-path: inset(0 0 64% 0) !important;
  }
}

/* ===== V3-43 — torn portrait + branding spacing + expertise media ===== */
/* The overlap copy is restricted to the paper area above the tear. It no longer
   paints a second face inside the black band. */
.torn-head-overlap {
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  clip-path: inset(0 0 78% 0) !important;
}
.branding-transition-title {
  font-size: clamp(6.1rem, 12.2vw, 15.2rem) !important;
  letter-spacing: .005em !important;
  line-height: .78 !important;
}
.branding-transition-title span { letter-spacing: .005em !important; }
.branding-transition-title span:last-child { margin-left: 3vw !important; }
.notebook-media img { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width: 700px) {
  .torn-head-overlap { clip-path: inset(0 0 76% 0) !important; }
  .branding-transition-title { font-size: clamp(3.8rem, 14.5vw, 8rem) !important; letter-spacing: .005em !important; }
}


/* ===== V3-44 — requested content updates; torn portrait intentionally untouched ===== */
/* Show the top of the Instagram profile in the DIGITAL expertise notebook. */
.expertise-pill-3 .notebook-media img { object-position: 50% 0% !important; }
/* Give the long branding chapter title more air between characters. */
.branding-transition-title,
.branding-transition-title span { letter-spacing: .025em !important; }

/* ===== V3-45 — expertise framing + LOGOS transition contrast ===== */
/* DIGITAL: preserve the very beginning of the Instagram screenshot. */
.expertise-pill-3 .notebook-media img {
  object-position: 50% 0% !important;
}
/* STRATEGY: bias the crop downward so the working table remains visible. */
.expertise-pill-1 .notebook-media img {
  object-position: 50% 72% !important;
}
/* Chapter 01 only: darker photographic transition, without affecting the other chapters. */
.logos-transition:not(.branding-transition):not(.images-transition):not(.social-transition) .logos-transition-shade {
  background: linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.42) 50%, rgba(0,0,0,.58)) !important;
}
.logos-transition:not(.branding-transition):not(.images-transition):not(.social-transition) .logos-transition-image {
  filter: saturate(.76) contrast(1.08) brightness(.72) !important;
}

/* V3-47 — real video + social media assets */
.notebook-media video,
.media-polaroid-frame video,
.media-lightbox-content video,
.social-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.media-lightbox-content video { max-height: 78vh; object-fit: contain; background:#000; }
.social-card-media { padding:0 !important; overflow:hidden; }
.social-card-media img { object-position:center; }
/* Branding transition: give the long title more air */
.branding-transition-title,
.branding-transition-title span { letter-spacing: .04em !important; }

/* V3-48 — keep all three social mockup cards fully visible */
.social-presence,
.social-presence-reverse {
  overflow: visible !important;
}
.social-orbit,
.social-orbit-reverse {
  width: 100%;
  overflow: visible;
}
.social-presence .mockup-card,
.social-presence-reverse .mockup-card {
  width: 38% !important;
  height: 60% !important;
}
.social-presence .mockup-card-1,
.social-presence-reverse .mockup-card-1 { left: 4% !important; }
.social-presence .mockup-card-2,
.social-presence-reverse .mockup-card-2 { left: 31% !important; }
.social-presence .mockup-card-3,
.social-presence-reverse .mockup-card-3 { left: 56% !important; right: auto !important; }

@media (max-width: 760px) {
  .social-presence,
  .social-presence-reverse { overflow: hidden !important; }
  .social-presence .mockup-card,
  .social-presence-reverse .mockup-card { width: 46% !important; }
  .social-presence .mockup-card-1,
  .social-presence-reverse .mockup-card-1 { left: 0 !important; }
  .social-presence .mockup-card-2,
  .social-presence-reverse .mockup-card-2 { left: 27% !important; }
  .social-presence .mockup-card-3,
  .social-presence-reverse .mockup-card-3 { left: 52% !important; }
}

/* ===== V3-49 — supplied skill logos + single portrait over the tear ===== */
.skill-logo-wrap {
  width: clamp(48px, 4.6vw, 72px) !important;
  height: clamp(48px, 4.6vw, 72px) !important;
  overflow: hidden;
  border-radius: 12px;
}
.skill-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* One single portrait layer: it sits over the torn opening instead of being
   duplicated inside/outside the mask. The top can cross the upper tear, while
   the bottom remains inside the section and never drops below the lower tear. */
.torn-band-section {
  position: relative !important;
  overflow: visible !important;
}
.torn-portrait-overlay {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  width: min(47vw, 640px);
  height: min(88vh, 820px);
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.torn-portrait-overlay img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: 50% 100%;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.34));
}
@media (max-width: 700px) {
  .torn-portrait-overlay {
    width: 80vw;
    height: 64vh;
    bottom: 8%;
  }
}

/* ===== V3-50 — compact real skill marks + lower-tear clipping + social left card ===== */
/* Skills: keep the 3 × 4 structure but make the full block denser. */
.naka-right {
  max-width: 430px;
  justify-self: end;
}
.naka-skills-grid {
  gap: .62rem !important;
  margin-top: 1.05rem !important;
}
.naka-skill-tile {
  aspect-ratio: auto !important;
  min-height: 92px !important;
  padding: .7rem .45rem .55rem !important;
  border-radius: 14px !important;
  gap: .22rem !important;
}
.skill-logo-wrap {
  width: clamp(42px, 3.8vw, 62px) !important;
  height: clamp(42px, 3.8vw, 62px) !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.skill-logo {
  object-fit: contain !important;
}
.naka-skill-tile .name {
  font-size: .46rem !important;
  line-height: 1.1 !important;
  letter-spacing: .08em !important;
}

/* Social mockups: the left card needs a real safety margin from the viewport.
   The two other positions and the floating/3D choreography stay intact. */
.social-presence .mockup-card-1,
.social-presence-reverse .mockup-card-1 {
  left: 11% !important;
}

/* Torn portrait: preserve the validated top overlap, but clip ONLY the bottom
   against an irregular tear-like boundary. There is no upper clipping. */
.torn-portrait-overlay {
  overflow: visible !important;
}
.torn-portrait-overlay img {
  clip-path: polygon(
    0 0, 100% 0,
    100% 82.0%,
    94% 81.1%,
    88% 82.6%,
    82% 81.4%,
    76% 82.2%,
    70% 80.9%,
    64% 82.5%,
    58% 81.8%,
    52% 80.4%,
    46% 78.8%,
    40% 77.6%,
    34% 78.7%,
    28% 77.9%,
    22% 79.1%,
    16% 78.3%,
    10% 79.5%,
    4% 78.6%,
    0 79.2%
  ) !important;
}

@media (max-width: 1000px) {
  .naka-right { max-width: 390px; justify-self: center; }
  .naka-skills-grid { gap: .55rem !important; }
  .naka-skill-tile { min-height: 88px !important; }
}

/* ===== V3-52 — requested review pass ===== */
/* STORY: same full-bleed treatment as DIGITAL; position protects faces. */
.expertise-pill-6 .notebook-media {
  background: #111 !important;
}
.expertise-pill-6 .notebook-media img {
  object-fit: cover !important;
  object-position: 50% 36% !important;
}

/* BRANDING transition: one hero word + a secondary but still assertive line. */
.branding-transition-title {
  font-size: clamp(6.4rem, 17vw, 18rem) !important;
  letter-spacing: -.008em !important;
  line-height: .76 !important;
}
.branding-transition-title span:first-child {
  letter-spacing: -.008em !important;
}
.branding-transition-title .branding-subtitle {
  font-size: .42em !important;
  line-height: .95 !important;
  letter-spacing: .035em !important;
  margin-left: 4vw !important;
  margin-top: .16em !important;
  white-space: nowrap;
}

/* Portrait: use the validated tear itself to define the lower clipping edge.
   The mask is opaque from the top of the section down to the exact lower edge,
   therefore the head can still escape upward while nothing leaks below the tear. */
.torn-portrait-overlay {
  left: 0 !important;
  bottom: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  -webkit-mask-image: url('assets/torn-lower-clip.png') !important;
  mask-image: url('assets/torn-lower-clip.png') !important;
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
}
.torn-portrait-overlay img {
  position: absolute !important;
  left: 50% !important;
  bottom: 7% !important;
  transform: translateX(-50%) !important;
  width: min(47vw, 640px) !important;
  height: min(88vh, 820px) !important;
  object-fit: contain !important;
  object-position: 50% 100% !important;
  clip-path: none !important;
}

/* Footer: icon-only navigation, keeping the existing dark editorial footer. */
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .72rem;
  align-self: start;
  padding-top: .1rem;
}
.footer-socials a {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #F5F0E8;
  text-decoration: none;
  position: relative;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease;
}
.footer-socials a:hover {
  transform: translateY(-4px) rotate(-3deg);
  background: #FF8304;
  border-color: #FF8304;
}
.footer-socials svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-socials .social-dot { fill: currentColor; stroke: none; }
.footer-social-letter {
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-transform: none;
}
.footer-facebook { font-size: 24px; transform: translateY(2px); }
@media (max-width: 760px) {
  .branding-transition-title { font-size: clamp(4.8rem, 18vw, 10rem) !important; }
  .branding-transition-title .branding-subtitle { font-size: .38em !important; margin-left: 1vw !important; white-space: normal; }
  .torn-portrait-overlay img { width: 80vw !important; height: 64vh !important; bottom: 8% !important; }
  .footer-socials { justify-content: flex-start; flex-wrap: wrap; }
  .footer-socials a { width: 40px; height: 40px; }
}

/* ===== V3-53 — review corrections ===== */
.expertise-pill-6 .notebook-media { background:#111!important; }
.expertise-pill-6 .notebook-media img { width:100%!important;height:100%!important;object-fit:cover!important;object-position:50% 36%!important; }
.images-transition .logos-transition-image { object-fit:cover!important;object-position:50% 50%!important; }
/* “car-window” portrait: inside layer is limited by the validated tear; identical breakout layer only escapes upward. */
.torn-portrait-overlay{display:none!important}
.torn-portrait-inside,.torn-portrait-breakout{position:absolute!important;inset:0!important;z-index:9;pointer-events:none}
.torn-portrait-inside{-webkit-mask-image:url('assets/torn-mask-25600-hard.png')!important;mask-image:url('assets/torn-mask-25600-hard.png')!important;-webkit-mask-size:100% 100%!important;mask-size:100% 100%!important;-webkit-mask-repeat:no-repeat!important;mask-repeat:no-repeat!important;-webkit-mask-position:center!important;mask-position:center!important}
.torn-portrait-inside img,.torn-portrait-breakout img{position:absolute!important;left:50%!important;bottom:7%!important;transform:translateX(-50%)!important;width:min(47vw,640px)!important;height:min(88vh,820px)!important;object-fit:contain!important;object-position:50% 100%!important;filter:drop-shadow(0 20px 30px rgba(0,0,0,.34))}
.torn-portrait-breakout{clip-path:inset(0 0 58% 0)!important;overflow:visible!important}
.footer-socials{justify-content:flex-end!important;align-self:center!important}
.footer-social-icon{display:block;width:22px;height:22px;background:currentColor;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
.icon-facebook{-webkit-mask-image:url('assets/social-icons/facebook.png');mask-image:url('assets/social-icons/facebook.png')}.icon-instagram{-webkit-mask-image:url('assets/social-icons/instagram.png');mask-image:url('assets/social-icons/instagram.png')}.icon-tiktok{-webkit-mask-image:url('assets/social-icons/tiktok.png');mask-image:url('assets/social-icons/tiktok.png')}.icon-linkedin{-webkit-mask-image:url('assets/social-icons/linkedin.png');mask-image:url('assets/social-icons/linkedin.png')}
@media(max-width:760px){.torn-portrait-inside img,.torn-portrait-breakout img{width:80vw!important;height:64vh!important;bottom:8%!important}}


/* ===== V3-54 — final review pass ===== */
/* 15 skills = 3 columns x 5 rows; keep the compact editorial block. */
.naka-skills-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.naka-skill-tile { min-height: 74px !important; }
/* Supplied Facebook/LinkedIn PNGs carry more transparent padding, compensate optically. */
.footer-socials a .icon-facebook, .footer-socials a .icon-linkedin { width: 30px !important; height: 30px !important; }

/* ══ V3-55 — FINAL BRANDING MOSAIC ════════════════════════════
   13 selected Bamtoo identity visuals. Deliberately irregular:
   no cards, captions or uniform thumbnails — the imagery itself builds the page. */
.branding-final-wrap{max-width:1540px!important}
.branding-final-mosaic{
  display:grid;
  grid-template-columns:repeat(12,minmax(0,1fr));
  grid-auto-flow:dense;
  grid-auto-rows:clamp(42px,4.15vw,70px);
  gap:clamp(8px,.75vw,13px);
  align-items:stretch;
}
.branding-final-tile{
  position:relative;
  overflow:hidden;
  margin:0;
  min-width:0;
  background:#111;
  box-shadow:0 10px 28px rgba(0,0,0,.24);
}
.branding-final-tile img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.2,.75,.2,1),filter .4s ease;
}
.branding-final-tile:hover img{transform:scale(1.018)}
.branding-final-tile.mosaic-square{grid-column:span 4;grid-row:span 6}
.branding-final-tile.mosaic-wide{grid-column:span 8;grid-row:span 5}
.branding-final-tile.mosaic-wide-xl{grid-column:span 8;grid-row:span 6}
.branding-final-tile.mosaic-tall{grid-column:span 4;grid-row:span 9}
.branding-final-tile.mosaic-tall-xl{grid-column:span 4;grid-row:span 10}
/* Preserve the panoramic and portrait compositions instead of forcing a common crop. */
.branding-final-tile:nth-child(1) img,
.branding-final-tile:nth-child(4) img,
.branding-final-tile:nth-child(7) img,
.branding-final-tile:nth-child(9) img,
.branding-final-tile:nth-child(12) img{object-fit:cover}
.branding-final-tile:nth-child(2) img,
.branding-final-tile:nth-child(6) img,
.branding-final-tile:nth-child(8) img,
.branding-final-tile:nth-child(13) img{object-position:center}
@media(max-width:900px){
  .branding-final-mosaic{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:clamp(54px,9vw,86px);gap:8px}
  .branding-final-tile.mosaic-square{grid-column:span 3;grid-row:span 5}
  .branding-final-tile.mosaic-wide,.branding-final-tile.mosaic-wide-xl{grid-column:span 6;grid-row:span 5}
  .branding-final-tile.mosaic-tall,.branding-final-tile.mosaic-tall-xl{grid-column:span 3;grid-row:span 8}
}
@media(max-width:560px){
  .branding-final-mosaic{display:block}
  .branding-final-tile{margin-bottom:8px;aspect-ratio:auto}
  .branding-final-tile img{height:auto;object-fit:contain}
}

/* ══ V3-56 — BRANDING MOSAIC GAP FIX ════════════════════════════
   Lock the opening composition so the first panoramic, portrait,
   experimental square and textile interlock with no empty rectangle. */
@media (min-width:901px){
  .branding-final-mosaic{
    grid-auto-flow:dense;
  }
  .branding-final-tile:nth-child(1){
    grid-column:1 / span 8;
    grid-row:1 / span 5;
  }
  .branding-final-tile:nth-child(2){
    grid-column:9 / span 4;
    grid-row:1 / span 9;
  }
  .branding-final-tile:nth-child(3){
    grid-column:1 / span 4;
    grid-row:6 / span 6;
  }
  .branding-final-tile:nth-child(4){
    grid-column:5 / span 4;
    grid-row:6 / span 4;
  }
  /* Continue immediately beneath the textile instead of leaving a cavity. */
  .branding-final-tile:nth-child(5){
    grid-column:5 / span 4;
    grid-row:10 / span 6;
  }
}


/* ══ V3-57 — BRANDING MOSAIC / MATERIAL LAB ═════════════════════
   Preserve the approved V3-55 opening composition and use cqp21
   specifically to occupy the central opening. */
@media (min-width:901px){
  .branding-final-tile:nth-child(1){grid-column:1 / span 8;grid-row:1 / span 5}
  .branding-final-tile:nth-child(2){grid-column:9 / span 4;grid-row:1 / span 9}
  .branding-final-tile:nth-child(3){grid-column:1 / span 4;grid-row:6 / span 6}
  .branding-final-tile:nth-child(4){grid-column:5 / span 4;grid-row:6 / span 4}
  .branding-final-tile:nth-child(5){grid-column:5 / span 8;grid-row:10 / span 6}
  .branding-final-tile:nth-child(4) img{object-position:center}
}

/* ══ V3-59 — REVIEW PASS: COVER + CHAPTER TRANSITIONS ════════════ */
/* Align STUDIO CRÉATIF with the visual start of the P in PORTFOLIO. */
.cover-studio-label{
  margin-left:14.45vw !important;
}

/* All chapter transitions: Bamtoo orange title + darker photography. */
.logos-transition-title,
.logos-transition-title span,
.branding-transition-title,
.branding-transition-title span,
.images-transition .logos-transition-title,
.social-transition-title,
.social-transition-title span{
  color:#FF8304 !important;
}
.logos-transition .logos-transition-image{
  filter:saturate(.72) contrast(1.1) brightness(.60) !important;
}
.logos-transition .logos-transition-shade{
  background:linear-gradient(90deg,rgba(0,0,0,.70),rgba(0,0,0,.48) 50%,rgba(0,0,0,.64)) !important;
}

@media(max-width:900px){
  .cover-studio-label{margin-left:4vw !important;}
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V2 — RESPONSIVE PASS
   Targets: phones, iPad portrait/landscape, desktop preserved.
   ══════════════════════════════════════════════════════════════ */

/* Global safety: prevent decorative absolute layers from creating sideways scroll. */
html, body, #bamtoo-portfolio-root { width:100%; max-width:100%; overflow-x:hidden; }
img, video, svg { max-width:100%; }

/* TABLET — iPad portrait + compact landscape */
@media (max-width: 1024px) {
  .paper-grid, .dark-grid { background-size: 38px 38px, 38px 38px; }

  /* Cover */
  .bamtoo-cover { min-height: 100svh !important; padding: 7.2rem 2rem 5.2rem !important; }
  .cover-title-group { width:100%; }
  .portfolio-lockup { font-size: clamp(6.2rem, 17vw, 11rem) !important; padding:0 1vw !important; }
  .cover-studio-label { margin-left: 8vw !important; font-size: clamp(1.8rem,4.2vw,3.2rem) !important; }
  .cover-annotation { top: 84% !important; transform: translateX(-.08em) rotate(-1deg) !important; }
  .cover-arrow { width: clamp(105px,16vw,145px) !important; }
  .cover-slogan { font-size: clamp(1.2rem,3vw,1.8rem) !important; }
  .cover-note-left { display:block !important; left:3vw !important; top:33% !important; font-size:.5rem !important; }
  .cover-note-right { display:none !important; }

  /* Naka Waar: editorial 2-column tablet layout, skills full width below. */
  .naka-section {
    grid-template-columns: minmax(220px,.75fr) minmax(0,1.25fr) !important;
    gap: 2.5rem !important;
    text-align:left !important;
    padding: 6rem 2.5rem 5rem !important;
    align-items:start !important;
  }
  .naka-left { order:1 !important; }
  .naka-center { order:2 !important; align-items:flex-start !important; }
  .naka-right { order:3 !important; grid-column:1/-1; width:100%; max-width:760px !important; justify-self:center !important; align-items:flex-start !important; }
  .naka-figure-wrap { width:min(32vw,315px) !important; height:clamp(430px,58vw,610px) !important; }
  .naka-title { font-size:clamp(5rem,11vw,7.2rem) !important; white-space:normal !important; margin-bottom:2rem !important; }
  .naka-copy { max-width:560px !important; text-align:left !important; }
  .naka-copy p { margin-left:0 !important; margin-right:0 !important; }
  .naka-skills-grid { width:100%; max-width:760px !important; grid-template-columns:repeat(5,minmax(0,1fr)) !important; }
  .naka-skill-tile { min-height:86px !important; }

  /* Torn band */
  .torn-band-black { height:clamp(520px,66svh,700px) !important; }
  .torn-marquee-track { font-size:clamp(5rem,14vw,9rem) !important; }
  .torn-portrait-inside img,.torn-portrait-breakout img {
    width:min(62vw,560px) !important; height:min(72svh,680px) !important; bottom:6% !important;
  }

  /* Expertise: two columns, notebooks remain compact. */
  .expertise-v2 { min-height:auto !important; padding:5.5rem 2.5rem 7rem !important; overflow:visible !important; }
  .expertise-cloud { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:1rem !important; min-height:auto !important; }
  .expertise-pill { position:relative !important; inset:auto !important; transform:none !important; min-height:150px; }
  .expertise-pill > div:first-child { font-size:clamp(3rem,7vw,5.4rem) !important; }
  .expertise-cross { right:2rem !important; top:3.2rem !important; opacity:.6; }

  /* Chapter transitions */
  .logos-transition { height:78svh !important; min-height:560px !important; }
  .logos-transition-title { left:4vw !important; font-size:clamp(5.5rem,18vw,11rem) !important; max-width:92vw; white-space:normal !important; }
  .logos-transition-title span:last-child { margin-left:4vw !important; }
  .branding-transition-title { font-size:clamp(6rem,17vw,11rem) !important; }
  .branding-transition-title .branding-subtitle { white-space:normal !important; font-size:.36em !important; margin-left:3vw !important; }
  .images-transition .logos-transition-title { font-size:clamp(4.6rem,15vw,9rem) !important; }
  .logos-transition-meta { top:1.6rem !important; font-size:.55rem !important; }
  .logos-transition-index { bottom:1.6rem !important; }

  /* Logos & marks: 2 columns is intentional on tablet. */
  .logo-reference-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  .logo-reference-cell { min-height:300px !important; padding:1rem !important; }
  .logo-reference-media img { width:min(72%,300px) !important; height:min(72%,180px) !important; }

  /* Branding process + mosaic */
  .branding-identity { padding:9vw 3vw 11vw !important; }
  .branding-sketch-stage { max-width:820px !important; margin-bottom:10vw !important; }
  .branding-final-mosaic { grid-template-columns:repeat(6,minmax(0,1fr)) !important; grid-auto-rows:clamp(58px,9vw,92px) !important; }

  /* Polaroid gallery: two-column editorial stack instead of absolute overlap. */
  .media-polaroid-gallery { padding:5rem 3vw 7rem !important; }
  .media-polaroid-row { height:auto !important; display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); gap:2rem 1.5rem; margin-bottom:2rem !important; }
  .media-polaroid { position:relative !important; inset:auto !important; width:92% !important; margin:0 auto !important; padding:12px 12px 34px !important; }
  .media-polaroid-row .media-polaroid:nth-child(1) { transform:rotate(-3deg) !important; }
  .media-polaroid-row .media-polaroid:nth-child(2) { transform:rotate(2deg) !important; }
  .media-polaroid-row .media-polaroid:nth-child(3) { transform:rotate(-1.5deg) !important; grid-column:1/-1; width:46% !important; }
  .media-open { opacity:1 !important; }

  /* Social blocks: copy first, then cards; no clipping. */
  .product-presence,.social-presence,.social-presence-reverse {
    min-height:auto !important; grid-template-columns:1fr !important; gap:1.5rem !important; padding:6rem 4vw !important; overflow:hidden !important;
  }
  .presence-copy,.social-copy-reverse { grid-column:1 !important; grid-row:auto !important; max-width:760px; }
  .presence-copy h2 { font-size:clamp(5rem,13vw,9rem) !important; }
  .social-orbit,.social-orbit-reverse { grid-column:1 !important; grid-row:auto !important; min-height:0 !important; height:clamp(480px,68vw,650px) !important; width:100% !important; }
  .social-presence-reverse .social-orbit-reverse { order:2; }
  .social-presence-reverse .social-copy-reverse { order:1; }
  .social-presence .mockup-card,.social-presence-reverse .mockup-card { width:34% !important; height:61% !important; }
  .social-presence .mockup-card-1,.social-presence-reverse .mockup-card-1 { left:6% !important; }
  .social-presence .mockup-card-2,.social-presence-reverse .mockup-card-2 { left:33% !important; }
  .social-presence .mockup-card-3,.social-presence-reverse .mockup-card-3 { left:60% !important; }

  /* Footer */
  .bamtoo-final { min-height:100svh !important; padding:3rem 2.5rem !important; }
  .bamtoo-final-title > div:first-child { font-size:clamp(5rem,13.5vw,10rem) !important; }
  .final-resonate { font-size:clamp(5rem,13.5vw,10rem) !important; }
}

/* PHONE — portrait phones and narrow browser widths */
@media (max-width: 600px) {
  .paper-grid,.dark-grid { background-size:28px 28px,28px 28px; }

  /* Cover keeps the giant editorial word but fits entirely on screen. */
  .bamtoo-cover { min-height:100svh !important; padding:6.5rem .7rem 5.4rem !important; }
  .portfolio-lockup { font-size:19.2vw !important; letter-spacing:-.02em !important; padding:0 !important; }
  .cover-title-group { transform:translateY(-2vh); }
  .cover-studio-label { margin-left:3.5vw !important; font-size:clamp(1.35rem,7vw,2.1rem) !important; margin-bottom:.1rem !important; }
  .cover-gif-mark { width:.76em !important; }
  .cover-annotation { top:100% !important; left:15% !important; transform:none !important; gap:.35rem !important; align-items:center !important; }
  .cover-arrow { width:72px !important; }
  .cover-slogan { font-size:clamp(.94rem,4.7vw,1.35rem) !important; }
  .cover-note { display:none !important; }
  .bamtoo-cover > div[style*="top: 2.25rem"] { left:1.1rem !important; right:auto !important; top:1.5rem !important; font-size:.48rem !important; }
  .bamtoo-cover > div[style*="top: 2.25rem"][style*="right"] { right:1.1rem !important; left:auto !important; }
  .bamtoo-cover > div[style*="bottom: 2.4rem"] { bottom:1.3rem !important; left:1.1rem !important; font-size:.45rem !important; }
  .bamtoo-cover > div[style*="bottom: 2.4rem"][style*="right"] { right:1.1rem !important; left:auto !important; }

  /* Naka Waar becomes an intentional magazine stack. */
  .naka-section { display:flex !important; flex-direction:column !important; gap:2.3rem !important; padding:4.5rem 1.2rem 4rem !important; text-align:left !important; }
  .naka-center { order:1 !important; align-items:flex-start !important; width:100%; }
  .naka-left { order:2 !important; width:100%; }
  .naka-right { order:3 !important; width:100%; align-items:flex-start !important; }
  .naka-title { font-size:clamp(4.2rem,21vw,6.4rem) !important; white-space:normal !important; margin-bottom:1.4rem !important; }
  .naka-copy { text-align:left !important; }
  .naka-copy h3 { font-size:1rem !important; }
  .naka-copy p { font-size:.92rem !important; line-height:1.55 !important; margin-bottom:1.6rem !important; }
  .naka-figure-wrap { width:min(78vw,330px) !important; height:min(124vw,530px) !important; }
  .naka-skills-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:.5rem !important; width:100% !important; }
  .naka-skill-tile { min-height:78px !important; padding:.55rem .25rem .45rem !important; }
  .skill-logo-wrap { width:38px !important; height:38px !important; }
  .naka-skill-tile .name { font-size:.41rem !important; }

  /* Tear */
  .torn-band-black { height:clamp(430px,62svh,560px) !important; -webkit-mask-size:140% 100% !important; mask-size:140% 100% !important; }
  .torn-marquee-track { font-size:clamp(4.8rem,24vw,7rem) !important; }
  .torn-portrait-inside img,.torn-portrait-breakout img { width:92vw !important; height:58svh !important; bottom:5% !important; }
  .torn-portrait-breakout { clip-path:inset(0 0 62% 0) !important; }

  /* Expertise: on touch screens show the notebook content in-flow; no hover dependency. */
  .expertise-v2 { padding:4rem 1rem 5rem !important; }
  .expertise-cloud { display:block !important; }
  .expertise-pill { min-height:0 !important; margin-bottom:1.2rem !important; padding:1rem !important; background:rgba(245,240,232,.74) !important; color:#111 !important; }
  .expertise-pill > div:first-child { font-size:clamp(3.5rem,18vw,5.6rem) !important; }
  .expertise-notebook {
    position:relative !important; width:100% !important; left:auto !important; right:auto !important; top:auto !important; bottom:auto !important;
    margin-top:1rem !important; transform:rotate(-.7deg) !important; opacity:1 !important; visibility:visible !important; pointer-events:auto !important; filter:drop-shadow(0 10px 12px rgba(0,0,0,.14)) !important;
  }
  .expertise-pill:nth-child(even) .expertise-notebook { transform:rotate(.7deg) !important; }
  .notebook-page { min-height:0 !important; padding:1.3rem 1rem 1rem 1.8rem !important; }
  .expertise-notebook .notebook-media { height:180px !important; }
  .expertise-cross { display:none !important; }

  /* Chapter transitions */
  .logos-transition { height:72svh !important; min-height:500px !important; }
  .logos-transition-image { transform:scale(1.03) !important; }
  .logos-transition-title { left:5vw !important; right:5vw !important; top:52% !important; font-size:clamp(4.4rem,22vw,7rem) !important; line-height:.8 !important; white-space:normal !important; }
  .logos-transition-title span { max-width:90vw; }
  .logos-transition-title span:last-child { margin-left:0 !important; }
  .branding-transition-title { font-size:clamp(4.6rem,23vw,7.2rem) !important; }
  .branding-transition-title .branding-subtitle { font-size:.32em !important; margin-left:0 !important; margin-top:.35em !important; }
  .images-transition .logos-transition-title { font-size:clamp(3.8rem,18vw,6rem) !important; }
  .social-transition-title { font-size:clamp(4rem,20vw,6.5rem) !important; }
  .logos-transition-meta { top:1.25rem !important; font-size:.46rem !important; letter-spacing:.12em !important; }
  .logos-transition-meta-left { left:1rem !important; }
  .logos-transition-meta-right { right:1rem !important; }
  .logos-transition-index { left:1rem !important; bottom:1.25rem !important; font-size:.48rem !important; }
  .chapter-marquee-track { font-size:1rem !important; }

  /* Logos: one column so every identity stays readable. */
  .logo-reference-grid { grid-template-columns:1fr !important; }
  .logo-reference-cell { min-height:245px !important; padding:.85rem !important; }
  .logo-reference-media { padding:.65rem !important; }
  .logo-reference-media img { width:min(64%,260px) !important; height:min(64%,150px) !important; }

  /* Branding: preserve sequence, remove fragile desktop grid placements. */
  .branding-identity { padding:4.5rem .75rem 5rem !important; }
  .branding-sketch-stage { width:96% !important; margin:0 auto 4.5rem !important; transform:rotate(-.6deg) !important; }
  .branding-sketch-note { top:-2rem !important; left:.2rem !important; font-size:1.05rem !important; }
  .branding-final-mosaic { display:grid !important; grid-template-columns:1fr 1fr !important; grid-auto-rows:auto !important; gap:7px !important; }
  .branding-final-tile,.branding-final-tile[class*="mosaic-"] { grid-column:auto !important; grid-row:auto !important; margin:0 !important; aspect-ratio:1/1 !important; }
  .branding-final-tile:nth-child(3n+1) { grid-column:1/-1 !important; aspect-ratio:16/10 !important; }
  .branding-final-tile img { width:100% !important; height:100% !important; object-fit:cover !important; }

  /* Media: one large polaroid at a time, still rotated like the reference. */
  .media-polaroid-gallery { padding:3.5rem .75rem 5rem !important; }
  .media-polaroid-row { display:flex !important; flex-direction:column !important; gap:1.4rem !important; }
  .media-polaroid,.media-polaroid-row .media-polaroid:nth-child(3) { width:90% !important; grid-column:auto !important; padding:10px 10px 30px !important; }
  .media-polaroid-frame { aspect-ratio:1.2/1 !important; }
  .media-polaroid figcaption { font-size:1.2rem !important; }
  .media-lightbox { padding:4rem .6rem 1rem !important; }
  .media-lightbox-content { max-width:94vw !important; max-height:86svh !important; }
  .media-lightbox-content img,.media-lightbox-content video { max-height:72svh !important; }
  .media-lightbox-close { right:.8rem !important; top:.3rem !important; font-size:2.6rem !important; }
  .media-lightbox-nav { font-size:1.9rem !important; background:rgba(0,0,0,.35) !important; width:38px; height:52px; }
  .media-lightbox-nav.prev { left:.15rem !important; }
  .media-lightbox-nav.next { right:.15rem !important; }

  /* Social: cards are staged inside viewport, copy never overlaps them. */
  .product-presence,.social-presence,.social-presence-reverse { padding:4.5rem 1.1rem !important; gap:.5rem !important; }
  .presence-copy h2 { font-size:clamp(4.2rem,20vw,6.5rem) !important; line-height:.82 !important; }
  .presence-copy p { font-size:.96rem !important; }
  .social-orbit,.social-orbit-reverse { height:430px !important; margin-top:1rem; }
  .social-presence .mockup-card,.social-presence-reverse .mockup-card { width:45% !important; height:57% !important; border-width:6px !important; padding:.45rem !important; }
  .social-presence .mockup-card-1,.social-presence-reverse .mockup-card-1 { left:1% !important; top:20% !important; }
  .social-presence .mockup-card-2,.social-presence-reverse .mockup-card-2 { left:28% !important; top:8% !important; }
  .social-presence .mockup-card-3,.social-presence-reverse .mockup-card-3 { left:54% !important; top:24% !important; }
  .social-note { display:none !important; }

  /* Footer */
  .bamtoo-final { min-height:100svh !important; padding:2rem 1.1rem !important; gap:2.5rem; }
  .bamtoo-final-head { align-items:flex-start !important; }
  .bamtoo-final-head > div:last-child { font-size:.48rem !important; }
  .bamtoo-final-title { margin:auto 0; }
  .bamtoo-final-title > div:first-child { font-size:clamp(4rem,20vw,6.3rem) !important; }
  .final-resonate { font-size:clamp(4rem,20vw,6.3rem) !important; }
  .final-gif-mark { width:.7em !important; }
  .bamtoo-final-foot { grid-template-columns:1fr !important; gap:1.3rem !important; padding-top:1.4rem !important; }
  .footer-socials { justify-content:flex-start !important; gap:.55rem !important; }
  .footer-socials a { width:38px !important; height:38px !important; }
}

/* Touch devices: remove desktop hover transforms that can remain 'stuck' after a tap. */
@media (hover:none) and (pointer:coarse) {
  .media-polaroid:hover,.media-polaroid:focus-visible { transform:inherit; }
  .logo-reference-cell:hover,.branding-final-tile:hover img,.naka-skill-tile:hover { transform:none !important; }
}

/* Accessibility / battery: keep the design static when the OS asks for reduced motion. */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto !important; animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.01ms !important; }
}


/* ══════════════════════════════════════════════════════════════
   WORDPRESS V3 — REVIEW FIXES
   iPad + mobile refinements, clean partner marks, Branding lightbox.
   Desktop layout preserved except logo cleanup + Branding gallery behavior.
   ══════════════════════════════════════════════════════════════ */

/* LOGOS & MARKS — source backgrounds removed from affected marks. */
.logo-reference-media img[src*="studio89.transparent"],
.logo-reference-media img[src*="foreb.transparent"],
.logo-reference-media img[src*="imobi.transparent"],
.logo-reference-media img[src*="ubeku.transparent"]{
  mix-blend-mode:normal !important;
}

/* Branding mosaic is now an interactive gallery on every breakpoint. */
.branding-final-tile{cursor:zoom-in;outline:none}
.branding-final-tile:focus-visible{box-shadow:0 0 0 3px #FF8304,0 10px 28px rgba(0,0,0,.24)}
.branding-final-tile::after{
  content:'OPEN ↗';position:absolute;right:.65rem;bottom:.6rem;padding:.34rem .52rem;background:rgba(5,5,5,.82);color:#F5F0E8;
  font:600 .54rem/1 'DM Sans',sans-serif;letter-spacing:.12em;opacity:0;transform:translateY(4px);transition:.22s;pointer-events:none;
}
.branding-final-tile:hover::after,.branding-final-tile:focus-visible::after{opacity:1;transform:none}
.branding-lightbox{position:fixed;inset:0;z-index:12000;background:rgba(5,5,5,.96);display:flex;align-items:center;justify-content:center;padding:4vw;touch-action:pan-y}
.branding-lightbox-content{max-width:min(1320px,86vw);max-height:88vh;display:flex;flex-direction:column;align-items:center;justify-content:center}
.branding-lightbox-content img{display:block;max-width:100%;max-height:82vh;width:auto;height:auto;object-fit:contain;box-shadow:0 18px 70px rgba(0,0,0,.34)}
.branding-lightbox-count{margin-top:.8rem;color:#F5F0E8;font:500 .64rem/1 'DM Sans',sans-serif;letter-spacing:.18em}
.branding-lightbox-close,.branding-lightbox-nav{position:fixed;z-index:12001;border:0;background:transparent;color:#F5F0E8;cursor:pointer}
.branding-lightbox-close{right:1.7rem;top:.8rem;font-size:3rem;line-height:1}
.branding-lightbox-nav{top:50%;transform:translateY(-50%);font-size:2.6rem;width:54px;height:70px}
.branding-lightbox-nav.prev{left:.7rem}.branding-lightbox-nav.next{right:.7rem}

/* iPad / tablet only: preserve the original 3-polaroid editorial composition,
   scaled to the viewport instead of replacing it with a 2+1 grid. */
@media (min-width:601px) and (max-width:1024px){
  .media-polaroid-gallery{padding:4.2rem 2vw 5.5rem !important}
  .media-polaroid-row{
    position:relative !important;display:block !important;height:clamp(350px,49vw,505px) !important;
    max-width:100% !important;margin:0 auto clamp(1.2rem,3vw,2.4rem) !important;
  }
  .media-polaroid{
    position:absolute !important;width:31% !important;margin:0 !important;padding:1.2% 1.2% 3.4% !important;
    inset:auto !important;
  }
  .media-polaroid-row .media-polaroid-1{left:5% !important;right:auto !important;top:5% !important;transform:rotate(-7deg) !important}
  .media-polaroid-row .media-polaroid-2{left:34.5% !important;right:auto !important;top:9% !important;width:34% !important;transform:rotate(-3deg) !important;z-index:3}
  .media-polaroid-row .media-polaroid-3{left:auto !important;right:4.5% !important;top:1% !important;width:31% !important;transform:rotate(6deg) !important;grid-column:auto !important}
  .media-polaroid-row-2 .media-polaroid-1{top:3% !important;transform:rotate(5deg) !important}
  .media-polaroid-row-2 .media-polaroid-2{top:10% !important;transform:rotate(2deg) !important}
  .media-polaroid-row-2 .media-polaroid-3{top:4% !important;transform:rotate(-6deg) !important}
  .media-polaroid figcaption{font-size:clamp(.9rem,1.9vw,1.35rem) !important}

  /* Branding — compact 2-column editorial mosaic, no empty black cavities. */
  .branding-identity{padding:7vw 3vw 8vw !important}
  .branding-sketch-stage{margin-bottom:7vw !important}
  .branding-final-mosaic{
    display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-auto-rows:auto !important;
    grid-auto-flow:row !important;gap:8px !important;
  }
  .branding-final-tile,.branding-final-tile[class*="mosaic-"]{
    grid-column:auto !important;grid-row:auto !important;aspect-ratio:1.08/1 !important;margin:0 !important;
  }
  .branding-final-tile:nth-child(3),.branding-final-tile:nth-child(6),.branding-final-tile:nth-child(9),.branding-final-tile:nth-child(12){
    grid-column:1/-1 !important;aspect-ratio:16/7.5 !important;
  }
  .branding-final-tile img{width:100% !important;height:100% !important;object-fit:cover !important}

  /* Cover slogan: keep the complete phrase inside the viewport. */
  .cover-annotation{
    left:50% !important;right:auto !important;top:84% !important;transform:translateX(-50%) rotate(-1deg) !important;
    width:min(88vw,760px) !important;justify-content:center !important;gap:clamp(.45rem,1.3vw,.9rem) !important;
  }
  .cover-arrow{width:clamp(82px,13vw,125px) !important;flex:0 0 auto !important}
  .cover-slogan{font-size:clamp(1rem,2.15vw,1.42rem) !important;white-space:nowrap !important;flex:0 1 auto !important}

  /* Social blocks: remove the oversized blank paper between both compositions. */
  .social-presence{padding-bottom:1.25rem !important}
  .social-presence-reverse{padding-top:1.25rem !important;margin-top:0 !important}
  .social-orbit,.social-orbit-reverse{height:clamp(390px,50vw,500px) !important}
  .social-presence .mockup-card,.social-presence-reverse .mockup-card{height:70% !important}
}

@media (max-width:600px){
  /* Complete cover slogan on phones. */
  .cover-annotation{
    left:50% !important;right:auto !important;top:100% !important;transform:translateX(-50%) !important;
    width:94vw !important;justify-content:center !important;gap:.38rem !important;
  }
  .cover-arrow{width:62px !important;flex:0 0 62px !important}
  .cover-slogan{font-size:clamp(.78rem,3.45vw,1rem) !important;white-space:nowrap !important;letter-spacing:-.02em !important;flex:0 1 auto !important}

  /* Branding — deterministic compact sequence. Full-width tiles only after
     complete pairs, which prevents the single black hole seen on mobile. */
  .branding-final-mosaic{display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-auto-flow:row !important;gap:7px !important}
  .branding-final-tile,.branding-final-tile[class*="mosaic-"]{grid-column:auto !important;grid-row:auto !important;aspect-ratio:1/1 !important;margin:0 !important}
  .branding-final-tile:nth-child(3),.branding-final-tile:nth-child(6),.branding-final-tile:nth-child(9),.branding-final-tile:nth-child(12){grid-column:1/-1 !important;aspect-ratio:16/9 !important}
  .branding-final-tile img{width:100% !important;height:100% !important;object-fit:cover !important}
  .branding-final-tile::after{opacity:1;font-size:.47rem;right:.4rem;bottom:.4rem}

  /* Social — compact hand-off from first card cluster to CONTENT IN MOTION. */
  .social-presence{padding-bottom:1rem !important}
  .social-presence-reverse{padding-top:1rem !important;margin-top:0 !important}
  .social-orbit,.social-orbit-reverse{height:315px !important;margin-top:.45rem !important}
  .social-presence .mockup-card,.social-presence-reverse .mockup-card{height:68% !important;width:45% !important}
  .social-presence .mockup-card-1,.social-presence-reverse .mockup-card-1{top:16% !important}
  .social-presence .mockup-card-2,.social-presence-reverse .mockup-card-2{top:5% !important}
  .social-presence .mockup-card-3,.social-presence-reverse .mockup-card-3{top:18% !important}

  /* Branding lightbox controls sized for touch + swipe. */
  .branding-lightbox{padding:3.5rem .55rem 1rem !important}
  .branding-lightbox-content{max-width:94vw !important;max-height:87svh !important}
  .branding-lightbox-content img{max-height:78svh !important}
  .branding-lightbox-close{right:.7rem !important;top:.25rem !important;font-size:2.6rem !important}
  .branding-lightbox-nav{font-size:1.9rem !important;width:40px !important;height:56px !important;background:rgba(0,0,0,.30) !important}
  .branding-lightbox-nav.prev{left:.1rem !important}.branding-lightbox-nav.next{right:.1rem !important}
}

@media (hover:none) and (pointer:coarse){
  .branding-final-tile::after{opacity:1;transform:none}
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V4 — FINAL RESPONSIVE REVIEW PASS
   01. Cover annotation stays physically anchored to Bamtoo mark.
   02. iPad polaroids share one visual scale.
   ══════════════════════════════════════════════════════════════ */

/* TABLET / iPad — the annotation is a child of .cover-gif-mark.
   Keep it sized to its content so its origin remains attached to the mark,
   instead of centering a viewport-wide annotation box. */
@media (min-width:601px) and (max-width:1024px){
  .cover-annotation{
    left:50% !important;
    right:auto !important;
    top:82% !important;
    width:max-content !important;
    max-width:none !important;
    justify-content:flex-start !important;
    gap:clamp(.45rem,1vw,.75rem) !important;
    transform:translateX(-12%) rotate(-1deg) !important;
  }
  .cover-arrow{
    width:clamp(88px,11vw,116px) !important;
    flex:0 0 auto !important;
  }
  .cover-slogan{
    font-size:clamp(.96rem,2vw,1.34rem) !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;
  }

  /* Same card scale for all six polaroids; only position/rotation vary. */
  .media-polaroid,
  .media-polaroid-row .media-polaroid-1,
  .media-polaroid-row .media-polaroid-2,
  .media-polaroid-row .media-polaroid-3{
    width:31.5% !important;
  }
  .media-polaroid-row .media-polaroid-1{left:4.5% !important;}
  .media-polaroid-row .media-polaroid-2{left:34.25% !important;}
  .media-polaroid-row .media-polaroid-3{right:4.5% !important;left:auto !important;}
}

/* PHONE — same anchor logic, with a shorter arrow and smaller slogan. */
@media (max-width:600px){
  .cover-annotation{
    left:50% !important;
    right:auto !important;
    top:82% !important;
    width:max-content !important;
    max-width:none !important;
    justify-content:flex-start !important;
    gap:.32rem !important;
    transform:translateX(-12%) !important;
  }
  .cover-arrow{
    width:54px !important;
    flex:0 0 54px !important;
  }
  .cover-slogan{
    font-size:clamp(.72rem,3.15vw,.92rem) !important;
    white-space:nowrap !important;
    letter-spacing:-.025em !important;
    flex:0 0 auto !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V5 — RESPONSIVE POLISH
   01. iPad: all six Polaroids use one identical outer card box.
   02. Phone: keep the full Bamtoo slogan visible while the arrow
       remains attached directly beneath the central mark.
   ══════════════════════════════════════════════════════════════ */

@media (min-width:601px) and (max-width:1024px){
  /* Identical outer geometry: width + height + media window + caption area.
     Rotation/offsets are still intentionally different. */
  .media-polaroid,
  .media-polaroid-row .media-polaroid-1,
  .media-polaroid-row .media-polaroid-2,
  .media-polaroid-row .media-polaroid-3{
    width:31.5% !important;
    aspect-ratio:1.03 / 1 !important;
    height:auto !important;
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:column !important;
    padding:1.2% 1.2% 2.2% !important;
  }
  .media-polaroid-frame{
    width:100% !important;
    aspect-ratio:1.34 / 1 !important;
    flex:0 0 auto !important;
  }
  .media-polaroid figcaption{
    flex:1 1 auto !important;
    min-height:0 !important;
    margin-top:clamp(.45rem,1vw,.8rem) !important;
    display:flex !important;
    align-items:flex-start !important;
  }
}

@media (max-width:600px){
  /* The callout still originates beneath the mark, but its footprint is
     deliberately compact enough to fit even narrow phone viewports. */
  .cover-annotation{
    top:82% !important;
    gap:.22rem !important;
    transform:translateX(-10%) !important;
  }
  .cover-arrow{
    width:38px !important;
    flex:0 0 38px !important;
  }
  .cover-slogan{
    font-size:clamp(.62rem,2.65vw,.78rem) !important;
    letter-spacing:-.035em !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V6 — TABLET/MOBILE FINAL MICRO-FIXES
   01. Cover: arrow shaft starts on the exact horizontal centre of
       the Bamtoo mark and the slogan sits lower with breathing room.
   02. Tablet: every Images & Videos Polaroid has one strict outer
       box; no intrinsic caption/media content can make card #3 larger.
   ══════════════════════════════════════════════════════════════ */

/* TABLET / iPad */
@media (min-width:601px) and (max-width:1024px){
  /* The SVG shaft begins at x=22 in a 230-wide viewBox (~9.6%).
     Offsetting the whole annotation by ~10px makes that shaft land
     on the exact 50% axis of the circular Bamtoo mark. */
  .cover-annotation{
    left:calc(50% - 10px) !important;
    top:92% !important;
    width:max-content !important;
    max-width:none !important;
    transform:rotate(-1deg) !important;
    justify-content:flex-start !important;
    align-items:flex-end !important;
    gap:clamp(.65rem,1.15vw,.9rem) !important;
  }
  .cover-arrow{
    width:clamp(88px,11vw,116px) !important;
    flex:0 0 auto !important;
  }
  .cover-slogan{
    font-size:clamp(.94rem,1.95vw,1.30rem) !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;
  }

  /* One strict physical card box for all six items.  Explicit height
     prevents intrinsic image/caption content from enlarging any card. */
  .media-polaroid,
  .media-polaroid-row .media-polaroid-1,
  .media-polaroid-row .media-polaroid-2,
  .media-polaroid-row .media-polaroid-3{
    width:31.5% !important;
    height:clamp(290px,38vw,390px) !important;
    min-height:0 !important;
    max-height:none !important;
    aspect-ratio:auto !important;
    box-sizing:border-box !important;
    display:flex !important;
    flex-direction:column !important;
    overflow:hidden !important;
    padding:clamp(8px,1.15vw,12px) clamp(8px,1.15vw,12px) clamp(24px,3vw,34px) !important;
  }
  .media-polaroid-frame{
    width:100% !important;
    height:72% !important;
    min-height:0 !important;
    aspect-ratio:auto !important;
    flex:0 0 72% !important;
  }
  .media-polaroid-frame img,
  .media-polaroid-frame video{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
  .media-polaroid figcaption{
    height:28% !important;
    min-height:0 !important;
    max-height:28% !important;
    flex:0 0 28% !important;
    overflow:hidden !important;
    margin-top:clamp(.45rem,.8vw,.7rem) !important;
    font-size:clamp(.82rem,1.7vw,1.15rem) !important;
    line-height:1.03 !important;
  }

  /* Positions only — dimensions above are shared by every card. */
  .media-polaroid-row .media-polaroid-1{left:4.5% !important;right:auto !important;}
  .media-polaroid-row .media-polaroid-2{left:34.25% !important;right:auto !important;}
  .media-polaroid-row .media-polaroid-3{left:auto !important;right:4.5% !important;}
}

/* PHONE */
@media (max-width:600px){
  /* Same geometric correction at the smaller arrow width: the shaft's
     x-offset is ~5px, so the shaft—not the SVG box—is centred on logo. */
  .cover-annotation{
    left:calc(50% - 5px) !important;
    top:94% !important;
    width:max-content !important;
    max-width:none !important;
    transform:none !important;
    justify-content:flex-start !important;
    align-items:flex-end !important;
    gap:.52rem !important;
  }
  .cover-arrow{
    width:48px !important;
    flex:0 0 48px !important;
  }
  .cover-slogan{
    font-size:clamp(.62rem,2.62vw,.77rem) !important;
    letter-spacing:-.03em !important;
    white-space:nowrap !important;
    flex:0 0 auto !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   WORDPRESS V7 — CLEAN REBUILD FROM V6
   - No carousel / no swipe gallery.
   - Branding: 10 retained visuals, explicitly packed with no holes.
   - Desktop chapter transitions stay untouched.
   - Tablet/mobile transitions + logo grid are compacted only.
   ══════════════════════════════════════════════════════════════ */

/* DESKTOP — explicit 10-tile packing. Every occupied row is complete. */
@media (min-width:1025px){
  .branding-final-mosaic{
    display:grid !important;
    grid-template-columns:repeat(12,minmax(0,1fr)) !important;
    grid-auto-rows:clamp(40px,3.7vw,62px) !important;
    grid-auto-flow:row !important;
    gap:clamp(8px,.7vw,12px) !important;
  }
  .branding-final-tile,.branding-final-tile[class*="mosaic-"]{
    margin:0 !important;
    aspect-ratio:auto !important;
  }
  .branding-final-tile:nth-child(1){grid-column:1 / span 8 !important;grid-row:1 / span 4 !important}
  .branding-final-tile:nth-child(2){grid-column:9 / span 4 !important;grid-row:1 / span 8 !important}
  .branding-final-tile:nth-child(3){grid-column:1 / span 8 !important;grid-row:5 / span 4 !important}
  .branding-final-tile:nth-child(4){grid-column:1 / span 4 !important;grid-row:9 / span 4 !important}
  .branding-final-tile:nth-child(5){grid-column:5 / span 4 !important;grid-row:9 / span 8 !important}
  .branding-final-tile:nth-child(6){grid-column:9 / span 4 !important;grid-row:9 / span 4 !important}
  .branding-final-tile:nth-child(7){grid-column:1 / span 4 !important;grid-row:13 / span 8 !important}
  .branding-final-tile:nth-child(8){grid-column:9 / span 4 !important;grid-row:13 / span 4 !important}
  .branding-final-tile:nth-child(9){grid-column:5 / span 8 !important;grid-row:17 / span 4 !important}
  .branding-final-tile:nth-child(10){grid-column:1 / span 12 !important;grid-row:21 / span 5 !important}
  .branding-final-tile img{width:100% !important;height:100% !important;object-fit:cover !important}
  .branding-final-tile:nth-child(1) img,
  .branding-final-tile:nth-child(3) img,
  .branding-final-tile:nth-child(9) img,
  .branding-final-tile:nth-child(10) img{object-position:center !important}
}

/* TABLET — compact editorial grid; full-width items always begin/end a row,
   so deleting tiles can never leave a black cavity. */
@media (min-width:601px) and (max-width:1024px){
  .logos-transition{height:64svh !important;min-height:460px !important}
  .logo-reference-cell{min-height:235px !important;padding:.85rem !important}
  .logo-reference-media img{width:min(60%,250px) !important;height:min(60%,145px) !important}

  .branding-identity{padding:6vw 3vw 7vw !important}
  .branding-sketch-stage{margin-bottom:6vw !important}
  .branding-final-mosaic{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-rows:auto !important;
    grid-auto-flow:row !important;
    gap:8px !important;
  }
  .branding-final-tile,.branding-final-tile[class*="mosaic-"]{
    grid-column:auto !important;grid-row:auto !important;
    margin:0 !important;aspect-ratio:1.08/1 !important;
  }
  .branding-final-tile:nth-child(1),
  .branding-final-tile:nth-child(6){
    grid-column:1/-1 !important;aspect-ratio:16/8 !important;
  }
  .branding-final-tile img{width:100% !important;height:100% !important;object-fit:cover !important}
}

/* PHONE — same safe packing logic, slightly tighter to shorten the page. */
@media (max-width:600px){
  .logos-transition{height:56svh !important;min-height:390px !important}
  .logo-reference-cell{min-height:195px !important;padding:.72rem !important}
  .logo-reference-media img{width:min(58%,210px) !important;height:min(58%,120px) !important}

  .branding-identity{padding:3.8rem .75rem 4.2rem !important}
  .branding-sketch-stage{margin-bottom:3.6rem !important}
  .branding-final-mosaic{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-rows:auto !important;
    grid-auto-flow:row !important;
    gap:7px !important;
  }
  .branding-final-tile,.branding-final-tile[class*="mosaic-"]{
    grid-column:auto !important;grid-row:auto !important;
    margin:0 !important;aspect-ratio:1/1 !important;
  }
  .branding-final-tile:nth-child(1),
  .branding-final-tile:nth-child(6){
    grid-column:1/-1 !important;aspect-ratio:16/9 !important;
  }
  .branding-final-tile img{width:100% !important;height:100% !important;object-fit:cover !important}
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V8 — THREE TARGETED ADJUSTMENTS ONLY
   1) Smaller LOGOS & MARKS artwork on tablet + phone.
   2) Rebalanced 10-image Branding mosaic on desktop.
   3) Slightly tighter Branding mosaic on all breakpoints.
   Everything else remains inherited from V7 Clean.
   ══════════════════════════════════════════════════════════════ */

/* DESKTOP — balanced, hole-free ending: two portraits close the composition
   together instead of leaving one final image isolated. */
@media (min-width:1025px){
  .branding-identity{padding-bottom:clamp(4.5rem,6vw,7rem) !important}
  .branding-final-mosaic{
    grid-template-columns:repeat(12,minmax(0,1fr)) !important;
    grid-auto-rows:clamp(36px,3.25vw,55px) !important;
    gap:clamp(6px,.55vw,9px) !important;
    grid-auto-flow:row !important;
  }
  .branding-final-tile,.branding-final-tile[class*="mosaic-"]{margin:0 !important;aspect-ratio:auto !important}

  /* Opening: two panoramic blocks beside one portrait. */
  .branding-final-tile:nth-child(1){grid-column:1 / span 8 !important;grid-row:1 / span 4 !important}
  .branding-final-tile:nth-child(2){grid-column:9 / span 4 !important;grid-row:1 / span 8 !important}
  .branding-final-tile:nth-child(3){grid-column:1 / span 8 !important;grid-row:5 / span 4 !important}

  /* Middle: three equal visual beats. */
  .branding-final-tile:nth-child(4){grid-column:1 / span 4 !important;grid-row:9 / span 6 !important}
  .branding-final-tile:nth-child(5){grid-column:5 / span 4 !important;grid-row:9 / span 6 !important}
  .branding-final-tile:nth-child(6){grid-column:9 / span 4 !important;grid-row:9 / span 6 !important}

  /* Wide identity applications: full-width rhythm without leftover cavities. */
  .branding-final-tile:nth-child(8){grid-column:1 / span 6 !important;grid-row:15 / span 4 !important}
  .branding-final-tile:nth-child(9){grid-column:7 / span 6 !important;grid-row:15 / span 4 !important}

  /* Closing row: both vertical works share the ending, so neither is sacrificed. */
  .branding-final-tile:nth-child(7){grid-column:1 / span 6 !important;grid-row:19 / span 7 !important}
  .branding-final-tile:nth-child(10){grid-column:7 / span 6 !important;grid-row:19 / span 7 !important}

  .branding-final-tile img{width:100% !important;height:100% !important;object-fit:cover !important}
  .branding-final-tile:nth-child(7) img,.branding-final-tile:nth-child(10) img{object-position:center !important}
}

/* TABLET — only smaller logos + a slightly tighter existing mosaic. */
@media (min-width:601px) and (max-width:1024px){
  .logo-reference-media{padding:.55rem !important}
  .logo-reference-media img{width:min(48%,205px) !important;height:min(48%,118px) !important}
  .branding-identity{padding-top:5vw !important;padding-bottom:5.5vw !important}
  .branding-sketch-stage{margin-bottom:4.5vw !important}
  .branding-final-mosaic{gap:6px !important}
}

/* PHONE — only smaller logos + a slightly tighter existing mosaic. */
@media (max-width:600px){
  .logo-reference-media{padding:.42rem !important}
  .logo-reference-media img{width:min(46%,170px) !important;height:min(46%,98px) !important}
  .branding-identity{padding-top:3.1rem !important;padding-bottom:3.25rem !important}
  .branding-sketch-stage{margin-bottom:2.8rem !important}
  .branding-final-mosaic{gap:5px !important}
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V9 — TWO TARGETED CORRECTIONS ONLY
   1) Reduce LOGOS & MARKS cell height/margins on tablet + phone.
   2) On phone only, raise/enlarge the torn-band portrait so the
      head clearly breaks above the upper tear; lower clipping stays intact.
   Everything else remains exactly inherited from V8.
   ══════════════════════════════════════════════════════════════ */

/* iPad / tablet — smaller frame, same V8 logo artwork sizing. */
@media (min-width:601px) and (max-width:1024px){
  .logo-reference-cell{
    min-height:225px !important;
    padding:.72rem !important;
  }
  .logo-reference-media{padding:.42rem !important}
}

/* Mobile — smaller frame + portrait breakout above the upper tear. */
@media (max-width:600px){
  .logo-reference-cell{
    min-height:160px !important;
    padding:.55rem !important;
  }
  .logo-reference-media{padding:.3rem !important}

  .torn-portrait-inside img,
  .torn-portrait-breakout img{
    width:96vw !important;
    height:66svh !important;
    bottom:13% !important;
  }
  .torn-portrait-breakout{
    clip-path:inset(0 0 56% 0) !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V10 — FINAL TARGETED CORRECTION ONLY
   Reduce LOGOS & MARKS frame height on tablet + phone.
   Logo artwork sizing and every other V9 section stay unchanged.
   ══════════════════════════════════════════════════════════════ */
@media (min-width:601px) and (max-width:1024px){
  .logo-reference-cell{
    min-height:190px !important;
    padding:.58rem !important;
  }
  .logo-reference-media{padding:.25rem !important}
}

@media (max-width:600px){
  .logo-reference-cell{
    min-height:132px !important;
    padding:.42rem !important;
  }
  .logo-reference-media{padding:.18rem !important}
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V11 — RESPONSIVE TORN BAND ONLY
   Desktop (>=1025px) is intentionally untouched.
   The portrait and the moving headline now scale from the real
   viewport dimensions instead of fixed phone/iPad presets.
   ══════════════════════════════════════════════════════════════ */

/* iPad / tablet — fluid portrait + headline across all tablet sizes. */
@media (min-width:601px) and (max-width:1024px){
  .torn-band-black{
    height:clamp(500px,68svh,700px) !important;
  }

  .torn-portrait-inside img,
  .torn-portrait-breakout img{
    width:min(62vw,48svh,560px) !important;
    height:auto !important;
    max-width:none !important;
    bottom:4% !important;
    object-fit:contain !important;
    object-position:50% 100% !important;
  }

  /* Only the slice needed to cross the upper tear is exposed.
     This prevents the portrait from climbing into the Skills block. */
  .torn-portrait-breakout{
    clip-path:inset(0 0 76% 0) !important;
  }

  .torn-marquee-track{
    font-size:clamp(5rem,15.5vw,9rem) !important;
    line-height:.88 !important;
    letter-spacing:-.03em !important;
  }
}

/* Phones — same composition, continuously scaled by width AND height. */
@media (max-width:600px){
  .torn-band-black{
    height:clamp(430px,62svh,545px) !important;
  }

  .torn-portrait-inside img,
  .torn-portrait-breakout img{
    width:min(92vw,43svh,430px) !important;
    height:auto !important;
    max-width:none !important;
    bottom:3% !important;
    object-fit:contain !important;
    object-position:50% 100% !important;
  }

  .torn-portrait-breakout{
    clip-path:inset(0 0 75% 0) !important;
  }

  .torn-marquee-track{
    font-size:clamp(4rem,19vw,6.6rem) !important;
    line-height:.88 !important;
    letter-spacing:-.035em !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   WORDPRESS V12 — TORN BAND RESPONSIVE REFINEMENT ONLY
   Desktop >= 1025px stays untouched.
   Fixes the visible seam/gap between the masked portrait and its
   breakout copy, and makes portrait/headline scale more naturally
   across phones and all iPad/tablet sizes.
   ══════════════════════════════════════════════════════════════ */

@media (min-width:601px) and (max-width:1024px){
  .torn-band-black{
    height:clamp(520px,66svh,690px) !important;
  }

  .torn-portrait-inside img,
  .torn-portrait-breakout img{
    width:clamp(390px,58vw,590px) !important;
    height:auto !important;
    max-width:none !important;
    bottom:3.5% !important;
    object-fit:contain !important;
    object-position:50% 100% !important;
  }

  /* Deliberately overlap the masked copy well inside the black band.
     Because both layers use the exact same image/position, the overlap
     is invisible and prevents any paper-colored horizontal seam. */
  .torn-portrait-breakout{
    z-index:10 !important;
    clip-path:inset(0 0 58% 0) !important;
  }

  .torn-marquee-track{
    font-size:clamp(4.25rem,11.2vw,7.2rem) !important;
    line-height:.9 !important;
    letter-spacing:-.035em !important;
  }
}

@media (max-width:600px){
  .torn-band-black{
    height:clamp(430px,60svh,530px) !important;
  }

  /* Width is driven primarily by the phone width — not svh — so tall
     and short phones keep the same visual portrait prominence. */
  .torn-portrait-inside img,
  .torn-portrait-breakout img{
    width:clamp(315px,88vw,455px) !important;
    height:auto !important;
    max-width:none !important;
    bottom:2.5% !important;
    object-fit:contain !important;
    object-position:50% 100% !important;
  }

  .torn-portrait-breakout{
    z-index:10 !important;
    clip-path:inset(0 0 55% 0) !important;
  }

  .torn-marquee-track{
    font-size:clamp(3.35rem,15.5vw,5.25rem) !important;
    line-height:.9 !important;
    letter-spacing:-.04em !important;
  }
}


/* ══════════════════════════════════════════════════════════════
   WORDPRESS V13 — GILET LOGO VISIBILITY, RESPONSIVE ONLY
   Desktop >= 1025px is intentionally untouched.
   On phones/tablets, the portrait is shifted upward while being
   reduced proportionally so the cap keeps roughly the same visual
   position, but more of the lower vest (including the Bamtoo logo)
   remains visible before the lower torn edge.
   Values stay fluid across different device widths/heights.
   ══════════════════════════════════════════════════════════════ */

@media (min-width:601px) and (max-width:1024px){
  .torn-portrait-inside img,
  .torn-portrait-breakout img{
    width:clamp(370px,55vw,560px) !important;
    height:auto !important;
    bottom:clamp(42px,7svh,74px) !important;
  }
}

@media (max-width:600px){
  .torn-portrait-inside img,
  .torn-portrait-breakout img{
    width:clamp(300px,84vw,430px) !important;
    height:auto !important;
    bottom:clamp(34px,6.5svh,62px) !important;
  }
}

/* ===== V14 — compact looping LOGOS & MARKS + 4-image BRANDING ===== */
.logo-loop-section{padding:clamp(2.2rem,4.5vw,4.8rem) clamp(1rem,4vw,4rem)!important;min-height:0!important}
.logo-loop-stage{position:relative;max-width:1180px;margin:0 auto;height:clamp(250px,29vw,390px);overflow:hidden}
.logo-loop-pair{position:absolute;inset:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .6s ease,transform .6s ease,visibility .6s}
.logo-loop-pair.is-active{opacity:1;visibility:visible;transform:none;z-index:2}
.logo-loop-cell{min-height:0!important;height:calc(100% - 24px)!important;padding:clamp(.75rem,1.25vw,1.25rem)!important;border-top:1px solid rgba(15,13,10,.18);border-bottom:1px solid rgba(15,13,10,.18)}
.logo-loop-cell+ .logo-loop-cell{border-left:1px solid rgba(15,13,10,.18)}
.logo-loop-cell .logo-reference-media{min-height:0!important;height:calc(100% - 48px);padding:clamp(.35rem,1vw,1rem)!important}
.logo-loop-cell .logo-reference-media img{width:min(58%,280px)!important;height:min(62%,155px)!important}
.logo-loop-cell figcaption{white-space:normal;line-height:1.15;text-align:center}
.logo-loop-progress{position:absolute;z-index:4;left:50%;bottom:0;transform:translateX(-50%);display:flex;gap:7px}
.logo-loop-progress span{width:18px;height:2px;background:rgba(15,13,10,.22);transition:width .3s ease,background .3s ease}
.logo-loop-progress span.is-active{width:34px;background:#FF8304}

.branding-final-mosaic{display:grid!important;grid-template-columns:repeat(12,minmax(0,1fr))!important;grid-template-rows:repeat(2,clamp(210px,23vw,340px))!important;gap:clamp(7px,.8vw,11px)!important;grid-auto-flow:row!important}
.branding-final-mosaic .branding-final-tile{grid-column:auto!important;grid-row:auto!important;min-height:0!important;height:100%!important}
.branding-final-mosaic .branding-final-tile:nth-child(1){grid-column:1 / span 7!important;grid-row:1!important}
.branding-final-mosaic .branding-final-tile:nth-child(2){grid-column:8 / span 5!important;grid-row:1!important}
.branding-final-mosaic .branding-final-tile:nth-child(3){grid-column:1 / span 7!important;grid-row:2!important}
.branding-final-mosaic .branding-final-tile:nth-child(4){grid-column:8 / span 5!important;grid-row:2!important}
.branding-final-mosaic .branding-final-tile img{width:100%!important;height:100%!important;object-fit:cover!important}

@media (max-width:1024px){
 .logo-loop-section{padding:clamp(1.6rem,4vw,2.8rem) clamp(.75rem,3vw,2rem)!important}
 .logo-loop-stage{height:clamp(205px,31vw,300px)}
 .logo-loop-cell{height:calc(100% - 20px)!important;padding:clamp(.55rem,1.4vw,.9rem)!important}
 .logo-loop-cell .logo-reference-media{height:calc(100% - 42px)}
 .logo-loop-cell .logo-reference-media img{width:min(52%,210px)!important;height:min(58%,120px)!important}
 .branding-final-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,clamp(210px,34vw,330px))!important}
 .branding-final-mosaic .branding-final-tile:nth-child(n){grid-column:auto!important;grid-row:auto!important}
}
@media (max-width:600px){
 .logo-loop-section{padding:1.25rem .7rem 1.5rem!important}
 .logo-loop-stage{height:clamp(180px,54vw,230px)}
 .logo-loop-pair{gap:0}
 .logo-loop-cell{height:calc(100% - 18px)!important;padding:.45rem!important}
 .logo-loop-cell .logo-reference-media{height:calc(100% - 38px);padding:.25rem!important}
 .logo-loop-cell .logo-reference-media img{width:min(60%,135px)!important;height:min(60%,82px)!important}
 .logo-loop-cell .logo-reference-type,.logo-loop-cell figcaption{font-size:clamp(.48rem,2.05vw,.62rem)!important}
 .logo-loop-progress span{width:12px}.logo-loop-progress span.is-active{width:24px}
 .branding-final-mosaic{grid-template-columns:1fr!important;grid-template-rows:none!important;gap:7px!important}
 .branding-final-mosaic .branding-final-tile:nth-child(n){grid-column:1!important;grid-row:auto!important;height:auto!important;aspect-ratio:16/10!important}
 .branding-final-mosaic .branding-final-tile:nth-child(2),.branding-final-mosaic .branding-final-tile:nth-child(4){aspect-ratio:4/5!important}
}
@media (prefers-reduced-motion:reduce){.logo-loop-pair{transition:none}}

/* ===== V16 — device-specific Logos & Marks + Branding editorial system ===== */
/* LOGOS: desktop = original full 3x4 grid; tablet = 4 at a time (2x2); phone = 2 at a time. */
.logo-responsive-section{padding:clamp(2.5rem,5vw,5.5rem) clamp(1rem,4vw,4rem)!important;min-height:0!important}
.logos-desktop-grid{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid rgba(15,13,10,.18);border-left:1px solid rgba(15,13,10,.18)}
.logos-desktop-grid .logo-reference-cell{min-height:clamp(210px,18vw,285px)!important;border-right:1px solid rgba(15,13,10,.18);border-bottom:1px solid rgba(15,13,10,.18);padding:clamp(.8rem,1.2vw,1.2rem)!important}
.logos-desktop-grid .logo-reference-media{height:calc(100% - 48px)!important;min-height:0!important}
.logos-desktop-grid .logo-reference-media img{max-width:58%!important;max-height:62%!important;width:auto!important;height:auto!important}
.logos-tablet-loop,.logos-mobile-loop{display:none}
.logo-device-stage{position:relative;overflow:hidden}
.logo-device-group{position:absolute;inset:0;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .55s ease,transform .55s ease,visibility .55s}
.logo-device-group.is-active{opacity:1;visibility:visible;transform:none;z-index:2}
.logo-device-progress,.branding-mobile-progress{display:flex;justify-content:center;gap:7px;margin-top:10px}
.logo-device-progress span,.branding-mobile-progress span{width:16px;height:2px;background:rgba(15,13,10,.25)}
.logo-device-progress span.is-active,.branding-mobile-progress span.is-active{width:30px;background:#FF8304}

/* BRANDING desktop/tablet: one compact editorial composition: wide / two / wide. */
.branding-editorial-layout{position:relative;display:grid;grid-template-columns:1fr;gap:clamp(7px,.75vw,11px);max-width:1380px;margin:0 auto}
.branding-editorial-tile{margin:0;overflow:hidden;background:#080808;min-height:0}
.branding-editorial-tile img{display:block;width:100%;height:100%;object-fit:cover}
.branding-editorial-tile.brand-wide{height:clamp(190px,18vw,285px)}
.brand-middle{display:grid;grid-template-columns:1fr 1fr;gap:clamp(7px,.75vw,11px);height:clamp(260px,25vw,390px)}
.brand-middle .branding-editorial-tile{height:100%}
.brand-top img{object-position:50% 50%}
.brand-mid-left img{object-position:50% 50%}
.brand-mid-right img{object-position:50% 48%}
.brand-bottom img{object-position:50% 52%}
.branding-open-all,.branding-mobile-open{border:0;background:#0b0b0b;color:#fff;font:600 .62rem/1 'DM Sans',sans-serif;letter-spacing:.08em;padding:.65rem .8rem;cursor:pointer}
.branding-open-all{position:absolute;right:.65rem;bottom:.65rem;z-index:5}
.branding-mobile-loop{display:none}

@media (min-width:601px) and (max-width:1024px){
  .logos-desktop-grid,.logos-mobile-loop{display:none!important}
  .logos-tablet-loop{display:block!important;max-width:900px;margin:0 auto}
  .logo-responsive-section{padding:clamp(1.6rem,3.8vw,2.7rem) clamp(.8rem,3vw,2rem)!important}
  .logos-tablet-loop .logo-device-stage{height:clamp(330px,52vw,500px)}
  .tablet-group{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}
  .tablet-group .logo-reference-cell{min-height:0!important;height:auto!important;padding:clamp(.55rem,1.2vw,.9rem)!important;border-right:1px solid rgba(15,13,10,.18);border-bottom:1px solid rgba(15,13,10,.18)}
  .tablet-group .logo-reference-cell:nth-child(-n+2){border-top:1px solid rgba(15,13,10,.18)}
  .tablet-group .logo-reference-cell:nth-child(odd){border-left:1px solid rgba(15,13,10,.18)}
  .tablet-group .logo-reference-media{height:calc(100% - 40px)!important;min-height:0!important;padding:.25rem!important}
  .tablet-group .logo-reference-media img{width:auto!important;height:auto!important;max-width:48%!important;max-height:55%!important}
  .tablet-group .logo-reference-type,.tablet-group figcaption{font-size:clamp(.5rem,1.25vw,.66rem)!important}

  .branding-editorial-layout{max-width:940px;gap:7px}
  .branding-editorial-tile.brand-wide{height:clamp(145px,20vw,205px)}
  .brand-middle{height:clamp(225px,31vw,315px);gap:7px}
  .brand-top img{object-position:50% 50%}
  .brand-mid-left img{object-position:50% 48%}
  .brand-mid-right img{object-position:50% 46%}
  .brand-bottom img{object-position:50% 52%}
}

@media (max-width:600px){
  .logos-desktop-grid,.logos-tablet-loop{display:none!important}
  .logos-mobile-loop{display:block!important}
  .logo-responsive-section{padding:1.2rem .7rem 1.45rem!important}
  .logos-mobile-loop .logo-device-stage{height:clamp(175px,51vw,225px)}
  .mobile-group{display:grid;grid-template-columns:1fr 1fr}
  .mobile-group .logo-reference-cell{min-height:0!important;height:100%!important;padding:.42rem!important;border-top:1px solid rgba(15,13,10,.18);border-bottom:1px solid rgba(15,13,10,.18)}
  .mobile-group .logo-reference-cell:first-child{border-left:1px solid rgba(15,13,10,.18);border-right:1px solid rgba(15,13,10,.18)}
  .mobile-group .logo-reference-cell:last-child{border-right:1px solid rgba(15,13,10,.18)}
  .mobile-group .logo-reference-media{height:calc(100% - 36px)!important;min-height:0!important;padding:.2rem!important}
  .mobile-group .logo-reference-media img{width:auto!important;height:auto!important;max-width:58%!important;max-height:58%!important}
  .mobile-group .logo-reference-type,.mobile-group figcaption{font-size:clamp(.46rem,2vw,.6rem)!important}
  .logo-device-progress span{width:11px}.logo-device-progress span.is-active{width:23px}

  .branding-editorial-layout{display:none!important}
  .branding-mobile-loop{display:block!important;position:relative;max-width:520px;margin:0 auto}
  .branding-mobile-stage{position:relative;height:clamp(330px,108vw,500px);overflow:hidden;background:#090909}
  .branding-mobile-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transform:translateX(10px);transition:opacity .55s ease,transform .55s ease,visibility .55s;cursor:zoom-in}
  .branding-mobile-slide.is-active{opacity:1;visibility:visible;transform:none;z-index:2}
  .branding-mobile-slide img{display:block;width:100%;height:100%;object-fit:cover}
  /* Individual crops: preserve the important visual subject of each artwork. */
  .brand-mobile-cqp1 img{object-position:50% 53%}
  .brand-mobile-cqp8 img{object-position:50% 45%}
  .brand-mobile-cqp14 img{object-position:50% 47%}
  .brand-mobile-cqp20 img{object-position:50% 46%}
  .branding-mobile-open{position:absolute;right:.55rem;bottom:1.35rem;z-index:6}
  .branding-mobile-progress{margin-top:9px}
  .branding-mobile-progress span{width:13px}.branding-mobile-progress span.is-active{width:26px}
}
@media (prefers-reduced-motion:reduce){.logo-device-group,.branding-mobile-slide{transition:none}}
