/* =============================================
   cocohoshi - 星空観測サービス
   株式会社ヒューマニティドットジャパン
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300&family=Noto+Sans+JP:wght@300;400;500&family=Space+Mono:wght@400;700&display=swap');

/* ── CSS Variables ── */
:root {
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Dark theme (default) */
  --bg-primary: #06060f;
  --bg-secondary: #0d0d1a;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --bg-glass: rgba(10,10,30,0.7);

  --text-primary: #e8e4f0;
  --text-secondary: #9b96b0;
  --text-muted: #5c5775;
  --text-accent: #c9b8f5;

  --accent: #7c5cbf;
  --accent-soft: rgba(124,92,191,0.2);
  --accent-glow: rgba(124,92,191,0.4);
  --star-gold: #f0d080;
  --star-blue: #8ab4e8;
  --star-teal: #5dd4c8;
  --danger: #e07070;
  --success: #6dcc8a;
  --warning: #e0b860;

  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(124,92,191,0.4);
  --shadow: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 40px rgba(124,92,191,0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
}

/* ── Light Theme ── */
[data-theme="light"] {
  --bg-primary: #f4f2fc;
  --bg-secondary: #ece8f8;
  --bg-card: rgba(255,255,255,0.8);
  --bg-card-hover: rgba(255,255,255,0.95);
  --bg-glass: rgba(240,236,252,0.85);

  --text-primary: #1a1730;
  --text-secondary: #4a4465;
  --text-muted: #8a84a0;
  --text-accent: #5a3a9f;

  --accent: #6042b0;
  --accent-soft: rgba(96,66,176,0.1);
  --accent-glow: rgba(96,66,176,0.2);
  --star-gold: #b08020;
  --star-blue: #3a74b8;
  --star-teal: #2a9490;
  --danger: #c04040;
  --success: #3a9450;
  --warning: #b07030;

  --border: rgba(0,0,0,0.1);
  --border-accent: rgba(96,66,176,0.3);
  --shadow: 0 8px 32px rgba(80,60,160,0.12);
  --shadow-glow: 0 0 40px rgba(96,66,176,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

/* ── Starfield Canvas (dark only) ── */
#starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  transition: opacity 0.6s ease;
}
[data-theme="light"] #starfield { opacity: 0; }

/* ── Background nebula ── */
.nebula-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.nebula-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  top: -100px; left: -100px;
  background: radial-gradient(circle, rgba(100,60,200,0.12) 0%, transparent 70%);
  animation: drift 20s ease-in-out infinite;
}
.nebula-bg::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  bottom: -100px; right: -100px;
  background: radial-gradient(circle, rgba(60,120,200,0.10) 0%, transparent 70%);
  animation: drift 25s ease-in-out infinite reverse;
}
[data-theme="light"] .nebula-bg::before {
  background: radial-gradient(circle, rgba(140,100,255,0.06) 0%, transparent 70%);
}
[data-theme="light"] .nebula-bg::after {
  background: radial-gradient(circle, rgba(80,160,220,0.05) 0%, transparent 70%);
}
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.1); }
  66% { transform: translate(-20px,40px) scale(0.9); }
}

/* ── Layout ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Header ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: box-shadow 0.3s;
}
.logo:hover .logo-icon { box-shadow: 0 0 16px var(--accent-glow); }
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}
.logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav a {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  font-family: var(--font-body);
  white-space: nowrap;
}
nav a:hover, nav a.active {
  color: var(--text-accent);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
#theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
}
#theme-toggle:hover {
  border-color: var(--border-accent);
  background: var(--accent-soft);
  color: var(--text-accent);
}

/* ── Main Content ── */
main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}

/* ── Hero Section ── */
.hero {
  text-align: center;
  padding: 60px 0 50px;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}
.hero h1 em {
  font-style: italic;
  color: var(--text-accent);
}
.hero-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Location Search ── */
.search-bar {
  display: flex;
  align-items: center;
  max-width: 520px;
  margin: 0 auto 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 6px 6px 6px 20px;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.search-bar:focus-within {
  border-color: var(--border-accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-body);
}
.search-bar input::placeholder { color: var(--text-muted); }
.btn-gps, .btn-search {
  height: 40px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-family: var(--font-body);
  display: flex; align-items: center; gap: 6px;
  padding: 0 18px;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-gps {
  background: var(--accent-soft);
  color: var(--text-accent);
  border: 1px solid var(--border-accent);
}
.btn-gps:hover { background: var(--accent); color: #fff; }
.btn-search {
  background: var(--accent);
  color: #fff;
}
.btn-search:hover { filter: brightness(1.15); }

/* ── Section Title ── */
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.section-title span { color: var(--text-accent); font-style: italic; }
.section-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

/* ── Observation Card (main result) ── */
.obs-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s;
}
.obs-card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-glow); }

.obs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}
.obs-location h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.obs-location p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  font-family: var(--font-mono);
}
.obs-time {
  text-align: right;
}
.obs-time .time-label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.obs-time .time-value {
  font-family: var(--font-mono);
  font-size: 28px;
  color: var(--text-accent);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Seeing Score ── */
.seeing-score {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-bottom: 28px;
}
.seeing-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.seeing-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: conic-gradient(var(--accent) var(--score-pct,0%), transparent 0%);
  opacity: 0.2;
  border-radius: 50%;
}
.seeing-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-accent);
  line-height: 1;
}
.seeing-max { font-size: 11px; color: var(--text-muted); }
.seeing-info { flex: 1; }
.seeing-label {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 6px;
}
.seeing-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* ── Metrics Grid ── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.metric-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: all 0.2s;
  text-align: center;
}
.metric-item:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.metric-icon { font-size: 22px; margin-bottom: 8px; }
.metric-label {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.metric-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
}
.metric-unit { font-size: 12px; color: var(--text-muted); }

