@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(assets/fonts/nunito-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(assets/fonts/nunito-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--paper:#f6e8d2;--ink:#253544;--blue:#34465b;--rose:#b9797d;--muted:#716a61;--line:#bcae9970;--white:#fffaf1;--green:#71897c;--serif:Georgia,'Iowan Old Style','Palatino Linotype',serif;--sans:'Avenir Next',Avenir,'Segoe UI',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;-webkit-font-smoothing:antialiased}body:after{content:"";position:fixed;inset:0;pointer-events:none;z-index:20;opacity:.13;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%238b7459' opacity='.25' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E")}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible{outline:2px solid var(--blue);outline-offset:6px}button:disabled{cursor:default}.skip{position:fixed;top:-80px;left:20px;background:var(--blue);color:white;padding:14px;z-index:100}.skip:focus{top:10px}.header{height:104px;position:relative;z-index:5;display:flex;align-items:center;margin:0 5%;gap:40px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:12px}.brand svg{width:46px;fill:none;stroke:var(--blue);stroke-width:1.4;stroke-linecap:round}.brand>span{font-family:var(--serif);font-size:25px;letter-spacing:-1.1px}.brand-sub{display:block;font-family:var(--sans);font-size:9px;text-transform:uppercase;letter-spacing:2.1px;margin-top:5px}.header nav{margin-left:auto;display:flex;gap:30px;align-items:center;font-size:12px}.header-note{font:italic 14px var(--serif);color:var(--muted);border-left:1px solid var(--line);padding-left:30px}.text-button{padding:0;border:0;background:none;color:inherit;font-size:12px}.text-button span{padding-left:8px}.layout{display:grid;grid-template-columns:53% 47%;max-width:1800px;margin:auto;align-items:start}.visual{position:sticky;top:0;height:100svh;min-height:620px;overflow:hidden;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:36px 8% 48px 10%;background:radial-gradient(ellipse at 52% 41%,#fffaf13d,transparent 70%)}.visual-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.small-label{font-size:9px;letter-spacing:2.5px;font-weight:600;color:#78665b;line-height:1.6}.scene-index{font:italic 12px var(--serif);color:var(--muted)}.world-wrap{flex:1;min-height:0;margin:-3px -40px -6px;position:relative}.world-wrap svg{width:100%;height:100%;overflow:visible}.visual-caption{display:flex;gap:13px;align-items:center;position:relative;margin:6px 0 18px}.caption-line{height:1px;background:var(--rose);width:27px}.visual-caption p{font:italic 15px var(--serif);color:#79695f;margin:0;transition:opacity .3s}.compass{margin-left:auto;font-size:24px;color:#af8266}.map-nav{display:flex;gap:17px;margin-left:40px}.map-nav a{padding:8px 1px;position:relative}.map-nav span{width:5px;height:5px;border:1px solid #b39d87;border-radius:100%;display:block;transition:.3s}.map-nav a.active span{background:var(--rose);border-color:var(--rose);transform:scale(1.4)}.map-nav a:not(:last-child):after{content:"";width:13px;height:1px;position:absolute;left:9px;top:10px;background:var(--line)}.story{min-width:0}.intro{min-height:calc(100svh - 104px);padding:61px 11% 26px 12%;position:relative}.intro-top{display:flex;align-items:center;justify-content:space-between}.sun{height:43px;width:43px;stroke:var(--rose);stroke-width:1;fill:none;transform:rotate(15deg);margin-right:7px}h1,h2,h3{font-family:var(--serif);font-weight:400}h1{font-size:clamp(50px,4.55vw,82px);line-height:1.07;letter-spacing:-2.6px;margin:27px 0 29px}h1 em,h2 em{font-weight:400;color:var(--rose)}.intro-copy{font-size:13px;line-height:1.95;color:#66635e;margin:0 0 12px}.second{margin-bottom:28px}.primary{border:1px solid var(--blue);border-radius:0;background:var(--blue);color:var(--white);min-height:51px;padding:15px 21px;display:inline-flex;align-items:center;justify-content:space-between;gap:38px;font-size:12px;font-weight:500;transition:background .25s,transform .25s}.primary:hover{background:#253544;transform:translateY(-2px)}.primary span{font-size:20px;line-height:16px;font-weight:300}.intro-meta{display:flex;align-items:center;gap:9px;font-size:9px;color:var(--muted);margin-top:17px}.intro-meta i{height:2px;width:2px;background:#a4927d;border-radius:100%}.guide-note{display:flex;align-items:center;gap:15px;margin-top:44px;border-top:1px solid var(--line);padding-top:21px}.drawn-star{font-size:36px;color:var(--rose);font-family:var(--serif)}.guide-note p{font-size:11px;line-height:1.8;margin:0;color:#6f675c}.guide-note em{font-size:10px;font-family:var(--serif)}.scroll-note{font-size:9px;color:var(--muted);margin-top:35px;display:flex;gap:12px;align-items:center}.scroll-note>span{font-size:21px;color:var(--rose)}.question-section{min-height:108svh;padding:15svh 11% 12svh 12%;border-top:1px solid var(--line);position:relative;display:flex;flex-direction:column;justify-content:center;scroll-margin-top:0}.chapter-heading{display:flex;align-items:center;gap:13px;margin-bottom:27px}.chapter-icon{font:italic 23px var(--serif);color:var(--rose)}.question-section h2,.room-section h2{font-size:clamp(39px,3.5vw,61px);line-height:1.12;letter-spacing:-1.7px;margin:0 0 22px}.section-note{font:italic 17px/1.7 var(--serif);color:#7b6a60;margin:0 0 35px;max-width:390px}.question-label{font-size:10px;color:var(--muted);margin-bottom:15px;display:flex;align-items:center;justify-content:space-between}.question-label .multi{font-size:9px;font-style:italic}.options{display:grid;gap:10px}.option{width:100%;background:#fffaf12b;text-align:left;border:1px solid #a3917d6b;padding:18px 19px;min-height:60px;display:flex;gap:14px;align-items:center;color:var(--ink);transition:background .25s,border .25s,transform .25s;font-size:12px;line-height:1.5}.option:hover{border-color:var(--blue);background:#fffaf170;transform:translateX(3px)}.option .indicator{height:16px;width:16px;flex-shrink:0;border:1px solid #aa9a86;border-radius:100%;position:relative}.options[data-multi="true"] .indicator{border-radius:2px}.option[aria-pressed="true"]{background:#34465b;border-color:var(--blue);color:var(--white)}.option[aria-pressed="true"] .indicator{border-color:#e9dccb;background:#f6e8d2}.option[aria-pressed="true"] .indicator:after{content:"";position:absolute;left:4px;top:2px;width:4px;height:7px;border:solid var(--blue);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.question-actions{display:flex;justify-content:space-between;align-items:center;margin-top:26px;gap:20px}.next-link{font-size:11px;border:0;border-bottom:1px solid #9c8c78;padding:9px 0;background:none;color:var(--ink);display:flex;gap:25px;align-items:center}.next-link span{font-size:19px}.skip-question{font-size:10px;color:var(--muted);border:0;background:none;padding:10px 0}.answer-note{font:italic 12px/1.6 var(--serif);min-height:22px;color:#6b7c6c;margin:18px 0 0}.room-section{min-height:110svh;padding:13svh 11% 0 12%;border-top:1px solid var(--line)}.room-section>.small-label{display:block;margin-bottom:30px}.room-section p{font-size:13px;line-height:1.9;color:var(--muted)}.room-section p.lead{font:21px/1.5 var(--serif);color:var(--ink);margin-bottom:23px}.summary{border:1px solid var(--line);padding:23px 24px;margin:28px 0;background:#fffaf140}.summary p{font:italic 15px/1.8 var(--serif);margin:12px 0 0}.summary dl{margin:12px 0 0}.summary dt{font-size:9px;color:var(--muted);margin-top:12px}.summary dd{font:16px/1.6 var(--serif);margin:3px 0;color:var(--blue)}.therapist{display:flex;gap:13px;align-items:center;margin:30px 0}.therapist-mark{font:italic 28px var(--serif);color:var(--rose);height:48px;width:48px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}.therapist strong{display:block;font:19px var(--serif)}.therapist div>span{font-size:10px;color:var(--muted);display:block;margin-top:5px}.restart{display:block;margin-top:23px}.room-section p.end-note{font-size:9px;margin-top:22px}.room-section footer{margin-top:65px;padding:24px 0 55px;border-top:1px solid var(--line);display:flex;gap:15px;justify-content:space-between;align-items:center;font-size:8px;color:var(--muted)}footer>span:first-child{font:14px var(--serif)}.progress{position:fixed;bottom:0;left:0;right:0;height:35px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;z-index:8;font-size:8px;letter-spacing:.3px;color:#786b5e;background:#f6e8d2ed;border-top:1px solid var(--line)}.progress-track{position:absolute;left:0;right:0;bottom:0;height:2px;background:#cbbca6}.progress-track>span{height:100%;width:0;display:block;background:var(--rose);transition:width .5s}dialog{background:var(--paper);color:var(--ink);border:1px solid #a58f77;padding:50px;max-width:520px;width:calc(100% - 36px);box-shadow:0 25px 120px #25354430}dialog::backdrop{background:#25354477;backdrop-filter:blur(4px)}dialog h2{font-size:38px;line-height:1.15;letter-spacing:-1px}dialog p{font-size:13px;line-height:1.9;color:var(--muted)}.dialog-close{position:absolute;top:17px;right:19px;border:0;background:none;color:var(--ink);font-size:18px}.dialog-done{margin-top:20px}.person-body,.person-arm,.person-leg{stroke-linecap:round;stroke-linejoin:round}.crowd-member{transition:opacity 1s;transform-box:fill-box;transform-origin:center}.world-object{transition:opacity 1.2s}.room-color{transition:opacity 1.3s}.hero-name{font-family:var(--serif);font-style:italic;fill:#8b7868}.main-person{filter:drop-shadow(0 2px 1px #25354418)}.walking .left-leg{animation:walk .4s alternate infinite;transform-origin:0 -16px}.walking .right-leg{animation:walk .4s alternate-reverse infinite;transform-origin:0 -16px}@keyframes walk{to{transform:rotate(12deg)}}
@media(min-width:1700px){.intro{padding-top:90px}.intro-copy{font-size:15px}.guide-note{margin-top:55px}.small-label{font-size:10px}.option{font-size:14px;min-height:70px}.header nav{font-size:14px}}
@media(max-width:1100px){.header-note{display:none}.header{height:85px}.intro{padding:42px 9% 26px}.visual{padding-left:8%;padding-right:8%}h1{font-size:54px}.intro-copy{font-size:12px}.intro-meta{flex-wrap:wrap}.small-label{letter-spacing:1.8px}.question-section,.room-section{padding-left:9%;padding-right:9%}.question-section h2{font-size:40px}.guide-note{margin-top:25px}.world-wrap{margin-left:-30px;margin-right:-30px}.header nav{gap:20px}}
@media(max-width:900px){html{scroll-padding-top:calc(34svh + 40px)}.header{height:75px;margin:0 6%}.brand svg{width:38px}.brand>span{font-size:22px}.brand-sub{font-size:7px}.header nav>a{display:none}.header nav{font-size:10px}.header .text-button{font-size:10px}.layout{display:block}.visual{position:sticky;top:0;height:34svh;min-height:220px;padding:17px 7% 10px;border-right:0;border-bottom:1px solid var(--line);background:var(--paper);z-index:4}.visual-top .small-label{font-size:8px}.scene-index{font-size:10px}.world-wrap{margin:-12px 0 -12px;flex:1}.visual-caption{margin:0;gap:9px;justify-content:center}.visual-caption p{font-size:11px}.caption-line{width:17px}.compass{display:none}.map-nav{position:absolute;right:19px;top:50%;margin:0;display:grid;gap:0}.map-nav a{padding:6px}.map-nav span{width:4px;height:4px}.map-nav a:not(:last-child):after{display:none}.intro{min-height:66svh;padding:31px 8% 35px}.intro-top .small-label{font-size:8px}.sun{width:32px;height:32px}h1{font-size:49px;letter-spacing:-1.9px;margin:18px 0 22px;line-height:1.02}h1 br:last-child{display:none}.intro-copy{font-size:12px;line-height:1.8}.second{margin-bottom:23px}.primary{min-height:49px;font-size:12px}.intro-meta{font-size:8px;gap:8px;margin-top:13px}.guide-note{margin-top:25px;padding-top:16px}.guide-note p{font-size:10px}.scroll-note{margin-top:22px}.question-section{min-height:76svh;padding:55px 8% 45px;scroll-margin-top:34svh}.chapter-heading{margin-bottom:20px}.question-section h2,.room-section h2{font-size:39px}.section-note{font-size:16px;margin-bottom:26px}.option{min-height:55px;padding:15px;font-size:12px}.room-section{padding:55px 8% 0;scroll-margin-top:34svh}.room-section footer{margin-top:40px}.progress{height:30px;font-size:7px}.desktop{display:none}dialog{padding:38px 28px}dialog h2{font-size:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Keep the moving illustration inside its own paper window. */
.world-wrap{overflow:hidden;mask-image:linear-gradient(to bottom,transparent,#000 5%,#000 92%,transparent)}
@media(min-width:901px){html{scroll-padding-top:0}.question-section{min-height:100svh;padding-top:9svh;padding-bottom:7svh}}

@media(max-width:900px){html{scroll-padding-top:calc(34svh + 8px)}.question-section,.room-section{scroll-margin-top:0}.question-section{padding-top:32px;padding-bottom:32px}.intro h1{font-size:46px}.question-label{align-items:flex-start;gap:12px}.question-label .multi{max-width:105px;text-align:right;flex-shrink:0}.world-wrap{margin-top:0}}

@media(max-width:900px){h1 br:last-child{display:block}}
/* Preserve the original editorial scroll layout and connected stair map. */
html{scroll-snap-type:y mandatory}.intro,.question-section,.room-section{scroll-snap-align:start;scroll-snap-stop:always}.question-block{margin:0 0 32px}.question-label{font-size:12px;line-height:1.7;gap:16px}.question-block textarea{width:100%;resize:vertical;min-height:120px;border:1px solid #a3917d6b;padding:18px;background:#fffaf12b;font:14px/1.7 var(--sans);color:var(--ink);border-radius:0}.question-block textarea:focus{outline:1px solid var(--blue);outline-offset:3px}.main-person{filter:none}.walk-pose{display:none;transform-origin:center}.walking .walk-pose{display:block}.walking .idle-pose{display:none}.walking .left-leg,.walking .right-leg{animation:none}.world-wrap{contain:paint}.question-section{justify-content:flex-start}.question-section h2{flex-shrink:0}.question-section .options{gap:8px}.question-section .option{min-height:52px;padding:14px 17px}.question-section .question-actions{margin-top:5px}.question-section{scroll-margin:0}
@media(max-width:900px){.question-block textarea{font-size:16px}.question-section{scroll-margin-top:34svh}}
.intro{scroll-margin-top:104px}@media(max-width:1100px) and (min-width:901px){.intro{scroll-margin-top:85px}}@media(max-width:900px){.intro{scroll-margin-top:calc(34svh + 75px)}}
.question-block select,.question-block input{width:100%;padding:16px;border:1px solid #a3917d6b;background:#fffaf12b;font:14px var(--sans);color:var(--ink);border-radius:0}
@media(max-width:900px){.question-section,.room-section{scroll-margin-top:0}.intro{scroll-margin-top:75px}}
.topic-vignette{transition:opacity 1.1s ease;pointer-events:none}#world>g{transition:opacity .32s ease}

@media(max-width:900px) and (max-height:600px){.visual{height:28svh;min-height:140px}html{scroll-padding-top:calc(28svh + 8px)}.intro{scroll-margin-top:75px}}
.map-nav{gap:10px;margin-left:30px;flex-wrap:wrap}.map-nav a:not(:last-child):after{width:7px}.main-person,.crowd-member{filter:none}.topic-vignette{transition:opacity .7s}#world>g{transition:none}

/* One paper panel per landing. Text sets the row height on every screen. */
.question-section {
  min-height: 100svh;
  padding: clamp(24px, 5svh, 60px) clamp(24px, 3.5vw, 68px) max(48px, 7svh);
  justify-content: center;
}
.question-sheet {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.question-sheet .chapter-heading {
  margin: 0 0 16px;
  gap: 10px;
}
.chapter-number {
  color: #866248;
  border: 1px solid #b9a58c;
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  font: italic 14px/1 var(--serif);
}
.chapter-heading::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
  margin-inline-start: 4px;
}
.question-sheet h2 {
  font-size: clamp(28px, 2.5vw, 44px);
  line-height: 1.13;
  letter-spacing: -.035em;
  text-wrap: pretty;
  margin: 0 0 18px;
}
.choice-help {
  margin: -8px 0 18px;
  color: #746558;
  font: italic 14px/1.35 var(--serif);
}
.question-sheet .question-block { margin: 0; }
.word-slips {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px 6px;
}
.word-slip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 22px 8px 12px;
  border: 1px solid #d3c1ab;
  border-radius: 24px;
  background: #fdf4e7;
  color: var(--ink);
  font: 400 14px/1.33 var(--sans);
  text-align: start;
}
.slip-label { min-width: 0; overflow-wrap: anywhere; }
.slip-icon { flex: none; display: grid; color: #996060; }
.slip-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover) {
  .word-slip:hover { border-color: #816650; background: #fff9ed; }
}
.word-slip[aria-pressed="true"] {
  border: 1px solid #334b57;
  background: #334b57;
  color: white;
}
.slip-icon .tinted-icon { stroke: var(--icon-ink); }
.slip-icon .icon-wash { stroke: none; fill: var(--icon-wash); }
.word-slip[aria-pressed="true"] .tinted-icon { stroke: var(--icon-wash); }
.word-slip[aria-pressed="true"] .icon-wash { fill: var(--icon-ink); }
.button-arrow {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Keep the selection mark inside the padding so choosing a slip never rewraps the row. */
.word-slip[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset-inline-end: 8px;
  width: 5px;
  height: 9px;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-1px) rotate(45deg);
}
[data-multi="false"] .word-slip[aria-pressed="true"]::after {
  width: 6px;
  height: 6px;
  border: none;
  border-radius: 50%;
  background: currentColor;
  transform: none;
}
.question-sheet .question-actions {
  margin-top: 18px;
  justify-content: flex-start;
}
.question-sheet .next-link {
  min-height: 44px;
  padding: 8px 16px;
  gap: 18px;
  border: 0;
  border-radius: 3px;
  background: var(--blue);
  color: var(--white);
  font: 500 13px/1.2 var(--sans);
}
.question-sheet .next-link:hover { background: var(--ink); }
.question-sheet button:focus-visible { outline-offset: 2px; }

@media (min-width: 901px) and (max-height: 700px) {
  .question-section { padding: 14px clamp(20px, 2.5vw, 40px) 42px; }
  .question-sheet .chapter-heading { margin-bottom: 9px; }
  .question-sheet h2 { font-size: clamp(25px, 2.25vw, 34px); margin-bottom: 13px; }
  .choice-help { margin: -5px 0 13px; }
  .word-slip { padding-block: 6px; font-size: 13px; }
  .question-sheet .question-actions { margin-top: 12px; }
}
/* The sticky illustration already shows the chapter and stop number. */
@media (min-width: 901px) and (max-height: 650px),
       (max-width: 600px) and (max-height: 745px) {
  .question-sheet:has(.word-slip:nth-child(7)) .chapter-heading { display: none; }
}
@media (max-width: 900px) {
  :root { --scene-height: clamp(170px, 31svh, 350px); }
  html { scroll-padding-top: calc(var(--scene-height) + 4px); }
  .visual { height: var(--scene-height); min-height: 0; }
  .map-nav { top: 50%; transform: translateY(-50%); margin: 0; gap: 0; flex-wrap: nowrap; }
  .map-nav a { padding: 4px; }
  .question-section {
    min-height: calc(100svh - var(--scene-height) - 4px);
    padding: 12px clamp(14px, 4.2vw, 32px) 42px;
  }
  .question-sheet .chapter-heading { margin-bottom: 9px; gap: 8px; }
  .chapter-number { width: 23px; height: 23px; font-size: 12px; }
  .question-sheet h2 { font-size: clamp(23px, 5.7vw, 32px); margin-bottom: 12px; }
  .choice-help { font-size: 13px; margin: -5px 0 12px; }
  .word-slips { gap: 5px; }
  .word-slip {
    min-height: 40px;
    padding: 5px 18px 5px 9px;
    gap: 6px;
    font-size: 13px;
    line-height: 1.25;
  }
  .slip-icon svg { width: 16px; height: 16px; }
  .question-sheet .question-actions { margin-top: 10px; }
}
@media (max-width: 600px) and (max-height: 745px) {
  :root { --scene-height: clamp(100px, calc(70svh - 340px), 154px); }
  .visual { padding: 3px 5% 0; }
  .visual-caption { display: none; }
  .visual .world-wrap { margin-bottom: 0; }
  .word-slips { gap: 4px; }
  .word-slip { padding: 4px 7px; gap: 4px; }
  .question-sheet .question-actions { margin-top: 8px; }
}
@media (max-width: 900px) and (max-height: 480px) {
  :root { --scene-height: 24svh; }
  .visual { padding-block: 4px; }
  .map-nav { grid-auto-flow: column; }
}

/* Gallery wall on a landing (option-symbols.js): chosen pictures light up, the rest step back. */
.option-symbol { transition: opacity .45s ease; }
.option-symbol .picture-glow { opacity: 0; transition: opacity .45s ease; }
.option-symbols.has-choice .option-symbol { opacity: .35; }
.option-symbols .option-symbol.chosen,
.option-symbols .option-symbol.preview { opacity: 1; }
.option-symbols .option-symbol.chosen .picture-glow { opacity: .55; }
.option-symbols .option-symbol.preview:not(.chosen) .picture-glow { opacity: .3; }

/* The caption opens with a plain hyphen instead of a long rule. */
.caption-line,
.visual-caption .caption-line { width: auto; height: auto; background: none; color: var(--rose); font: 15px/1 var(--serif); }

/* The intro heading is a full sentence now, so it runs smaller than the old three-word title. */
.intro h1 { font-size: clamp(34px, 2.9vw, 52px); line-height: 1.14; letter-spacing: -1.2px; margin: 24px 0 24px; text-wrap: balance; }
.intro .cite { white-space: nowrap; color: #7d6f63; }
@media (max-width: 1100px) { .intro h1 { font-size: 40px; } }
@media (max-width: 900px) { .intro h1 { font-size: 32px; letter-spacing: -.8px; margin: 16px 0 18px; } }

/* Intro call to action: text sized to match the heading above it. */
.intro .primary { font-size: 15px; padding: 16px 24px; gap: 26px; min-height: 54px; }
@media (max-width: 900px) { .intro .primary { font-size: 14px; padding: 14px 20px; min-height: 50px; } }

/* Writing desk (option-symbols.js): the visitor sits down once a choice opens the follow-up. */
.main-person { transition: opacity .35s ease; }
#world.writing .main-person { opacity: 0; }
.writing-desk image { transition: opacity .5s ease; }
.writing-desk .desk-writer, .writing-desk .writing-marks { opacity: 0; }
#world.writing .writing-desk .desk-writer { opacity: 1; }
#world.writing .writing-desk .desk-empty { opacity: 0; }
#world.writing.typing .writing-desk .writing-marks { animation: pencil-marks .5s ease-in-out infinite alternate; }
@keyframes pencil-marks { from { opacity: .15; translate: 0 0; } to { opacity: .9; translate: 1px -1px; } }

/* Follow-up field under a choice question. */
.follow-up { margin-top: 20px; }
.follow-up-label { display: block; font: 18px/1.35 var(--serif); color: var(--ink); margin-bottom: 10px; }
.follow-up textarea { width: 100%; resize: vertical; min-height: 110px; border: 1px solid #a3917d6b; padding: 14px 16px; background: #fffaf12b; font: 14px/1.7 var(--sans); color: var(--ink); border-radius: 0; }
.follow-up textarea:focus { outline: 1px solid var(--blue); outline-offset: 3px; }
.follow-up-enter { animation: follow-up-in .45s ease both; }
@keyframes follow-up-in { from { opacity: 0; translate: 0 8px; } }
@media (max-width: 900px) { .follow-up-label { font-size: 16px; } .follow-up textarea { font-size: 16px; min-height: 96px; } }

/* Bookcase (option-symbols.js): chosen answers light up their book; the visitor reads. */
.option-symbol .book-glow { opacity: 0; transition: opacity .45s ease; }
.option-symbols .option-symbol.chosen .book-glow { opacity: 1; }
.option-symbols .option-symbol.preview:not(.chosen) .book-glow { opacity: .5; }
.main-person .reading-pose { opacity: 0; transition: opacity .4s ease; }
.main-person .idle-pose { transition: opacity .4s ease; }
#world.reading .main-person .reading-pose { opacity: 1; }
#world.reading .main-person .idle-pose { opacity: 0; }
.walking .reading-pose { display: none; }

/* Landing plants fade with the rest of their landing (see landingOpacity in app.js). */
.landing-plant { transition: opacity .7s ease; }

/* Balloon seller (option-symbols.js): a chosen answer lets its balloon float away. */
.balloons.option-symbols.has-choice .option-symbol { opacity: 1; }
.balloon-fly { transition: translate 2.4s cubic-bezier(.45,.05,.75,.55), opacity 2.4s ease-in; }
.balloons .option-symbol.preview:not(.chosen) .balloon-fly { translate: 0 -5px; transition-duration: .4s; }
.balloons .option-symbol.chosen .balloon-fly { translate: var(--drift) -240px; opacity: 0; }

/* Intro notes: free volunteer service + not an emergency service. */
.intro-notes { margin-top: 22px; max-width: 520px; display: grid; gap: 10px; }
.intro-notes p { margin: 0; font-size: 13px; line-height: 1.6; color: #6b6058; }
.intro-warning { padding: 12px 14px; border-left: 3px solid var(--rose); background: #fffaf166; }
.intro-warning strong { color: var(--ink); font-weight: 600; }

/* Last stop: roadmap delivery, payment details and reply tracking. */
.room-section .question-sheet { padding-bottom: 20px; }
.price-tag { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: #e9dcc5; color: #6b5a48; font: italic 12px/1.6 var(--serif); }
.word-slip[aria-pressed="true"] .price-tag { background: #fffaf133; color: #fff; }
.delivery-panel { margin-top: 20px; display: grid; gap: 12px; }
.delivery-panel[hidden], .code-card[hidden], .reply-card[hidden] { display: none; }
.delivery-panel input[type=email], .track input { width: 100%; padding: 14px 16px; border: 1px solid #a3917d6b; background: #fffaf12b; font: 15px var(--sans); color: var(--ink); border-radius: 0; }
.delivery-panel input:focus, .track input:focus { outline: 1px solid var(--blue); outline-offset: 3px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: #6b6058; }
.consent input { margin-top: 3px; }
.consent .text-button { font-size: 13px; text-decoration: underline; }
.form-status { min-height: 20px; margin: 0; font: italic 14px/1.5 var(--serif); color: #6b7c6c; }
.code-card, .reply-card { border: 1px solid var(--line); background: #fffaf166; padding: 18px 20px; }
.tracking-code { font: 600 22px/1.3 ui-monospace, Menlo, monospace; letter-spacing: 2px; color: var(--blue); margin: 8px 0; user-select: all; }
.reply-text { white-space: pre-line; font: 16px/1.7 var(--serif); color: var(--ink); margin-top: 8px; }
.payment { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: 14px; }
.payment dt { color: var(--muted); }
.payment dd { margin: 0; color: var(--ink); }
.track { margin: 26px 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 22px; }
.track-row { display: flex; gap: 10px; }
.track-row input { flex: 1; letter-spacing: 1.5px; font-family: ui-monospace, Menlo, monospace; text-transform: uppercase; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Scene poses (see refreshWriting in app.js): the walking visitor hides while a scene shows
   them seated: on the entrance bench, at the café table, in the therapy room. */
#world.resting .main-person, #world.cafe .main-person, #world.sitting .main-person { opacity: 0; }
.entrance-bench image, .room-scene image, .cafe-scene .cafe-solo, .cafe-scene .cafe-joined { transition: opacity .5s ease; }
.entrance-bench .bench-sitting { opacity: 0; }
#world.resting .entrance-bench .bench-sitting { opacity: 1; }
#world.resting .entrance-bench .bench-empty { opacity: 0; }
.room-scene .room-seated { opacity: 0; }
#world.sitting .room-scene .room-seated { opacity: 1; }
#world.sitting .room-scene .room-wait { opacity: 0; }
.cafe-scene .cafe-solo, .cafe-scene .cafe-joined { opacity: 0; }
#world.cafe:not(.joined) .cafe-scene .cafe-solo { opacity: 1; }
#world.cafe.joined .cafe-scene .cafe-joined { opacity: 1; }
/* the café table stands empty until the visitor sits down at it */
.cafe-scene .cafe-empty { transition: opacity .5s ease; }
#world.cafe .cafe-scene .cafe-empty { opacity: 0; }

/* Intro: centre the content in the screen-tall section so the space above and below is even. */
.intro { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 32px; padding-bottom: 48px; }
.intro > * { max-width: 100%; }
.intro .intro-top { align-self: stretch; }

/* header logo: bridge picture + soft rounded wordmark */
.brand img.brand-mark{width:40px;height:auto;display:block}
.brand>span{font-family:'Nunito',ui-rounded,'Arial Rounded MT Bold',sans-serif;font-weight:600;font-size:23px;letter-spacing:-.3px;color:var(--ink)}
@media(max-width:900px){.brand img.brand-mark{width:34px}.brand>span{font-size:20px}}
/* pinned header: slides in from the top once the page has scrolled past it */
body.header-pinned{padding-top:104px}
body.header-pinned .header{position:fixed;top:0;left:0;right:0;z-index:19;margin:0;padding:0 5%;height:64px;background:#f6e8d2c7;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-bottom:1px solid var(--line);animation:header-in .35s ease-out}
body.header-pinned .header .brand-sub{display:none}
body.header-pinned .visual{top:64px;height:calc(100svh - 64px)}
@keyframes header-in{from{transform:translateY(-100%)}to{transform:none}}
@media(max-width:900px){body.header-pinned{padding-top:75px}body.header-pinned .header{height:52px;padding:0 6%}body.header-pinned .visual{top:52px;height:34svh}}
@media(prefers-reduced-motion:reduce){body.header-pinned .header{animation:none}}
.intro-notes .intro-warning{margin-top:38px}   /* .intro-notes p resets margins, so this needs the parent too */
/* header brand: logo and name on one line, the slogan centred under both */
.brand{display:flex;flex-direction:column;align-items:center;gap:5px}
.brand-row{display:flex;align-items:center;gap:10px}
.brand>.brand-sub{margin:0;font-family:var(--sans);font-weight:400;font-size:9px;text-transform:uppercase;letter-spacing:2.1px;color:var(--ink);text-align:center}
@media(max-width:900px){.brand>.brand-sub{font-size:7px}}
/* brand: bridge and name side by side */
.brand-row{gap:10px}
.brand img.brand-mark{width:50px}
body.header-pinned .brand img.brand-mark{width:46px}
@media(max-width:900px){.brand img.brand-mark{width:44px}.brand-row{gap:8px}}
/* waving: shown when the visitor tries to pass an unanswered question */
.main-person .wave-pose{opacity:0;transition:opacity .25s ease;transform-box:fill-box;transform-origin:50% 100%}
#world.waving .main-person .wave-pose{opacity:1;animation:wave-sway .5s ease-in-out 4 alternate}
#world.waving .main-person .idle-pose,#world.waving .main-person .reading-pose{opacity:0}
.walking .wave-pose{display:none}
@keyframes wave-sway{from{transform:rotate(-1.5deg)}to{transform:rotate(1.5deg)}}
.required-note{margin:0;font:italic 13px var(--serif);color:var(--rose);min-height:0}
.required-note:empty{display:none}
.question-actions{flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){#world.waving .main-person .wave-pose{animation:none}}
/* at the café the visitor is seated on arrival: to wave they stand up beside the empty table */
#world.waving.cafe .main-person{opacity:1}
#world.waving.cafe:not(.joined) .cafe-scene .cafe-solo{opacity:0}
#world.waving.cafe:not(.joined) .cafe-scene .cafe-empty{opacity:1}
/* selected options: more room for the tick, and icons sit on a light disc so they stay
   visible on the navy background (the disc space is kept when unselected: no rewrap) */
.word-slip{padding-inline-end:34px}
.word-slip[aria-pressed="true"]::after{inset-inline-end:15px}
.slip-icon{padding:3px;border-radius:50%;box-shadow:0 0 0 1.5px transparent;transition:background .2s,box-shadow .2s}
.word-slip[aria-pressed="true"] .slip-icon{background:#fffaf1;box-shadow:0 0 0 1.5px #ffffff}
.word-slip[aria-pressed="true"] .tinted-icon{stroke:var(--icon-ink)}
.word-slip[aria-pressed="true"] .icon-wash{fill:var(--icon-wash)}
@media (max-width:900px){.word-slip{padding-inline-end:28px}.word-slip[aria-pressed="true"]::after{inset-inline-end:12px}.slip-icon{padding:2px}}
/* before the header pins, it sits above the map in the page flow: shorten the map by the
   header's height so its bottom caption ("İlk adımı…") stays on screen, above the progress bar */
@media(min-width:901px){body:not(.header-pinned) .visual{height:calc(100svh - 104px);min-height:516px}}
/* final stop: more breathing room between the question, the form and the summary */
.room-section{padding-top:clamp(56px,11svh,120px)}
.room-section .question-sheet{max-width:560px;padding-bottom:48px}
.room-section h2{margin-bottom:18px}
.room-section .choice-help{margin-bottom:8px;line-height:1.7}
.room-section .delivery-panel{margin-top:30px;gap:16px}
.room-section .delivery-panel .follow-up-label{margin-bottom:-4px}
.room-section .consent{margin:6px 0 8px}
.room-section .delivery-panel .primary{justify-self:start;min-width:260px}
.room-section .code-card:not([hidden]){margin-top:10px;display:grid;gap:10px}
.room-section .code-card p{margin:0}
.room-section .summary{margin-top:56px}
.room-section .restart{margin-top:36px}
@media(max-width:900px){.room-section{padding-top:40px}.room-section .summary{margin-top:40px}.room-section .delivery-panel .primary{min-width:0;justify-self:stretch}}
/* e-mail form: roomier fields and consent */
.room-section .delivery-panel{margin-top:40px;gap:0}
.room-section .delivery-panel .follow-up-label{margin:0 0 10px}
.room-section .delivery-panel input[type=email]{padding:17px 18px;font-size:16px}
.room-section .consent{margin:26px 0 30px;gap:14px;font-size:14px;line-height:1.65}
.room-section .consent input{width:18px;height:18px;margin-top:3px;flex:none}
.room-section .consent span{display:grid;gap:6px;justify-items:start}
.room-section .delivery-panel .form-status{margin:14px 0 0}
.room-section .delivery-panel .form-status:empty{display:none}
.room-section .code-card:not([hidden]){margin-top:28px}
.reply-text{white-space:pre-line;line-height:1.75;font-size:14px}
/* roadmap lookup dialog: room between the fields and the button */
#track{display:grid;gap:0;margin:22px 0 0;padding-top:24px}
#track .follow-up-label{margin:0 0 10px}
#track input{padding:16px 18px;font-size:16px}
#track input+.follow-up-label{margin-top:24px}
#track .primary{margin-top:38px;justify-self:stretch}
#track .form-status{margin:14px 0 0}
#track .form-status:empty{display:none}
#track[hidden],.track-intro[hidden],.track-result[hidden]{display:none}
.track-result{margin-top:22px}
.reply-note{margin:14px 0 0;font-size:13px;color:var(--muted,#7a6c5d)}
/* reply countdown inside the tracking-code card */
.countdown{border-top:1px solid var(--line);padding-top:14px;margin-top:4px;display:grid;gap:6px}
.room-section .code-card .countdown-time{font:500 30px/1.1 var(--sans);letter-spacing:1px;color:var(--blue);font-variant-numeric:tabular-nums;margin:0}
.room-section .code-card .countdown-note{font-size:12px;line-height:1.6;color:var(--muted);margin:0}
/* confirmation view after sending */
.delivery-ask[hidden],.delivery-done[hidden]{display:none}
.delivery-done{outline:none}
.room-section .delivery-done .code-card{margin-top:30px;display:grid;gap:12px}
.room-section .delivery-done .code-card p{margin:0}
/* code card order: countdown first, then the code right above the sentences about it */
.room-section .code-card .countdown{border-top:0;padding-top:0;margin-top:0;border-bottom:1px solid var(--line);padding-bottom:16px}
.room-section .code-card .code-block{display:grid;gap:6px;padding-top:4px}
/* footer: brand, links, a quiet emergency line and the small print */
.room-section footer.site-footer{margin-top:72px;padding:40px 0 64px;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr auto;gap:30px 40px;align-items:start;font-size:13px;color:var(--muted)}
.site-footer .brand-row{display:flex;align-items:center;gap:9px}
.site-footer .brand-mark{width:40px;height:auto}
.site-footer .brand-name{font:600 20px 'Nunito',ui-rounded,sans-serif;color:var(--ink);letter-spacing:-.3px}
.site-footer .footer-links{display:grid;gap:12px;justify-items:start}
.site-footer .footer-links .text-button{font-size:13px;color:var(--ink);border-bottom:1px solid transparent;padding-bottom:1px;transition:border-color .2s,color .2s}
.site-footer .footer-links .text-button:hover{color:var(--rose);border-color:var(--rose)}
.site-footer .footer-bottom{grid-column:1/-1;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;letter-spacing:.3px;color:#8a7d70;border-top:1px solid var(--line);padding-top:18px}
@media(max-width:900px){.room-section footer.site-footer{grid-template-columns:1fr;margin-top:48px;padding-bottom:48px;gap:24px}}
/* ---- phones: every question fits between the sticky map and the bottom bar ---- */
.follow-up-open,.follow-up-done{display:none}
@media(max-width:900px){
  :root{--pin-h:0px}
  :root:has(body.header-pinned){--pin-h:44px}
  html{scroll-padding-top:calc(var(--pin-h) + var(--scene-height) + 4px)}
  body.header-pinned .header{height:44px}
  body.header-pinned .brand img.brand-mark{width:38px}
  body.header-pinned .brand-row>.brand-name{font-size:18px}
  .visual,body.header-pinned .visual{top:var(--pin-h);height:var(--scene-height)}
  .question-section{min-height:calc(100svh - var(--pin-h) - var(--scene-height) - 4px);padding:10px clamp(14px,4.2vw,32px) 40px;justify-content:center}
  .question-sheet .chapter-heading{display:none}
  .question-sheet h2{font-size:clamp(21px,5.4vw,28px);margin-bottom:8px;line-height:1.15}
  .choice-help{margin:0 0 10px}
  .question-sheet .question-actions{margin-top:12px}
  .question-block{margin-bottom:0}
  /* follow-up note: a small pill instead of a big field... */
  .follow-up{margin-top:10px}
  .follow-up-open{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:8px 13px;border:1px dashed #af9983;border-radius:20px;background:#fffaf1;color:var(--ink);font:13px/1.3 var(--sans);text-align:start}
  .follow-up-open em{font-style:italic;color:var(--muted);font-size:11px;white-space:nowrap}
  .follow-up-open.has-note{border-style:solid;border-color:var(--green);color:#4d6657}
  /* ...that opens a bottom sheet */
  .follow-up-sheet{position:fixed;left:0;right:0;bottom:0;z-index:45;padding:22px 6% calc(22px + env(safe-area-inset-bottom));background:var(--paper);border-radius:18px 18px 0 0;box-shadow:0 -12px 40px #2535442e;transform:translateY(105%);transition:transform .32s cubic-bezier(.2,.8,.2,1);display:grid;gap:12px}
  .follow-up-sheet::before{content:"";width:40px;height:4px;border-radius:2px;background:#cdbba5;justify-self:center;margin:-8px 0 2px}
  .follow-up-sheet .follow-up-label{margin:0}
  .follow-up-sheet textarea{min-height:130px}
  .follow-up-done{display:block;justify-self:end;padding:11px 26px;border:0;background:var(--blue);color:var(--white);font:500 14px var(--sans)}
  .follow-up.open .follow-up-sheet{transform:none}
  .follow-up.open::before{content:"";position:fixed;inset:0;z-index:44;background:#25354459;animation:sheet-fade .25s ease}
  @keyframes sheet-fade{from{opacity:0}}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){.follow-up-sheet{transition:none}}
@media(max-width:900px){
  /* a moving ancestor would trap the fixed sheet inside the page: fade only */
  .follow-up-enter{animation-name:follow-up-fade}
  @keyframes follow-up-fade{from{opacity:0}}
  .follow-up-open{padding:7px 13px}
}
/* intro on phones: 112 always in view, the other notes as pills opening a bottom sheet */
.intro-quick{display:none}
dialog.bottom-sheet{max-width:none}
@media(max-width:900px){
  .intro-notes{display:none}
  .intro-quick{display:grid;gap:12px;margin-top:18px}
  .intro .quick-emergency{margin:0;display:flex;align-items:center;gap:9px;font-size:13px;color:#6b6058}
  .quick-emergency a{color:var(--rose);font-weight:600;text-decoration:none}
  .quick-pills{display:flex;flex-wrap:wrap;gap:8px}
  .quick-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border:1px dashed #af9983;border-radius:20px;background:#fffaf1;color:var(--ink);font:13px var(--sans)}
  .quick-pill span{color:var(--green)}
  dialog.bottom-sheet{position:fixed;inset:auto 0 0 0;margin:0;width:100%;padding:24px 6% calc(24px + env(safe-area-inset-bottom));border:0;border-radius:18px 18px 0 0;box-shadow:0 -12px 40px #2535442e;display:none;gap:12px}
  dialog.bottom-sheet[open]{display:grid;animation:sheet-up .32s cubic-bezier(.2,.8,.2,1)}
  dialog.bottom-sheet::backdrop{background:#25354459;backdrop-filter:none}
  .bottom-sheet .sheet-handle{width:40px;height:4px;border-radius:2px;background:#cdbba5;justify-self:center;margin:-10px 0 4px}
  .bottom-sheet h2{font-size:24px;margin:0}
  .bottom-sheet .sheet-text{margin:0;font-size:14px;line-height:1.7;color:#6b6058}
  .bottom-sheet .sheet-done{justify-self:end;min-height:44px;padding:10px 26px}
  @keyframes sheet-up{from{transform:translateY(100%)}}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){dialog.bottom-sheet[open]{animation:none}}
@media(min-width:901px){.bottom-sheet .sheet-handle{display:none}}
@media(max-width:900px){
  .intro{padding-top:20px}
  .intro h1{font-size:29px;margin:10px 0 12px;letter-spacing:-.8px;line-height:1.1}
  .intro-top{display:none}
  .intro-copy.second{margin:0 0 16px;line-height:1.6}
  .intro-quick{margin-top:14px;gap:10px}
  .intro .quick-emergency .footer-dot{width:7px;height:7px;border-radius:50%;background:var(--rose);flex:none}
}
/* 112 rides along in the bottom bar on every stop */
.bar-emergency{display:inline-flex;align-items:center;gap:7px;font-size:10px;letter-spacing:.2px;color:#6b5a50;text-decoration:none;position:relative;z-index:1}
.bar-emergency strong{color:var(--rose);font-weight:700}
.bar-dot{width:6px;height:6px;border-radius:50%;background:var(--rose);flex:none;box-shadow:0 0 0 3px #b9797d26}
.bar-emergency:hover strong{text-decoration:underline}
@media(max-width:900px){.bar-emergency{font-size:10.5px}.progress #progressLabel{font-size:9px}}
/* intro info line: "Yaklaşık 5 dakika · Ücretsiz · Bir uzman okur ⓘ" opens the notes */
.meta-line{display:inline-flex;align-items:center;flex-wrap:wrap;gap:7px;padding:0;border:0;background:none;color:var(--muted);font:inherit;font-size:11px;letter-spacing:.2px;cursor:pointer;text-align:start}
.meta-line i{font-style:normal;color:#b5a28c}
.meta-line .meta-info{display:inline-grid;place-items:center;width:15px;height:15px;border:1px solid currentColor;border-radius:50%;font:italic 600 9px/1 var(--serif);color:var(--rose);margin-left:2px}
.meta-line:hover span:not(.meta-info){color:var(--ink)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.bottom-sheet .sheet-text{display:grid;gap:10px}
.bottom-sheet .sheet-text p{margin:0;font-size:14px;line-height:1.7;color:#6b6058}
@media(max-width:900px){.meta-line{font-size:12px}.intro-meta{margin-top:14px}}
/* bottom bar: one centred line, the 112 notice */
.progress{justify-content:center}
.bar-short{display:none}
@media(max-width:600px){.bar-long{display:none}.bar-short{display:inline}.bar-emergency{font-size:9.5px}}

/* sheets and note pill: light, quiet, minimal */
dialog.bottom-sheet::backdrop{background:#f6e8d299;backdrop-filter:blur(2px)}
.bottom-sheet .sheet-done,.follow-up-done{min-height:0;padding:9px 0;border:0;border-bottom:1px solid var(--ink);background:none;color:var(--ink);font:500 13px var(--sans);letter-spacing:.3px}
.bottom-sheet .sheet-done .button-arrow{display:none}
@media(max-width:900px){
  dialog.bottom-sheet,.follow-up-sheet{background:#fffaf1;border-top:1px solid var(--line);border-radius:14px 14px 0 0;box-shadow:0 -6px 24px #2535440f;padding:20px 7% calc(22px + env(safe-area-inset-bottom))}
  .bottom-sheet .sheet-handle,.follow-up-sheet::before{width:32px;height:3px;background:#e2d3bf}
  .bottom-sheet h2{font-size:20px;letter-spacing:-.3px}
  .follow-up-sheet .follow-up-label{font-size:17px}
  .follow-up-sheet textarea{border:0;border-bottom:1px solid #cdbba5;background:transparent;padding:10px 0;min-height:110px;font-size:15px}
  .follow-up-sheet textarea:focus{outline:none;border-bottom-color:var(--ink)}
  .follow-up.open::before{background:#f6e8d299;backdrop-filter:blur(2px)}
  .follow-up-open{padding:4px 0;border:0;border-radius:0;background:none;color:var(--rose);font-size:13px;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
  .follow-up-open em{text-decoration:none;color:var(--muted)}
  .follow-up-open.has-note{border:0;color:var(--green)}
}

/* minimal pass */
.room-section .restart[hidden]{display:none}
.nav-short{display:none}
@media(max-width:900px){.nav-long{display:none}.nav-short{display:inline}}
.room-section footer.site-footer{align-items:center}
.site-footer .footer-links{justify-items:end}
@media(max-width:900px){.site-footer .footer-links{justify-items:start}}
html.free-scroll{scroll-snap-type:none}

/* follow-up note invitation */
.follow-up-why{margin:-4px 0 10px;font:italic 13px/1.5 var(--serif);color:var(--muted)}
@media(max-width:900px){
  .follow-up{margin-top:12px}
  .follow-up .follow-up-open{display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border:1px solid #d9c7b1;border-radius:14px;background:#fffaf1;color:var(--ink);text-decoration:none;text-align:start;box-shadow:0 1px 0 #e8dac6;transition:border-color .25s,background .25s}
  .follow-up .follow-up-open:active{background:#fbf1e3}
  .note-ico{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#f3dcd8;color:#9a5f5f}
  .note-ico svg,.note-go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
  .note-copy{display:grid;gap:2px;min-width:0;flex:1}
  .note-title{font:15px/1.25 var(--serif);color:var(--ink)}
  .note-sub{font:11.5px/1.35 var(--sans);color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .note-sub em{font-style:italic;white-space:nowrap}
  .note-go{flex:none;display:grid;color:#a18d78}
  .follow-up .follow-up-open.has-note{border-color:#b9cbbd;background:#f6f8f1}
  .follow-up-open.has-note .note-ico{background:#dfe8dc;color:#4d6657}
  .follow-up-open.has-note .note-sub{white-space:nowrap;font-style:italic}
  .note-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  /* a soft one-time glow when the card first appears */
  .follow-up-enter .follow-up-open{animation:note-glow 1.8s ease .35s both}
  @keyframes note-glow{0%{border-color:#d9c7b1}35%{border-color:#c98f8f;box-shadow:0 0 0 4px #e9c6c233}100%{border-color:#d9c7b1}}
  .follow-up-sheet .follow-up-why{margin:-6px 0 2px}
}
@media(max-width:900px) and (prefers-reduced-motion:reduce){.follow-up-enter .follow-up-open{animation:none}}
@media(max-width:900px) and (max-height:650px){.follow-up .follow-up-open{padding:7px 10px}.note-ico{width:26px;height:26px}.follow-up-open:not(.has-note) .note-sub{display:none}}
@media(max-width:360px){body .header,body.header-pinned .header{gap:12px;padding-inline:0;margin-inline:14px}.header nav{gap:12px}body:not(.header-pinned) .brand-name{font-size:18px}body:not(.header-pinned) .brand-mark{width:38px}}
/* phones: keep answered questions (with the note card) inside one screen */
@media(max-width:900px){
  .question-section{padding-bottom:18px}
  .question-sheet .word-slip{min-height:38px}
  .follow-up{margin-top:10px}
  .follow-up .follow-up-open{padding:8px 12px}
}
/* KVKK: aydınlatma notu (onaysız), iki ayrı onay, indirme ve silme */
.room-section .privacy-note{margin:22px 0 4px;font-size:13px;line-height:1.7;color:var(--muted)}
.privacy-note a,.consent .text-link{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.room-section .consent+.consent{margin-top:-14px}
.room-section .privacy-note+.consent{margin-top:16px}
.download-answers{margin-top:6px;font-size:14px;color:var(--ink);text-decoration:underline;text-underline-offset:3px}
.room-section .code-card .download-note{margin:4px 0 0;font-size:12px;color:var(--muted)}
.track-delete{margin-top:22px;padding-top:16px;border-top:1px solid var(--line)}
.track-delete[hidden],.delete-confirm[hidden],.delete-start[hidden]{display:none}
.track-delete .delete-start{font-size:13px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.track-delete .delete-confirm{margin:0;font-size:13px;line-height:1.7;color:#8a4f4f}
.track-delete .delete-yes{color:#8a4f4f;font-weight:600;text-decoration:underline}
.track-delete .delete-no{color:var(--ink);text-decoration:underline;margin-left:8px}
.track-delete .delete-status{margin:8px 0 0;font-size:13px}
.track-delete .delete-status:empty{display:none}
.footer-links a.text-button{text-decoration:none}
/* "Bu alan hakkında": the site's own dialog, with a list, a quiet closing line and a signature */
#infoDialog .letter-list{margin:-4px 0 14px;padding-left:18px}
#infoDialog .letter-list li{margin:0 0 4px;font-size:13px;line-height:1.9;color:var(--muted)}
#infoDialog .letter-list b{color:var(--ink);font-weight:600}
#infoDialog .letter-close{font:italic 15px/1.7 var(--serif);color:#7b6a60}
#infoDialog .letter-sign{text-align:right;margin-top:18px;font-size:13px;color:var(--muted)}
#infoDialog .letter-sign span{display:block;font:italic 22px/1.3 var(--serif);color:var(--ink);margin-top:2px}
/* therapybridge/doctors stop 1: TUS -> the visitor sits at the desk; asistanlık -> takes the coat */
.prop-scene .prop-base,.prop-scene .prop-alt{transition:opacity .4s ease}
.prop-scene .prop-alt{opacity:0}
#world.studying .tus-desk .prop-alt,#world.coated .coat-rack .prop-alt{opacity:1}
#world.studying .tus-desk .prop-base,#world.coated .coat-rack .prop-base{opacity:0}
#world.studying .main-person{opacity:0}
.main-person .coat-pose{opacity:0;transition:opacity .4s ease}
#world.coated .main-person .coat-pose{opacity:1}
#world.coated .main-person .idle-pose{opacity:0}
#world.coated.reading .main-person .coat-pose{opacity:0}
.walking .coat-pose{display:none}
/* doctors: the coat stays on while walking */
.walk-pose .coat-walk{opacity:0}
#world.coated .walk-pose .coat-walk{opacity:1}
.main-person .coat-wave{opacity:0}
#world.coated.waving .main-person .coat-wave{opacity:1}
#world.coated.waving .main-person .coat-pose,#world.coated.waving .main-person .wave-pose{opacity:0}
.main-person .coat-wave{transform-box:fill-box;transform-origin:50% 100%}
#world.coated.waving .main-person .coat-wave{animation:wave-sway .5s ease-in-out 4 alternate}
.walking .coat-wave{display:none}
@media(prefers-reduced-motion:reduce){#world.coated.waving .main-person .coat-wave{animation:none}}
.main-person .coat-reading{opacity:0;transition:opacity .4s ease}
#world.coated.reading .main-person .coat-reading{opacity:1}
#world.coated.reading .main-person .reading-pose{opacity:0}
.walking .coat-reading{display:none}
/* the coat frames don't line up pixel for pixel with the jacket ones: hide the jacket walk entirely */
#world.coated .walk-pose .base-walk{opacity:0}
/* intro: the research note lives in the "Bilimsel kanıt" sheet, not under the button on desktop */
.intro-notes .intro-science{display:none}
.sheet-text .sheet-sub{margin:14px 0 4px;font:600 11px/1.4 var(--sans);letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}
.sheet-text .sheet-sub:first-child{margin-top:0}
/* test deployment only (worker TEST_MODE=true injects it) */
.test-banner{position:fixed;top:0;left:50%;transform:translateX(-50%);z-index:9999;margin:0;padding:3px 12px;border-radius:0 0 10px 10px;background:#b9797d;color:#fffaf1;font:600 10.5px/1.4 var(--sans);letter-spacing:.2px;text-align:center;width:max-content;max-width:calc(100% - 24px);pointer-events:none;box-shadow:0 2px 8px #25354426}
@media(max-width:900px){.test-banner{font-size:9.5px;padding:2px 10px}.test-banner .test-more{display:none}}
/* phones: the first screen fills the screen exactly, whatever the phone or the state of the
   browser bars. Height up to the *large* viewport (bars collapsed), so the first question never
   peeks in below; the content is centred in the part that is always visible (small viewport,
   minus the bottom 112 bar), and the heading grows a little on taller phones. */
@media(max-width:900px){
  .intro{
    --bar: 30px;
    min-height:calc(100vh - 75px - var(--scene-height));
    min-height:calc(100lvh - 75px - var(--scene-height));
    padding-bottom:calc(var(--bar) + 18px);
    padding-bottom:calc(100lvh - 100svh + var(--bar) + 18px);
    justify-content:center;
  }
  .intro h1{font-size:clamp(27px, 4.1svh, 38px)}
  .intro-copy.second{margin-bottom:clamp(14px, 2.6svh, 26px)}
}
/* info texts in a frame, like the code and reply cards */
#dialogBody,.bottom-sheet .sheet-text{border:1px solid var(--line);background:#fffaf166;padding:18px 20px}
#dialogBody>:first-child{margin-top:0}#dialogBody>:last-child{margin-bottom:0}
#infoDialog .dialog-done .button-arrow{width:18px;height:18px}
/* phones: header links readable */
@media(max-width:900px){.header nav{font-size:14px;gap:18px}.header .text-button{font-size:14px;padding:8px 0}}
@media(max-width:360px){.header nav{gap:12px}.header .text-button{font-size:13px}}
/* stops change only with the buttons (app.js): no snapping, no paging by scroll */
html,html.free-scroll{scroll-snap-type:none}
.question-sheet .question-actions{display:flex;align-items:center;gap:14px}
.question-sheet .question-actions .required-note{flex-basis:100%;margin:0}
.question-sheet .question-actions .required-note:empty{display:none}
.back-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 4px;border:0;border-bottom:1px solid transparent;background:none;color:var(--muted);font:500 13px/1.2 var(--sans);cursor:pointer}
.back-link svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.back-link:hover{color:var(--ink)}
.room-back{margin:0 0 10px}
/* phones: the open note covers the whole visible screen (above the keyboard), so nothing of
   the page shows under it; app.js keeps --vv-top/--vv-h in step with the visual viewport */
@media(max-width:900px){
  .follow-up.open .follow-up-sheet{top:var(--vv-top,0px);bottom:auto;height:var(--vv-h,100svh);border-radius:0;align-content:start;overflow:auto;padding-top:28px}
  .follow-up.open .follow-up-sheet::before{display:none}
  .follow-up.open::before{background:var(--paper)}
}
.room-section .delivery-panel .form-actions{display:flex;align-items:center;gap:14px;margin-top:6px}
.room-section .delivery-panel .form-actions .primary{min-width:0;flex:1;max-width:320px}
/* phones: an info sheet taller than the screen scrolls inside, from its top */
@media(max-width:900px){dialog.bottom-sheet{max-height:calc(100svh - 24px);overflow-y:auto;overscroll-behavior:contain}}
/* phones: every question fills the screen even with the browser bars collapsed, so neither the
   previous nor the next stop shows; the content sits in the always-visible part */
@media(max-width:900px){
  .question-section{
    min-height:calc(100vh - 44px - var(--scene-height) - 4px);
    min-height:calc(100lvh - 44px - var(--scene-height) - 4px);
    padding-bottom:calc(100lvh - 100svh + 40px);
  }
  /* the pinned header also covers the strip above it (status bar on edge-to-edge Safari) */
  body.header-pinned .header::before{content:"";position:absolute;left:-50vw;right:-50vw;bottom:100%;height:120px;background:var(--paper)}
}
/* the note sheet must be fixed to the screen: no animation on its box while open */
.follow-up.open,.follow-up.open.follow-up-enter{animation:none;translate:none;transform:none}
@media(max-width:900px){
  .follow-up.open .follow-up-sheet{z-index:1000}
  .follow-up.open::before{z-index:999}
  /* pinned header is solid: nothing of the page shows through it */
  body.header-pinned .header{background:var(--paper);backdrop-filter:none;-webkit-backdrop-filter:none}
}

/* ======================================================================================
   Stage: the page itself never scrolls (no browser bar jumping on phones). The screen is
   header + illustration + one stop; app.js moves .story from stop to stop with the buttons.
   A stop taller than its space (the e-mail stop, a long question) scrolls inside itself.
   ====================================================================================== */
html,body{height:100%;overflow:hidden;overscroll-behavior:none}
body{display:flex;flex-direction:column;height:100vh;height:100dvh}
body .header,body.header-pinned .header{position:relative;flex:none;animation:none}
body.header-pinned{padding-top:0}
.layout{flex:1;min-height:0;width:100%;margin:0 auto var(--bar-h,35px);align-items:stretch}
.visual,body:not(.header-pinned) .visual,body.header-pinned .visual{position:relative;top:auto;height:auto;min-height:0}
.story{height:100%;overflow:hidden;position:relative}
.story .intro,.story .question-section,.story .room-section{height:var(--stage-h,100%);min-height:0;overflow-y:auto;overscroll-behavior:contain}
.story .intro,.story .question-section{justify-content:flex-start;justify-content:safe center}
@media(max-width:900px){
  .layout{display:flex;flex-direction:column}
  .visual,body:not(.header-pinned) .visual,body.header-pinned .visual{flex:none;height:var(--scene-height)}
  .story{flex:1}
  .story .intro{padding-bottom:18px}
  .story .question-section{padding-bottom:18px}
  /* on the stops a slimmer header leaves more room for the question */
  body.journey .header{height:52px}
  body.journey .brand-sub{display:none}
  body.journey .brand img.brand-mark{width:38px}
  body.journey .brand-row>.brand-name{font-size:18px}
  /* header links scale with the screen and never run off it */
  .header{gap:10px}
  .header nav{gap:clamp(10px,3.2vw,18px);font-size:clamp(11px,3.4vw,14px);flex:none}
  .header .text-button{font-size:clamp(11px,3.4vw,14px);white-space:nowrap}
  .brand{min-width:0;flex:1 1 auto}
  .brand-row>.brand-name{font-size:clamp(16px,5vw,20px)}
}
/* phones: the note is a compact card that rides just above the keyboard (app.js sets --kb),
   with a framed field and a clear save button; the page behind is dimmed */
@media(max-width:900px){
  .follow-up.open .follow-up-sheet{top:auto;bottom:var(--kb,0px);height:auto;max-height:calc(var(--vv-h,100svh) - 16px);overflow:auto;
    border-radius:16px 16px 0 0;border-top:1px solid var(--line);box-shadow:0 -10px 30px #25354424;align-content:start;gap:10px;
    padding:14px 6% calc(14px + env(safe-area-inset-bottom))}
  .follow-up.open .follow-up-sheet::before{display:block}
  .follow-up.open::before{background:#2535446b}
  .follow-up-sheet .follow-up-label{font-size:18px;margin:0}
  .follow-up-sheet .follow-up-why{margin:-4px 0 4px;font-size:13px}
  .follow-up-sheet textarea{min-height:110px;max-height:38vh;border:1px solid #a3917d8c;border-radius:6px;background:#fff;padding:12px 14px;font:16px/1.55 var(--sans)}
  .follow-up-sheet textarea:focus{outline:2px solid var(--blue);outline-offset:1px}
  .follow-up-sheet .follow-up-done{justify-self:stretch;min-height:46px;padding:12px 22px;border:0;border-radius:4px;background:var(--blue);color:var(--white);font:500 15px var(--sans);letter-spacing:.2px}
}
/* while the note is open nothing sits over it: the bottom bar steps aside */
body:has(.follow-up.open) .progress{display:none}
/* the intro info line is plain text now (no sheet) */
.meta-line{cursor:default}.meta-line:hover span:not(.meta-info){color:inherit}

/* KVKK metinleri sayfadan ayrılmadan, pencere içinde */
#legalDialog{max-width:720px;max-height:min(88dvh,900px);overflow-y:auto;overscroll-behavior:contain}
#legalDialog h2{font-size:clamp(24px,5vw,32px);letter-spacing:-.5px;margin-bottom:6px}
#legalDialog .legal-body{font-size:14px;line-height:1.75;color:var(--ink)}
#legalDialog .legal-body p,#legalDialog .legal-body li{font-size:14px;line-height:1.75;color:var(--ink);margin:0 0 10px}
#legalDialog .legal-body .meta{font-size:12px;color:var(--muted);margin-bottom:18px}
#legalDialog .legal-body h2{font:normal 19px/1.3 var(--serif);letter-spacing:0;margin:28px 0 8px;padding-top:14px;border-top:1px solid var(--line)}
#legalDialog .legal-body ul{padding-left:20px;margin:0 0 12px}
#legalDialog .legal-body table{width:100%;border-collapse:collapse;margin:6px 0 14px;font-size:13px}
#legalDialog .legal-body th,#legalDialog .legal-body td{text-align:left;vertical-align:top;padding:8px 10px;border:1px solid var(--line)}
#legalDialog .legal-body th{background:#fffaf1;font-weight:600}
#legalDialog .legal-body .box{border:1px solid var(--line);background:#fffaf1;padding:14px 16px;margin:14px 0}
#legalDialog .legal-body .fill{background:#f3dcd8;color:#7a3f3f;padding:1px 5px;border-radius:3px}
#legalDialog .legal-body a{color:var(--ink)}
#legalDialog>.primary{margin-top:20px}
@media (max-width:560px){#legalDialog .legal-body table,#legalDialog .legal-body thead,#legalDialog .legal-body tbody,#legalDialog .legal-body tr,#legalDialog .legal-body th,#legalDialog .legal-body td{display:block}#legalDialog .legal-body th{border-bottom:0}#legalDialog .legal-body td{border-top:0}}

/* "Başvurun alındı" pencere olarak */
dialog.delivery-done{max-width:560px;max-height:min(90dvh,860px);overflow-y:auto;overscroll-behavior:contain}
dialog.delivery-done h2{margin:6px 0 14px}
dialog.delivery-done .dialog-done-ok{margin-top:22px}
dialog.delivery-done .dialog-done-ok .button-arrow{width:18px;height:18px}
.done-summary[hidden]{display:none}
.done-summary h2{margin-bottom:12px}
.done-summary .tracking-code-inline{font-family:var(--sans);font-style:normal;letter-spacing:1px;color:var(--blue)}
.done-summary .text-button{font-size:13px;border-bottom:1px solid #9c8c78;padding:6px 0}
