/* ============================================================
   Home-specific styles — three-state hero + side content
   ============================================================ */

body { background: #1a1a1a; overflow-x: hidden; }

/* ============ Tear hero ============ */
.tear-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #1a1a1a;
}

/* World text reveal — was tied to tear opening; now reveal immediately on .is-open */
.tear-hero.is-open .world-text-inner { opacity: 1; transform: translateY(0); }
.tear-hero.is-open .world-corner { opacity: 0.7; }

/* Each world is FULL viewport, content laid out at fixed positions inside.
   States only animate translateX — no width changes, no gaps. */
.world {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  will-change: transform;
  transition: transform 1s cubic-bezier(0.65, 0.05, 0.2, 1);
}
.world-workshop {
  flex-direction: row-reverse;   /* DOM <text><image> → image left, text right */
  background: var(--black);
  color: var(--cream);
  transform: translateX(-50vw);  /* split default: shows right half of world = text side */
}
.world-agency {
  flex-direction: row;           /* DOM <text><image> → text left, image right */
  background: var(--cream);
  color: var(--ink);
  transform: translateX(50vw);   /* split default: shows left half of world = text side */
}

/* Each world has a 50/50 internal split: text occupies one half, image the other.
   In split state the image half is off-screen, in expanded state it sits in view. */
.world-text {
  flex: 0 0 50%;
  display: flex;
  align-items: center;
  padding: 0 6vw;
  min-width: 0;
}
.world-image {
  flex: 0 0 50%;
  position: relative;
  align-self: stretch;
  background: var(--hero-bg);
  overflow: hidden;
}
.world-text-inner {
  width: 100%;
  max-width: 540px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.5s, transform 0.7s ease 0.5s;
}
.tear-hero.is-open .world-text-inner { opacity: 1; transform: translateY(0); }

/* Workshop text is anchored to the right edge of its own text container.
   Agency text is anchored to the left edge.  Stable across all states. */
.world-workshop .world-text { justify-content: flex-end; }
.world-workshop .world-text-inner { text-align: right; margin-left: auto; }
.world-agency .world-text { justify-content: flex-start; }
.world-agency .world-text-inner { text-align: left; margin-right: auto; }

.world-image .img-tile { position: absolute; inset: 0; }
/* Author-placed photo slot sits over the colored tile: empty = tile shows
   through (slot bg is ~transparent), filled = the user's photo covers it. */
.world-image image-slot.photo-slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.world-image .img-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(0,0,0,0.55);
  padding: 6px 10px;
}

/* === Three states === */
.state-split    .world-workshop { transform: translateX(-50vw); }
.state-split    .world-agency   { transform: translateX(50vw); }

.state-agency   .world-workshop { transform: translateX(-100vw); }
.state-agency   .world-agency   { transform: translateX(0); }

.state-workshop .world-workshop { transform: translateX(0); }
.state-workshop .world-agency   { transform: translateX(100vw); }

/* Text styling within world */
.world-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 22px;
  display: inline-flex; gap: 10px; align-items: center;
}
.world-eyebrow .num { color: var(--burgundy); font-weight: 600; }
.world-eyebrow .bar { width: 28px; height: 1px; background: currentColor; opacity: 0.55; }

.world-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.world-title .accent { color: var(--burgundy); }
.world-body {
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.82;
  margin-bottom: 28px;
  max-width: 460px;
}
.state-split .world-workshop .world-body { margin-left: auto; }
.world-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.25s, color 0.25s, border-color 0.25s;
  background: transparent;
  cursor: pointer;
  color: inherit;
}
.world-cta:hover { gap: 18px; color: var(--burgundy); border-bottom-color: var(--burgundy); }

/* World corners (labels) */
.world-corner {
  position: absolute;
  top: 110px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.7s ease 0.9s;
  display: flex; align-items: center; gap: 10px;
  z-index: 3;
}
.tear-hero.is-open .world-corner { opacity: 0.7; }
.world-corner .sq { width: 10px; height: 10px; background: var(--burgundy); }
.world-workshop .world-corner { right: 32px; color: var(--cream); }
.world-agency .world-corner { left: 32px; color: var(--ink); }

