@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500&family=Noto+Serif+JP:wght@400;500;600&display=swap');

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --color-deep-navy: #0A1128;
  --color-ink-black: #1C1C1E;
  --color-moon-white: #F5F5F0;
  --color-muted-gold: #B8A07E;
  --color-blue-grey: #6B7A8F;
  --color-moonlight: #E8E8E0;
  --color-haze: #2A2D3A;
  --color-card-bg: #1E2030;
  --color-border: rgba(107, 122, 143, 0.25);
  --color-border-hover: rgba(232, 232, 224, 0.4);
  --color-text-secondary: rgba(245, 245, 240, 0.6);

  --font-serif: 'Noto Serif JP', '游明朝', 'Yu Mincho', 'YuMincho', Georgia, serif;
  --font-sans: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'YuGothic', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 760px;
  --max-width-wide: 1080px;
  --section-gap: 160px;
  --section-gap-mobile: 100px;
  --side-padding: max(24px, 8vw);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-moon-white);
  background-color: var(--color-deep-navy);
  line-height: 2;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-muted-gold);
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: var(--color-moonlight);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

/* ========================================
   Background Texture
   ======================================== */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/texture-washi.png');
  background-size: 600px;
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: 0;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h2 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin-bottom: 2em;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin-bottom: 1em;
}

p {
  margin-bottom: 1.5em;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

p:last-child {
  margin-bottom: 0;
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-gold {
  color: var(--color-muted-gold);
}

.text-center {
  text-align: center;
}

small {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

/* ========================================
   Layout
   ======================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  position: relative;
  z-index: 1;
}

.container-wide {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  position: relative;
  z-index: 1;
}

section {
  padding: var(--section-gap) 0;
  position: relative;
}

/* ========================================
   Scroll Progress Bar
   ======================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-muted-gold));
  z-index: 200;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ========================================
   Section Label
   ======================================== */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  color: var(--color-muted-gold);
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 2em;
  text-align: center;
}

/* ========================================
   Section Divider
   ======================================== */
.divider {
  width: 100%;
  max-width: 120px;
  height: auto;
  background: none;
  opacity: 1;
  margin: 0 auto;
  border: none;
  text-align: center;
  font-size: 0.625rem;
  letter-spacing: 0.4em;
  color: var(--color-blue-grey);
  opacity: 0.3;
  padding: 0;
  line-height: 1;
}

.divider::before {
  content: '· · ·';
}

/* ========================================
   Header / Navigation
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
  transition: background-color 0.4s ease, padding 0.4s ease, transform 0.35s ease;
}

.site-header.scrolled {
  background-color: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 0;
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header.header-visible {
  transform: translateY(0);
}

.header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--side-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--color-moon-white);
}

.site-logo span {
  color: var(--color-muted-gold);
  font-size: 0.75rem;
  margin-left: 0.5em;
  letter-spacing: 0.15em;
}

.nav-desktop {
  display: flex;
  gap: 1.5em;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-desktop a {
  font-size: 0.78rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-muted-gold);
  transition: width 0.3s ease;
}

.nav-desktop a:hover {
  color: var(--color-moon-white);
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  z-index: 110;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-moon-white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(10, 17, 40, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5em;
  z-index: 105;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-moon-white);
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(20px);
  animation: navFadeIn 0.4s ease forwards;
}

.nav-mobile a:nth-child(1) { animation-delay: 0.05s; }
.nav-mobile a:nth-child(2) { animation-delay: 0.1s; }
.nav-mobile a:nth-child(3) { animation-delay: 0.15s; }
.nav-mobile a:nth-child(4) { animation-delay: 0.2s; }
.nav-mobile a:nth-child(5) { animation-delay: 0.25s; }
.nav-mobile a:nth-child(6) { animation-delay: 0.3s; }
.nav-mobile a:nth-child(7) { animation-delay: 0.35s; }

@keyframes navFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--color-muted-gold);
  color: var(--color-muted-gold);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-width: 200px;
}

.btn:hover {
  background: rgba(184, 160, 126, 0.1);
  color: var(--color-moonlight);
  border-color: var(--color-moonlight);
}

.btn-primary {
  background: rgba(184, 160, 126, 0.12);
}

.btn-primary:hover {
  background: rgba(184, 160, 126, 0.2);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

/* ========================================
   Cards
   ======================================== */
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 32px;
  transition: border-color 0.3s ease;
}

.card:hover {
  border-color: var(--color-border-hover);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75em;
  color: var(--color-muted-gold);
}

.card p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25em;
}

