/* ── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BODY ───────────────────────────────────────────────── */
body {
  background: #f1f1f1;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #111;
  min-height: 100vh;
}

/* ── HEADER ─────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 1.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.header-left-text h1 {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-left-text a { text-decoration: none; color: inherit; }

.header-left-text .subtitle {
  font-size: 0.7rem;
  color: #666;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 3px;
}

.header-right {
  display: flex;
  align-items: center;
}

/* ── LIVE CLOCKS & WEATHER ───────────────────────────────── */
.times {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
  color: #333;
  line-height: 1;
}

.times .city {
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #111;
}

.times .sep { color: #ccc; font-size: 0.9rem; }
.weather-icon { font-size: 0.85rem; line-height: 1; }
.weather-loading { opacity: 0.4; font-size: 0.65rem; }

/* ── FLOATING NAV ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 5.1rem;
  right: 1.75rem;
  z-index: 300;
  background: transparent;
  padding: 0.25rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

nav a {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #222;
  padding: 0.2rem 0.7rem;
  background: rgba(255,255,255,0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, background 0.15s;
}

nav a:hover      { border-bottom-color: #222; background: rgba(255,255,255,0.82); }
nav a.active     { border-bottom-color: #222; }

/* ── CURIOUS? SPOTLIGHT ──────────────────────────────────── */
.nav-curious { position: relative; display: inline-block; }

.nav-curious::before {
  content: '';
  position: absolute;
  inset: -6px -10px;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 200, 60, 0.55) 0%,
    rgba(255, 180, 40, 0.15) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
  border-radius: 2px;
}

.nav-curious:hover::before { opacity: 1; }

/* ── MAIN (shared) ───────────────────────────────────────── */
main {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 112px 0 6rem;
}

/* ── PAGE TITLE (shared) ─────────────────────────────────── */
.page-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 3rem;
}

/* ── SECTION LABEL (shared) ──────────────────────────────── */
.section-label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 1.5rem;
}

/* ── FOOTER ──────────────────────────────────────────────── */
footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0, 0, 0, 0.09);
  padding: 0.55rem 1.75rem;
  font-size: 0.62rem;
  color: #aaa;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer a       { color: #aaa; text-decoration: none; }
footer a:hover { color: #555; }
footer .sep    { margin: 0 0.5rem; }

/* ── RESPONSIVE SHARED ───────────────────────────────────── */
@media (max-width: 900px) {
  main { width: 88%; }
}

@media (max-width: 600px) {
  header { padding: 0.75rem 1.25rem; align-items: center; }
  .logo-mark { width: 28px; height: 28px; }
  .header-left-text h1 { font-size: 0.85rem; }
  .times { font-size: 0.62rem; gap: 0.4rem; }
  nav { top: 4.5rem; right: 1.25rem; }
  main { width: 92%; }
}

@media (max-width: 480px) {
  .header-left-text .subtitle {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52vw;
  }
  .header-right { display: none; }
  nav { top: 3.6rem; right: 1rem; gap: 2px; }
  nav a { font-size: 0.65rem; padding: 0.15rem 0.5rem; }
  main { padding-top: 88px; }
}
