/* Müzehane: muzehane.com */

@font-face { font-family: "Cormorant"; src: url("../fonts/Cormorant-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/Cormorant-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/Cormorant-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("../fonts/Cormorant-SemiBoldItalic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --obsidian: #0b0a08;
  --stone: #15120e;
  --raised: #1e1914;
  --ivory: #f2eadb;
  --ivory-2: #b1a795;
  --ivory-3: #7a7163;
  --gold: #d6b77c;
  --gold-hi: #ecd8a8;
  --gold-lo: #8a6a33;
  --hair: rgba(214, 183, 124, 0.22);

  --anatolian: #a9793a;
  --classical: #b2573d;
  --byzantine: #6e4c92;
  --seljuk: #2a8a80;
  --ottoman: #2c59a0;
  --republic: #6f7a86;

  --serif: "Cormorant", "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(214, 183, 124, 0.35); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--gold); color: var(--obsidian); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 0.98;
  margin: 0;
}
h2.display { font-size: clamp(42px, 5.6vw, 78px); }
.lede { color: var(--ivory-2); font-size: clamp(17px, 1.5vw, 19px); max-width: 44ch; margin: 22px 0 0; }
.muted { color: var(--ivory-3); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(11, 10, 8, 0.72); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-color: rgba(214, 183, 124, 0.12); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 25px; letter-spacing: 0.005em; color: var(--ivory); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ivory-2); font-size: 14.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--ivory); }
.lang-toggle { display: flex; border: 1px solid var(--hair); border-radius: 99px; padding: 3px; }
.lang-toggle a { padding: 4px 10px; border-radius: 99px; font-size: 12.5px; color: var(--ivory-2); text-decoration: none; letter-spacing: 0.02em; }
.lang-toggle a:hover { color: var(--ivory); }
.lang-toggle a[aria-current="true"] { background: var(--gold); color: var(--obsidian); font-weight: 600; }
.nav-cta { text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 99px; background: var(--ivory); color: var(--obsidian); white-space: nowrap; }
.nav-cta:hover { background: var(--gold-hi); }

/* ---------- App Store button ---------- */
.store {
  display: inline-flex; align-items: center; gap: 11px;
  padding: 11px 22px 11px 18px; border-radius: 14px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(242, 234, 219, 0.35);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.store:hover { transform: translateY(-2px); border-color: var(--gold); }
.store svg { width: 24px; height: 28px; flex: none; }
.store small { display: block; font-size: 11px; line-height: 1.1; opacity: 0.85; }
.store b { display: block; font-size: 20px; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.ghost { display: inline-flex; align-items: center; gap: 8px; padding: 14px 20px; border-radius: 14px; text-decoration: none; color: var(--ivory); border: 1px solid var(--hair); transition: border-color 0.25s, background 0.25s; }
.ghost:hover { border-color: var(--gold); background: rgba(214, 183, 124, 0.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  height: max(100svh, 820px);
  background:
    radial-gradient(120% 70% at 50% 100%, rgba(150, 102, 48, 0.42) 0%, rgba(80, 52, 26, 0.18) 38%, transparent 70%),
    linear-gradient(#0b0a08 0%, #120f0b 55%, #2a1e12 100%);
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 6; text-align: center; padding-top: clamp(112px, 15vh, 150px); }
.hero h1 { font-size: clamp(50px, 6.8vw, 104px); margin-inline: auto; text-wrap: balance; }
.hero .lede { margin-inline: auto; text-align: center; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ivory-3); }

.sun {
  position: absolute; z-index: 1; left: 50%; bottom: 120px;
  width: min(820px, 120vw); aspect-ratio: 1; translate: -50% 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 216, 168, 0.55) 0%, rgba(214, 183, 124, 0.22) 26%, rgba(214, 183, 124, 0.06) 48%, transparent 66%);
  pointer-events: none;
}
.stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.55; }

.skyline { position: absolute; left: 0; right: 0; bottom: 0; pointer-events: none; }
.skyline .strip { display: flex; width: max-content; height: 100%; animation: drift linear infinite; }
.skyline .strip img { height: 100%; width: auto; max-width: none; flex: none; }
.sky-far { z-index: 2; height: clamp(200px, 30vh, 330px); bottom: 70px; }
.sky-far .strip { animation-duration: 260s; }
.sky-mid { z-index: 3; height: clamp(190px, 27vh, 300px); bottom: 26px; }
.sky-mid .strip { animation-duration: 170s; }
.sky-near { z-index: 5; height: clamp(170px, 24vh, 270px); bottom: -4px; }
.sky-near .strip { animation-duration: 110s; }
@keyframes drift { to { transform: translateX(-50%); } }