/* ========================================
   Scroll Animation
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero-bg.png');
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 17, 40, 0.3) 0%,
    rgba(10, 17, 40, 0.5) 40%,
    rgba(10, 17, 40, 0.85) 80%,
    var(--color-deep-navy) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--side-padding);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  margin-bottom: 0.5em;
  color: var(--color-moon-white);
}

.hero-title em {
  font-style: normal;
  display: block;
  font-size: 0.45em;
  letter-spacing: 0.25em;
  color: var(--color-muted-gold);
  margin-top: 0.3em;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 2.2vw, 1.1rem);
  font-weight: 400;
  line-height: 2.2;
  color: rgba(245, 245, 240, 0.85);
  letter-spacing: 0.06em;
  margin-top: 1.5em;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-secondary);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 32px;
  background: var(--color-blue-grey);
  opacity: 0.5;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.2; transform: scaleY(0.5); }
  50% { opacity: 0.6; transform: scaleY(1); }
}

/* ========================================
   Empathy Section
   ======================================== */
.empathy p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 2.2;
  color: rgba(245, 245, 240, 0.8);
}

/* ========================================
   Activity Cards
   ======================================== */
.activity-footer {
  margin-top: 3em;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
  line-height: 2;
}

/* ========================================
   Menu List
   ======================================== */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 1.5em;
  padding: 1.5em 0;
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.3s ease, padding-left 0.3s ease;
}

.menu-item:first-child {
  border-top: 1px solid var(--color-border);
}

.menu-item:hover {
  border-color: var(--color-border-hover);
  padding-left: 0.5em;
}

.menu-item h3 {
  font-size: 1rem;
  color: var(--color-moon-white);
  margin-bottom: 0;
  white-space: nowrap;
  min-width: 140px;
}

.menu-item p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
  line-height: 1.8;
}

.menu-seasonal {
  margin-top: 2.5em;
  padding: 24px 32px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-align: center;
}

.menu-seasonal p {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* ========================================
   Trust / Reviews
   ======================================== */
.trust-stats {
  display: flex;
  justify-content: center;
  gap: 3em;
  margin-bottom: 3em;
  flex-wrap: wrap;
}

.trust-stat {
  text-align: center;
  padding: 1.5em 2em;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  min-width: 140px;
}

.trust-stat .number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-muted-gold);
  display: block;
  letter-spacing: 0.06em;
}

.trust-stat .label {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: 0.3em;
  display: block;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 2em;
}

.review-item {
  padding: 28px 32px;
  padding-top: 36px;
  border-left: 2px solid var(--color-muted-gold);
  background: rgba(30, 32, 48, 0.5);
  border-radius: 0 4px 4px 0;
  position: relative;
}

.review-item::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 20px;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-muted-gold);
  opacity: 0.15;
  line-height: 1;
}

.review-item p {
  font-size: 0.875rem;
  line-height: 2;
  color: rgba(245, 245, 240, 0.8);
  margin-bottom: 0;
}

.review-meta {
  display: block;
  margin-top: 0.8em;
  font-size: 0.7rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.04em;
}

/* ========================================
   Menu Target Line
   ======================================== */
