/* ============================================
   SHARED STYLES — YUKIMORI
   Extracted from index.html for secondary pages
   Sakura Circuit Theme
============================================ */

/* ============================================
   VARIABLES & RESET
============================================ */
:root {
  --obsidian: #08080f;
  --obsidian-2: #0d0d1a;
  --sakura: #e8547a;
  --sakura-light: #ff6b8a;
  --indigo: #5b4fcf;
  --pearl: #f0ece8;
  --gold: #c8a45e;
  --sakura-10: rgba(232,84,122,0.1);
  --sakura-15: rgba(232,84,122,0.15);
  --sakura-20: rgba(232,84,122,0.2);
  --indigo-10: rgba(91,79,207,0.1);
  --gold-10: rgba(200,164,94,0.1);
  --gold-15: rgba(200,164,94,0.15);
  --gold-20: rgba(200,164,94,0.2);
  --pearl-5: rgba(240,236,232,0.05);
  --pearl-10: rgba(240,236,232,0.1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--obsidian);
  color: var(--pearl);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise texture */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
  opacity: 0.35;
}

a { text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }

/* ============================================
   NAVIGATION
============================================ */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 600;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 56px;
  background: rgba(8,8,15,0.75);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--gold-15);
  transition: padding 0.4s;
}
nav.scrolled { padding: 12px 56px; }

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; letter-spacing: 0.2em;
  color: var(--pearl);
}
.nav-logo em { color: var(--sakura); font-style: normal; }

.nav-center {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px; letter-spacing: 0.25em;
  color: var(--gold); opacity: 0.55;
  text-transform: uppercase;
}

.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(240,236,232,0.45);
  transition: color 0.3s;
}
.nav-link:hover { color: var(--pearl); }

.nav-btn {
  display: inline-block;
  background: var(--sakura);
  color: var(--obsidian);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 9px 22px; border-radius: 3px;
  transition: background 0.3s, transform 0.2s;
}
.nav-btn:hover { background: var(--sakura-light); transform: translateY(-1px); }

/* Mobile hamburger button — hidden on desktop, shown < 1024px */
.nav-burger {
  display: none;
  background: transparent;
  border: none;
  width: 40px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  z-index: 600;
  position: relative;
}
.burger-line {
  display: block;
  width: 26px; height: 2px;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.burger-line-1 { background: var(--sakura); }
.burger-line-2 { background: var(--gold); }
.burger-line-3 { background: var(--pearl); }
.nav-burger[aria-expanded="true"] .burger-line-1 {
  transform: translateY(7px) rotate(45deg);
  background: var(--pearl);
}
.nav-burger[aria-expanded="true"] .burger-line-2 {
  opacity: 0;
  transform: scaleX(0);
}
.nav-burger[aria-expanded="true"] .burger-line-3 {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--pearl);
}

/* Mobile drawer overlay */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 550;
  background: rgba(8,8,15,0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 80px 24px 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.nav-drawer.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}
.drawer-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 0.1em;
  color: var(--pearl);
  text-transform: uppercase;
  transition: color 0.3s;
  text-align: center;
}
.drawer-link:hover,
.drawer-link:active { color: var(--sakura); }
.drawer-divider {
  width: 60px;
  height: 1px;
  background: var(--gold-15);
  margin: 4px 0;
}
.drawer-lang {
  font-family: 'Syne Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  display: flex;
  gap: 12px;
  text-transform: uppercase;
}
.drawer-lang .lang-current { color: var(--pearl); font-weight: 500; }
.drawer-lang .lang-sep { color: rgba(240,236,232,0.25); }
.drawer-lang .lang-link {
  color: rgba(240,236,232,0.45);
  transition: color 0.3s;
}
.drawer-lang .lang-link:hover { color: var(--pearl); }

body.drawer-open { overflow: hidden; }

