:root {
  color-scheme: dark;
  --ink: #1e252b;
  --cream: #fff8ed;
  --gold: #f7b54d;
  --glass: rgba(22, 27, 31, .76);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #1a2229; }
body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--cream); overflow: hidden; }
button, a { font: inherit; }
button { color: inherit; }
.experience { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.ambient { position: absolute; inset: 0; z-index: -2; background: #c87940; }
.ambient-image { width: 100%; height: 100%; object-fit: cover; object-position: 67% center; animation: breathe 24s ease-in-out infinite alternate; }
.ambient-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,24,30,.25), transparent 30%, transparent 64%, rgba(15,20,24,.42)); }
@keyframes breathe { from { transform: scale(1.01); } to { transform: scale(1.075); } }
.brandbar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: max(22px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 0 max(24px, env(safe-area-inset-left)); }
.brand { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; color: white; text-decoration: none; font-weight: 750; letter-spacing: -.08em; background: rgba(20,27,31,.18); backdrop-filter: blur(12px); }
.top-actions { display: flex; align-items: flex-start; gap: 12px; }
.language-selector { display: flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(20,27,31,.12); color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .08em; backdrop-filter: blur(12px); }
.language-option { min-width: 30px; min-height: 34px; padding: 0 4px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.58); font-size: 11px; font-weight: 650; letter-spacing: .08em; cursor: pointer; transition: color .2s ease, background .2s ease; }
.language-option:hover { color: white; background: rgba(255,255,255,.08); }
.language-option.active { color: white; background: rgba(255,255,255,.16); }
.language-option:focus-visible { outline: 2px solid rgba(255,255,255,.82); outline-offset: 2px; }
.sound-control { position: relative; display: flex; flex-direction: column; align-items: flex-end; }
.sound-button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px 0 12px; border: 0; border-radius: 999px; background: rgba(20,27,31,.08); color: white; opacity: .8; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; transition: opacity .25s ease, background .25s ease; }
.sound-button:hover, .sound-button:focus-visible { opacity: 1; background: rgba(20,27,31,.2); }
.sound-button:focus-visible { outline: 2px solid rgba(255,255,255,.82); outline-offset: 3px; }
.sound-button svg { width: 19px; overflow: visible; }
.sound-button .speaker { fill: currentColor; }
.sound-button .sound-waves { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; opacity: .42; transition: opacity .25s ease; }
.sound-button.playing .sound-waves { opacity: 1; animation: soundPulse 2.4s ease-in-out infinite; }
.track-credit { position: absolute; top: 49px; right: 0; display: grid; gap: 2px; width: max-content; max-width: min(250px, calc(100vw - 96px)); padding: 11px 14px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(20,27,31,.42); color: white; text-align: right; text-decoration: none; backdrop-filter: blur(16px) saturate(115%); box-shadow: 0 10px 30px rgba(0,0,0,.13); opacity: 0; visibility: hidden; transform: translateY(-5px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.track-credit.visible { opacity: .9; visibility: visible; transform: translateY(0); pointer-events: auto; }
.track-credit:hover, .track-credit:focus-visible { opacity: 1; }
.track-credit:focus-visible { outline: 2px solid rgba(255,255,255,.82); outline-offset: 3px; }
.track-credit span { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.58); }
.track-credit strong { font-family: Georgia, serif; font-size: 15px; font-weight: 400; line-height: 1.25; }
.track-credit small { font-size: 11px; color: rgba(255,255,255,.7); }
@keyframes soundPulse { 50% { opacity: .35; } }
.quiet { min-height: 100svh; display: grid; place-items: end center; padding: 24px 24px 112px; }
.whisper { margin: 0; color: rgba(255,255,255,.88); text-shadow: 0 2px 22px rgba(0,0,0,.5); font-family: Georgia, serif; font-style: italic; font-size: clamp(17px, 2vw, 23px); letter-spacing: .02em; transition: opacity .35s ease; }
.bottom-controls { position: absolute; z-index: 3; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 10px; width: max-content; max-width: calc(100% - 24px); }
.drawer-handle { display: flex; align-items: center; gap: 11px; min-height: 50px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.42); background: rgba(20,26,30,.56); backdrop-filter: blur(18px) saturate(120%); box-shadow: 0 14px 44px rgba(0,0,0,.24); cursor: pointer; white-space: nowrap; }
.drawer-handle svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.handle-sun { color: var(--gold); font-size: 20px; }
.info-button { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; background: rgba(20,26,30,.4); color: white; font-family: Georgia, serif; font-size: 20px; font-style: italic; backdrop-filter: blur(16px); box-shadow: 0 12px 36px rgba(0,0,0,.18); cursor: pointer; transition: background .25s ease, transform .25s ease; }
.info-button:hover, .info-button:focus-visible { background: rgba(20,26,30,.68); transform: translateY(-2px); }
.info-button:focus-visible { outline: 2px solid rgba(255,255,255,.82); outline-offset: 3px; }
.info-backdrop { position: fixed; z-index: 5; inset: 0; background: rgba(10,15,18,.28); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .4s ease, visibility .4s; }
.info-backdrop.visible { opacity: 1; visibility: visible; pointer-events: auto; }
.info-drawer { position: fixed; z-index: 6; left: 0; right: 0; bottom: 0; max-height: min(88svh, 760px); transform: translateY(calc(100% + 20px)); transition: transform .55s cubic-bezier(.2,.8,.2,1); background: rgba(23,29,33,.88); backdrop-filter: blur(30px) saturate(120%); border-top: 1px solid rgba(255,255,255,.2); border-radius: 30px 30px 0 0; box-shadow: 0 -24px 80px rgba(0,0,0,.3); overflow: auto; padding-bottom: env(safe-area-inset-bottom); }
.info-drawer.open { transform: translateY(0); }
.info-content { width: min(680px, 100%); margin: 0 auto; padding: 42px 26px 34px; }
.info-content h2 { max-width: 10ch; margin: 0 0 24px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(40px, 9vw, 64px); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.info-content > p:not(.eyebrow, .info-disclaimer) { font-family: Georgia, serif; font-size: 17px; line-height: 1.58; color: rgba(255,255,255,.86); }
.info-section { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.info-section h3 { margin: 0 0 8px; color: var(--gold); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.info-section p { margin: 0; font-size: 15px; line-height: 1.58; color: rgba(255,255,255,.72); }
.info-disclaimer { margin: 28px 0 20px; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.5); }
.convertiweb-link { display: grid; gap: 5px; padding: 18px 19px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.08); color: white; text-decoration: none; transition: background .25s ease, border-color .25s ease; }
.convertiweb-link:hover, .convertiweb-link:focus-visible { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.convertiweb-link:focus-visible { outline: 2px solid rgba(255,255,255,.82); outline-offset: 3px; }
.convertiweb-link span { font-size: 13px; color: rgba(255,255,255,.68); }
.convertiweb-link strong { font-size: 17px; }
.drawer { position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; max-height: min(78svh, 680px); transform: translateY(calc(100% + 20px)); transition: transform .55s cubic-bezier(.2,.8,.2,1); background: var(--glass); backdrop-filter: blur(30px) saturate(120%); border-top: 1px solid rgba(255,255,255,.2); border-radius: 30px 30px 0 0; box-shadow: 0 -24px 80px rgba(0,0,0,.28); overflow: auto; padding-bottom: env(safe-area-inset-bottom); }
.drawer.open { transform: translateY(0); }
.drawer-grip { width: 44px; height: 4px; background: rgba(255,255,255,.38); border-radius: 4px; margin: 12px auto 0; }
.drawer-close { position: absolute; right: 22px; top: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); font-size: 24px; cursor: pointer; }
.drawer-content { width: min(680px, 100%); margin: 0 auto; padding: 42px 26px 28px; }
.eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: .18em; font-size: 12px; color: rgba(255,255,255,.66); }
.loading { padding: 24px 0; font-family: Georgia, serif; font-style: italic; font-size: 22px; }
.destination h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(42px, 8vw, 74px); line-height: .95; letter-spacing: -.045em; }
.country { display: block; margin-top: 12px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 15px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.conditions { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: baseline; margin: 24px 0 18px; }
.temperature { font-size: 27px; font-weight: 700; }
.condition, .local-time { color: rgba(255,255,255,.72); }
.place-note { font-family: Georgia, serif; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.85); max-width: 58ch; }
.learn-link { display: inline-block; color: white; text-underline-offset: 5px; margin: 3px 0 28px; }
.sun-button { width: 100%; min-height: 54px; display: flex; justify-content: space-between; align-items: center; padding: 0 19px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; background: var(--cream); color: var(--ink); font-weight: 700; cursor: pointer; }
.sun-button svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.sun-button:disabled { opacity: .55; cursor: wait; }
.note { margin: 15px 0 0; color: rgba(255,255,255,.48); font-size: 12px; text-align: center; }
.error { color: #ffe0b2; line-height: 1.5; }
@media (min-width: 800px) {
  .drawer { top: 0; bottom: 0; left: auto; width: min(480px, 42vw); max-height: none; border-radius: 28px 0 0 28px; transform: translateX(calc(100% + 20px)); border-top: 0; border-left: 1px solid rgba(255,255,255,.2); }
  .drawer.open { transform: translateX(0); }
  .drawer-grip { display: none; }
  .drawer-content { min-height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 70px 50px; }
  .sun-button { margin-top: 4px; }
  .info-drawer { top: 0; right: auto; bottom: 0; width: min(540px, 46vw); max-height: none; border-radius: 0 28px 28px 0; transform: translateX(calc(-100% - 20px)); border-top: 0; border-right: 1px solid rgba(255,255,255,.2); }
  .info-drawer.open { transform: translateX(0); }
  .info-drawer .drawer-grip { display: none; }
  .info-drawer .drawer-close { right: 24px; }
  .info-content { padding: 76px 54px 48px; }
}
@media (orientation: landscape) and (max-height: 600px) {
  .drawer { top: 0; bottom: 0; left: auto; width: min(480px, 56vw); max-height: none; border-radius: 28px 0 0 28px; transform: translateX(calc(100% + 20px)); border-top: 0; border-left: 1px solid rgba(255,255,255,.2); }
  .drawer.open { transform: translateX(0); }
  .drawer-grip { display: none; }
  .drawer-content { padding: 48px 34px 28px; }
  .destination h1 { font-size: clamp(38px, 7vw, 58px); }
  .info-drawer { top: 0; right: auto; bottom: 0; width: min(500px, 58vw); max-height: none; border-radius: 0 28px 28px 0; transform: translateX(calc(-100% - 20px)); border-top: 0; border-right: 1px solid rgba(255,255,255,.2); }
  .info-drawer.open { transform: translateX(0); }
  .info-drawer .drawer-grip { display: none; }
  .info-content { padding: 48px 34px 28px; }
  .info-content h2 { margin-bottom: 16px; font-size: clamp(36px, 6vw, 52px); }
  .info-content > p:not(.eyebrow, .info-disclaimer) { font-size: 15px; line-height: 1.45; }
  .info-section { margin-top: 18px; padding-top: 16px; }
}
@media (max-width: 480px) {
  .brandbar { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .top-actions { gap: 6px; }
  .language-selector { gap: 1px; padding: 0 5px; }
  .language-option { min-width: 26px; }
  .sound-button span { display: none; }
  .drawer-handle { font-size: 14px; }
  .whisper { text-align: center; }
  .drawer-content { padding-left: 22px; padding-right: 22px; }
  .bottom-controls { gap: 8px; }
  .drawer-handle { gap: 8px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .ambient-image { animation: none; }
  .sound-button.playing .sound-waves { animation: none; }
  .drawer { transition-duration: .01ms; }
  .info-drawer, .info-backdrop { transition-duration: .01ms; }
}