.menu-target {
  font-size: 0.78rem;
  color: var(--color-muted-gold);
  opacity: 0.7;
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

/* ========================================
   Seasonal Menu Cards
   ======================================== */
.seasonal-list {
  display: flex;
  flex-direction: column;
  gap: 1.25em;
}

.seasonal-card {
  position: relative;
  border-left: 2px solid rgba(184, 160, 126, 0.2);
  padding-left: 20px;
}

.seasonal-date {
  display: inline-block;
  font-size: 0.6875rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.08em;
  margin-bottom: 0.8em;
}

.seasonal-card h3 {
  color: var(--color-moon-white);
}

/* ========================================
   Flow / Steps
   ======================================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
  position: relative;
}

.step {
  display: flex;
  gap: 2em;
  align-items: flex-start;
  counter-increment: step;
  position: relative;
  padding-bottom: 3em;
}

.step:last-child {
  padding-bottom: 0;
}

.step::before {
  content: '';
  position: absolute;
  left: 29px;
  top: 3rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(184, 160, 126, 0.25), transparent);
}

.step:last-child::before {
  display: none;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-muted-gold);
  opacity: 0.4;
  line-height: 1;
  min-width: 60px;
  text-align: right;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  font-size: 1rem;
  color: var(--color-moon-white);
  margin-bottom: 0.5em;
}

.step-content p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
}

/* ========================================
   Light Entry Section
   ======================================== */
.light-entry {
  background: linear-gradient(135deg, var(--color-card-bg) 0%, rgba(30, 32, 48, 0.6) 100%);
  border-radius: 4px;
  border: 1px solid var(--color-border);
}

.light-entry .container {
  padding-top: 3em;
  padding-bottom: 3em;
}

.light-entry-quotes p {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 2.2;
  margin-bottom: 0.5em;
}

/* ========================================
   Nudge (背中押し) Section
   ======================================== */
.nudge {
  text-align: center;
  background: linear-gradient(180deg, var(--color-deep-navy) 0%, rgba(30, 32, 48, 0.3) 50%, var(--color-deep-navy) 100%);
}

.nudge p {
  font-family: var(--font-serif);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 2.4;
  color: rgba(245, 245, 240, 0.75);
  letter-spacing: 0.04em;
}

.nudge .closing {
  margin-top: 3em;
  color: var(--color-moon-white);
}

/* ========================================
   Stagger Animation Delay
   ======================================== */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
  text-align: center;
  padding-bottom: var(--section-gap);
  position: relative;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--color-deep-navy) 0%, rgba(8, 12, 30, 1) 100%);
}

.footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--side-padding);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em 2.5em;
  margin-bottom: 2em;
}

.footer-nav a {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
}

.footer-nav a:hover {
  color: var(--color-moon-white);
}

.footer-external {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-bottom: 2.5em;
}

.footer-external a {
  font-size: 0.75rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.06em;
}

.footer-external a:hover {
  color: var(--color-muted-gold);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 2em;
  margin-bottom: 2em;
}

.footer-legal a {
  font-size: 0.6875rem;
  color: var(--color-blue-grey);
}

.footer-copyright {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.06em;
}

/* ========================================
   Page Header (Sub Pages)
   ======================================== */
.page-header {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-family: var(--font-serif);
  margin-bottom: 0.8em;
}

.page-header h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-muted-gold);
  margin: 0.8em auto 0;
  opacity: 0.4;
}

.page-header .lead {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--color-text-secondary);
  line-height: 2.2;
  max-width: 560px;
  margin: 0 auto;
}

/* ========================================
   About Page
   ======================================== */
.about-image {
  max-width: 320px;
  margin: 0 auto 3em;
  border-radius: 4px;
  overflow: hidden;
}

.about-features {
  margin-top: 3em;
}

.about-features li {
  padding: 0.8em 0;
  padding-left: 1.5em;
  position: relative;
  font-size: 0.9rem;
  color: rgba(245, 245, 240, 0.8);
  line-height: 1.9;
  border-bottom: 1px solid rgba(107, 122, 143, 0.1);
  transition: padding-left 0.3s ease;
}

