:root {
  --brand: #492e57;
  --brand-deep: #2f1c38;
  --gold: #c9a227;
  --gold-deep: #a8841a;
  --gold-soft: #f3df9a;
  --stone: #f7f4ef;
  --ink: #111827;
  --muted: #4e5561;
  --line: rgba(17, 24, 39, 0.08);
  --shadow: 0 20px 50px rgba(26, 18, 32, 0.12);
  --sans: "IBM Plex Sans", sans-serif;
  --display: "IBM Plex Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.center { text-align: center; }
.kicker { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; font-weight: 600; color: var(--brand); margin: 0 0 0.4rem; }
.center-head { text-align: center; max-width: 680px; margin: 0 auto 1.6rem; }
.center-head h2 { margin-bottom: 0.45rem; }
.center-head p, .lede { color: var(--muted); }
.center-head h2 span, .hero h1 em { color: var(--brand); font-style: normal; }
h1, h2 { font-family: var(--display); letter-spacing: -0.035em; line-height: 1.12; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0 0 1.2rem; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin: 0 0 0.5rem; }
.beta-bar { background: var(--brand-deep); color: var(--gold-soft); text-align: center; font-size: 0.78rem; padding: 0.35rem 1rem; }
.topbar { background: #fff; border-bottom: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }
.topbar .header-inner { height: 38px; }
.topbar a:hover { color: var(--brand); }
.topbar-gap { flex: 1; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); border-bottom: 1px solid transparent; }
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 24px rgba(17,24,39,0.05); }
.header-inner { display: flex; align-items: center; gap: 1rem; width: min(1240px, calc(100% - 32px)); margin: 0 auto; min-height: 72px; }
.logo img { height: 46px; width: auto; }
.nav-root { display: flex; gap: 0.15rem; list-style: none; margin: 0 auto; padding: 0; }
.nav-root > li { position: relative; }
.nav-root a { display: block; padding: 0.55rem 0.7rem; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-root > li > a:hover { color: var(--brand); }
.nav-sub { display: none; position: absolute; top: calc(100% - 4px); left: 0; min-width: 240px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 0.45rem; list-style: none; z-index: 20; }
.nav-root > li:hover > .nav-sub, .nav-root > li:focus-within > .nav-sub { display: block; }
.nav-sub .nav-sub { top: 0; left: calc(100% - 6px); }
.nav-sub li { position: relative; }
.nav-sub a { border-radius: 10px; white-space: nowrap; }
.nav-sub a:hover { background: var(--stone); }
.has-sub > a::after { content: ""; display: inline-block; margin-left: 0.3rem; border: 4px solid transparent; border-top-color: currentColor; vertical-align: 2px; }
.nav-sub .has-sub > a::after { border-top-color: transparent; border-left-color: currentColor; }
.header-actions { display: flex; align-items: center; gap: 0.45rem; }
.icon-btn, .btn { border: 0; cursor: pointer; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.8rem 1.15rem; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 600; }
.btn.ghost { background: #fff; color: var(--brand); box-shadow: inset 0 0 0 1px rgba(73,46,87,0.25); }
.btn.small, .pass-btn { padding: 0.55rem 0.95rem; background: #fff; color: var(--ink); box-shadow: 0 8px 20px rgba(17,24,39,0.08); }
.menu-toggle { display: none; }
.is-home .topbar, .is-home .site-header { background: transparent; border-color: transparent; position: relative; z-index: 5; }
.is-home .hero { margin-top: -110px; }
.is-home .site-header.is-stuck { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.94); }
.hero { position: relative; min-height: 92vh; display: grid; align-items: end; color: #fff; background: #1a1220; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 22%, rgba(17,24,39,0.15) 48%, rgba(17,24,39,0.55) 100%); }
.hero-copy { position: relative; z-index: 1; padding: 7rem 0 3.2rem; text-align: center; }
.hero h1 { text-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.hero h1 em { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.search-card { width: min(860px, 100%); margin: 0 auto; background: rgba(255,255,255,0.96); color: var(--ink); border-radius: 22px; padding: 0.7rem; box-shadow: var(--shadow); text-align: left; }
.tabs { display: flex; gap: 0.25rem; margin-bottom: 0.55rem; }
.tabs button { background: transparent; border: 0; border-radius: 12px 12px 0 0; padding: 0.55rem 0.9rem; cursor: pointer; color: var(--muted); font-weight: 600; }
.tabs button.active { background: var(--stone); color: var(--brand); }
.search-row { display: grid; grid-template-columns: 1.4fr 0.8fr auto; gap: 0.7rem; align-items: end; }
label { display: block; font-size: 0.78rem; color: var(--muted); margin-bottom: 0.25rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 0.8rem 0.85rem; color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
.section { padding: 4.2rem 0; }
.sights { background: #fff; }
.rail { position: relative; }
.rail-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.2rem 2.5rem 0.6rem; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-btn { position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); cursor: pointer; font-size: 1.4rem; color: var(--ink); }
.rail-btn.prev { left: 0; }
.rail-btn.next { right: 0; }
.sight { flex: 0 0 250px; scroll-snap-align: start; color: #fff; }
.sight img { height: 170px; width: 100%; object-fit: cover; border-radius: 18px; }
.sight strong { display: block; margin-top: 0.7rem; text-align: center; color: var(--ink); font-size: 1rem; }
.announce { background: linear-gradient(180deg, #fff, var(--stone)); }
.announce-card { flex: 0 0 320px; scroll-snap-align: start; text-align: left; background: #fff; border: 0; border-radius: 18px; padding: 1.1rem 1.15rem 1.2rem; box-shadow: 0 10px 30px rgba(17,24,39,0.06); cursor: pointer; }
.announce-card span { display: inline-block; background: var(--gold-soft); color: var(--brand-deep); border-radius: 999px; padding: 0.15rem 0.55rem; font-size: 0.75rem; font-weight: 600; }
.announce-card strong { display: block; margin: 0.7rem 0 0.35rem; font-size: 1.05rem; }
.announce-card p { margin: 0; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.chip-row { display: flex; gap: 0.45rem; flex-wrap: wrap; }
.chip-row.center { justify-content: center; margin-bottom: 1.2rem; }
.chip { border: 0; background: var(--stone); color: var(--ink); border-radius: 999px; padding: 0.55rem 1rem; cursor: pointer; font-weight: 600; }
.chip.active, .chip:hover { background: var(--brand); color: #fff; }
.place-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.place-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 32px rgba(17,24,39,0.06); }
.place-card img { height: 210px; width: 100%; object-fit: cover; }
.place-card div { padding: 0.95rem 1rem 1.1rem; text-align: center; }
.place-card strong { display: block; margin-bottom: 0.3rem; }
.place-card p { margin: 0; color: var(--muted); font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.about-band { background: var(--stone); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; border-radius: 28px; min-height: 360px; object-fit: cover; }
.about-float { position: absolute; left: 1rem; bottom: 1rem; background: #fff; border-radius: 16px; padding: 0.7rem 0.9rem; box-shadow: var(--shadow); }
.about-float small { display: block; color: var(--muted); }
.about-float strong { font-size: 1.4rem; }
.about-points p { margin: 0 0 0.7rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.4rem; }
.stats div { background: #fff; border-radius: 18px; padding: 1rem 1.1rem; }
.stats small { color: var(--muted); display: block; }
.stats strong { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.04em; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.guide-card { display: grid; grid-template-columns: 112px 1fr; gap: 0.8rem; background: #fff; border-radius: 22px; padding: 0.7rem; box-shadow: 0 12px 32px rgba(17,24,39,0.06); }
.guide-card img { width: 112px; height: 140px; object-fit: cover; border-radius: 16px; background: #efe8f2; }
.guide-card strong { display: block; font-size: 1.05rem; }
.guide-card p, .guide-card li { color: var(--muted); font-size: 0.88rem; }
.guide-card ul { list-style: none; margin: 0.4rem 0 0; padding: 0; }
.stars { color: var(--gold-deep); letter-spacing: 0.05em; }
.stars em { color: var(--muted); font-style: normal; font-size: 0.8rem; }
.video-band { display: grid; place-items: center; min-height: 240px; color: #fff; background: #1a1220 center/cover url("https://cogito.istanbul/assets/img/about.png"); position: relative; }
.video-band::before { content: ""; position: absolute; inset: 0; background: rgba(26,18,32,0.45); }
.video-band span { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); font-size: 0; }
.video-band span::before { content: ""; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--brand); margin-left: 4px; }
.partners { padding-top: 2rem; }
.partner-row { display: flex; gap: 1.5rem; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.partner-row img { height: 42px; width: auto; object-fit: contain; filter: grayscale(1); opacity: 0.8; }
.newsletter { background: var(--brand); color: #fff; border-radius: 28px; padding: 2.4rem 1.4rem; text-align: center; }
.newsletter p { color: rgba(255,255,255,0.8); }
.newsletter form { display: flex; gap: 0.5rem; justify-content: center; max-width: 520px; margin: 1rem auto 0; }
.newsletter input { background: #fff; }
.faq-home .narrow { max-width: 760px; margin: 0 auto; }
.page-hero { padding: 4.5rem 0 2rem; background: linear-gradient(180deg, var(--stone), #fff); min-height: 220px; }
.page-hero h1 { margin-bottom: 0.4rem; }
.grid { display: grid; gap: 1rem; }
.grid.cards { grid-template-columns: repeat(3, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: 1.15fr 0.85fr; }
.card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 32px rgba(17,24,39,0.06); }
.card .media { aspect-ratio: 16/10; overflow: hidden; background: var(--stone); }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 1rem 1.05rem 1.15rem; }
.card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.prose { font-size: 1.05rem; }
.prose img { border-radius: 16px; }
.modal { position: fixed; inset: 0; background: rgba(26,18,32,0.55); display: none; align-items: center; justify-content: center; z-index: 60; padding: 1rem; }
.modal.open { display: flex; }
.modal .panel { width: min(520px, 100%); background: #fff; border-radius: 24px; padding: 1.3rem; max-height: min(88vh, 820px); overflow: auto; }
.modal .panel.wide { width: min(960px, 100%); height: min(86vh, 820px); display: flex; flex-direction: column; }
.modal iframe { flex: 1; border: 0; border-radius: 16px; background: #fff; }
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,0.82); padding: 3rem 0 1.4rem; }
.site-footer a:hover { color: var(--gold-soft); }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 1.5rem; }
.site-footer h4 { color: #fff; margin: 0 0 0.7rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.stores { display: flex; gap: 0.5rem; margin-top: 0.8rem; }
.stores img { height: 40px; }
.legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.85rem; }
.notice { padding: 0.8rem 1rem; border-radius: 14px; background: var(--stone); margin: 0.8rem 0; }
.notice.ok { background: #eef8f1; }
.notice.bad { background: #fdecec; }
.account-nav { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.map-layout { display: grid; grid-template-columns: 320px 1fr; gap: 1rem; min-height: 70vh; }
#mapCanvas, #metroMap { min-height: 70vh; border-radius: 20px; }
.faq details { background: #fff; border-radius: 16px; padding: 0.9rem 1rem; margin-bottom: 0.6rem; box-shadow: 0 8px 24px rgba(17,24,39,0.04); }
.faq summary { cursor: pointer; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.full { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-root { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; background: #fff; flex-direction: column; padding: 0.6rem; border-bottom: 1px solid var(--line); }
  .nav-root.open { display: flex; }
  .nav-sub, .nav-root > li:hover > .nav-sub { position: static; display: none; box-shadow: none; }
  .nav-root > li.open > .nav-sub { display: block; }
  .place-grid, .guide-grid, .stats, .grid.cards, .grid.three, .foot-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .search-row, .map-layout, .form-grid, .newsletter form { grid-template-columns: 1fr; display: grid; }
}
@media (max-width: 640px) {
  .place-grid, .guide-grid, .stats, .grid.cards, .grid.three, .foot-grid, .guide-card { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .hero { min-height: 100vh; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
html.dark body { background: #121016; color: #fafcff; }
html.dark .site-header, html.dark .topbar, html.dark .card, html.dark .search-card, html.dark .modal .panel, html.dark input, html.dark select, html.dark textarea, html.dark .faq details, html.dark .announce-card, html.dark .place-card, html.dark .guide-card, html.dark .stats div { background: #1c1822; color: #fafcff; }
html.dark .lede, html.dark .center-head p, html.dark .place-card p, html.dark label { color: #c8c2cf; }
html.dark .section, html.dark .sights { background: #121016; }
html.dark .about-band, html.dark .announce { background: #19161e; }