/* ============ Tear skin ============ */
.tear-skin {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.skin-half {
  position: absolute;
  inset: 0;
  background: var(--hero-bg);
  will-change: transform, opacity;
  transition:
    transform 1.5s cubic-bezier(0.72, 0.02, 0.18, 1),
    opacity 1.2s ease;
}
.skin-left { transform-origin: 0% 50%; }
.skin-right { transform-origin: 100% 50%; }
.tear-hero.is-open .skin-left { transform: translate3d(-58vw, 0, 0) rotate(-1.6deg); }
.tear-hero.is-open .skin-right { transform: translate3d(58vw, 0, 0) rotate(1.6deg); }
.skin-content {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 64vw);
  text-align: center;
  pointer-events: none;
}
.skin-content img { width: 100%; height: auto; display: block; }
.skin-tag {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.65;
}
.skin-tag .dot { color: var(--burgundy); margin: 0 12px; }

.pre-tear-hint {
  position: absolute;
  left: 50%; bottom: 38px;
  transform: translateX(-50%);
  z-index: 5;
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0;
  animation: hintFade 0.6s ease 0.4s forwards;
  text-align: center;
  pointer-events: none;
}
.tear-hero.is-tearing .pre-tear-hint,
.tear-hero.is-open .pre-tear-hint { opacity: 0; transition: opacity 0.3s; }
@keyframes hintFade { to { opacity: 0.55; } }
.pre-tear-hint .blink {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--burgundy);
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  animation: blink 1.4s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.drag-handle {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--burgundy);
  color: var(--cream);
  display: none;
  align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  cursor: grab;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.drag-handle.active { display: flex; }
.drag-handle:active { cursor: grabbing; }

/* ============ Side content sections ============ */
.side-content {
  display: none;
  background: var(--cream);
  color: var(--ink);
}
.side-content.is-visible {
  display: block;
  animation: sectionRise 0.7s 0.3s both;
}
@keyframes sectionRise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.side-content.workshop {
  background: var(--black);
  color: var(--cream);
}

/* Top label band */
.sc-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 6vw;
  border-bottom: 1px solid var(--rule);
}
.workshop .sc-topbar { border-bottom-color: var(--rule-dark); }
.sc-topbar .topbar-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.sc-topbar .topbar-label .sq { width: 10px; height: 10px; background: var(--burgundy); }
.sc-topbar .topbar-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.55; }

/* Section: services preview */
.sc-services {
  padding: 100px 6vw 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 80px;
  position: relative;
}
.sc-services-head {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 30px;
  align-items: end;
}
.sc-services-head h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.6vw, 76px);
  line-height: 0.95;
  text-transform: uppercase;
}
.sc-services-head h2 .accent { color: var(--burgundy); }
.sc-services-head .head-intro {
  max-width: 460px;
  opacity: 0.8;
  line-height: 1.55;
}

.svc-cards {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
/* 6-card variant — 3 columns × 2 rows for agency (now with AI + Security) */
.svc-cards-6 { grid-template-columns: repeat(3, 1fr); }
.workshop .svc-cards { border-color: var(--rule-dark); }
.svc-mini {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: background 0.2s;
}
.workshop .svc-mini { border-color: var(--rule-dark); }
.svc-mini:hover { background: rgba(166,34,35,0.04); }
.workshop .svc-mini:hover { background: rgba(166,34,35,0.1); }
.svc-mini .svc-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--burgundy);
  margin-bottom: 18px;
}
.svc-mini .svc-icon {
  width: 44px; height: 44px;
  margin-bottom: 18px;
  color: currentColor;
}
.svc-mini h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.svc-mini p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.78;
  margin-top: auto;
}