.about-features li:last-child {
  border-bottom: none;
}

.about-features li:hover {
  padding-left: 2em;
}

.about-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-muted-gold);
  opacity: 0.5;
}

.about-closing {
  margin-top: 3em;
  padding-top: 3em;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-serif);
  text-align: center;
  color: var(--color-text-secondary);
}

/* ========================================
   FAQ
   ======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 2em;
  margin-top: 3em;
}

.faq-item {
  padding-bottom: 2em;
  border-bottom: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(184, 160, 126, 0.3);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item dt {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-moon-white);
  margin-bottom: 0.8em;
  padding-left: 1.5em;
  position: relative;
}

.faq-item dt::before {
  content: 'Q.';
  position: absolute;
  left: 0;
  color: var(--color-muted-gold);
}

.faq-item dd {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 2;
  padding-left: 1.5em;
}

/* ========================================
   Records Page
   ======================================== */
.record-list {
  display: flex;
  flex-direction: column;
  gap: 3em;
}

.record-entry {
  padding-bottom: 3em;
  border-bottom: 1px solid var(--color-border);
}

.record-entry:last-child {
  border-bottom: none;
}

.record-date {
  font-size: 0.75rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.08em;
  margin-bottom: 1em;
}

.record-entry h3 {
  font-size: 1rem;
  margin-bottom: 0.8em;
}

.record-entry p {
  font-size: 0.9rem;
  color: rgba(245, 245, 240, 0.75);
  line-height: 2.1;
}

/* ========================================
   Contact Form
   ======================================== */
.contact-cta {
  text-align: center;
  margin-bottom: 4em;
  padding-bottom: 4em;
  border-bottom: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: 2em;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.6em;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-moon-white);
  font-size: 1rem;
  line-height: 1.8;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-muted-gold);
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-blue-grey);
  opacity: 0.6;
}

