:root {
  color-scheme: only light;
  --ink: #20201e;
  --yellow: #ffe34b;
  --orange: #f25332;
  --muted: #62625b;
  --line: #e6e6df;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --hand: "Caveat", cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
svg { display: block; }
[hidden] { display: none !important; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { max-width: 1240px; margin-inline: auto; padding-inline: 48px; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 10; background: var(--yellow); padding: 12px; }
.skip-link:focus { top: 10px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 6px; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 96px; }
.brand { display: inline-flex; align-items: center; gap: 17px; flex-shrink: 0; }
.brand-mark { font-size: 2.75rem; font-weight: 1000; letter-spacing: -3px; line-height: 1; }
.brand-period { color: var(--orange); }
.brand-name { font: 500 .75rem/1.4 var(--mono); }
nav { display: flex; align-items: center; gap: 36px; font-size: .875rem; font-weight: 650; }
.nav-link { padding-block: 15px; }
.nav-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-cta { display: flex; align-items: center; gap: 22px; padding-block: 12px; border-bottom: 1px solid var(--ink); }
.header-cta span { font-size: 1.375rem; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; padding-top: 31px; padding-bottom: 35px; }
.hero-copy { position: relative; }
#hero-character { position: absolute; z-index: 3; top: 0; left: 0; display: block; width: 100%; pointer-events: none; }
#hero-character[data-depth="behind"] { z-index: 1; }
#hero-title, .hero-subtitle, .hero-description { position: relative; z-index: 2; }
#hero-motion-toggle { position: absolute; z-index: 4; top: -10px; right: 0; display: inline-flex; align-items: center; gap: 5px; min-height: 44px; min-width: 68px; padding: 10px 0 10px 12px; border: 0; background: transparent; color: var(--muted); font: .6875rem var(--mono); cursor: pointer; }
#hero-motion-toggle:hover { color: var(--ink); }
.eyebrow { display: flex; align-items: center; gap: 9px; font: 500 .75rem/1.5 var(--mono); letter-spacing: 1.2px; margin: 0 0 22px; }
.hero-copy>.eyebrow { margin-bottom: 40px; }
.location-mark { font-size: 1.5rem; line-height: 1; color: var(--orange); }
h1 { font-size: clamp(4.75rem, 7.3vw, 6.25rem); font-weight: 900; line-height: .91; letter-spacing: -.06em; margin: 0 0 28px; }
.hero h1 { margin-bottom: 56px; }
.marked { position: relative; isolation: isolate; }
.marker { position: absolute; z-index: -1; left: 1%; bottom: -3px; width: 99%; height: 24px; overflow: visible; }
.marker path { fill: none; stroke: var(--orange); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 950; stroke-dashoffset: 950; animation: draw .8s .15s ease-out forwards; }
.hero-subtitle { font-size: clamp(1.35rem, 2.05vw, 1.6rem); line-height: 1.3; font-weight: 650; letter-spacing: -.5px; margin: 0 0 14px; }
.hero-description { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 0 23px; max-width: 390px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; padding: 16px 22px; min-height: 56px; border: 1.5px solid var(--ink); background: var(--yellow); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); font-size: .9375rem; font-weight: 750; cursor: pointer; transition: transform .18s, box-shadow .18s; }
.button span { font-size: 1.5rem; font-weight: 400; line-height: 1; }
.button:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.button:active { transform: translate(3px,3px); box-shadow: none; }
.hero-copy>.button { margin-top: 40px; position: relative; z-index: 4; translate: var(--hero-nudge, 0 0); }
.hero-copy>.button:is(:hover, :focus, :active) { translate: none; }
.handwritten { font-family: var(--hand); font-weight: 500; }
.cta-note { font-size: 1.5rem; margin: 12px 0 0 17px; transform: rotate(-2deg); }
.match-composition { position: relative; padding-top: 64px; display: flex; justify-content: center; align-items: flex-start; }
.match-annotation { position: absolute; top: -2px; right: 38px; font-size: 1.65rem; line-height: 1.02; margin: 0; transform: rotate(7deg); text-align: center; }
.match-annotation svg { position: absolute; right: -43px; top: 16px; width: 72px; height: 65px; }
.match-annotation path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.match-note { position: relative; isolation: isolate; width: 405px; max-width: 100%; padding: 29px 34px 28px; transform: rotate(2deg); filter: drop-shadow(4px 9px 6px #49402320); transition: translate .25s; }
.match-note:hover { translate: 0 -2px; }
.note-paper { position: absolute; z-index: -1; inset: 0; background: url("/assets/crumpled-yellow-paper.webp") center/100% 100% no-repeat; }
.note-paper::after { content: ""; position: absolute; inset: 3% 2%; background: #ffe95d; opacity: .62; clip-path: polygon(0 0,100% 1%,99% 100%,1% 99%); }
.note-topline { display: flex; align-items: center; justify-content: space-between; font: 600 .75rem var(--mono); letter-spacing: 1.25px; padding-bottom: 14px; border-bottom: 1px solid #4d43294a; }
.note-topline>span:last-child { font: 1.6rem/1 var(--sans); }
.match-note h2 { font-size: 2rem; font-weight: 800; letter-spacing: -1.2px; margin: 17px 0 15px; line-height: 1.1; }
.founder-profile { display: flex; align-items: center; gap: 20px; }
.founder-portrait { display: block; width: 86px; height: 86px; object-fit: contain; flex: 0 0 86px; }
.founder-details { list-style: none; padding: 0; margin: 0; font-size: 1rem; line-height: 1.7; }
.ink-circle { position: relative; }
.ink-circle::after { content: ""; position: absolute; inset: -2px -5px; border: 1.5px solid var(--orange); border-radius: 50%; transform: rotate(-7deg); }
.match-reason { border-top: 1px dashed #64552c70; margin-top: 20px; padding-top: 17px; }
.match-reason h3 { font: 600 .875rem/1.2 var(--mono); letter-spacing: 1px; margin: 0 0 9px; }
.match-reason p { font-size: 1.9rem; line-height: 1.03; margin: 0; }
.note-bottom { margin-top: 20px; }
.distance { display: flex; align-items: center; gap: 9px; margin: 0 0 11px; font-size: .875rem; font-weight: 750; }
.note-foot { font: .75rem/1.5 var(--mono); margin: 0; color: #504827; }
.journey { position: relative; max-width: 1440px; margin: 0 auto; padding-bottom: 30px; }
.journey-stage { height: 240px; position: relative; overflow: hidden; }
.journey-poster, .journey-poster img, #bangkok-scene { display: block; width: 100%; height: 100%; }
.journey-poster img { object-fit: cover; object-position: right bottom; }
#bangkok-scene { position: absolute; inset: 0; }
.arrival-bubble { position: absolute; left: var(--bubble-x, 81%); bottom: 121px; transform: translateX(-50%); font: 500 .75rem var(--mono); background: white; color: var(--ink); border: 2px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); padding: 8px 12px; margin: 0; white-space: nowrap; }
.arrival-bubble::after { content: ""; position: absolute; left: 60%; bottom: -7px; width: 9px; height: 9px; background: white; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: skewY(40deg); }
#motion-toggle { position: absolute; right: max(24px, calc((100% - 1144px)/2)); bottom: 0; background: transparent; border: 0; color: var(--muted); font: .75rem var(--mono); min-height: 44px; padding: 10px 0 10px 16px; cursor: pointer; }
#motion-toggle:disabled { cursor: default; }
.closing { text-align: center; padding-top: 49px; padding-bottom: 60px; }
.closing h2 { font-size: clamp(2.2rem, 3.75vw, 3.2rem); letter-spacing: -.045em; font-weight: 800; line-height: 1.08; margin: 0 0 22px; }
.highlighter { position: relative; isolation: isolate; }
.highlighter::before { content: ""; position: absolute; z-index: -1; inset: 57% -8px -2px; background: var(--yellow); transform: rotate(-1.5deg); clip-path: polygon(0 10%,98% 0,100% 95%,2% 100%); }
.closing-description { font-size: 1rem; color: var(--muted); line-height: 1.6; margin: 0 0 13px; }
.introduction { font-size: 1rem; line-height: 1.5; font-weight: 550; margin: 0; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; max-width: 870px; margin: 33px auto 30px; padding: 24px 0; border-block: 1px solid var(--line); scroll-margin-top: 35px; }
.process li { display: flex; justify-content: center; align-items: flex-start; gap: 14px; padding: 0 16px; text-align: left; }
.process li+li { border-left: 1px solid var(--line); }
.step-number { font: 500 .875rem/1.6 var(--mono); color: #92502b; }
.process p { font-size: 1rem; font-weight: 600; line-height: 1.5; margin: 0; }
.closing-action { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.closing-action>p { font: .75rem/1.4 var(--mono); color: var(--muted); margin: 0; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; border-top: 1px solid var(--line); }
.footer-brand { display: inline-flex; align-items: center; gap: 16px; }
.footer-brand strong { font-size: 1.8rem; font-weight: 1000; letter-spacing: -2px; }
.footer-brand>span { border-left: 1px solid #bdbdb5; padding-left: 16px; font-size: .75rem; }
.footer-city { font: .75rem var(--mono); color: var(--muted); letter-spacing: .3px; }
.legal-links { display: flex; gap: 25px; }
.legal-links button { border: 0; padding: 15px 0; min-height: 44px; background: transparent; font-size: .875rem; color: inherit; cursor: pointer; }
.legal-links button:hover { text-decoration: underline; text-underline-offset: 4px; }
dialog { width: calc(100% - 40px); max-width: 480px; padding: 38px; border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); background: white; color: var(--ink); }
dialog::backdrop { background: #20201e80; }
dialog h2 { font-size: 2.25rem; margin: 0 0 16px; letter-spacing: -1.5px; }
dialog>p:not(.eyebrow) { line-height: 1.6; color: var(--muted); margin-bottom: 24px; }
.dialog-close { position: absolute; top: 8px; right: 8px; min-width: 44px; min-height: 44px; background: transparent; border: 0; font-size: 1.75rem; cursor: pointer; }
.placeholder { max-width: 720px; padding-block: 85px; }
.placeholder h1 { font-size: clamp(3.5rem, 8vw, 5rem); line-height: 1; }
.placeholder>p:not(.eyebrow) { max-width: 440px; font-size: 1.15rem; line-height: 1.6; color: var(--muted); margin: 30px 0; }
.placeholder .button { margin-top: 10px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 1100px) and (min-width: 901px) {
  .wrap { padding-inline: 36px; }
  .hero { gap: 30px; }
  .match-note { padding-inline: 27px; }
  .founder-profile { gap: 14px; }
  .founder-portrait { width: 76px; height: 76px; flex-basis: 76px; }
  .match-reason p { font-size: 1.8rem; }
}
@media (max-width: 900px) {
  .wrap { padding-inline: 32px; }
  .site-header { min-height: 82px; }
  .header-cta { display: none; }
  .hero { display: block; max-width: 640px; padding-top: 23px; padding-bottom: 28px; }
  .hero h1 { font-size: clamp(4.6rem, 13vw, 6.3rem); }
  .hero-copy { max-width: 480px; }
  .hero-subtitle { font-size: 1.55rem; }
  .hero-description { max-width: 410px; }
  .match-composition { max-width: 410px; padding-top: 66px; margin: 20px auto 0; }
  .match-annotation { top: 0; right: 36px; }
  .match-note { width: 390px; }
  .desktop-break { display: none; }
  .closing { padding-block: 35px 46px; }
  .closing h2 { max-width: 670px; margin-inline: auto; }
  .closing-description { max-width: 520px; margin-inline: auto; }
  .site-footer { flex-wrap: wrap; padding-block: 20px; }
  .footer-city { order: 3; flex-basis: 100%; }
}
@media (max-width: 600px) {
  .wrap { padding-inline: 24px; }
  .site-header { min-height: 78px; gap: 16px; }
  .brand { gap: 12px; }
  .brand-mark { font-size: 2.35rem; }
  .brand-name { font-size: .75rem; }
  .nav-link { font-size: .875rem; }
  .hero { padding-top: 16px; padding-bottom: 18px; }
  .eyebrow { margin-bottom: 19px; }
  .hero-copy>.eyebrow { margin-bottom: 37px; }
  .hero h1 { font-size: clamp(4.2rem, 19.5vw, 5.6rem); margin-bottom: 53px; }
  .hero-subtitle { font-size: 1.375rem; line-height: 1.3; margin-bottom: 13px; }
  .hero-description { margin-bottom: 21px; }
  .button { font-size: .875rem; min-height: 56px; gap: 20px; padding-inline: 19px; }
  .hero-copy>.button { max-width: calc(100% - 40px); min-height: 72px; }
  .cta-note { font-size: 1.45rem; margin-top: 12px; }
  .match-composition { margin-top: 20px; padding-top: 59px; }
  .match-annotation { font-size: 1.45rem; right: 30px; top: 0; }
  .match-annotation svg { width: 58px; height: 55px; right: -27px; }
  .match-note { max-width: 336px; padding: 22px 25px 22px; }
  .note-topline { padding-bottom: 10px; }
  .match-note h2 { font-size: 1.8rem; margin: 13px 0; }
  .founder-profile { gap: 13px; }
  .founder-portrait { width: 76px; height: 76px; flex-basis: 76px; }
  .founder-details { line-height: 1.55; }
  .match-reason { margin-top: 15px; padding-top: 14px; }
  .match-reason p { font-size: 1.625rem; line-height: 1.05; }
  .match-reason h3 { margin-bottom: 8px; }
  .note-bottom { margin-top: 16px; }
  .distance { margin-bottom: 8px; }
  .journey-stage { height: 220px; }
  .arrival-bubble { bottom: 112px; }
  .closing h2 { font-size: 2.2rem; margin-bottom: 18px; }
  .closing-description { line-height: 1.55; }
  .introduction { line-height: 1.5; }
  .process { display: flex; flex-direction: column; gap: 18px; margin-block: 25px; padding: 23px 0; }
  .process li { padding: 0; justify-content: flex-start; gap: 16px; }
  .process li+li { border: 0; }
  .process p { font-size: 1rem; }
  .step-number { min-width: 22px; }
  .closing-action { gap: 15px; }
  .site-footer { gap: 9px 20px; }
  .footer-brand { gap: 12px; }
  .footer-brand>span { padding-left: 12px; }
  .legal-links { gap: 18px; }
  .placeholder { padding-top: 60px; }
}
@media (max-width: 360px) {
  .wrap { padding-inline: 20px; }
  .brand { gap: 8px; }
  .brand-mark { font-size: 2.2rem; }
  .brand-name { font-size: .75rem; }
  .nav-link { font-size: .875rem; }
  .hero h1 { font-size: 4.2rem; }
  .button { gap: 12px; padding-inline: 14px; }
  .match-note { padding-inline: 21px; }
  .founder-profile { gap: 10px; }
  .founder-portrait { width: 65px; height: 70px; flex-basis: 65px; }
  .match-reason p { font-size: 1.5rem; }
  .closing h2 { font-size: 1.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marker path { stroke-dashoffset: 0; }
}

/* One scroll-triggered portal handoff, with real controls outside its decorative canvas. */
#founder-handoff { position: fixed; z-index: 8; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.journey { padding-bottom: 58px; }
#journey-invite { position: absolute; bottom: 0; left: 24px; max-width: calc(100% - 135px); min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
