/* ================================================================
   Aoi Umi Compass — Editorial vanilla HTML / Campaign aquariums
   ================================================================ */

/* ----- Theme tokens ----- */
:root {
  --bg: #08111c;
  --bg-2: #0d1828;
  --bg-3: #f7f4ed;
  --card: #11202f;
  --card-2: #ffffff;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(15,33,51,0.1);
  --ink: #f5f7fa;
  --ink-2: #c9d4e0;
  --ink-3: #7d96a8;
  --primary: #ff9a4d;
  --primary-2: #ffd29c;
  --secondary: #4db1e8;
  --gold: #f1c576;
  --teal: #3eb29d;
  --indigo: #1a3556;

  --max-w: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  --serif: 'Cormorant Garamond', 'Noto Serif JP', Georgia, serif;
  --sans:  'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif-jp: 'Noto Serif JP', 'Cormorant Garamond', serif;
  --sans-jp:  'Noto Sans JP', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans-jp);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- Language-specific font stacks ----- */
[data-lang="ja"] body { font-family: var(--sans-jp); }
[data-lang="ja"] .hero-heading,
[data-lang="ja"] .section-heading,
[data-lang="ja"] .article-title,
[data-lang="ja"] .tip-title,
[data-lang="ja"] .season-heading,
[data-lang="ja"] .faq-question span,
[data-lang="ja"] .section-eyebrow,
[data-lang="ja"] .nav-brand {
  font-family: var(--serif-jp);
  font-weight: 600;
  letter-spacing: 0.005em;
}
[data-lang="en"] body { font-family: var(--sans); }
[data-lang="en"] .hero-heading,
[data-lang="en"] .section-heading,
[data-lang="en"] .article-title,
[data-lang="en"] .tip-title,
[data-lang="en"] .season-heading,
[data-lang="en"] .faq-question span,
[data-lang="en"] .section-eyebrow,
[data-lang="en"] .nav-brand {
  font-family: var(--serif);
  font-weight: 600;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,17,28,0.55) 0%, rgba(8,17,28,0.35) 30%, rgba(8,17,28,0.85) 100%),
    linear-gradient(135deg, rgba(11,40,68,0.45) 0%, rgba(8,17,28,0.2) 100%);
  z-index: -1;
}

