/* Plejar showcase: a social app for travel in Bangladesh */

:root {
  --sans: 'Schibsted Grotesk', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bangla: 'Tiro Bangla', 'Noto Serif Bengali', serif;

  --paper: #f5f7f2;
  --white: #ffffff;
  --ink: #10261f;
  --ink-soft: #435a51;
  --ink-faint: #6f8279;
  --line: #d8e2da;
  --tea: #1f7a55;
  --tea-deep: #155a3e;
  --tea-wash: #e3efe8;
  --marigold: #f2b21b;
  --pink: #e5336d;

  --step-1: 1.2rem;
  --step-2: 1.44rem;
  --step-3: clamp(1.75rem, 3vw, 2.4rem);
  --step-4: clamp(2.6rem, 5.6vw, 4.6rem);

  --shadow: 0 30px 60px -28px rgba(16, 38, 31, 0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  background: var(--paper); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 300; }
.skip:focus { top: 12px; }
.bn { font-family: var(--bangla); font-weight: 400; }

.h2 { font-size: var(--step-3); line-height: 1.12; font-weight: 700; letter-spacing: -0.025em; max-width: 20ch; }
.h3 { font-size: var(--step-2); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }

.v { width: 15px; height: 15px; color: var(--tea); display: inline-block; vertical-align: -2px; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--marigold); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* Nav: transparent over the hero photo, solid once scrolled */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease; }
.nav.is-solid { background: rgba(245, 247, 242, 0.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-inner { display: flex; align-items: center; gap: 40px; height: 68px; }
.logo { font-size: 1.55rem; font-weight: 800; letter-spacing: -0.045em; text-decoration: none; display: inline-flex; align-items: baseline; }
.logo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); margin-left: 2px; }
.nav-links { display: flex; gap: 30px; margin-right: auto; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.95rem; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }
.nav-cta { padding: 9px 18px; font-size: 0.9rem; }
.nav.is-solid .nav-cta { background: var(--ink); color: #fff; }
.nav.is-solid .nav-cta:hover { background: var(--tea); }
.lang-toggle {
  background: none; border: 1.5px solid currentColor; border-radius: 999px;
  padding: 6px 14px; font-weight: 600; font-size: 0.9rem; line-height: 1.2; opacity: 0.9;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-toggle:lang(bn) { font-family: 'Noto Sans Bengali', var(--sans); }
.lang-toggle:hover { opacity: 1; background: rgba(255, 255, 255, 0.14); }
.nav.is-solid .lang-toggle:hover { background: var(--tea-wash); }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; border-radius: 8px; padding: 7px; opacity: 0.85; }
.nav-toggle svg { width: 20px; height: 20px; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 20, 16, 0.62) 0%, rgba(8, 20, 16, 0.35) 38%, rgba(8, 20, 16, 0) 62%),
    linear-gradient(180deg, rgba(8, 20, 16, 0.4) 0%, rgba(8, 20, 16, 0) 24%, rgba(8, 20, 16, 0) 55%, rgba(8, 20, 16, 0.6) 100%);
}
.hero-inner { position: relative; width: 100%; padding-bottom: 96px; }
.hero-title { font-size: var(--step-4); line-height: 0.98; font-weight: 800; letter-spacing: -0.045em; max-width: 15ch; text-wrap: balance; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25); }
.hero-text { font-size: 1.15rem; max-width: 46ch; margin-top: 22px; color: rgba(255, 255, 255, 0.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-place { position: absolute; right: 24px; bottom: 28px; text-align: right; font-size: 0.8rem; color: rgba(255, 255, 255, 0.78); line-height: 1.35; }
.hero-place .bn { display: block; font-size: 1.35rem; color: #fff; }

/* The single page-load moment: the hero photo settles into place */
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: settle 2.4s cubic-bezier(0.2, 0.6, 0.2, 1) both; }
  .hero-title, .hero-text, .hero-actions { animation: rise 0.9s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-text { animation-delay: 0.4s; }
  .hero-actions { animation-delay: 0.55s; }
}
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* What it is */
.what { padding: 120px 0 110px; }
.what-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 22px 0 36px; max-width: 52ch; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.facts > div { border-top: 2px solid var(--ink); padding-top: 14px; }
.facts dt { font-weight: 700; margin-bottom: 6px; }
.facts dd { color: var(--ink-soft); font-size: 0.95rem; }

/* Phone mockup */
.phone {
  width: 100%; max-width: 330px; justify-self: center;
  background: var(--ink); border-radius: 44px; padding: 12px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(16, 38, 31, 0.08);
  transform: rotate(2deg);
}
.phone-screen { background: var(--white); border-radius: 34px; overflow: hidden; }
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 16px 10px; }
.logo-sm { font-size: 1.15rem; }
.logo-sm .logo-dot { width: 6px; height: 6px; }
.app-tabs { display: flex; gap: 12px; font-size: 0.78rem; color: var(--ink-faint); }
.app-tabs b { color: var(--ink); font-weight: 700; }
.app-post header { display: flex; align-items: center; gap: 10px; padding: 8px 14px; }
.app-post header strong { display: flex; align-items: center; gap: 4px; font-size: 0.85rem; }
.app-post header small { display: flex; align-items: center; gap: 3px; font-size: 0.74rem; color: var(--ink-faint); }
.pin { width: 12px; height: 12px; }
.app-post img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.app-actions { display: flex; gap: 14px; padding: 12px 14px 6px; }
.app-actions svg { width: 22px; height: 22px; }
.app-actions .push { margin-left: auto; }
.app-post p { padding: 0 14px 20px; font-size: 0.82rem; line-height: 1.45; }
.app-post p b { display: block; }

.avatar {
  --hue: 152;
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: hsl(var(--hue) 45% 88%); color: hsl(var(--hue) 55% 25%);
  font-weight: 700; font-size: 0.78rem;
}
.avatar-lg { width: 60px; height: 60px; font-size: 1.05rem; }

/* Features */
.features { padding: 40px 0 120px; }
.features-title { margin-bottom: 72px; }
.feature { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 80px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature-flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.feature-copy p { color: var(--ink-soft); margin: 14px 0 22px; max-width: 50ch; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-weight: 500; }
.ticks li::before {
  content: ''; position: absolute; left: 3px; top: 7px; width: 13px; height: 7px;
  border-left: 2.5px solid var(--tea); border-bottom: 2.5px solid var(--tea); transform: rotate(-45deg);
}

.feature-shot { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--white); }
.feature-shot > img { width: 100%; height: 100%; object-fit: cover; }
.shot-photo { aspect-ratio: 4 / 3; }

.overlay-post {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.95); border-radius: 16px; padding: 14px 16px;
  font-size: 0.9rem; line-height: 1.4;
}
.overlay-post small { display: block; color: var(--ink-soft); margin-top: 4px; font-size: 0.85rem; }