.hero-phone { position: relative; z-index: 4; display: flex; justify-content: center; margin-top: clamp(36px, 6vh, 60px); }
.hero-phone .phone { --pw: 300px; }

/* page-load sequence: dawn */
.js .hero .sun { animation: rise 2.4s var(--ease) both; }
.js .hero .sky-far { animation: settle 1.6s 0.2s var(--ease) both; }
.js .hero .sky-mid { animation: settle 1.6s 0.38s var(--ease) both; }
.js .hero .sky-near { animation: settle 1.6s 0.56s var(--ease) both; }
.js .hero .hero-phone { animation: emerge 1.8s 0.7s var(--ease) both; }
.js .hero .hero-copy > * { animation: appear 1.2s var(--ease) both; }
.js .hero .hero-copy > :nth-child(2) { animation-delay: 0.9s; }
.js .hero .hero-copy > :nth-child(3) { animation-delay: 1.05s; }
.js .hero .hero-copy > :nth-child(4) { animation-delay: 1.15s; }
.js .hero .hero-copy > :first-child { animation-delay: 0.75s; }
@keyframes rise { from { opacity: 0; translate: -50% 75%; } }
@keyframes settle { from { opacity: 0; transform: translateY(60px); } }
@keyframes emerge { from { opacity: 0; transform: translateY(140px); } }
@keyframes appear { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } }

/* ---------- Ticker of places ---------- */
.places { border-block: 1px solid rgba(214, 183, 124, 0.1); background: var(--obsidian); overflow: hidden; padding: 20px 0; position: relative; z-index: 7; }
.places .track { display: flex; width: max-content; gap: 0; animation: drift 90s linear infinite; }
.places span { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 26px; color: var(--ivory-2); padding: 0 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px; }
.places span::after { content: ""; width: 5px; height: 5px; rotate: 45deg; background: var(--gold-lo); }

/* ---------- Features (sticky phone) ---------- */
.features { position: relative; padding: clamp(110px, 14vw, 170px) 0 60px; }
.features-head { max-width: 640px; }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); margin-top: 60px; }
.chapters { padding-bottom: 24vh; }
.chapter { min-height: 86vh; display: flex; flex-direction: column; justify-content: center; max-width: 470px; opacity: 0.32; transition: opacity 0.6s var(--ease); }
.chapter.is-active { opacity: 1; }
.chapter h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -0.005em; }
.chapter p { color: var(--ivory-2); margin: 0; max-width: 42ch; }
.chapter .mini { display: none; }