/* Section: selected work */
.sc-work {
  padding: 80px 6vw 60px;
  border-top: 1px solid var(--rule);
}
.workshop .sc-work { border-color: var(--rule-dark); }
.sc-work-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  gap: 40px;
}
.sc-work-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 64px);
  line-height: 0.95;
  text-transform: uppercase;
}
.work-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.workshop .work-tiles { border-color: var(--rule-dark); }
.work-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-right: 1px solid var(--rule);
  color: var(--cream);
  display: flex; align-items: flex-end;
  padding: 22px;
  background: #2D2D2D;
  cursor: pointer;
}
.work-tile:last-child { border-right: none; }
.workshop .work-tile { border-color: var(--rule-dark); }
.work-tile .wt-bg { position: absolute; inset: 0; z-index: 0; transition: transform 0.6s; }
.work-tile:hover .wt-bg { transform: scale(1.04); }
.work-tile .wt-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(17,17,17,0.85) 0%, transparent 60%);
  opacity: 0.6; transition: opacity 0.4s;
}
.work-tile:hover .wt-overlay { opacity: 0.95; }
.work-tile .wt-meta { position: relative; z-index: 2; }
.work-tile .wt-cat {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.85;
}
.work-tile .wt-name {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

/* Section: manifesto */
.sc-manifesto {
  padding: 110px 6vw;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.workshop .sc-manifesto { border-color: var(--rule-dark); }
.sc-manifesto-inner { max-width: 1100px; margin: 0 auto; }
.sc-manifesto-eye {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0.55; margin-bottom: 32px;
}
.sc-manifesto-eye .dash { color: var(--burgundy); margin: 0 12px; }
.sc-manifesto-text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}
.sc-manifesto-text .accent { color: var(--burgundy); }
.sc-manifesto-text .strike { text-decoration: line-through; text-decoration-color: var(--burgundy); text-decoration-thickness: 4px; opacity: 0.55; }

/* Section: stats */
.sc-stats {
  padding: 80px 6vw;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.workshop .sc-stats { border-color: var(--rule-dark); }
.stat {
  border-left: 2px solid var(--burgundy);
  padding-left: 22px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 0.9;
  margin-bottom: 12px;
}
.stat-num .plus { color: var(--burgundy); }
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  line-height: 1.45;
}

/* Section: swap CTA */
.sc-swap {
  padding: 100px 6vw;
  text-align: center;
  border-top: 1px solid var(--rule);
  background: var(--cream-warm);
}
.workshop .sc-swap {
  background: var(--black-deep);
  border-color: var(--rule-dark);
}
.sc-swap-eye {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 24px;
}
.sc-swap h3 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 56px);
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 36px;
  text-wrap: balance;
}
.sc-swap h3 .accent { color: var(--burgundy); }
.sc-swap-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 28px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, gap 0.25s;
}
.sc-swap-btn:hover {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
  gap: 24px;
}
.sc-swap-btn .arrow { font-family: var(--font-body); font-size: 18px; letter-spacing: 0; }
.sc-swap-btn.solid {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}
.sc-swap-btn.solid:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }

/* ============ Image tile patterns for hero & sections ============ */
.tile-hero-agency {
  background: var(--ink);
  background-image:
    radial-gradient(circle at 25% 25%, var(--burgundy) 0% 10%, transparent 12%),
    radial-gradient(circle at 60% 70%, rgba(247,246,236,0.18) 0% 24%, transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(166,34,35,0.4) 0% 14%, transparent 16%);
}
.tile-hero-agency::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent 0 38px, rgba(247,246,236,0.06) 38px 39px);
}

.tile-hero-workshop {
  background: var(--cream);
  background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(45,45,45,0.18) 14px 15px);
  position: relative;
}
.tile-hero-workshop::before {
  content: ""; position: absolute;
  left: 18%; right: 18%; top: 22%; bottom: 22%;
  background: var(--burgundy);
  border: 1px solid var(--ink);
}
.tile-hero-workshop::after {
  content: ""; position: absolute;
  left: 30%; right: 30%; top: 38%; bottom: 38%;
  background: var(--ink);
  transform: rotate(8deg);
}