.form-note {
  margin-top: 3em;
  padding: 20px 24px;
  background: rgba(30, 32, 48, 0.5);
  border-radius: 4px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 2;
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-content h2 {
  font-size: 1.1rem;
  margin-top: 3em;
  margin-bottom: 1em;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 2;
}

/* ========================================
   Moon decoration
   ======================================== */
.moon-decoration {
  text-align: center;
  margin: var(--section-gap) 0;
  opacity: 0.15;
}

.moon-decoration img {
  width: 60px;
  height: auto;
  margin: 0 auto;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  :root {
    --section-gap: var(--section-gap-mobile);
    --side-padding: 24px;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-tagline br,
  .page-header .lead br,
  .empathy p br,
  .nudge p br,
  .light-entry-quotes p br,
  .review-item p br,
  .step-content p br {
    display: none;
  }

  .menu-item {
    flex-direction: column;
    gap: 0.3em;
  }

  .menu-item h3 {
    min-width: auto;
  }

  .step {
    flex-direction: column;
    gap: 0.5em;
  }

  .step::before {
    left: 0;
    top: 2.5rem;
  }

  .step-number {
    text-align: left;
    font-size: 2rem;
    min-width: auto;
  }

  .trust-stats {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    flex-direction: column;
    align-items: center;
    gap: 1.2em;
  }

  .footer-nav a {
    font-size: 0.875rem;
    padding: 4px 0;
  }

  .footer-external {
    justify-content: center;
  }

  .footer-external a,
  .footer-coming-soon {
    font-size: 0.8125rem;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }

  .footer-legal a {
    font-size: 0.8125rem;
    padding: 4px 0;
  }

  .footer-copyright {
    font-size: 0.75rem;
  }

  .review-item {
    padding: 20px 24px;
  }

  .records-filter button {
    padding: 10px 22px;
    font-size: 0.8125rem;
  }

  .record-card {
    padding: 24px;
  }

  .record-card-tag {
    font-size: 0.6875rem;
    padding: 4px 12px;
  }

  .record-card-date,
  .record-card-moon {
    font-size: 0.75rem;
  }

  .record-card-readtime {
    font-size: 0.6875rem;
  }

  .record-card-more {
    font-size: 0.75rem;
  }

  .breadcrumb ol {
    font-size: 0.75rem;
  }

  .page-header {
    padding: 120px 0 60px;
  }
}

@media (max-width: 480px) {
  :root {
    --side-padding: 20px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .about-image {
    max-width: 240px;
  }

  .record-card {
    padding: 20px 18px;
  }

  .record-card-header {
    gap: 0.6em;
  }

  .records-filter {
    gap: 0.5em;
  }

  .records-filter button {
    padding: 8px 16px;
    font-size: 0.75rem;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.8125rem;
  }

  .page-header {
    padding: 100px 0 40px;
  }

  .page-header .lead {
    font-size: 0.85rem;
  }
}

/* ========================================
   Footer Coming Soon
   ======================================== */
.footer-coming-soon {
  font-size: 0.75rem;
  color: var(--color-blue-grey);
  opacity: 0.45;
  letter-spacing: 0.06em;
  cursor: default;
}

/* ========================================
   Breadcrumb
   ======================================== */
.breadcrumb {
  position: relative;
  z-index: 1;
  padding: 100px var(--side-padding) 0;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
  font-size: 0.6875rem;
  color: var(--color-blue-grey);
}

.breadcrumb a {
  color: var(--color-blue-grey);
}

.breadcrumb a:hover {
  color: var(--color-muted-gold);
}

.breadcrumb li + li::before {
  content: '›';
  margin-right: 0.3em;
  color: var(--color-blue-grey);
  opacity: 0.5;
}

/* ========================================
   Blog-style Records
   ======================================== */
.records-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75em;
  margin-bottom: 3em;
}

.records-filter button {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.records-filter button:hover,
.records-filter button.active {
  border-color: var(--color-muted-gold);
  color: var(--color-muted-gold);
  background: rgba(184, 160, 126, 0.08);
}

.record-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
}

.record-card {
  display: block;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 28px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

a.record-card:hover {
  color: inherit;
}

.record-card:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}

.record-card-header {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 1em;
  flex-wrap: wrap;
}

.record-card-date {
  font-size: 0.6875rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.08em;
}

.record-card-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  font-size: 0.625rem;
  color: var(--color-muted-gold);
  letter-spacing: 0.04em;
}

.record-card-moon {
  font-size: 0.6875rem;
  color: var(--color-blue-grey);
  opacity: 0.7;
}

.record-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6em;
  color: var(--color-moon-white);
}

.record-card-body {
  font-size: 0.875rem;
  color: rgba(245, 245, 240, 0.7);
  line-height: 2;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.record-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2em;
  padding-top: 1em;
  border-top: 1px solid var(--color-border);
}

.record-card-readtime {
  font-size: 0.625rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.06em;
}

.record-card-more {
  font-size: 0.6875rem;
  color: var(--color-muted-gold);
  letter-spacing: 0.04em;
}

.records-load-more {
  text-align: center;
  margin-top: 3em;
}

@media (min-width: 640px) {
  .record-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-external {
    flex-wrap: wrap;
    gap: 1em;
  }

  .breadcrumb {
    padding-top: 80px;
  }

  .contact-cta p br,
  .form-note p br {
    display: none;
  }
}

/* ========================================
   External Links Section
   ======================================== */
.external-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1em;
}

.external-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8em;
  padding: 28px 20px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

a.external-link-card:hover {
  border-color: var(--color-muted-gold);
  transform: translateY(-2px);
}

a.external-link-card:hover .external-link-name {
  color: var(--color-muted-gold);
}