/* ============================================
   FOOTER
============================================ */
footer {
  padding: 64px 80px 44px;
  border-top: 1px solid var(--gold-15);
  position: relative; z-index: 2;
}
.footer-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}
.footer-brand .logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px; letter-spacing: 0.15em;
  color: var(--pearl); display: block; margin-bottom: 14px;
}
.footer-brand .logo-text em { color: var(--sakura); font-style: normal; }
.footer-brand .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 14px;
  color: rgba(240,236,232,0.35);
  line-height: 1.7; margin-bottom: 22px;
}
.footer-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--gold); opacity: 0.4;
}
.footer-col h4 {
  font-family: 'Syne Mono', monospace;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 13px; color: rgba(240,236,232,0.35);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--pearl); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--gold-15);
  font-size: 11px; color: rgba(240,236,232,0.22);
  letter-spacing: 0.08em;
}
.footer-bottom a { color: var(--sakura); }

/* ============================================
   SECTION COMMONS
============================================ */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: 'Syne Mono', monospace;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.section-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

/* ============================================
   REVEAL ANIMATIONS
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.38s; }

/* ============================================
   PAGE HERO — Secondary page banner
============================================ */
.page-hero {
  padding: 160px 80px 80px;
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,164,94,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,94,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black 20%, transparent 80%);
}
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.page-hero h1 .accent { color: var(--sakura); }
.page-hero h1 .dim { color: rgba(240,236,232,0.2); }
.page-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 1.8vw, 21px);
  font-style: italic;
  color: rgba(240,236,232,0.45);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   CONTENT SECTIONS
============================================ */
.content-section {
  padding: 100px 80px;
  position: relative;
  z-index: 2;
}
.content-section:nth-child(even) {
  background: linear-gradient(180deg, transparent 0%, rgba(91,79,207,0.03) 40%, transparent 100%);
}

/* Two-column layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Card grid for products */
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid var(--gold-15);
}

/* Blog list — single-column override */
#blog-list-container {
  grid-template-columns: 1fr;
  gap: 0;
}

/* ============================================
   TEXT UTILITIES
============================================ */
.text-accent { color: var(--sakura); }
.text-gold { color: var(--gold); }
.text-muted { color: rgba(240,236,232,0.45); }
.text-serif {
  font-family: 'Cormorant Garamond', serif;
}

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 28px;
}
.section-h2 em { color: var(--sakura); font-style: italic; }

.section-p {
  font-size: 15px; line-height: 1.85;
  color: rgba(240,236,232,0.55);
  margin-bottom: 20px;
}

/* ============================================
   SOCIAL CHIP
============================================ */
.social-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'Syne Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-20);
  padding: 8px 16px; border-radius: 3px;
  transition: all 0.3s;
}
.social-chip:hover {
  background: var(--gold-10);
  border-color: rgba(200,164,94,0.5);
}

.socials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

/* ============================================
   PRODUCT CARD
============================================ */
.product-card {
  background: rgba(240,236,232,0.015);
  border: none;
  padding: 44px 40px;
  position: relative;
  transition: background 0.4s;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--sakura-10), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.product-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sakura) 50%, transparent);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.product-card:hover { background: rgba(232,84,122,0.04); }
.product-card:hover::before { opacity: 1; }
.product-card:hover::after { opacity: 1; }
.product-card:nth-child(odd) { border-right: 1px solid var(--gold-15); }
.product-card:nth-child(1),
.product-card:nth-child(2) { border-bottom: 1px solid var(--gold-15); }

.product-num {
  font-family: 'Syne Mono', monospace;
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); opacity: 0.4;
  margin-bottom: 28px;
}
.product-icon-wrap {
  width: 48px; height: 48px;
  border: 1px solid var(--gold-20);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  font-size: 22px;
  transition: border-color 0.3s;
}
.product-card:hover .product-icon-wrap { border-color: rgba(232,84,122,0.3); }
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 400; line-height: 1.15;
  margin-bottom: 14px;
}
.product-desc {
  font-size: 13.5px; line-height: 1.75;
  color: rgba(240,236,232,0.45);
  margin-bottom: 28px;
}
.product-footer {
  display: flex; align-items: flex-end; justify-content: space-between;
}
.product-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 0.05em;
  color: var(--sakura); line-height: 1;
}
.product-price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; color: rgba(240,236,232,0.35);
  letter-spacing: 0.05em;
}
.product-link {
  font-family: 'Syne Mono', monospace;
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(240,236,232,0.3);
  display: flex; align-items: center; gap: 5px;
  transition: color 0.3s;
  position: relative; z-index: 1;
}
.product-card:hover .product-link { color: var(--sakura); }
.product-link .arr { transition: transform 0.3s; }
.product-card:hover .product-link .arr { transform: translateX(3px); }