/* Exhibit label: like the placard beside an object in a museum */
.label {
  margin-top: 30px; padding: 16px 20px 15px; max-width: 330px;
  background: linear-gradient(160deg, #f1e8d6, #e2d5bc);
  color: #2a2219; border-radius: 3px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 18px 40px -18px rgba(0, 0, 0, 0.8);
}
.label strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 22px; line-height: 1.15; }
.label dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 8px 0 0; font-size: 13px; }
.label dt { color: #7d6e58; }
.label dd { margin: 0; display: flex; align-items: center; gap: 7px; }
.label i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.viewer { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.viewer .phone { --pw: 304px; position: relative; z-index: 2; }
.motif { position: absolute; width: min(760px, 100%); aspect-ratio: 1; z-index: 1; }
.motif svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(0.9) rotate(-8deg); transition: opacity 1s var(--ease), transform 1.4s var(--ease); }
.motif svg.on { opacity: 1; transform: none; }
.motif svg .spin { transform-origin: 400px 400px; animation: turn 140s linear infinite; }
.motif svg .spin-rev { transform-origin: 400px 400px; animation: turn 200s linear infinite reverse; }
@keyframes turn { to { transform: rotate(360deg); } }

/* ---------- Phone ---------- */
.phone {
  --pw: 300px;
  width: var(--pw); aspect-ratio: 300 / 640;
  border-radius: calc(var(--pw) * 0.165);
  padding: calc(var(--pw) * 0.034);
  background: linear-gradient(145deg, #3b3226, #15110c 40%, #2a231a 70%, #0d0b08);
  box-shadow:
    0 0 0 1px rgba(236, 216, 168, 0.25),
    0 0 0 calc(var(--pw) * 0.006) #0a0806 inset,
    0 50px 90px -30px rgba(0, 0, 0, 0.9),
    0 30px 120px -20px rgba(214, 183, 124, 0.18);
  font-size: calc(var(--pw) / 30);
}
.screen { position: relative; height: 100%; border-radius: calc(var(--pw) * 0.135); overflow: hidden; background: var(--obsidian); isolation: isolate; }
.island { position: absolute; z-index: 30; top: 1.1em; left: 50%; translate: -50% 0; width: 9.4em; height: 2.8em; border-radius: 2em; background: #000; }
.status { position: absolute; z-index: 29; inset: 0 0 auto 0; height: 4.8em; display: flex; justify-content: space-between; align-items: center; padding: 0.6em 2.6em 0; font: 600 1.45em/1 var(--sans); color: #fff; letter-spacing: -0.01em; }
.status .ic { display: flex; gap: 0.35em; align-items: center; }
.status svg { height: 0.82em; width: auto; }
.scr { position: absolute; inset: 0; opacity: 0; transition: opacity 0.7s var(--ease); font-family: var(--sans); color: var(--ivory); }
.scr.on { opacity: 1; z-index: 2; }
.glass { background: rgba(30, 25, 20, 0.55); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 0.5px solid rgba(255, 255, 255, 0.08); }
.circle-btn { width: 3.6em; height: 3.6em; border-radius: 50%; display: grid; place-items: center; }
.circle-btn svg { width: 1.6em; height: 1.6em; }
.tabbar { position: absolute; z-index: 10; inset: auto 0 0 0; height: 7.6em; padding: 2.2em 2.4em 0; display: flex; justify-content: space-between; background: linear-gradient(to top, #000 45%, rgba(0, 0, 0, 0)); }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 0.3em; font-size: 0.95em; color: rgba(242, 234, 219, 0.5); width: 4.6em; }
.tabbar span.on { color: var(--gold); }
.tabbar svg { width: 2.1em; height: 2.1em; }

/* discover */
.scr-map .mapbg { position: absolute; inset: -6%; width: 112%; height: 112%; }
.scr-map.on .mapbg { animation: pan 14s var(--ease) both; }
@keyframes pan { from { transform: translate(3%, 2%) scale(1.06); } to { transform: none; } }
.scr-map .pin { transform-box: fill-box; transform-origin: 50% 100%; }
.scr-map.on .pin { animation: drop 0.7s var(--ease) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(0.6); } }
.scr-map .me { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
@keyframes ping { from { transform: scale(0.6); opacity: 0.8; } to { transform: scale(2.4); opacity: 0; } }
.map-top { position: absolute; z-index: 5; top: 5.4em; left: 1.8em; right: 1.8em; display: flex; justify-content: space-between; align-items: flex-start; }
.map-top h4 { margin: 0; font-size: 2.6em; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.map-top p { margin: 0.35em 0 0; font-size: 1.15em; color: var(--ivory-2); }
.map-top .btns { display: flex; gap: 0.7em; }
.cards { position: absolute; z-index: 6; left: 1.6em; bottom: 8.6em; display: flex; gap: 1em; }
.card { width: 21em; border-radius: 2em; padding: 1em; display: flex; gap: 1em; align-items: center; }
.scr-map.on .card { animation: slidein 0.9s 0.8s var(--ease) both; }
.scr-map.on .card + .card { animation-delay: 0.95s; }
@keyframes slidein { from { opacity: 0; transform: translateX(30%); } }
.thumb { width: 5.6em; height: 5.6em; border-radius: 1.3em; flex: none; overflow: hidden; }
.card b { display: block; font-size: 1.55em; font-weight: 600; letter-spacing: -0.01em; }
.card small { display: flex; align-items: center; gap: 0.5em; font-size: 1.15em; color: var(--ivory-2); margin-top: 0.25em; }
.dot { width: 0.7em; height: 0.7em; border-radius: 50%; display: inline-block; flex: none; }

/* story */
.scr-story .art { position: absolute; inset: 0; }
.scr-story.on .art { animation: kenburns 12s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14) translateY(2%); } }
.bars { position: absolute; z-index: 5; top: 5.2em; left: 1.6em; right: 1.6em; display: flex; gap: 0.4em; }
.bars i { flex: 1; height: 0.25em; border-radius: 1em; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.bars i.done { background: rgba(255, 255, 255, 0.9); }
.bars i.now::after { content: ""; display: block; height: 100%; width: 0; background: #fff; }
.scr-story.on .bars i.now::after { animation: fill 7s linear forwards; }
@keyframes fill { to { width: 100%; } }
.story-actions { position: absolute; z-index: 5; top: 7.4em; right: 1.6em; display: flex; flex-direction: column; gap: 0.8em; }
.story-text { position: absolute; z-index: 5; left: 2em; right: 2em; bottom: 9em; }
.chip { display: inline-flex; align-items: center; gap: 0.45em; padding: 0.35em 0.9em; border-radius: 99px; font-size: 1.1em; font-weight: 600; color: #fff; }
.story-text h5 { margin: 0.6em 0 0.5em; font-size: 2.5em; font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.story-text p { margin: 0; font-size: 1.28em; line-height: 1.5; color: rgba(242, 234, 219, 0.86); }
.story-text .where { display: flex; align-items: center; gap: 0.4em; margin-top: 0.9em; font-size: 1.15em; color: var(--gold); }

/* astrolabe */
.astro-top { position: absolute; z-index: 5; top: 5.4em; left: 1.8em; right: 1.8em; display: flex; justify-content: space-between; align-items: flex-start; }
.astro-top h4 { margin: 0; font-size: 2.6em; font-weight: 700; letter-spacing: -0.02em; }
.astro-top p { margin: 0.35em 0 0; font-size: 1.15em; color: var(--ivory-2); }
.dice { border: 0.5px solid rgba(214, 183, 124, 0.5); }
.dial { position: absolute; left: 50%; top: 46%; width: 26em; height: 26em; translate: -50% -50%; }
.dial .face { transform-origin: 50% 50%; transform-box: view-box; }
.scr-astro.on .dial .face { animation: sway 9s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }
.dial .needle { transform-origin: 130px 130px; transform: rotate(38deg); }
.scr-astro.on .dial .needle { animation: spin 2.6s 0.4s cubic-bezier(0.15, 0.7, 0.2, 1) both; }
@keyframes spin { from { transform: rotate(-1040deg); } to { transform: rotate(38deg); } }
.dial .burst { transform-origin: 130px 130px; opacity: 0; }
.scr-astro.on .dial .burst { animation: burst 1.2s 2.9s ease-out both; }
@keyframes burst { 0% { opacity: 0.9; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.4); } }
.fate { position: absolute; z-index: 6; left: 1.8em; right: 1.8em; bottom: 9em; border-radius: 2.2em; padding: 1.4em 1.6em; text-align: center; }
.scr-astro.on .fate { animation: popup 0.8s 3s var(--ease) both; }
@keyframes popup { from { opacity: 0; transform: translateY(20%) scale(0.92); } }
.fate small { font-size: 1.1em; color: var(--gold); }
.fate b { display: block; font-size: 2em; font-weight: 700; margin: 0.2em 0 0.1em; letter-spacing: -0.02em; }
.fate span { font-size: 1.2em; color: var(--ivory-2); }
.fate em { display: block; margin-top: 1em; font-style: normal; font-weight: 600; font-size: 1.3em; padding: 0.75em; border-radius: 99px; background: var(--gold); color: var(--obsidian); }

/* search */
.search-top { position: absolute; z-index: 5; top: 5.6em; left: 1.6em; right: 1.6em; }
.field { display: flex; align-items: center; gap: 0.7em; height: 4em; padding: 0 1.3em; border-radius: 1.4em; font-size: 1.45em; }
.field svg { width: 1.2em; height: 1.2em; opacity: 0.7; }
.field .typed { display: inline-block; overflow: hidden; white-space: nowrap; border-right: 2px solid var(--gold); padding-right: 1px; width: 3.3ch; }
.scr-search.on .typed { animation: type 1.1s 0.4s steps(3) both, caret 0.9s step-end infinite; }
@keyframes type { from { width: 0; } }
@keyframes caret { 50% { border-color: transparent; } }
.results { list-style: none; margin: 1.2em 0 0; padding: 0; border-radius: 1.8em; overflow: hidden; }
.results li { display: flex; align-items: center; gap: 1em; padding: 1.1em 1.3em; border-bottom: 0.5px solid rgba(255, 255, 255, 0.07); }
.results li:last-child { border: 0; }
.results li.hit { background: rgba(214, 183, 124, 0.12); }
.scr-search.on .results li { animation: appear 0.6s var(--ease) both; }
.scr-search.on .results li:nth-child(1) { animation-delay: 1.5s; }
.scr-search.on .results li:nth-child(2) { animation-delay: 1.62s; }
.scr-search.on .results li:nth-child(3) { animation-delay: 1.74s; }
.results b { display: block; font-size: 1.4em; font-weight: 600; }
.results small { font-size: 1.12em; color: var(--ivory-2); }
.flight { position: absolute; z-index: 5; left: 1.6em; right: 1.6em; bottom: 9em; border-radius: 2em; padding: 1.2em 1.2em 1.4em; }
.flight svg { width: 100%; height: auto; }
.flight .arc { stroke-dasharray: 4 4; }
.flight .trail { stroke-dasharray: 300; stroke-dashoffset: 300; }
.scr-search.on .flight .trail { animation: draw 2s 2.2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.flight .dest { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }
.scr-search.on .flight .dest { animation: drop 0.6s 3.9s var(--ease) both; opacity: 1; }
.flight p { margin: 0.6em 0 0; font-size: 1.2em; color: var(--ivory-2); text-align: center; }

/* top list */
.top-head { position: absolute; z-index: 5; top: 5.6em; left: 2em; right: 2em; }
.top-head h4 { margin: 0; font-size: 2.3em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.top-head p { margin: 0.35em 0 0; font-size: 1.15em; color: var(--ivory-2); }
.toplist { position: absolute; z-index: 5; top: 12.6em; left: 1.6em; right: 1.6em; list-style: none; margin: 0; padding: 0; }
.toplist li { display: grid; grid-template-columns: 2.4em 1fr auto; align-items: center; gap: 0 0.8em; padding: 1em 0.4em; border-bottom: 0.5px solid rgba(255, 255, 255, 0.07); }
.toplist .n { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 2.2em; color: var(--gold); line-height: 1; text-align: center; }
.toplist b { font-size: 1.36em; font-weight: 600; display: block; }
.toplist small { font-size: 1.08em; color: var(--ivory-2); }
.toplist .v { font-size: 1.2em; font-variant-numeric: tabular-nums; color: var(--ivory); text-align: right; }
.toplist .bar { grid-column: 2 / 4; height: 0.22em; border-radius: 1em; background: rgba(214, 183, 124, 0.12); margin-top: 0.55em; overflow: hidden; }
.toplist .bar::after { content: ""; display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--gold-lo), var(--gold)); border-radius: inherit; transform-origin: left; }
.scr-top.on .toplist li { animation: appear 0.6s var(--ease) both; }
.scr-top.on .toplist .bar::after { animation: grow 1.2s 0.4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } }

/* detail + maps sheet */
.detail-hero { position: absolute; inset: 0 0 52% 0; overflow: hidden; }
.detail-btns { position: absolute; z-index: 6; top: 5.4em; left: 1.6em; right: 1.6em; display: flex; justify-content: space-between; }
.detail-body { position: absolute; z-index: 5; top: 47%; left: 2em; right: 2em; }
.detail-body h5 { margin: 0.5em 0 0.4em; font-size: 2.6em; font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.detail-body p { margin: 0; font-size: 1.28em; line-height: 1.5; color: var(--ivory-2); }
.detail-actions { display: flex; gap: 0.8em; margin-top: 1.5em; }
.detail-actions span { flex: 1; text-align: center; padding: 1em; border-radius: 99px; font-weight: 600; font-size: 1.3em; }
.detail-actions .primary { background: var(--gold); color: var(--obsidian); }
.dim { position: absolute; inset: 0; z-index: 20; background: rgba(0, 0, 0, 0.3); opacity: 0; }
.sheet { position: absolute; z-index: 21; left: 0.9em; right: 0.9em; bottom: 1.4em; transform: translateY(120%); }
.scr-detail.on .dim { animation: fadein 0.5s 1.6s both; }
.scr-detail.on .sheet { animation: sheetup 0.65s 1.6s var(--ease) forwards; }
@keyframes fadein { to { opacity: 1; } }
@keyframes sheetup { to { transform: none; } }
.sheet .group { border-radius: 1.5em; overflow: hidden; background: rgba(44, 40, 36, 0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.sheet .group + .group { margin-top: 0.7em; }
.sheet .title { padding: 1.2em; text-align: center; font-size: 1.15em; color: rgba(242, 234, 219, 0.6); border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); }
.sheet .opt { padding: 1.15em; text-align: center; font-size: 1.62em; color: #6fb2ff; border-bottom: 0.5px solid rgba(255, 255, 255, 0.1); }
.sheet .opt:last-child { border: 0; }
.sheet .cancel { font-weight: 600; }

/* ---------- Eras ---------- */
.eras { padding: clamp(100px, 12vw, 160px) 0; position: relative; }
.eras-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.eras-head .lede { margin: 0; justify-self: end; }
.timeline { list-style: none; padding: 0; margin: 70px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.6vw, 22px); }
.timeline li { position: relative; }
.niche { position: relative; aspect-ratio: 3 / 4.4; overflow: hidden; }
.niche svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.timeline h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(21px, 1.9vw, 27px); line-height: 1.1; margin: 18px 0 4px; }
.timeline p { margin: 0; font-size: 14px; color: var(--ivory-2); }
.timeline time { display: block; font-size: 13px; color: var(--ivory-3); margin-top: 2px; font-variant-numeric: tabular-nums; }

/* ---------- Languages ---------- */
.langs { padding: clamp(90px, 11vw, 150px) 0; text-align: center; background: radial-gradient(80% 60% at 50% 50%, rgba(214, 183, 124, 0.07), transparent 70%); border-block: 1px solid rgba(214, 183, 124, 0.08); }
.langs .lede { margin-inline: auto; }
.phrase { position: relative; height: 1.25em; margin: 56px auto 0; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(36px, 5.4vw, 72px); color: var(--gold-hi); }
.phrase span { position: absolute; inset: 0; opacity: 0; transform: translateY(0.25em); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); white-space: nowrap; }
.phrase span.on { opacity: 1; transform: none; }
.phrase span[lang="ar"], .phrase span[lang="zh"], .phrase span[lang="ja"], .phrase span[lang="ko"] { font-family: var(--sans); font-style: normal; font-weight: 300; font-size: 0.78em; line-height: 1.6; }
.endonyms { margin: 40px auto 0; max-width: 760px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; list-style: none; padding: 0; }
.endonyms li { font-size: 14.5px; color: var(--ivory-2); padding: 6px 13px; border: 1px solid rgba(214, 183, 124, 0.16); border-radius: 99px; }

/* ---------- Privacy ---------- */
.privacy { padding: clamp(100px, 12vw, 160px) 0; }
.privacy-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.privacy-points { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 36px; }
.privacy-points div { border-top: 1px solid var(--hair); padding-top: 18px; }
.privacy-points h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }
.privacy-points p { margin: 0; color: var(--ivory-2); font-size: 15.5px; }
.text-link { display: inline-block; margin-top: 28px; color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(214, 183, 124, 0.4); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold); }

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 clamp(100px, 12vw, 160px); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 7vw, 110px); }
.faq details { border-top: 1px solid rgba(214, 183, 124, 0.16); }
.faq details:last-child { border-bottom: 1px solid rgba(214, 183, 124, 0.16); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 24px; color: var(--ivory-2); max-width: 62ch; }

/* ---------- Final CTA ---------- */
.final { position: relative; overflow: hidden; min-height: 760px; padding-top: clamp(110px, 13vw, 170px); text-align: center; background: linear-gradient(#0b0a08, #0e0c0a 40%, #1a1510 100%); isolation: isolate; }
.final h2 { max-width: 13ch; margin-inline: auto; position: relative; z-index: 6; }
.final .actions { position: relative; z-index: 6; margin-top: 36px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.final .actions p { margin: 0; font-size: 13.5px; color: var(--ivory-3); }
.final .moon { position: absolute; z-index: 1; left: 72%; top: 30%; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 30% 50%, #f4e6c4, #d6b77c 55%, #8a6a33); -webkit-mask: radial-gradient(circle at 74% 38%, transparent 47%, #000 48.5%); mask: radial-gradient(circle at 74% 38%, transparent 47%, #000 48.5%); filter: drop-shadow(0 0 26px rgba(214, 183, 124, 0.45)); }

/* ---------- Footer ---------- */
.foot { background: #070605; padding: 70px 0 40px; font-size: 14.5px; color: var(--ivory-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--ivory); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; color: var(--ivory-2); }
.foot a:hover { color: var(--gold); }
.foot .tag { margin: 14px 0 0; max-width: 34ch; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(214, 183, 124, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: 13px; color: var(--ivory-3); }
.foot-bottom p { margin: 0; max-width: 80ch; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: 150px 0 30px; position: relative; overflow: hidden; }
.legal-hero h1 { font-size: clamp(46px, 6.4vw, 84px); }
.legal-hero .updated { margin-top: 16px; color: var(--ivory-3); font-size: 14px; }
.legal { padding: 30px 0 120px; }
.legal .doc { max-width: 720px; }
.doc h2 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1.15; margin: 54px 0 12px; }
.doc h3 { font-size: 17px; margin: 28px 0 8px; }
.doc p, .doc li { color: #d2c8b6; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc a { color: var(--gold); }
.doc .summary { font-size: 19px; color: var(--ivory); border-left: 2px solid var(--gold); padding: 4px 0 4px 20px; margin: 10px 0 30px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(214, 183, 124, 0.14); color: #d2c8b6; }
.doc th { color: var(--ivory); font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.toc a { display: inline-block; font-size: 14px; text-decoration: none; padding: 7px 14px; border: 1px solid var(--hair); border-radius: 99px; color: var(--ivory-2); }
.toc a:hover, .toc a[aria-current="page"] { border-color: var(--gold); color: var(--ivory); }
.contact-card { margin: 26px 0; padding: 22px 24px; border: 1px solid var(--hair); border-radius: 14px; background: rgba(214, 183, 124, 0.04); }
.contact-card a { font-size: 20px; }
html[lang="en"] [data-lang="tr"], html[lang="tr"] [data-lang="en"] { display: none !important; }


/* ---------- Guides (home) ---------- */
.guides { padding: clamp(90px, 11vw, 150px) 0 20px; }
.guides-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.guide-list { list-style: none; margin: 50px 0 0; padding: 0; border-top: 1px solid rgba(214, 183, 124, 0.16); }
.guide-list li { border-bottom: 1px solid rgba(214, 183, 124, 0.16); }
.guide-list a { display: grid; grid-template-columns: 1fr auto; gap: 6px 40px; padding: 26px 0; text-decoration: none; }
.guide-list strong { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; transition: color 0.25s; }
.guide-list a:hover strong { color: var(--gold-hi); }
.guide-list span { grid-column: 1; color: var(--ivory-2); font-size: 15.5px; max-width: 70ch; }
.guide-list time { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--ivory-3); font-size: 13.5px; white-space: nowrap; }

/* ---------- Colophon (künye) ---------- */
.kunye { padding: 40px 0 clamp(90px, 10vw, 130px); }
.kunye-card { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(30px, 5vw, 70px); padding: clamp(28px, 4vw, 48px); background: linear-gradient(160deg, #f1e8d6, #e2d5bc); color: #2a2219; border-radius: 4px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.9); }
.kunye-card h2 { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(34px, 3.4vw, 46px); line-height: 1.05; margin: 0 0 14px; }
.kunye-card > div > p { margin: 0; color: #4a3f31; font-size: 16.5px; }
.kunye-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; margin: 0; font-size: 15px; }
.kunye-card dt { color: #7d6e58; }
.kunye-card dd { margin: 0; }

/* ---------- Blog ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: 13.5px; color: var(--ivory-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }
.crumbs a { color: var(--ivory-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.post-hero h1 { font-size: clamp(40px, 5.2vw, 70px); max-width: 20ch; text-wrap: balance; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 20px; font-size: 14px; color: var(--ivory-3); }
.key { margin: 0 0 36px; padding: 22px 26px; border-radius: 4px; background: linear-gradient(160deg, #f1e8d6, #e2d5bc); color: #2a2219; }
.key b { display: block; font-family: var(--serif); font-style: italic; font-size: 22px; margin-bottom: 6px; }
.key p { margin: 0; color: #3b3226 !important; font-size: 16.5px; line-height: 1.6; }
.toc-box { margin: 0 0 30px; padding: 18px 22px; border: 1px solid var(--hair); border-radius: 10px; }
.toc-box b { font-size: 14px; color: var(--ivory); }
.toc-box ol { margin: 10px 0 0; padding-left: 1.2em; columns: 2; column-gap: 30px; }
.toc-box li { margin: 4px 0; font-size: 15px; break-inside: avoid; }
.toc-box a { color: var(--ivory-2); text-decoration: none; }
.toc-box a:hover { color: var(--gold); }
.doc h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 24px; margin: 30px 0 6px; }
.doc ol { padding-left: 1.3em; }
.doc .faq-block details { border-top: 1px solid rgba(214, 183, 124, 0.16); }
.doc .faq-block details:last-child { border-bottom: 1px solid rgba(214, 183, 124, 0.16); }
.doc .faq-block summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ivory); list-style: none; }
.doc .faq-block summary::-webkit-details-marker { display: none; }
.doc .faq-block summary::before { content: "+"; color: var(--gold); display: inline-block; width: 1.2em; }
.doc .faq-block details[open] summary::before { content: "–"; }
.doc .faq-block details p { margin: 0 0 18px 1.2em; }
.sources { font-size: 14.5px; }
.cta-box { margin: 50px 0 10px; padding: 30px; border: 1px solid var(--hair); border-radius: 14px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: radial-gradient(120% 140% at 0% 0%, rgba(214, 183, 124, 0.1), transparent 60%); }
.cta-box p { margin: 0; max-width: 40ch; color: var(--ivory) !important; font-size: 18px; }
.cta-box .store { flex: none; }
.related { margin-top: 50px; }
.related h2 { margin-top: 0; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(214, 183, 124, 0.16); }
.post-list li { border-bottom: 1px solid rgba(214, 183, 124, 0.16); }
.post-list a { display: block; padding: 22px 0; text-decoration: none; }
.post-list strong { display: block; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; color: var(--ivory); }
.post-list a:hover strong { color: var(--gold-hi); }
.post-list span { display: block; margin-top: 6px; color: var(--ivory-2); font-size: 15.5px; max-width: 70ch; }
.post-list time { display: block; margin-top: 8px; color: var(--ivory-3); font-size: 13px; }


/* ---------- Cookie consent ---------- */
.consent { position: fixed; z-index: 90; left: 16px; bottom: 16px; width: min(460px, calc(100% - 32px)); padding: 18px 20px; border-radius: 16px; background: rgba(21, 18, 14, 0.92); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border: 1px solid rgba(214, 183, 124, 0.28); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.9); opacity: 0; transform: translateY(16px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.consent.in { opacity: 1; transform: none; }
.consent.out { opacity: 0; transform: translateY(16px); }
.consent p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ivory-2); }
.consent a { color: var(--gold); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.consent button { padding: 10px 14px; border-radius: 10px; border: 1px solid rgba(214, 183, 124, 0.45); background: transparent; color: var(--ivory); font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s; }
.consent button:hover { background: var(--gold); color: var(--obsidian); }
.linklike { border: 0; background: none; padding: 0; color: var(--ivory-2); font: inherit; cursor: pointer; text-align: left; }
.linklike:hover { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .stage { grid-template-columns: 1fr; margin-top: 30px; }
  .viewer { display: none; }
  .chapters { padding-bottom: 0; }
  .chapter { min-height: 0; opacity: 1; padding: 54px 0; max-width: none; }
  .chapter .mini { display: grid; place-items: center; position: relative; margin: 0 0 34px; height: 600px; }
  .chapter .mini .motif { width: 560px; max-width: 140vw; }
  .chapter .mini .phone { --pw: 270px; position: relative; z-index: 2; }
  .chapter .mini .scr { opacity: 1; }
  .eras-head, .privacy-grid, .faq-grid, .kunye-card { grid-template-columns: 1fr; }
  .eras-head .lede { justify-self: start; }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav .wrap { gap: 12px; }
  .nav-cta { display: none; }
  .lang-toggle { margin-left: auto; }
  .hero { height: max(100svh, 780px); }
  .hero-phone .phone { --pw: 250px; }
  .privacy-points { grid-template-columns: 1fr; gap: 28px; }
  .guide-list a { grid-template-columns: 1fr; }
  .guide-list time { grid-row: auto; grid-column: 1; }
  .toc-box ol { columns: 1; }
  .kunye-card dl { grid-template-columns: 1fr; gap: 2px; }
  .kunye-card dd { margin-bottom: 10px; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .places span { font-size: 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .final { min-height: 640px; }
  .final .moon { width: 70px; height: 70px; left: 74%; top: 46%; }
}

@media (max-width: 700px) {
  .doc table { display: block; overflow-x: auto; }
  .doc th, .doc td { min-width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .skyline .strip, .places .track { animation: none !important; }
}