.external-link-card.is-coming-soon {
  opacity: 0.45;
  cursor: default;
}

.external-link-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--color-moon-white);
  letter-spacing: 0.06em;
}

.external-link-desc {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.external-link-desc small {
  font-size: 0.6875rem;
  color: var(--color-blue-grey);
  opacity: 0.7;
}

@media (max-width: 768px) {
  .external-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75em;
  }

  .external-link-card {
    padding: 20px 16px;
  }

  .external-link-name {
    font-size: 0.85rem;
  }

  .external-link-desc {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .external-links-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   External Icons Strip (compact, for index/about)
   ======================================== */
.external-icons-strip {
  display: flex;
  justify-content: center;
  gap: 3em;
  flex-wrap: wrap;
}

.external-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

a.external-icon-item:hover {
  transform: translateY(-3px);
}

a.external-icon-item:hover span {
  color: var(--color-muted-gold);
}

.external-icon-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(245, 245, 240, 0.08);
  padding: 6px;
}

.external-icon-item span {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.external-icon-item.is-soon {
  opacity: 0.35;
  cursor: default;
}

@media (max-width: 480px) {
  .external-icons-strip {
    gap: 1.5em;
  }

  .external-icon-item img {
    width: 40px;
    height: 40px;
    padding: 5px;
  }
}

/* ========================================
   Link Cards (links.html – rich link page)
   ======================================== */
.link-card {
  display: flex;
  align-items: center;
  gap: 1.5em;
  padding: 28px 32px;
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  margin-bottom: 1.25em;
  text-decoration: none;
  transition: border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}

a.link-card:hover {
  border-color: var(--color-muted-gold);
  transform: translateY(-2px);
}

a.link-card:hover .link-card-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.link-card-primary {
  border-color: rgba(184, 160, 126, 0.3);
  background: rgba(184, 160, 126, 0.06);
}

.link-card-soon {
  opacity: 0.5;
  cursor: default;
}

.link-card-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.link-card-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
}

.link-card-content {
  flex: 1;
  min-width: 0;
}

.link-card .link-card-content h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
  color: var(--color-moon-white);
}

.link-card .link-card-content p {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.9;
  margin-bottom: 0.6em;
}

.link-card-badge {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--color-muted-gold);
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border: 1px solid rgba(184, 160, 126, 0.3);
  border-radius: 12px;
}

.link-card-badge-soon {
  color: var(--color-blue-grey);
  border-color: var(--color-border);
}

.link-card-arrow {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--color-muted-gold);
  opacity: 0.4;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
  .link-card {
    padding: 20px 20px;
    gap: 1em;
  }

  .link-card-icon {
    width: 44px;
    height: 44px;
  }

  .link-card-icon img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .link-card .link-card-content h2 {
    font-size: 1rem;
  }

  .link-card .link-card-content p {
    font-size: 0.8rem;
  }

  .link-card .link-card-content p br {
    display: none;
  }

  .link-card-arrow {
    display: none;
  }
}

/* ========================================
   Article Share Buttons
   ======================================== */
.article-share {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid var(--color-border);
}

.article-share-label {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--color-blue-grey);
  margin-bottom: 1em;
  text-transform: uppercase;
}

.article-share-btns {
  display: flex;
  gap: 0.75em;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 10px 20px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.share-btn:hover {
  border-color: var(--color-muted-gold);
  color: var(--color-muted-gold);
  background: rgba(184, 160, 126, 0.06);
}

.share-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .share-btn {
    padding: 10px 16px;
    font-size: 0.6875rem;
  }
}

/* ========================================
   Article Prev / Next Navigation
   ======================================== */
.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5em;
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid var(--color-border);
}

.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
  text-decoration: none;
  max-width: 45%;
  transition: opacity 0.3s ease;
}

.article-nav-item:hover {
  opacity: 0.8;
}

.article-nav-item.is-next {
  text-align: right;
  margin-left: auto;
}

