/* New Realities Corp. – Okinawa Daily Briefing */
/* Brand colors: #2B4C7E (deep blue), #A8B8C8 (secondary), #F0F4F9 (accent bg) */
:root {
  --brand: #2B4C7E;
  --brand-dark: #1f3a62;
  --brand-soft: #A8B8C8;
  --bg-accent: #F0F4F9;
  --bg: #ffffff;
  --text: #1a1f2e;
  --text-soft: #5b6573;
  --text-mute: #8a93a0;
  --line: #e3e8ef;
  --new: #2e8b57;
  --fresh: #2B4C7E;
  --background-grey: #8a93a0;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}
.en, .num { font-family: "Inter", "Noto Sans JP", system-ui, sans-serif; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 920px; margin: 0 auto; padding: 0 28px; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky; top: 0; z-index: 10;
}
.site-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; letter-spacing: 0.03em; font-size: 15px;
  color: var(--text);
}
.logo-mark {
  display: inline-block; width: 26px; height: 26px;
}
.site-nav a {
  margin-left: 24px; color: var(--text-soft); font-size: 13.5px;
  font-weight: 500;
}
.site-nav a:hover { color: var(--brand); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.hero::before {
  content: ""; position: absolute;
  top: -80px; right: -80px; width: 320px; height: 320px;
  background: rgba(255,255,255,0.05);
  clip-path: polygon(50% 0%, 85.36% 14.64%, 100% 50%, 85.36% 85.36%, 50% 100%, 14.64% 85.36%, 0% 50%, 14.64% 14.64%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute;
  bottom: -120px; left: -60px; width: 220px; height: 220px;
  background: rgba(255,255,255,0.04);
  clip-path: polygon(50% 0%, 85.36% 14.64%, 100% 50%, 85.36% 85.36%, 50% 100%, 14.64% 85.36%, 0% 50%, 14.64% 14.64%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11.5px; letter-spacing: 0.22em;
  font-weight: 600; font-family: "Inter", sans-serif;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 22px;
}
.hero-eyebrow .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.7);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hero h1 {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 44px; font-weight: 700; margin: 0 0 14px;
  letter-spacing: 0.02em; line-height: 1.15;
}
.hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.85);
  max-width: 620px; margin: 0 0 26px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 22px;
  color: rgba(255,255,255,0.85); font-size: 13px;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* Freshness legend */
.legend {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 18px;
  margin: 28px 0 0;
  padding: 14px 18px;
  background: var(--bg-accent);
  border-radius: 8px;
  font-size: 12.5px; color: var(--text-soft);
}
.legend-label {
  font-weight: 600; color: var(--text);
  letter-spacing: 0.06em; font-size: 11.5px;
}
.legend-item { display: inline-flex; align-items: center; gap: 7px; }

/* Badges */
.badge {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 10.5px; letter-spacing: 0.1em;
  padding: 2px 8px; border-radius: 3px;
  color: #fff; font-weight: 600;
  vertical-align: middle;
}
.badge-new { background: var(--new); }
.badge-fresh { background: var(--fresh); }
.badge-background { background: var(--background-grey); }

/* Categories */
.category {
  padding: 48px 0 8px;
}
.category-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--brand);
}
.category-icon {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand);
}
.category-icon svg { width: 100%; height: 100%; }
.category-title {
  font-size: 20px; margin: 0; font-weight: 700;
  color: var(--text);
}
.category-title-en {
  font-family: "Inter", sans-serif;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--text-mute); font-weight: 500;
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}

/* Article */
.article {
  padding: 20px 0 22px;
  padding-left: 18px;
  border-left: 2px solid var(--line);
  margin-bottom: 4px;
  transition: border-color 0.2s, transform 0.2s;
}
.article:hover {
  border-left-color: var(--brand);
  transform: translateX(2px);
}
.article-meta {
  font-size: 12px; color: var(--text-mute);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.article-date {
  font-family: "Inter", sans-serif;
  font-weight: 500; letter-spacing: 0.02em;
}
.article-title {
  font-size: 17px; font-weight: 700; margin: 0 0 10px;
  color: var(--text); line-height: 1.55;
}
.article-body {
  font-size: 14.5px; color: var(--text-soft); margin: 0 0 8px;
  line-height: 1.85;
}
.article-source {
  font-size: 12px; color: var(--text-mute);
}
.article-source a { color: var(--brand); }

.empty-note {
  font-size: 13px; color: var(--text-mute); font-style: italic;
  padding: 12px 0;
}

/* Column */
.column {
  margin: 56px 0 0;
  padding: 40px 32px;
  background: var(--bg-accent);
  border-radius: 12px;
  border-top: 3px solid var(--brand);
}
.column-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--brand); font-weight: 600;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.column h2 {
  font-size: 21px; margin: 0 0 18px;
  font-weight: 700; line-height: 1.5;
  color: var(--text);
}
.column-body p {
  font-size: 14.5px; color: var(--text);
  margin: 0 0 14px; line-height: 1.9;
}
.column-body em {
  color: var(--brand); font-style: normal; font-weight: 600;
}
.column-byline {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid rgba(43,76,126,0.15);
  font-size: 11.5px; color: var(--text-mute);
  letter-spacing: 0.06em;
  font-family: "Inter", sans-serif;
}