.shot-profile .profile-cover { height: 210px; }
.profile-body { padding: 0 26px 26px; }
.profile-body .avatar-lg { position: relative; margin-top: -30px; border: 4px solid var(--white); }
.profile-name { margin-top: 10px; }
.profile-name strong { display: flex; align-items: center; gap: 6px; font-size: 1.2rem; }
.profile-name small { color: var(--ink-faint); }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.profile-stats div { padding: 12px 0; }
.profile-stats div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.profile-stats dt { font-weight: 800; font-size: 1.3rem; }
.profile-stats dd { font-size: 0.8rem; color: var(--ink-faint); }
.profile-review { font-size: 0.95rem; line-height: 1.5; padding-left: 14px; border-left: 3px solid var(--marigold); }
.profile-review cite { display: block; font-style: normal; font-size: 0.8rem; color: var(--ink-faint); margin-top: 6px; }

.shot-guide { aspect-ratio: 5 / 4; }
.guide-card {
  position: absolute; left: 20px; bottom: 20px; width: min(320px, calc(100% - 40px));
  background: var(--white); border-radius: 16px; padding: 18px 20px;
}
.guide-card .bn { display: block; font-size: 2rem; line-height: 1.2; color: var(--tea-deep); }
.guide-card > strong { display: block; margin-bottom: 12px; }
.guide-card dl { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; }
.guide-card dl div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; }
.guide-card dt { color: var(--ink-faint); }