.article-nav-direction {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--color-blue-grey);
  text-transform: uppercase;
}

.article-nav-title {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--color-moon-white);
  line-height: 1.6;
}

@media (max-width: 480px) {
  .article-nav {
    flex-direction: column;
    gap: 1.5em;
  }

  .article-nav-item {
    max-width: 100%;
  }

  .article-nav-item.is-next {
    text-align: left;
  }
}

/* ========================================
   404 Page
   ======================================== */
.page-404 {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--side-padding);
}

.page-404-content {
  max-width: 480px;
}

.page-404-moon {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 0.5em;
  opacity: 0.6;
}

.page-404 h1 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5em;
  letter-spacing: 0.06em;
}

.page-404 p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 2em;
}

.page-404 .btn {
  min-width: 180px;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-blue-grey);
  font-size: 0.875rem;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.3s ease, color 0.3s ease;
  transform: translateY(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--color-muted-gold);
  color: var(--color-muted-gold);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 90px;
    left: 16px;
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
  }
}

/* ========================================
   Page Transition
   ======================================== */
body {
  animation: pageFadeIn 0.5s ease;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ========================================
   Accessibility – Focus Styles
   ======================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-muted-gold);
  outline-offset: 2px;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-muted-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

:focus:not(:focus-visible) {
  outline: none;
}

/* Skip to content (hidden link for screen readers) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-deep-navy);
  color: var(--color-muted-gold);
  padding: 12px 24px;
  z-index: 200;
  font-size: 0.875rem;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   Floating CTA
   ======================================== */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-cta a {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 14px 24px;
  background: rgba(10, 17, 40, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-muted-gold);
  border-radius: 40px;
  color: var(--color-muted-gold);
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.floating-cta a:hover {
  background: rgba(184, 160, 126, 0.15);
  box-shadow: 0 4px 32px rgba(184, 160, 126, 0.2);
  color: var(--color-moonlight);
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    right: 16px;
    left: 16px;
  }

  .floating-cta a {
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    font-size: 0.8125rem;
  }
}

/* ========================================
   Moon Phase Display
   ======================================== */
p.moon-phase-badge {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.06em;
  opacity: 0.5;
  margin-bottom: 1em;
  transition: opacity 0.3s ease;
}

p.moon-phase-badge:hover {
  opacity: 0.8;
}

/* ========================================
   Article Page (Individual Blog Posts)
   ======================================== */
.article-page {
  padding: var(--section-gap) 0;
}

.article-header {
  display: flex;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
  margin-bottom: 1.5em;
}

.article-date {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.08em;
}

.article-moon {
  font-size: 0.8125rem;
  color: var(--color-blue-grey);
  letter-spacing: 0.04em;
}

.article-page h1 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 2em;
  letter-spacing: 0.04em;
}

.article-body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 2.2;
  letter-spacing: 0.03em;
  color: var(--color-moonlight);
}

.article-body p {
  margin-bottom: 2em;
}

.article-body p:last-child {
  margin-bottom: 0;
}

.article-footer {
  margin-top: 4em;
  text-align: center;
}

@media (max-width: 768px) {
  .article-page {
    padding: var(--section-gap-mobile) 0;
  }

  .article-page h1 {
    font-size: 1.35rem;
    margin-bottom: 1.5em;
  }

  .article-body {
    font-size: 0.9375rem;
    line-height: 2;
  }

  .article-body p {
    margin-bottom: 1.5em;
  }
}

/* ========================================
   Micro-interactions: Moon Glow
   ======================================== */
.card:hover,
.record-card:hover,
.external-link-card:hover,
a.link-card:hover {
  box-shadow: 0 0 20px rgba(184, 160, 126, 0.08);
}

/* ========================================
   Micro-interactions: Button Ripple
   ======================================== */
.btn {
  position: relative;
  overflow: hidden;
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(184, 160, 126, 0.25);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