/* Footer */
.site-footer {
  margin-top: 72px;
  padding: 44px 0 32px;
  background: var(--brand);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.site-footer-top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-brand .logo { color: #fff; font-size: 16px; }
.footer-desc {
  margin-top: 12px; font-size: 13px;
  color: rgba(255,255,255,0.75);
  max-width: 460px; line-height: 1.85;
}
.footer-nav {
  display: flex; flex-direction: column; gap: 8px;
}
.footer-nav-title {
  font-size: 11px; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  font-family: "Inter", sans-serif;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-nav a { color: rgba(255,255,255,0.85); }
.footer-nav a:hover { color: #fff; }
.site-footer-bottom {
  padding-top: 22px; font-size: 12px;
  color: rgba(255,255,255,0.6);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* Archive */
.archive-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  padding: 40px 0;
}
.archive-card {
  display: block; background: #fff;
  border: 1px solid var(--line);
  padding: 22px; border-radius: 8px;
  color: var(--text); text-decoration: none;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.archive-card:hover {
  border-color: var(--brand); text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(43,76,126,0.08);
}
.archive-card-date {
  font-family: "Inter", sans-serif;
  font-size: 12px; color: var(--brand); letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 10px;
}
.archive-card-title {
  font-size: 15px; font-weight: 600; margin-bottom: 14px; line-height: 1.6;
  color: var(--text);
}
.archive-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.archive-card-tag {
  font-family: "Inter", sans-serif;
  font-size: 10.5px; padding: 3px 9px;
  background: var(--bg-accent);
  border-radius: 99px; color: var(--text-soft);
  letter-spacing: 0.04em;
}

/* About */
.about-section { padding: 40px 0; }
.about-section h2 {
  font-size: 22px; margin: 0 0 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--brand);
  color: var(--text);
}
.about-section p {
  font-size: 14.5px; color: var(--text-soft);
  line-height: 1.95;
}
.about-cat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 18px;
}
.about-cat {
  padding: 18px;
  background: var(--bg-accent);
  border-radius: 8px;
  display: flex; gap: 14px;
}
.about-cat-icon {
  width: 28px; height: 28px; color: var(--brand);
  flex-shrink: 0;
}
.about-cat-icon svg { width: 100%; height: 100%; }
.about-cat-name {
  font-weight: 700; font-size: 14.5px; margin-bottom: 4px;
}
.about-cat-desc { font-size: 13px; color: var(--text-soft); line-height: 1.7; }

/* 404 */
.error-hero {
  padding: 100px 0 80px; text-align: center;
}
.error-num {
  font-family: "Inter", sans-serif;
  font-size: 120px; font-weight: 700;
  color: var(--brand); line-height: 1;
  letter-spacing: -0.02em;
}
.error-msg { font-size: 20px; margin: 16px 0 28px; }
.error-actions { display: inline-flex; gap: 12px; }
.btn {
  display: inline-block;
  padding: 11px 22px; border-radius: 6px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
}
.btn-primary { background: var(--brand); color: #fff !important; }
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-secondary {
  background: var(--bg-accent); color: var(--text) !important;
  border: 1px solid var(--line);
}
.btn-secondary:hover { background: #fff; text-decoration: none; border-color: var(--brand); }

@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero-meta { gap: 14px; font-size: 12px; }
  .archive-grid { grid-template-columns: 1fr; }
  .about-cat-grid { grid-template-columns: 1fr; }
  .site-nav a { margin-left: 14px; font-size: 12px; }
  .site-header { position: static; }
  .category-title { font-size: 18px; }
  .article-title { font-size: 16px; }
  .column { padding: 28px 20px; }
}