.shot-plan { aspect-ratio: 4 / 3; }
.plan-card {
  position: absolute; right: 20px; top: 20px; bottom: 20px; width: min(310px, calc(100% - 40px));
  background: var(--white); border-radius: 16px; padding: 20px; display: flex; flex-direction: column;
}
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 16px; }
.faces { display: flex; }
.faces .avatar { width: 28px; height: 28px; font-size: 0.7rem; border: 2px solid var(--white); margin-left: -8px; }
.plan-card ol { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 0.9rem; }
.plan-card li { padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.plan-card li:last-child { border-bottom: none; }
.plan-card li span { display: block; font-weight: 700; color: var(--tea); font-size: 0.8rem; }

/* Places gallery: the loud part of the page */
.places { padding: 110px 0; background: var(--ink); color: #eef4ef; }
.places-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.places-head p { color: #b6c8bf; max-width: 46ch; }
.gallery {
  list-style: none; display: grid; gap: 14px;
  grid-template-columns: repeat(12, 1fr); grid-template-rows: 300px 300px;
  grid-template-areas:
    "cox cox cox cox cox sund sund sund sajek sajek sajek sajek"
    "stm stm stm stm stm sund sund sund haor haor haor haor";
}
.gallery li { position: relative; border-radius: 18px; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery li:hover img { transform: scale(1.04); }
.gallery li::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 20, 16, 0.7)); }
.g-cox { grid-area: cox; }
.g-sund { grid-area: sund; }
.g-sajek { grid-area: sajek; }
.g-stm { grid-area: stm; }
.g-haor { grid-area: haor; }
.g-label { position: absolute; left: 20px; bottom: 16px; z-index: 1; color: #fff; font-weight: 600; font-size: 0.92rem; line-height: 1.2; }
.g-label .bn { display: block; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.25; font-weight: 400; }

/* For travelers */
.travelers { padding: 110px 0 100px; }
.travelers-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.travelers-head p { color: var(--ink-soft); max-width: 46ch; }
.traveler-points { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.traveler-points li { border-top: 2px solid var(--ink); padding-top: 16px; }
.traveler-points strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.traveler-points span { color: var(--ink-soft); font-size: 0.95rem; }

/* For tour agents */
.agents { padding: 110px 0; background: var(--tea-deep); color: #eef6f1; }
.agents-inner { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 72px; align-items: start; }
.agents-copy { position: sticky; top: 104px; }
.agents-lead { color: #c3dacd; font-size: 1.08rem; margin: 18px 0 32px; max-width: 46ch; }
.agent-points { list-style: none; }
.agent-points li { padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, 0.16); color: #c3dacd; }
.agent-points strong { color: #fff; }

.agent-form-card { background: var(--white); color: var(--ink); border-radius: 22px; padding: 32px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.agent-form h3, .agent-done h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.01em; }
.form-hint { font-size: 0.88rem; color: var(--ink-faint); margin: 4px 0 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa9a1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--tea); background: var(--white); box-shadow: 0 0 0 3px var(--tea-wash); }
.field input[aria-invalid="true"] { border-color: var(--pink); }
.form-error { background: #fde8ee; color: #a3123f; border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; margin-bottom: 14px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--tea); }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

.join-text { color: var(--ink-soft); margin: 8px 0 22px; }
.join-steps { list-style: none; counter-reset: join; display: grid; gap: 18px; margin-bottom: 26px; }
.join-steps li { counter-increment: join; position: relative; padding-left: 46px; }
.join-steps li::before {
  content: counter(join); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tea-wash); color: var(--tea-deep); font-weight: 700; font-size: 0.9rem;
}
.join-steps strong { display: block; }
.join-steps span { display: block; color: var(--ink-soft); font-size: 0.92rem; }
.join-status { display: block; text-align: center; margin-top: 14px; font-weight: 600; font-size: 0.92rem; color: var(--tea-deep); text-underline-offset: 3px; }

.agent-done { text-align: center; padding: 40px 8px; }
.agent-done::before {
  content: ''; display: block; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--tea-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f7a55' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 26px no-repeat;
}
.agent-done p { color: var(--ink-soft); margin: 8px auto 22px; max-width: 36ch; }
.agent-done:focus { outline: none; }

/* Updates */
.updates { position: relative; padding: 140px 0; color: #fff; overflow: hidden; }
.updates-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.updates-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(8, 24, 18, 0.72) 0%, rgba(8, 24, 18, 0.5) 70%); }
.updates-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.updates .h2 { max-width: 24ch; text-wrap: balance; }
.updates-inner > p { max-width: 50ch; margin-top: 14px; color: rgba(255, 255, 255, 0.88); }
.updates-form { display: flex; gap: 8px; width: 100%; max-width: 480px; margin-top: 30px; padding: 6px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.updates-form input { flex: 1; min-width: 0; background: none; border: none; color: #fff; font: inherit; padding: 0 16px; outline: none; }
.updates-form input::placeholder { color: rgba(255, 255, 255, 0.7); }
.updates-form:focus-within { border-color: #fff; }
.updates-note { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7) !important; margin-top: 12px !important; }

/* Footer */
.footer { padding: 56px 0 40px; font-size: 0.9rem; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.footer-brand p { color: var(--ink-soft); margin-top: 8px; }
.footer-copy { font-size: 0.85rem; color: var(--ink-faint) !important; }
.credits h3 { font-size: 0.95rem; margin-bottom: 4px; }
.credits > p { color: var(--ink-faint); margin-bottom: 12px; }
.credits ul { list-style: none; columns: 2; column-gap: 32px; color: var(--ink-soft); font-size: 0.84rem; }
.credits li { break-inside: avoid; padding: 3px 0; }
.credits a { color: var(--ink); text-underline-offset: 2px; }

/* Bangla mode: Bangla script needs no negative tracking and more room between lines */
html[lang="bn"] body { line-height: 1.75; }
html[lang="bn"] .hero-title { letter-spacing: 0; line-height: 1.25; max-width: 16ch; }
html[lang="bn"] .h2, html[lang="bn"] .h3, html[lang="bn"] .feature-copy h3 { letter-spacing: 0; line-height: 1.4; }
html[lang="bn"] .hero-text, html[lang="bn"] .lead { line-height: 1.8; }
html[lang="bn"] .facts dt, html[lang="bn"] .traveler-points strong { line-height: 1.5; }
html[lang="bn"] .btn { font-weight: 600; }

/* Toasts */
.toast-container { position: fixed; right: 20px; bottom: 20px; z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-width: 260px; max-width: 380px; padding: 12px 14px; border-radius: 12px;
  background: var(--ink); color: #fff; font-size: 0.9rem; border-left: 4px solid #5fd3a0;
  box-shadow: 0 16px 30px -12px rgba(16, 38, 31, 0.5); transition: opacity 0.3s ease;
}
.toast.error { border-left-color: var(--pink); }
.toast.info { border-left-color: var(--marigold); }
.toast button { background: none; border: none; color: #b6c8bf; font-size: 1.1rem; }

/* Responsive */
@media (max-width: 1000px) {
  .what-inner, .feature { grid-template-columns: 1fr; gap: 48px; }
  .feature-flip .feature-copy { order: 0; }
  .feature + .feature { margin-top: 96px; }
  .gallery {
    grid-template-columns: 1fr 1fr; grid-template-rows: 260px 360px 260px;
    grid-template-areas: "cox cox" "sund sajek" "stm haor";
  }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner { gap: 16px; }
  .lang-toggle { margin-left: auto; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; display: none;
    flex-direction: column; gap: 0; padding: 4px 24px 12px;
    background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 1; }
  .places-head, .travelers-head, .agents-inner, .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .agents-inner { gap: 44px; }
  .agents-copy { position: static; }
  .traveler-points { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .nav-cta { display: none; }
  .nav-inner { gap: 10px; }
  .hero-inner { padding-bottom: 104px; }
  .hero-shade { background: linear-gradient(180deg, rgba(8, 20, 16, 0.4) 0%, rgba(8, 20, 16, 0) 22%, rgba(8, 20, 16, 0.35) 42%, rgba(8, 20, 16, 0.82) 100%); }
  .hero-text { font-size: 1.02rem; }
  .hero-place { left: 16px; right: auto; text-align: left; bottom: 24px; }
  .what { padding: 80px 0; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .phone { transform: none; }
  .features { padding-bottom: 88px; }
  .features-title { margin-bottom: 48px; }
  .feature { gap: 28px; }
  .feature + .feature { margin-top: 72px; }
  .shot-photo, .shot-guide { aspect-ratio: auto; }
  .shot-photo > img, .shot-guide > img { aspect-ratio: 4 / 3; height: auto; }
  .overlay-post, .guide-card { position: static; width: auto; border-radius: 0; }
  .shot-plan { aspect-ratio: auto; }
  .shot-plan > img { aspect-ratio: 16 / 9; height: auto; }
  .plan-card { position: static; width: auto; border-radius: 0; }
  .places, .travelers, .agents { padding: 80px 0; }
  .traveler-points { grid-template-columns: 1fr; gap: 24px; }
  .agent-form-card { padding: 22px 18px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: none; grid-auto-rows: 240px; }
  .gallery li { grid-area: auto; }
  .updates { padding: 96px 0; }
  .updates-form { flex-direction: column; border-radius: 20px; padding: 8px; }
  .updates-form input { padding: 10px 12px; }
  .credits ul { columns: 1; }
  .toast-container { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
}

/* Auth in Header & Google Sign-In Modal */
.nav-signin {
  padding: 8px 16px;
  font-size: 0.88rem;
  cursor: pointer;
  background: none;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-weight: 600;
  transition: all 0.15s ease;
}
.nav-signin:hover {
  background: rgba(255, 255, 255, 0.14);
}
.nav.is-solid .nav-signin {
  border-color: var(--line);
  color: var(--ink);
}
.nav.is-solid .nav-signin:hover {
  background: var(--paper);
  border-color: var(--ink-soft);
}

.nav-user-badge {
  position: relative;
}
.nav-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.15s ease;
}
.nav.is-solid .nav-user-btn {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.nav-user-btn:hover {
  border-color: var(--marigold);
}
.nav-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--tea-wash);
}
.nav-user-name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
  animation: modalScale 0.15s ease;
}
.nav-user-dropdown[hidden] {
  display: none !important;
}
.dropdown-header {
  padding: 6px 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}
.dropdown-header strong {
  font-size: 0.95rem;
  color: var(--ink);
}
.dropdown-header span {
  font-size: 0.8rem;
  color: var(--ink-soft);
  word-break: break-all;
}
.badge-role {
  display: inline-block;
  margin-top: 6px;
  align-self: flex-start;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--tea-wash);
  color: var(--tea-deep);
}
.dropdown-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0 6px;
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.dropdown-item:hover {
  background: var(--paper);
}
.dropdown-logout {
  color: var(--danger);
}
.dropdown-logout:hover {
  background: var(--danger-wash);
}

/* Auth Modal */
.auth-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.auth-modal-backdrop[hidden] {
  display: none !important;
}
.auth-modal-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
  animation: modalScale 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalScale {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.auth-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.auth-modal-close:hover {
  background: var(--line);
  color: var(--ink);
}
.auth-modal-header {
  margin-bottom: 20px;
}
.auth-modal-header .logo {
  margin-bottom: 12px;
}
.auth-modal-header h2 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.auth-modal-sub {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.auth-modal-alert {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.86rem;
  margin-bottom: 16px;
  text-align: left;
}
.auth-modal-alert.error {
  background: var(--danger-wash);
  color: var(--danger);
  border: 1px solid rgba(220, 38, 38, 0.2);
}
.auth-modal-alert.success {
  background: var(--tea-wash);
  color: var(--tea-deep);
  border: 1px solid rgba(13, 148, 136, 0.2);
}
.google-auth-container {
  display: flex;
  justify-content: center;
  margin: 16px 0;
}
.google-btn-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
}
.google-btn-wrapper iframe {
  margin: 0 auto !important;
}
.google-auth-unconfigured {
  text-align: center;
  width: 100%;
}
.btn-google-disabled {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px dashed var(--line);
  background: var(--paper);
  color: var(--ink-faint);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: not-allowed;
  opacity: 0.85;
}
.google-auth-hint {
  font-size: 0.75rem;
  color: var(--ink-faint);
  margin-top: 6px;
}
.auth-modal-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  line-height: 1.4;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.auth-modal-note a {
  color: var(--tea-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