/* ============================================
   SOCIAL GRID — Community page
============================================ */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.social-card {
  background: rgba(240,236,232,0.015);
  border: 1px solid var(--gold-15);
  border-radius: 4px;
  padding: 36px 32px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.social-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--sakura-10), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
.social-card:hover { border-color: rgba(232,84,122,0.3); }
.social-card:hover::before { opacity: 1; }
.social-card-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.social-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.social-card-desc {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(240,236,232,0.45);
  margin-bottom: 20px;
}
.social-card-link {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sakura);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ============================================
   CONTACT FORM
============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
}
.contact-input,
.contact-textarea {
  background: rgba(240,236,232,0.06);
  border: 1px solid rgba(240,236,232,0.15);
  color: var(--pearl);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 3px;
  outline: none;
  transition: border-color 0.3s;
}
.contact-input:focus,
.contact-textarea:focus { border-color: var(--sakura); }
.contact-input::placeholder,
.contact-textarea::placeholder { color: rgba(240,236,232,0.28); }
.contact-textarea { resize: vertical; min-height: 150px; }
.contact-submit {
  background: var(--sakura);
  color: var(--obsidian);
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  padding: 15px 36px; border-radius: 3px;
  transition: background 0.3s, transform 0.2s;
  align-self: flex-start;
}
.contact-submit:hover { background: var(--sakura-light); transform: translateY(-1px); }

/* QA-04: cookie banner rimosso 2026-05-11 — Plausible no-cookie analytics, nessun banner necessario */

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 1024px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-center { display: none; }
  .nav-right { display: none; }
  .nav-burger { display: flex; }
  .page-hero { padding: 120px 32px 60px; }
  .content-section { padding: 60px 32px; }
  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .card-grid { grid-template-columns: 1fr; }
  .product-card:nth-child(1),
  .product-card:nth-child(2) { border-right: none; }
  .product-card:nth-child(odd) { border-right: none; border-bottom: 1px solid var(--gold-15); }
  footer { padding: 56px 32px 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .social-grid { grid-template-columns: 1fr; }
}

/* ============================================
   AI DISCLOSURE
============================================ */
.ai-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  margin: 0 0 24px 0;
  background: rgba(240,236,232,0.04);
  border: 1px solid rgba(255,183,197,0.15);
  border-radius: 6px;
}
.ai-disclosure-label {
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,183,197,0.6);
  text-transform: uppercase;
  padding-top: 1px;
  flex-shrink: 0;
}
.ai-disclosure-text {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(240,236,232,0.35);
  margin: 0;
}

/* ============================================
   LANGUAGE SWITCHER — Phase 8
============================================ */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Syne Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lang-current {
  color: var(--pearl);
  font-weight: 500;
}
.lang-sep {
  color: rgba(240,236,232,0.2);
}
.lang-link {
  color: rgba(240,236,232,0.35);
  transition: color 0.3s;
}
.lang-link:hover {
  color: var(--pearl);
}

/* ============================================
   LINKS PAGE — Phase 8
============================================ */
.links-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gold-15);
}
.links-main {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.links-hero { text-align: center; }
.links-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 0.2em;
  color: var(--pearl);
}
.links-logo em { color: var(--sakura); font-style: normal; }
.links-tagline {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.6;
  margin-top: 6px;
}
.links-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.link-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 24px;
  border: 1px solid var(--gold-15);
  border-radius: 4px;
  background: rgba(240,236,232,0.03);
  color: var(--pearl);
  font-family: 'Syne Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.link-btn:hover {
  background: var(--sakura-10);
  border-color: var(--sakura-20);
  color: var(--pearl);
}
.link-btn-icon { font-size: 18px; }
.links-newsletter {
  width: 100%;
  padding: 24px;
  border: 1px solid rgba(232,84,122,0.2);
  border-radius: 4px;
  background: rgba(232,84,122,0.04);
  text-align: center;
}
.links-nl-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--pearl);
  margin-bottom: 4px;
}
.links-nl-sub {
  font-size: 13px;
  color: rgba(240,236,232,0.45);
  margin-bottom: 16px;
}
.links-nl-cta {
  display: inline-block;
  background: var(--sakura);
  color: var(--obsidian);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 3px;
  transition: background 0.3s;
}
.links-nl-cta:hover { background: var(--sakura-light); }