.tile-a { background: linear-gradient(135deg, #2D2D2D 0%, #111 100%); position: relative; }
.tile-a::before { content:""; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(247,246,236,0.06) 14px 16px); }
.tile-b { background: var(--burgundy); background-image: radial-gradient(circle at 30% 30%, rgba(247,246,236,0.18) 0%, transparent 35%), radial-gradient(circle at 80% 70%, rgba(0,0,0,0.4) 0%, transparent 50%); }
.tile-c { background: #EFEDE0; background-image: repeating-linear-gradient(0deg, transparent 0 26px, rgba(45,45,45,0.06) 26px 27px), repeating-linear-gradient(90deg, transparent 0 26px, rgba(45,45,45,0.06) 26px 27px); }
.tile-d { background: #1a1a1a; background-image: radial-gradient(circle at 50% 50%, var(--burgundy) 0 14px, transparent 14px), radial-gradient(circle at 50% 50%, transparent 26px, rgba(247,246,236,0.08) 26px 27px, transparent 28px), radial-gradient(circle at 50% 50%, transparent 42px, rgba(247,246,236,0.05) 42px 43px, transparent 44px); }
.tile-e { background: #F7F6EC; background-image: linear-gradient(135deg, transparent 49%, var(--burgundy) 49% 51%, transparent 51%); background-size: 50px 50px; }
.tile-f { background: #111; background-image: linear-gradient(to bottom, transparent 0%, transparent 60%, var(--burgundy) 60%, var(--burgundy) 62%, transparent 62%); position: relative; }
.tile-f::after { content: ""; position: absolute; left: 20%; right: 20%; top: 20%; bottom: 20%; border: 1px solid rgba(247,246,236,0.22); }
.tile-g { background: #EFEDE0; position: relative; }
.tile-g::before { content: ""; position: absolute; left: 50%; top: 50%; width: 60%; height: 60%; transform: translate(-50%,-50%) rotate(-12deg); background: var(--burgundy); }
.tile-h { background: var(--cream-warm); background-image: repeating-linear-gradient(135deg, transparent 0 8px, rgba(166,34,35,0.85) 8px 9px); }
.tile-j { background: #2D2D2D; position: relative; }
.tile-j::before { content: ""; position: absolute; inset: 25%; border: 12px solid var(--burgundy); border-radius: 50%; }
.tile-j::after { content: ""; position: absolute; left: 10%; top: 50%; right: 10%; height: 2px; background: var(--cream); }
.tile-l { background: var(--burgundy); background-image: radial-gradient(circle at 50% 50%, rgba(17,17,17,0.5) 0 30%, transparent 31%), radial-gradient(circle at 50% 50%, transparent 39%, rgba(247,246,236,0.4) 40% 41%, transparent 42%); }
.tile-n { background: #EFEDE0; background-image: radial-gradient(circle, var(--burgundy) 8%, transparent 9%) 0 0/26px 26px; }

/* ============ Closer ============ */
.closer {
  background: var(--cream);
  color: var(--ink);
  padding: 120px 6vw 140px;
  text-align: center;
  position: relative;
}
.closer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--burgundy) 50%, transparent 100%);
  opacity: 0.5;
}
.closer h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 26px;
  text-wrap: balance;
}
.closer p {
  max-width: 540px;
  margin: 0 auto 40px;
  color: var(--ink-soft);
}
.closer-ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ Responsive ============ */
@media (max-width: 880px) {
  .nav-main { display: none; }
  .world-corner { display: none; }
  .sc-services { padding: 60px 6vw 30px; gap: 30px; }
  .sc-services-head { grid-template-columns: 1fr; gap: 30px; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
  .work-tiles { grid-template-columns: repeat(2, 1fr); }
  .sc-stats { grid-template-columns: repeat(2, 1fr); }

  /* ============ Mobile: vertical tear ============
     Same mechanics, rotated 90°: workshop on top, agency on bottom.
     Both worlds full-viewport, transitions happen on translateY only.
  ============================================ */
  .tear-hero { height: 100svh; min-height: 600px; }

  .world {
    width: 100vw;
    height: 100svh;
    transition: transform 1s cubic-bezier(0.65, 0.05, 0.2, 1);
  }
  /* Workshop: DOM <text> then <image>. column-reverse → image top, text bottom. */
  .world-workshop {
    flex-direction: column-reverse;
    transform: translateY(-50svh);
  }
  /* Agency: column → text top, image bottom. */
  .world-agency {
    flex-direction: column;
    transform: translateY(50svh);
  }

  /* Each region takes 50% of world height (so the visible half is one region). */
  .world-text {
    flex: 0 0 50%;
    width: 100%;
    height: 50%;
    padding: 36px 28px;
    justify-content: center;
  }
  .world-image {
    flex: 0 0 50%;
    width: 100%;
    height: 50%;
  }

  /* Mobile text: neutralize the desktop right/left alignment, keep readable */
  .world-workshop .world-text { justify-content: center; }
  .world-workshop .world-text-inner {
    text-align: left;
    margin-left: 0;
    max-width: 100%;
  }
  .world-agency .world-text { justify-content: center; }
  .world-agency .world-text-inner {
    text-align: left;
    margin-right: 0;
    max-width: 100%;
  }

  .world-title { font-size: 38px !important; line-height: 0.95; margin-bottom: 14px; }
  .world-body { font-size: 14px; margin-bottom: 18px; max-width: 100%; }
  .world-eyebrow { margin-bottom: 12px; font-size: 10px; }

  /* === Mobile states (Y-axis transforms) === */
  .state-split    .world-workshop { transform: translateY(-50svh); }
  .state-split    .world-agency   { transform: translateY(50svh); }

  .state-agency   .world-workshop { transform: translateY(-100svh); }
  .state-agency   .world-agency   { transform: translateY(0); }

  .state-workshop .world-workshop { transform: translateY(0); }
  .state-workshop .world-agency   { transform: translateY(100svh); }

  /* === Mobile tear skin (slides vertically) === */
  .tear-hero.is-open .skin-left  { transform: translate3d(0, -60svh, 0) rotate(-1.4deg); }
  .tear-hero.is-open .skin-right { transform: translate3d(0,  60svh, 0) rotate(1.4deg); }

  .skin-content { width: min(420px, 70vw); }
  .skin-tag { font-size: 10px; letter-spacing: 0.22em; }

  /* Pre-tear hint stays bottom-center */
  .pre-tear-hint { bottom: 24px; }
}

@media (max-width: 480px) {
  .world-title { font-size: 30px !important; }
  .world-body { font-size: 13px; -webkit-line-clamp: 4; }
  .svc-cards { grid-template-columns: 1fr; }
  .work-tiles { grid-template-columns: 1fr; }
}

/* ============ CTA directional arrows (responsive) ============
   Desktop: atelier ← (gauche) / agence → (droite).
   Mobile (tear vertical): atelier ↑ (monde du haut) / agence ↓ (monde du bas).
   La flèche est gérée en CSS (hors du texte) pour s'adapter au viewport. */
.world-cta[data-action="open-workshop"]::before { content: "\2190"; }   /* ← */
.world-cta[data-action="open-agency"]::after    { content: "\2192"; }   /* → */

@media (max-width: 880px) {
  .world-cta[data-action="open-workshop"]::before { content: "\2191"; } /* ↑ */
  .world-cta[data-action="open-agency"]::after     { display: none; }
  .world-cta[data-action="open-agency"]::before    { content: "\2193"; } /* ↓ */
}

/* ============ Craft emblems — pictogramme métier collé au titre ============
   L'emblème vit dans un conteneur flex avec le titre → il reste TOUJOURS
   au même endroit relatif au titre, quelle que soit la largeur d'écran. */
.title-row {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 22px;
}
.title-row .world-title { margin-bottom: 0; }
.world-workshop .title-row { justify-content: flex-end; }    /* emblème (gauche) + titre, collés à droite */
.world-agency   .title-row { justify-content: flex-start; }  /* titre + emblème (droite), collés à gauche */

.craft-emblem {
  flex: 0 0 auto;
  width: 94px; height: 94px;
  opacity: 0.92;
  pointer-events: none;
}
.craft-emblem svg { width: 100%; height: 100%; display: block; }

@media (max-width: 880px) {
  .craft-emblem { display: none; }            /* layout mobile vertical = pas d'espace latéral */
  .title-row { gap: 0; margin-bottom: 14px; }
  .world-workshop .title-row,
  .world-agency .title-row { justify-content: flex-start; }  /* titre à gauche comme avant (même spécificité que desktop) */
}
