/* ============================================================
   New Realities Corporation — Okinawa Daily Briefing
   Brand stylesheet (do not modify the brand tokens)
   ============================================================ */

:root {
  --brand-blue: #2B4C7E;
  --brand-blue-dark: #1f3a62;
  --brand-sub: #A8B8C8;
  --accent-bg: #F0F4F9;
  --ink: #1a1f2e;
  --ink-sub: #5b6573;
  --ink-mute: #8a93a0;
  --rule: #e3e8ef;
  --new: #2e8b57;
  --fresh: #2B4C7E;
  --background: #8a93a0;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Noto Sans JP", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 28px;
  height: 28px;
  display: block;
}
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  color: var(--ink-sub);
  font-size: 14px;
  font-weight: 500;
  font-family: "Noto Sans JP", "Inter", sans-serif;
}
.site-nav a:hover {
  color: var(--brand-blue);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-dark) 100%);
  color: #ffffff;
  padding: 64px 0 56px;
}
/* Octagonal 3-ring watermark (mirrors the brand logo) */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='%23ffffff' fill-rule='evenodd' d='M 50,0 L 85.36,14.64 L 100,50 L 85.36,85.36 L 50,100 L 14.64,85.36 L 0,50 L 14.64,14.64 Z M 50,7.50 L 80.05,19.95 L 92.50,50 L 80.05,80.05 L 50,92.50 L 19.95,80.05 L 7.50,50 L 19.95,19.95 Z M 50,8.50 L 79.34,20.66 L 91.50,50 L 79.34,79.34 L 50,91.50 L 20.66,79.34 L 8.50,50 L 20.66,20.66 Z M 50,15.00 L 74.75,25.25 L 85.00,50 L 74.75,74.75 L 50,85.00 L 25.25,74.75 L 15.00,50 L 25.25,25.25 Z M 50,16.00 L 74.04,25.96 L 84.00,50 L 74.04,74.04 L 50,84.00 L 25.96,74.04 L 16.00,50 L 25.96,25.96 Z M 50,23.50 L 68.74,31.26 L 76.50,50 L 68.74,68.74 L 50,76.50 L 31.26,68.74 L 23.50,50 L 31.26,31.26 Z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.hero::before {
  top: -90px; right: -80px;
  width: 340px; height: 340px;
  opacity: 0.06;
}
.hero::after {
  bottom: -140px; left: -70px;
  width: 240px; height: 240px;
  opacity: 0.045;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: left;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5a5f;
  box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 90, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 90, 95, 0); }
}
.hero h1 {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  line-height: 1.15;
}
.hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 24px;
  max-width: 720px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.hero-meta span { white-space: nowrap; }

/* ---------- Legend ---------- */
.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-sub);
}
.legend-label {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--ink-mute);
}
.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  color: #ffffff;
  line-height: 1.4;
}
.badge-new        { background: var(--new); }
.badge-fresh      { background: var(--fresh); }
.badge-background { background: var(--background); }

/* ---------- Category ---------- */
.category {
  padding: 36px 0 8px;
  border-bottom: 1px solid var(--rule);
}
.category:last-of-type { border-bottom: none; }
.category-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-bg);
  color: var(--brand-blue);
}
.category-icon svg {
  width: 22px;
  height: 22px;
}
.category-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
  color: var(--ink);
  line-height: 1.3;
}
.category-title-en {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-top: 2px;
}

/* ---------- Article ---------- */
.article {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.article:first-of-type { border-top: none; }
.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.article-date {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.article-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.5;
}
.article-body {
  font-size: 14.5px;
  color: var(--ink-sub);
  margin: 0 0 8px;
  line-height: 1.75;
}
.article-source {
  font-size: 12px;
  color: var(--ink-mute);
  margin: 0;
  font-family: "Inter", "Noto Sans JP", sans-serif;
}
.article-source a {
  color: var(--brand-blue);
  font-weight: 500;
}
.empty-note {
  font-size: 13px;
  color: var(--ink-mute);
  font-style: italic;
  padding: 8px 0;
}

/* ---------- Column ---------- */
.column {
  background: var(--accent-bg);
  border-radius: 10px;
  padding: 32px 32px 28px;
  margin: 48px 0 56px;
}
.column-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.column h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.4;
}
.column-body p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--ink);
  margin: 0 0 12px;
}
.column-body em {
  color: var(--brand-blue);
  font-weight: 700;
  font-style: normal;
}
.column-byline {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(43, 76, 126, 0.18);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-mute);
}

/* ---------- Archive ---------- */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  padding: 40px 0 60px;
}
.archive-card {
  display: block;
  padding: 22px 22px 20px;
  background: #ffffff;
  border: 1px solid var(--rule);
  border-radius: 10px;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.archive-card:hover {
  text-decoration: none;
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}
.archive-card-date {
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.archive-card-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 14px;
}
.archive-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.archive-card-tag {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  background: var(--accent-bg);
  color: var(--brand-blue);
  border-radius: 3px;
}

/* ---------- About page ---------- */
.about-card {
  background: var(--accent-bg);
  border-radius: 10px;
  padding: 32px;
  margin: 40px 0 60px;
}
.about-card h2 {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  color: var(--ink);
}
.about-card p {
  font-size: 14.5px;
  color: var(--ink-sub);
  line-height: 1.85;
  margin: 0 0 12px;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 48px 0 28px;
  margin-top: 24px;
}
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path fill='%23ffffff' fill-rule='evenodd' d='M 50,0 L 85.36,14.64 L 100,50 L 85.36,85.36 L 50,100 L 14.64,85.36 L 0,50 L 14.64,14.64 Z M 50,7.50 L 80.05,19.95 L 92.50,50 L 80.05,80.05 L 50,92.50 L 19.95,80.05 L 7.50,50 L 19.95,19.95 Z M 50,8.50 L 79.34,20.66 L 91.50,50 L 79.34,79.34 L 50,91.50 L 20.66,79.34 L 8.50,50 L 20.66,20.66 Z M 50,15.00 L 74.75,25.25 L 85.00,50 L 74.75,74.75 L 50,85.00 L 25.25,74.75 L 15.00,50 L 25.25,25.25 Z M 50,16.00 L 74.04,25.96 L 84.00,50 L 74.04,74.04 L 50,84.00 L 25.96,74.04 L 16.00,50 L 25.96,25.96 Z M 50,23.50 L 68.74,31.26 L 76.50,50 L 68.74,68.74 L 50,76.50 L 31.26,68.74 L 23.50,50 L 31.26,31.26 Z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.site-footer::before {
  top: -110px; left: -90px;
  width: 300px; height: 300px;
  opacity: 0.05;
}
.site-footer::after {
  bottom: -130px; right: -100px;
  width: 280px; height: 280px;
  opacity: 0.04;
}
.site-footer .container {
  position: relative;
  z-index: 1;
}
.site-footer .logo {
  color: #ffffff;
}
.site-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-brand .logo span {
  color: #ffffff;
}
.footer-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
  margin: 14px 0 0;
  max-width: 520px;
  line-height: 1.85;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav-title {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
}
.footer-nav a:hover {
  color: #ffffff;
  text-decoration: none;
}
.site-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.03em;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 14px; }
  .hero-meta { gap: 12px; font-size: 12px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .category-title { font-size: 18px; }
  .article-title { font-size: 16px; }
  .column { padding: 26px 22px 22px; }
  .column h2 { font-size: 19px; }
  .site-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .site-footer-bottom { font-size: 11px; }
}