/* Links page footer (QA-04: legal links) */
.links-footer {
  text-align: center;
  padding: 28px 20px 24px;
  border-top: 1px solid var(--gold-15);
}
.links-footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.links-footer-links a {
  font-size: 12px;
  color: var(--text-muted, rgba(255,255,255,0.45));
  text-decoration: none;
  transition: color 0.2s;
}
.links-footer-links a:hover { color: var(--sakura); }
.links-footer-links span { color: var(--gold-15); font-size: 12px; }
.links-footer-copy {
  font-size: 11px;
  color: var(--text-muted, rgba(255,255,255,0.3));
}

/* === BLOG (Phase 10) === */

/* Blog index card — product-card visual style (Area 6) */
.blog-card {
  display: block;
  background: rgba(240,236,232,0.015);
  padding: 44px 40px;
  position: relative;
  cursor: pointer;
  border-top: 1px solid var(--gold-15);
  text-decoration: none;
  color: var(--pearl);
  transition: background 0.4s;
  overflow: hidden;
}
.blog-card:first-child { border-top: none; }
.blog-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--sakura-10), transparent 60%);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.blog-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sakura) 50%, transparent);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.blog-card:hover { background: rgba(232,84,122,0.04); }
.blog-card:hover::before { opacity: 1; }
.blog-card:hover::after { opacity: 1; }
.blog-card > * { position: relative; z-index: 1; }

.blog-card-num {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.blog-card-date {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  color: rgba(240,236,232,0.4);
  margin-bottom: 14px;
}

.blog-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  color: var(--bone, var(--pearl));
  letter-spacing: 0.02em;
  margin-bottom: 18px;
  transition: color 0.3s;
}
.blog-card:hover .blog-card-title {
  color: var(--sakura);
}

.blog-card-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(240,236,232,0.55);
  margin-bottom: 24px;
}

.blog-card-link {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone, var(--pearl));
  transition: color 0.3s;
}
.blog-card:hover .blog-card-link {
  color: var(--sakura);
}
.blog-card-link .arr {
  display: inline-block;
  transition: transform 0.3s;
}
.blog-card:hover .blog-card-link .arr {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .blog-card { padding: 32px 24px; }
}

/* Blog article view */
.blog-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 32px;
  position: relative;
  z-index: 2;
}

.blog-article-back {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  margin-bottom: 32px;
  display: inline-block;
  transition: color 0.3s;
}
.blog-article-back:hover {
  color: var(--sakura);
}

.blog-article-meta {
  font-family: 'Syne Mono', monospace;
  font-size: 11px;
  color: rgba(240,236,232,0.4);
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}

/* Prose styles for rendered Markdown */
.blog-article-body h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--bone, var(--pearl));
  margin-bottom: 28px;
  line-height: 1.05;
}
.blog-article-body h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--sakura);
  margin: 48px 0 18px;
  letter-spacing: 0.02em;
}
.blog-article-body h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--gold);
  margin: 32px 0 14px;
}
.blog-article-body p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(240,236,232,0.75);
  margin-bottom: 20px;
}
.blog-article-body ul,
.blog-article-body ol {
  margin: 16px 0 24px 28px;
  color: rgba(240,236,232,0.75);
  line-height: 1.8;
}
.blog-article-body li {
  margin-bottom: 8px;
}
.blog-article-body code {
  font-family: 'Syne Mono', monospace;
  background: rgba(232,84,122,0.1);
  color: var(--sakura-light);
  padding: 2px 6px;
  border-radius: 2px;
  font-size: 13px;
}
.blog-article-body pre {
  background: rgba(15,15,18,0.6);
  border: 1px solid var(--gold-15);
  border-radius: 3px;
  padding: 18px;
  overflow-x: auto;
  margin: 24px 0;
}
.blog-article-body pre code {
  background: transparent;
  padding: 0;
  color: var(--bone, var(--pearl));
  font-size: 13px;
  line-height: 1.6;
}
.blog-article-body a {
  color: var(--sakura);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.blog-article-body a:hover {
  color: var(--sakura-light);
}
.blog-article-body strong {
  color: var(--bone, var(--pearl));
  font-weight: 500;
}
