/* Home-only extension. Existing case and résumé styles remain independent. */
.two-worlds { --body-bg:#0b1119; --text-main:#f3f1ec; --text-muted:#b1bcc7; --text-copy:#cbd3dc; --card-bg:#101a25; --accent:#9cc8e3; background:#0b1119; font-family:"Manrope",sans-serif; }
.two-worlds .layout { display:block; }
.two-worlds .main-content { margin:0; padding:0; }
.two-worlds ::selection { background:#c7a879; color:#111; }
.two-worlds { scrollbar-color:#65717b #0b1119; }
.two-worlds :focus-visible { outline:2px solid #e4c28b; outline-offset:6px; }
.skip-link { position:fixed; top:-90px; left:24px; z-index:1200; background:#f5f0e6; color:#111; padding:14px 20px; }
.skip-link:focus { top:12px; }
.world-nav { position:absolute; top:0; left:0; right:0; z-index:20; display:flex; align-items:center; justify-content:space-between; gap:28px; padding:25px 4.5vw; color:#fff; background:linear-gradient(#071019b3,transparent); }
.world-brand { font-family:"Instrument Serif",Georgia,serif; font-size:29px; white-space:nowrap; }
.brand-dot { color:#d4b17c; }
.world-nav nav { display:flex; gap:clamp(16px,2.5vw,40px); align-items:center; font-size:13px; }
.world-nav nav a { padding:10px 0; text-underline-offset:7px; }
.world-nav nav a:hover { text-decoration:underline; }
.world-nav .nav-resume { border-bottom:1px solid #ffffff60; }
.world-story { height:310svh; position:relative; }
.world-stage { position:sticky; top:0; height:100svh; min-height:560px; overflow:hidden; isolation:isolate; background:#111; }
.world-scene { position:absolute; inset:0; overflow:hidden; }
.world-scene > img { position:absolute; width:100%; height:100%; object-fit:cover; }
.scene-tech > img { object-position:40% 50%; transform:scale(var(--tech-scale,1)); }
.scene-judo { opacity:var(--dojo-opacity,0); }
.scene-judo > img { object-position:65% 50%; transform:scale(var(--dojo-scale,1.04)); }
.scene-shade { position:absolute; inset:0; pointer-events:none; }
.scene-tech .scene-shade { background:linear-gradient(90deg,#06121c0a 25%,#06121c99 54%,#06121cd9 100%),linear-gradient(0deg,#06121c8c,transparent 24%); }
.scene-judo .scene-shade { background:linear-gradient(90deg,#17100ae8,#17100a9c 40%,transparent 78%),linear-gradient(0deg,#17100a88,transparent 25%); }
.world-copy { position:absolute; top:50%; transform:translateY(-50%); width:43%; max-width:650px; }
.copy-tech { right:4.5%; opacity:var(--tech-copy,1); }
.copy-judo { left:5.5%; opacity:var(--dojo-copy,0); }
.world-copy h1,.world-copy h2 { font-family:"Instrument Serif",Georgia,serif; font-size:clamp(48px,5.8vw,90px); font-weight:400; letter-spacing:-.025em; line-height:1.02; text-wrap:balance; }
.world-copy em,.judo-content em { font-weight:400; color:#e5d7bd; }
.world-copy p { font-size:clamp(14px,1.2vw,18px); line-height:1.75; max-width:43ch; margin-top:26px; color:#e0e4e5; }
.world-actions { display:flex; gap:24px; flex-wrap:wrap; margin-top:33px; font-size:13px; }
.world-actions a { border-bottom:1px solid #e5d7bd8c; padding:0 0 12px; display:flex; gap:22px; align-items:center; }
.world-actions a:hover { border-color:#fff; }
.door-pass { position:absolute; z-index:3; inset:-3% auto -3% 0; width:115%; background:linear-gradient(90deg,#0c0c0b 0%,#251c15 94%,#61452c 98%,#b78a52 99%,#2c2119 100%); transform:translateX(var(--door-x,-115%)); box-shadow:20px 0 60px #0008; pointer-events:none; }
.door-handle { position:absolute; right:3%; top:47%; height:12%; width:5px; background:#aa9e8d; border-radius:2px; }
.story-footer { position:absolute; z-index:4; left:4.5%; right:4.5%; bottom:28px; display:flex; align-items:center; justify-content:space-between; gap:20px; color:#e5e3df; font-size:11px; }
.story-chapter { position:relative; min-width:100px; }
.chapter-tech { opacity:var(--tech-copy,1); }
.chapter-judo { position:absolute; left:0; opacity:var(--dojo-copy,0); }
.scroll-invitation { display:flex; gap:20px; align-items:center; font-size:13px; }
.image-disclosure { opacity:.85; }
.story-progress { position:absolute; z-index:5; bottom:0; left:0; right:0; height:2px; background:#ffffff20; }
.story-progress span { display:block; height:100%; background:#d3b17b; transform-origin:left; transform:scaleX(var(--story-progress,0)); }
.judo-section { background:#e9e2d5; color:#2b241e; display:grid; grid-template-columns:1.08fr 1fr; min-height:700px; }
.judo-portrait { position:relative; min-height:620px; overflow:hidden; }
.judo-portrait img { width:100%; height:100%; object-fit:cover; object-position:78% center; }
.judo-portrait > span { position:absolute; bottom:18px; left:24px; color:#fff; font-size:10px; background:#21150bbf; padding:6px 10px; }
.judo-content { padding:90px 7vw 90px 6vw; align-self:center; }
.judo-content h2 { font-family:"Instrument Serif",Georgia,serif; font-size:clamp(45px,4.6vw,72px); line-height:1.02; font-weight:400; letter-spacing:-.025em; margin-bottom:30px; }
.judo-content em { color:#776044; }
.judo-content p { font-size:15px; line-height:1.85; margin-bottom:20px; max-width:50ch; }
.text-link { display:flex; justify-content:space-between; gap:24px; max-width:350px; font-size:13px; padding:16px 0; border-bottom:1px solid #76604470; }
.text-link:hover { color:#76572f; }
.two-worlds .section { max-width:1440px; margin:auto; padding:100px 6vw; scroll-margin-top:24px; }
.two-worlds .section::before { display:none; }
.two-worlds .section-title { font-family:"Instrument Serif",Georgia,serif; font-weight:400; font-size:clamp(40px,4.3vw,66px); line-height:1.08; }
.two-worlds .section__content { max-width:78ch; }
.two-worlds .section__intro { max-width:72ch; }
.two-worlds .section + .section { border-top:1px solid #ffffff12; }
.two-worlds .section-subtitle { margin-top:36px; }
.two-worlds .btn { background:transparent; color:#f3f1ec; border:1px solid #a5bdcd70; box-shadow:none; border-radius:4px; }
.two-worlds .btn:hover { background:#c0d7e715; transform:none; }
.two-worlds .project-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:36px; }
.two-worlds .project-card { border:0; border-radius:0; box-shadow:none; padding:0 0 28px; background:transparent; border-bottom:1px solid #ffffff26; }
.two-worlds .project-thumb { height:auto; aspect-ratio:16/10; border-radius:4px; box-shadow:none; }
.two-worlds .project-category__title { margin-top:50px; }
.two-worlds .project-grid--secondary { grid-template-columns:repeat(3,minmax(0,1fr)); }
.two-worlds .project-grid--secondary .project-thumb { aspect-ratio:16/10; }
.two-worlds .tag-list li { border-color:#ffffff25; background:transparent; }
.two-worlds #contact { padding-bottom:70px; }
.two-worlds #resume { padding-bottom:80px; }
.two-worlds .hero__actions-arrow { display:none; }
.two-worlds [data-animate] { opacity:1; transform:none; }
/* No-JavaScript fallback keeps both worlds and actions available. */
.two-worlds:not(.story-ready) .world-story { height:auto; }
.two-worlds:not(.story-ready) .world-stage { position:relative; height:auto; min-height:0; overflow:visible; }
.two-worlds:not(.story-ready) .world-scene { position:relative; min-height:100svh; opacity:1; }
.two-worlds:not(.story-ready) .world-copy { opacity:1; }
.two-worlds:not(.story-ready) .door-pass,.two-worlds:not(.story-ready) .story-footer,.two-worlds:not(.story-ready) .story-progress { display:none; }
@media(min-width:1700px) { .world-copy { right:7%; } }
@media(max-width:900px) {
  .world-nav { padding:20px 5vw; gap:12px; }
  .world-brand { font-size:25px; }
  .world-nav nav { gap:18px; font-size:12px; }
  .nav-resume { display:none; }
  .world-copy { width:48%; }
  .world-copy h1,.world-copy h2 { font-size:clamp(43px,6vw,62px); }
  .judo-content { padding:60px 5vw; }
  .judo-portrait { min-height:580px; }
}
@media(max-width:600px) {
  .world-nav { align-items:flex-start; padding-top:18px; }
  .world-brand { font-size:24px; line-height:1; }
  .world-brand > span:not(.brand-dot) { display:none; }
  .world-nav nav { gap:13px; font-size:11px; flex-wrap:wrap; justify-content:flex-end; }
  .world-nav nav a { padding:2px 0 8px; }
  .world-story { height:270svh; }
  .world-stage { min-height:600px; }
  .scene-tech > img { object-position:33% center; }
  .scene-judo > img { object-position:73% center; }
  .scene-tech .scene-shade,.scene-judo .scene-shade { background:linear-gradient(0deg,#0b1119f5 0%,#0b1119df 23%,#0b111955 58%,#0b11192b 100%); }
  .world-copy { width:auto; max-width:none; top:auto; bottom:110px; left:6%; right:6%; transform:none; }
  .world-copy h1,.world-copy h2 { font-size:clamp(39px,10.3vw,58px); line-height:1.04; }
  .world-copy p { font-size:13px; line-height:1.65; max-width:40ch; margin-top:18px; }
  .world-actions { margin-top:22px; gap:22px; font-size:11px; }
  .world-actions a { gap:12px; padding-bottom:10px; }
  .story-footer { bottom:24px; left:6%; right:6%; align-items:flex-start; }
  .story-chapter { display:none; }
  .scroll-invitation { font-size:11px; gap:10px; }
  .image-disclosure { font-size:11px; max-width:120px; text-align:right; }
  .judo-section { grid-template-columns:1fr; }
  .judo-portrait { min-height:0; height:400px; }
  .judo-content { padding:48px 7vw 62px; }
  .judo-content h2 { font-size:48px; }
  .two-worlds .section { padding:64px 7vw; }
  .two-worlds .project-grid,.two-worlds .project-grid--secondary { grid-template-columns:1fr; gap:36px; }
  .two-worlds .section-title { font-size:40px; }
  .two-worlds .hero__actions .btn { width:auto; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .two-worlds .world-story { height:auto; }
  .two-worlds .world-stage { position:relative; height:auto; min-height:0; overflow:visible; }
  .two-worlds .world-scene { position:relative; min-height:100svh; opacity:1; }
  .two-worlds .world-copy { opacity:1; }
  .two-worlds .world-scene > img { transform:none; }
  .two-worlds .door-pass,.two-worlds .story-footer,.two-worlds .story-progress { display:none; }
}

/* User-approved anime illustrations, replacing photographic placeholders. */
.two-worlds { --fundo:#0b1018; --mistura:lighten; --accent:#e0463d; --fonte-titulo:"Archivo",sans-serif; --fonte-texto:"Archivo",sans-serif; font-family:var(--fonte-texto); }
.world-brand,.world-copy h1,.world-copy h2,.judo-content h2,.two-worlds .section-title { font-family:var(--fonte-titulo); font-weight:600; }
.world-brand { font-size:24px; }
.world-story { height:400svh; }
.world-copy { max-width:580px; width:41%; padding:28px; background:rgba(7,11,17,.87); border:1px solid #ffffff24; border-radius:12px; backdrop-filter:blur(12px); }
.world-copy h1,.world-copy h2 { font-size:clamp(34px,4.1vw,64px); letter-spacing:-.035em; line-height:1.08; }
.world-copy em,.judo-content em { font-style:normal; color:#f0e4d7; }
.world-copy p { margin-top:20px; }
.copy-tech { right:4.5%; }
.copy-judo { left:5%; }
.scene-tech > img { object-position:40% center; }
.scene-judo > img { object-fit:contain; object-position:right center; background:#07090d; }
.scene-judo .scene-shade { background:linear-gradient(90deg,#07090d 0%,#07090df2 20%,#07090d44 55%,transparent 75%); }
.scene-tech .scene-shade { background:linear-gradient(90deg,transparent 15%,#07090d22 55%,#07090d70); }
.door-pass { background:linear-gradient(90deg,#140c0d 0%,#261014 85%,#6d1c1c 97%,#c4342d 99%,#1f0b0c); }
.story-footer { background:#080b10b8; padding:10px 12px; border-radius:4px; }
.image-disclosure { font-size:12px; }
.judo-section { background:#100f12; color:#eee7df; }
.judo-content { background:#151317; }
.judo-content p { color:#d5c9c1; }
.judo-portrait { min-height:720px; background:#07090d; }
.judo-portrait img { object-fit:contain; object-position:center; }
.judo-content em { color:#e3ada7; }
.text-link { border-color:#b06d6780; }
.text-link:hover { color:#ffb3ac; }
.two-worlds .project-thumb::before,.two-worlds .project-thumb::after { box-shadow:none; }
.two-worlds .btn--primary { color:#f3f1ec; }
@media(max-width:600px) {
  .world-story { height:380svh; }
  .world-copy { left:5%; right:5%; width:auto; padding:20px; bottom:110px; }
  .world-copy h1,.world-copy h2 { font-size:clamp(30px,8.5vw,42px); }
  .scene-tech > img { object-position:38% 32%; }
  .scene-judo > img { object-fit:cover; object-position:center 24%; }
  .scene-judo .scene-shade { background:linear-gradient(0deg,#07090dd9,transparent 85%); }
  .world-copy p { font-size:14px; }
  .world-actions { font-size:12px; gap:18px; }
  .story-footer { gap:10px; }
  .image-disclosure { font-size:10px; max-width:130px; }
  .judo-portrait { min-height:0; height:580px; }
}
@media(prefers-reduced-motion:reduce) {
  .two-worlds .world-story { height:auto; }
}

/* Shared art direction: masks, alternating composition and text panels. */
.two-worlds { --altura:400svh; --fundo:#0b1018; background:var(--fundo); }
.world-story { height:var(--altura); }
.copy-final { left:5%; opacity:var(--final-copy,0); z-index:2; }
.world-copy { pointer-events:auto; }
.world-copy[inert] { pointer-events:none; }
.world-nav { background:#080d15db; border-bottom:1px solid #ffffff12; }
.scene-judo > img {
  mask-image:linear-gradient(90deg,transparent 42%,#000 66%,#000 96%,transparent),linear-gradient(0deg,transparent,#000 9%,#000 94%,transparent);
  mask-composite:intersect;
}
.arte { pointer-events:none; mix-blend-mode:var(--mistura); }
.two-worlds .art-section { isolation:isolate; overflow:hidden; min-height:100svh; display:flex; align-items:center; max-width:none; }
.two-worlds .art-section > .arte { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-1; opacity:.6; }
.arte--direita { mask-image:linear-gradient(90deg,transparent 20%,#000 70%,transparent),linear-gradient(0deg,transparent,#000 18%,#000 85%,transparent); mask-composite:intersect; }
.arte--esquerda { mask-image:linear-gradient(90deg,transparent,#000 15%,#000 35%,transparent 85%),linear-gradient(0deg,transparent,#000 18%,#000 85%,transparent); mask-composite:intersect; }
.arte--fundo { mask-image:linear-gradient(0deg,transparent,#000 25%,#000 75%,transparent),linear-gradient(90deg,transparent,#000 15%,#000 85%,transparent); mask-composite:intersect; }
.two-worlds .section__panel { position:relative; z-index:1; width:min(100%,900px); padding:clamp(24px,4vw,56px); border:1px solid #ffffff22; background:#0b1018e8; backdrop-filter:blur(10px); border-radius:14px; }
.two-worlds .art-section--esquerda .section__panel { margin-left:auto; }
.two-worlds #projects .section__panel { width:min(100%,1120px); }
.two-worlds #redes .section__panel { width:min(100%,1120px); margin:auto; }
.section-number { display:block; font-size:13px; color:#dfa09c; margin-bottom:22px; font-variant-numeric:tabular-nums; }
.two-worlds .judo-section { position:relative; overflow:hidden; isolation:isolate; min-height:100svh; background:var(--fundo); }
.two-worlds .judo-portrait { mix-blend-mode:normal; }
.two-worlds .judo-portrait img { mask-image:linear-gradient(0deg,transparent,#000 14%,#000 85%,transparent); }
.two-worlds .judo-content { margin:60px 5vw 60px 0; padding:clamp(24px,4vw,55px); border:1px solid #ffffff22; background:#0b1018e8; border-radius:14px; }
.judo-portrait > span { display:none; }
.two-worlds .project-card { padding:16px; background:#0e1720b3; border:1px solid #ffffff18; border-radius:12px; }
.two-worlds .project-thumb { background:transparent; padding:0; border:0; border-radius:0; overflow:visible; }
.two-worlds .project-thumb::before,.two-worlds .project-thumb span { display:none; }
.two-worlds .project-thumb img { mask-image:linear-gradient(0deg,transparent,#000 20%,#000 80%,transparent),linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-composite:intersect; }
.contact-form { display:grid; gap:20px; margin:28px 0; max-width:620px; }
.contact-form label { display:grid; gap:9px; color:#eee5dd; font-size:14px; }
.contact-form input,.contact-form select,.contact-form textarea { width:100%; padding:13px 15px; font:inherit; color:#f3f1ec; background:#080d15; border:1px solid #ffffff40; border-radius:5px; caret-color:#f0a19b; }
.contact-form textarea { resize:vertical; }
.contact-form button { justify-self:start; }
.contact-form > p { font-size:13px; line-height:1.65; color:#bfc8d3; }
.site-footer { padding:40px 6vw; margin:24px 6vw 40px; border:1px solid #ffffff20; background:#101722; border-radius:12px; display:flex; gap:22px; align-items:center; justify-content:space-between; flex-wrap:wrap; font-size:13px; }
.site-footer nav { display:flex; gap:22px; }
.marca-texto { font-size:20px; font-weight:600; }
.site-footer a:hover { text-decoration:underline; text-underline-offset:5px; }
.two-worlds:not(.story-ready) .copy-final { position:relative; top:auto; left:auto; transform:none; opacity:1; margin:30px auto; }
@media(max-width:600px) {
 .two-worlds { --altura:380svh; }
 .two-worlds .art-section { padding:52px 5vw; }
 .two-worlds .section__panel { padding:25px 20px; }
 .two-worlds .judo-content { margin:0 5vw 45px; padding:25px 20px; }
 .two-worlds .scene-judo > img { mask-image:linear-gradient(0deg,transparent,#000 18%,#000 90%,transparent); }
 .site-footer { margin:20px 5vw; padding:25px; align-items:flex-start; flex-direction:column; }
 .world-copy { max-height:calc(100svh - 180px); overflow:auto; }
}
@media(prefers-reduced-motion:reduce) {
 .two-worlds .copy-final { position:relative; top:auto; left:auto; right:auto; bottom:auto; transform:none; opacity:1; width:auto; margin:25px 5vw; }
}

/* The selected world owns the page; switching triggers the door transition. */
.two-worlds [hidden] { display:none !important; }
.two-worlds .world-story { height:auto; }
.two-worlds .world-stage { position:relative; height:calc(100svh - 80px); min-height:600px; overflow:hidden; }
.two-worlds .world-scene { position:absolute; inset:0; min-height:0; }
.two-worlds[data-world="tech"] .scene-tech { opacity:1; }
.two-worlds[data-world="tech"] .scene-judo { opacity:0; visibility:hidden; }
.two-worlds[data-world="judo"] .scene-tech { opacity:0; visibility:hidden; }
.two-worlds[data-world="judo"] .scene-judo { opacity:1; }
.two-worlds .world-copy { opacity:1; }
.two-worlds .scene-tech > img,.two-worlds .scene-judo > img { transform:none; }
.two-worlds .door-pass { display:block; position:fixed; inset:-3% auto -3% 0; z-index:100; transform:translateX(-115%); }
.transition-message { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); padding:26px; font-size:clamp(24px,4vw,52px); background:#12090bcc; border-radius:12px; white-space:nowrap; }
.two-worlds .story-footer { display:flex; }
.two-worlds .story-progress { display:none; }
.two-worlds .world-nav { position:relative; background:#0b1018; min-height:80px; }
.world-nav a[aria-current="page"] { border-bottom:2px solid #e0463d; }
.two-worlds[data-world="tech"] .chapter-tech { opacity:1; }
.two-worlds[data-world="tech"] .chapter-judo { opacity:0; }
.two-worlds[data-world="judo"] .chapter-tech { opacity:0; }
.two-worlds[data-world="judo"] .chapter-judo { opacity:1; }
.judo-project-links { margin-top:30px; }
.judo-project-links .text-link { max-width:600px; color:#eee3da; padding:22px 0; }
.arrow-icon { display:inline-block; flex:none; vertical-align:middle; }
.two-worlds[data-world="judo"] { --fundo:#0d0c0d; --body-bg:#0d0c0d; background:#0d0c0d; }
.two-worlds[data-world="judo"] .world-nav { background:#0d0c0d; }
.two-worlds[data-world="judo"] .painel { background:#111011eb; }
.two-worlds[data-world="judo"] .site-footer { background:#141214; }
.two-worlds[data-world="judo"] .contact-form input,
.two-worlds[data-world="judo"] .contact-form select,
.two-worlds[data-world="judo"] .contact-form textarea { background:#131113; }
.two-worlds[data-world="judo"] .contact-form > p { color:#c8c1bd; }
.two-worlds[data-world="judo"] .scene-judo > img { background:#0d0c0d; }
.two-worlds[data-world="judo"] .scene-judo .scene-shade { background:linear-gradient(90deg,#0d0c0d 0%,#0d0c0df2 20%,#0d0c0d44 55%,transparent 75%); }
@media(max-width:600px) {
 .two-worlds .world-nav { min-height:64px; }
 .two-worlds .world-stage { height:calc(100svh - 64px); min-height:650px; }
 .transition-message { font-size:24px; padding:18px; }
}
@media(prefers-reduced-motion:reduce) {
 .two-worlds .world-scene { position:absolute; }
 .two-worlds .world-stage { overflow:hidden; }
 .two-worlds .door-pass { display:none; }
}

/* Authored depth: scene, character and interface occupy separate planes. */
.two-worlds .world-nav { position:sticky; top:0; z-index:30; }
.two-worlds .world-stage { --depth-x:0px; --depth-y:0px; --scroll-depth:0; }
.two-worlds .world-scene[id] { scroll-margin-top:150px; }
.two-worlds .world-scene > .world-background { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; mask-image:none; opacity:.8; transform:translate3d(calc(var(--depth-x) * -.45),calc(var(--depth-y) * -.45),0) scale(1.05); }
.two-worlds .world-scene > .world-character { position:absolute; inset:auto; bottom:-4%; width:49%; height:101%; max-width:none; object-fit:contain; object-position:bottom; mask-image:linear-gradient(0deg,transparent,#000 11%,#000); background:transparent; opacity:1; transform:translate3d(var(--depth-x),calc(var(--depth-y) - var(--scroll-depth) * 26px),0); pointer-events:none; }
.two-worlds .scene-tech > .world-character { right:2%; }
.two-worlds .scene-judo > .world-character { left:2%; }
.two-worlds[data-world="judo"] .scene-judo > .world-character { background:transparent; mask-image:linear-gradient(0deg,transparent,#000 11%,#000); }
.two-worlds .copy-tech { left:5.5%; right:auto; }
.two-worlds .copy-judo { right:5.5%; left:auto; }
.two-worlds .scene-tech .scene-shade { background:linear-gradient(90deg,#080d15df 0%,#080d1580 45%,transparent 75%); }
.two-worlds[data-world="judo"] .scene-judo .scene-shade { background:linear-gradient(90deg,transparent 20%,#0d0c0d77 50%,#0d0c0ddd); }
.two-worlds .world-copy { z-index:2; width:42%; background:#080d15cf; box-shadow:0 22px 70px #0005; }
.two-worlds[data-world="judo"] .world-copy { background:#111011d9; }
.two-worlds .world-copy h2 { font-stretch:125%; }
.two-worlds .door-pass { background:linear-gradient(90deg,#170c0d 0%,#341113 46%,#5b191b 89%,#a4312b 99%,#140a0b); }
.door-pass::before { content:""; position:absolute; inset:4%; border:1px solid #d8917640; box-shadow:inset 0 0 0 12px #08080830; }
.door-pass::after { content:""; position:absolute; left:48%; top:0; bottom:0; width:1px; background:#bd665b65; }
.transition-message { z-index:2; text-align:center; letter-spacing:-.025em; box-shadow:0 12px 40px #0004; }
.world-actions a { position:relative; transition:color 180ms; }
.world-actions .arrow-icon,.text-link .arrow-icon { transition:transform 200ms cubic-bezier(.16,1,.3,1); }
.world-actions a:hover .arrow-icon,.text-link:hover .arrow-icon { transform:translate(3px,-3px); }
.world-actions a::after { content:""; position:absolute; height:2px; left:0; right:0; bottom:-1px; background:#e0463d; transform:scaleX(0); transform-origin:left; transition:transform 220ms cubic-bezier(.16,1,.3,1); }
.world-actions a:hover::after,.world-actions a:focus-visible::after { transform:scaleX(1); }
.two-worlds .section,.two-worlds .judo-section { scroll-margin-top:105px; }
.two-worlds .project-card { transition:border-color 200ms,background 200ms; }
.two-worlds .project-card:hover { border-color:#c37d7660; background:#17202a; }
.world-nav nav a { transition:color 180ms; }
.world-nav nav a:hover { color:#ffb7b0; text-decoration:none; }
.judo-project-links a { transition:padding-left 200ms, color 200ms; }
.judo-project-links a:hover { padding-left:8px; color:#ffc2bc; }
@media(max-width:900px) and (min-width:601px) {
 .two-worlds .world-copy { width:46%; padding:24px; }
 .two-worlds .world-copy h2 { font-size:clamp(32px,4.5vw,44px); }
 .two-worlds .world-scene > .world-character { width:52%; }
}
@media(max-width:600px) {
 .two-worlds .world-stage { min-height:650px; }
 .two-worlds .world-scene > .world-character { width:92%; height:66%; top:0; bottom:auto; left:4%; right:auto; object-position:center top; transform:none; mask-image:linear-gradient(0deg,transparent,#000 15%,#000); }
 .two-worlds .world-scene > .world-background { opacity:.65; transform:scale(1.04); }
 .two-worlds .world-copy { left:5%; right:5%; width:auto; background:#080d15e6; }
 .two-worlds[data-world="judo"] .world-copy { background:#111011eb; }
 .two-worlds .scene-tech .scene-shade,.two-worlds[data-world="judo"] .scene-judo .scene-shade { background:linear-gradient(0deg,#0d0c0ddd,transparent 85%); }
 .two-worlds .world-copy h2 { font-stretch:100%; }
}
@media(prefers-reduced-motion:reduce) {
 .two-worlds .world-scene > .world-background,.two-worlds .world-scene > .world-character { transform:none; }
 .two-worlds .world-actions .arrow-icon,.two-worlds .text-link .arrow-icon { transition:none; transform:none; }
}

/* Continuous ground between scenes: the image dissolves before its boundary. */
.two-worlds .world-stage::after {
  content:""; position:absolute; inset:auto 0 0; height:clamp(65px,12vh,140px);
  background:linear-gradient(transparent,var(--fundo)); pointer-events:none; z-index:4;
}
.two-worlds main > .art-section { background:var(--fundo); border-block:0; }
.two-worlds main > .art-section > .arte {
  mask-image:linear-gradient(0deg,transparent,#000 24%,#000 76%,transparent),linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  mask-composite:intersect;
}
.two-worlds .sensei-section { padding-block:clamp(70px,11vh,130px); }
.two-worlds .sensei-panel { background:linear-gradient(135deg,#111011e8,#111011b8); border-color:#ffffff14; }
@media(prefers-reduced-motion:reduce) {
  .two-worlds .sensei-story-slide,.two-worlds .sensei-year-body,.two-worlds .sensei-gallery-grid { animation:none; }
}

/* Destination-specific passage, bounded to a single gesture. */
.world-atmosphere { position:fixed; inset:0; z-index:101; overflow:hidden; pointer-events:none; opacity:0; }
.sakura-wind,.circuit-wind { position:absolute; inset:0; width:100%; height:100%; display:none; }
.world-atmosphere[data-destination="judo"] .sakura-wind,.world-atmosphere[data-destination="tech"] .circuit-wind { display:block; }
.sakura-petal { position:absolute; width:var(--petal-size); height:calc(var(--petal-size) * .6); border-radius:85% 12% 75% 30%; background:linear-gradient(135deg,#ffd8df,#e77c94 65%,#a93451); box-shadow:2px 5px 7px #23080d30; }
.circuit-wind { color:#a5c8da; opacity:.65; }
.circuit-wind path { stroke-dasharray:1; stroke-dashoffset:1; }
.circuit-wind circle { fill:#101d28; }
.two-worlds .door-pass { opacity:0; background:#111011; box-shadow:none; }
.two-worlds .door-pass[data-destination="tech"] { background:#0b1018; }
.two-worlds .door-pass::before,.two-worlds .door-pass::after,.two-worlds .door-handle { display:none; }
@media(prefers-reduced-motion:reduce) { .world-atmosphere { display:none; } }

/* TI has its own graphite and cyan identity; neon belongs to circuit traces. */
.two-worlds[data-world="tech"] { --fundo:#080f17; --accent:#72d9df; --accent-color:#72d9df; }
.two-worlds[data-world="tech"] .world-nav { background:#080f17ed; }
.two-worlds[data-world="tech"] .world-nav a[aria-current="page"] { border-color:#72d9df; }
.two-worlds[data-world="tech"] .world-copy,.two-worlds[data-world="tech"] .section__panel { background:#080f17e8; border-color:#72d9df26; }
.two-worlds[data-world="tech"] .btn--primary { background:#72d9df; color:#071018; border-color:#72d9df; }
.two-worlds[data-world="tech"] .tag-list li { border-color:#72d9df35; color:#b2d6dd; }
.circuit-wind { color:#66f5ff; opacity:1; filter:drop-shadow(0 0 4px #2ce4ff) drop-shadow(0 0 12px #18a7de80); }
.circuit-wind circle { fill:#a5fcff; }

.world-atmosphere .transition-message { z-index:2; background:#0b1018f2; }

.development-areas { display:grid; grid-template-columns:1fr 1fr; gap:clamp(24px,4vw,50px); margin:32px 0; }
.development-areas h3 { font-size:24px; line-height:1.2; margin-bottom:18px; }
.development-areas p { line-height:1.8; margin-bottom:16px; color:#c7d3dd; }
@media(max-width:650px) { .development-areas { grid-template-columns:1fr; gap:20px; } }

/* Size the long headline against the panel content, rather than the viewport. */
.two-worlds .copy-tech { container-type:inline-size; }
.two-worlds .copy-tech h2 { font-stretch:100%; font-size:clamp(18px,9.5cqi,52px); max-width:100%; overflow-wrap:anywhere; }

/* Keep warm Judô accents out of technology states. */
.two-worlds[data-world="tech"] .world-nav nav a:hover,
.two-worlds[data-world="tech"] .text-link:hover { color:#a0f5fa; text-shadow:none; }
.two-worlds[data-world="tech"] .world-actions a::after { background:#72d9df; }
.two-worlds[data-world="tech"] .world-actions a { border-color:#72d9df70; }
.two-worlds[data-world="tech"] .section-number { color:#88cbd5; }
.two-worlds[data-world="tech"] .project-card:hover { border-color:#72d9df60; background:#101f2a; }
.two-worlds[data-world="tech"] :focus-visible { outline-color:#72d9df; }
.two-worlds[data-world="tech"] ::selection { background:#72d9df; color:#080f17; }
.two-worlds[data-world="tech"] .contact-form input,
.two-worlds[data-world="tech"] .contact-form textarea { caret-color:#72d9df; }