/* ── Hourly Forecast ── */
.hourly-scroll {
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  margin: 0 -4px;
  padding: 4px;
}
.hourly-scroll::-webkit-scrollbar { height: 4px; }
.hourly-scroll::-webkit-scrollbar-track { background: transparent; }
.hourly-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.hourly-row {
  display: flex;
  gap: 10px;
  min-width: max-content;
  padding: 4px;
}
.hourly-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 72px;
  transition: all 0.2s;
  cursor: default;
}
.hourly-item:hover { border-color: var(--border-accent); background: var(--bg-card-hover); }
.hourly-item.best { border-color: var(--star-gold); background: rgba(240,208,128,0.06); }
.hourly-time { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.hourly-icon { font-size: 20px; }
.hourly-cloud {
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 700;
}
.hourly-cloud.clear { color: var(--star-gold); }
.hourly-cloud.cloudy { color: var(--text-muted); }
.hourly-cloud.medium { color: var(--warning); }

/* ── Celestial Objects ── */
.celestial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.celestial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
  cursor: default;
}
.celestial-card:hover { border-color: var(--border-accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.celestial-icon {
  font-size: 32px;
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft);
  border-radius: 50%;
  border: 1px solid var(--border-accent);
}
.celestial-info { flex: 1; min-width: 0; }
.celestial-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.celestial-status { font-size: 12px; color: var(--text-muted); font-family: var(--font-mono); }
.celestial-time { font-size: 16px; font-family: var(--font-mono); color: var(--text-accent); font-weight: 700; margin-top: 4px; }

/* ── Moon Phase ── */
.moon-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 32px;
}
.moon-visual {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a2040 40%, #8a7ab0 100%);
  border: 2px solid var(--border-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  box-shadow: 0 0 30px rgba(124,92,191,0.2);
  flex-shrink: 0;
}
.moon-details h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 8px;
}
.moon-meta {
  display: flex; gap: 20px; flex-wrap: wrap; margin-top: 12px;
}
.moon-meta-item { font-size: 12px; color: var(--text-secondary); font-family: var(--font-mono); }
.moon-meta-item strong { display: block; color: var(--text-accent); font-size: 16px; margin-bottom: 2px; }

/* ── City List ── */
.city-section { margin-bottom: 32px; }
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}
.city-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.city-btn:hover { border-color: var(--border-accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.city-btn.active { border-color: var(--accent); background: var(--accent-soft); }
.city-name { font-size: 14px; font-weight: 500; color: var(--text-primary); }
.city-pref { font-size: 11px; color: var(--text-muted); font-family: var(--font-mono); }
.city-score { font-size: 18px; font-family: var(--font-mono); font-weight: 700; }
.city-score.s5 { color: var(--star-gold); }
.city-score.s4 { color: var(--success); }
.city-score.s3 { color: var(--warning); }
.city-score.s2, .city-score.s1 { color: var(--danger); }

/* ── Tips Section ── */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.tip-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s;
}
.tip-card:hover { border-color: var(--border-accent); }
.tip-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-accent);
  background: var(--accent-soft);
  border: 1px solid var(--border-accent);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.tip-card h4 { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.tip-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ── Constellations ── */
.constellation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 32px;
}
.constellation-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all 0.2s;
  cursor: default;
}
.constellation-item:hover { border-color: var(--border-accent); transform: translateY(-2px); }
.constellation-symbol { font-size: 28px; margin-bottom: 8px; }
.constellation-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.constellation-visibility {
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 10px;
  display: inline-block;
}
.constellation-visibility.visible { background: rgba(109,204,138,0.15); color: var(--success); }
.constellation-visibility.partial { background: rgba(224,184,96,0.15); color: var(--warning); }
.constellation-visibility.hidden { background: rgba(224,112,112,0.1); color: var(--danger); }

/* ── Loading Overlay ── */
.loading-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  transition: opacity 0.5s;
}
.loading-overlay.hidden { opacity: 0; pointer-events: none; }
.loading-spinner {
  width: 48px; height: 48px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-secondary);
  padding: 32px 24px;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text-primary);
}
.footer-corp {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-accent); }
.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  main { padding: 24px 16px; }
  .hero { padding: 40px 0 32px; }
  .obs-card { padding: 24px 20px; }
  .moon-section { grid-template-columns: 1fr; text-align: center; }
  .moon-visual { margin: 0 auto; }
  .moon-meta { justify-content: center; }
  nav { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Utility ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
.badge-live { background: rgba(109,204,138,0.15); color: var(--success); border: 1px solid rgba(109,204,138,0.3); }
.badge-live::before { content: '●'; animation: blink 1.5s infinite; font-size: 8px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── Page sections visibility ── */
.page { display: none; }
.page.active { display: block; }

/* ── Map placeholder ── */
.map-container {
  width: 100%;
  height: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.map-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--border) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.5;
}

/* ── About page ── */
.about-hero {
  text-align: center;
  padding: 60px 0 40px;
  max-width: 640px;
  margin: 0 auto;
}
.about-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  margin-bottom: 16px;
}
.about-hero p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.about-card .about-icon { font-size: 32px; margin-bottom: 12px; }
.about-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 400; margin-bottom: 10px; }
.about-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ── Scroll animation ── */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