/* ----- NAV ----- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 40px);
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  z-index: 5;
}
.nav-brand {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.nav-links {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
}
.nav-links a {
  font-family: var(--sans-jp);
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-lang {
  display: flex;
  gap: 6px;
  align-items: center;
}
.lang-btn {
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  font-size: 13px;
  font-family: var(--sans-jp);
  color: rgba(255,255,255,0.85);
  transition: all 0.2s;
  letter-spacing: 0.05em;
}
.lang-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lang-btn.is-active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  font-weight: 600;
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 30px;
  height: 24px;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  display: block;
  transition: all 0.3s;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter) 100px;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--sans-jp);
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  padding: 8px 0;
  border-top: 1px solid var(--gold);
  width: fit-content;
}
.hero-heading {
  font-family: var(--serif-jp);
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.2;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: #fff;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
  letter-spacing: 0.005em;
}
.hero-lede {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  max-width: 640px;
  color: rgba(255,255,255,0.88);
  margin: 0 0 36px 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: var(--sans-jp);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--primary-2);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(241,197,118,0.3);
}
.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  border-color: var(--gold);
}

/* ================================================================
   SECTIONS — common
   ================================================================ */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-eyebrow {
  font-family: var(--sans-jp);
  font-size: 13px;
  letter-spacing: 0.28em;
  font-weight: 500;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-heading {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  margin: 0 0 18px 0;
  line-height: 1.2;
  color: var(--ink);
}
.section-lede {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 0 50px 0;
  line-height: 1.7;
}
.section-head {
  margin-bottom: 36px;
}

/* ================================================================
   INTRO
   ================================================================ */
.intro {
  background: var(--bg);
  color: var(--ink);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.intro-copy p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
}
.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.stat {
  background: var(--card);
  border-radius: 4px;
  padding: 24px;
  border-left: 2px solid var(--gold);
}
.stat-number {
  font-family: var(--serif-jp);
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  line-height: 1.1;
}
.stat-label {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* ================================================================
   ARTICLES
   ================================================================ */
.articles {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.article-card {
  background: var(--card);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  transition: transform 0.25s, border-color 0.3s;
}
.article-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.article-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.article-body {
  padding: 22px 24px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.article-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.article-title {
  font-family: var(--serif-jp);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 12px 0;
  color: var(--ink);
}
.article-summary {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.7;
  margin: 0 0 16px 0;
}
.article-toggle {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans-jp);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  padding: 8px 0;
  transition: color 0.2s;
  border-bottom: 1px solid transparent;
}
.article-toggle:hover { color: var(--primary-2); }
.article-toggle-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}
.article-expand-body {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.article-expand-body.open {
  display: block;
}
.article-expand-body p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.8;
  margin: 0 0 12px 0;
}
.article-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.article-toggle.open .article-toggle-icon { transform: rotate(180deg); }

/* ================================================================
   TIPS
   ================================================================ */
.tips {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  color: var(--indigo);
}
.tips .section-eyebrow { color: #c9952a; }
.tips .section-heading { color: var(--indigo); }
.tips .section-lede { color: #4d6173; }
.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.tip-card {
  background: #fff;
  border-radius: 6px;
  padding: 28px 24px 24px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 4px 18px rgba(20,40,60,0.06);
}
.tip-icon {
  margin-bottom: 14px;
  color: #c9952a;
}
.tip-title {
  font-family: var(--serif-jp);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: var(--indigo);
}
.tip-card p {
  font-size: 14px;
  line-height: 1.75;
  color: #3b4d5c;
  margin: 0;
}

/* ================================================================
   SEASONAL
   ================================================================ */
.seasonal {
  background: var(--bg-3);
  color: var(--indigo);
}
.seasonal .section-eyebrow { color: #b5752a; }
.seasonal .section-heading { color: var(--indigo); }
.seasonal .section-lede { color: #4d6173; }
.seasonal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.season-card {
  background: #fff;
  border-radius: 6px;
  padding: 26px 24px;
  box-shadow: 0 4px 18px rgba(20,40,60,0.06);
  border-top: 4px solid;
  display: flex;
  flex-direction: column;
}
.season-spring { border-color: #52b788; }
.season-summer { border-color: #e07b39; }
.season-autumn { border-color: #b5752a; }
.season-winter { border-color: #3a8fb7; }
.season-spring .season-svg { color: #2d6a4f; }
.season-summer .season-svg { color: #9d4b00; }
.season-autumn .season-svg { color: #7f4f24; }
.season-winter .season-svg { color: #1b4965; }

.season-svg {
  margin-bottom: 10px;
}
.season-name {
  font-family: var(--serif-jp);
  font-size: 24px;
  font-weight: 600;
  color: var(--indigo);
  margin-bottom: 2px;
}
.season-period {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #6f8190;
  margin-bottom: 14px;
}
.season-card .season-heading {
  font-family: var(--serif-jp);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--indigo);
}
.season-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #3b4d5c;
  margin: 0 0 10px 0;
}
.season-best {
  margin-top: auto !important;
  padding-top: 8px;
  border-top: 1px dashed rgba(40,60,80,0.15);
  font-size: 12px !important;
  color: #4f6571 !important;
  font-style: italic;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq {
  background: var(--bg);
  color: var(--ink);
}
.faq .section-eyebrow { color: var(--primary); }
.faq .section-heading { color: var(--ink); }
.faq .section-lede { color: var(--ink-2); }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 22px 0;
  font-family: var(--serif-jp);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s;
  gap: 16px;
}
.faq-question:hover { color: var(--gold); }
.faq-question .faq-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--gold);
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 0 0 22px 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-2);
  margin: 0;
}

/* ================================================================
   NEWSLETTER
   ================================================================ */
.newsletter {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.newsletter-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner .section-eyebrow {
  color: var(--gold);
  text-align: center;
}
.newsletter-inner .section-lede { margin-bottom: 36px; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.news-email-label {
  display: block;
  width: 100%;
}
.news-label-text {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  margin-bottom: 4px;
  text-align: left;
}
.news-email-input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 4px;
  color: var(--ink);
  font-family: var(--sans-jp);
  font-size: 15px;
  transition: border-color 0.2s;
}
.news-email-input:focus {
  outline: none;
  border-color: var(--gold);
}
.news-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  max-width: 480px;
  text-align: left;
}
.news-consent input {
  margin-top: 2px;
  cursor: pointer;
}
.news-success {
  margin-top: 30px;
  padding: 28px;
  background: rgba(241,197,118,0.08);
  border: 1px solid var(--gold);
  border-radius: 4px;
}
.news-success h3 {
  color: var(--gold);
  font-family: var(--serif-jp);
  font-size: 22px;
  margin: 0 0 10px 0;
}
.news-success p {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #050d16;
  color: var(--ink-2);
  padding: 60px 0 20px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-col {
  font-size: 14px;
  line-height: 1.7;
}
.footer-brand-name {
  font-family: var(--serif-jp);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer-tagline {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.7;
  margin: 0;
}
.footer-col-heading {
  font-family: var(--sans-jp);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 14px 0;
}
.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-link-list a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s;
  display: inline-block;
}
.footer-link-list a:hover {
  color: var(--gold);
}
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-contact-link { color: var(--ink-2); }

/* ================================================================
   MOBILE NAV DRAWER
   ================================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background: var(--bg);
  z-index: 90;
  border-left: 1px solid var(--line);
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-nav a {
  font-family: var(--sans-jp);
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
  padding: 8px 0;
  letter-spacing: 0.04em;
}
.mobile-nav-lang {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav-lang button {
  flex: 1;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  color: var(--ink-2);
  font-size: 13px;
  font-family: var(--sans-jp);
}
.mobile-nav-lang button.is-active {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  font-weight: 600;
}

/* ================================================================
   LEGAL PAGE STYLES
   ================================================================ */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px var(--gutter) 80px;
  color: var(--ink);
}
.legal-page h1 {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 8px 0;
  color: #fff;
}
.legal-page .legal-eyebrow {
  font-family: var(--sans-jp);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.legal-page .legal-updated {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 36px;
}
.legal-page h2 {
  font-family: var(--serif-jp);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  margin: 36px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.legal-page p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink-2);
  margin: 0 0 14px 0;
}
.legal-page .contact-domain,
.legal-page .at { color: var(--ink); font-weight: 500; }
.legal-back {
  display: inline-block;
  margin-bottom: 30px;
  font-family: var(--sans-jp);
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.legal-back:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.legal-page-wrap {
  background: var(--bg);
  min-height: 100vh;
}
.legal-page-wrap .nav {
  border-bottom: 1px solid var(--line);
}
.legal-page-wrap .footer {
  margin-top: 80px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 880px) {
  .nav-links, .nav-lang { display: none; }
  .nav-burger { display: flex; }
  .intro-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .stat-number { font-size: 26px; }
  .article-card img { height: 180px; }
}

/* Reveal safety: default-visible */
.reveal { opacity: 1; transform: none; }
.reveal.is-shown { opacity: 1; transform: none; }
