/* =============================================================
   みんなの評判.com — Top Page Stylesheet (v3 Interactive Editorial)
   Deep navy × warm cream × muted gold — Forbes-level media trust
   ============================================================= */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-feature-settings: "palt" 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── Global animated dot background ──────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(13,27,62,.06) 1.5px, transparent 1.5px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
  animation: dot-drift 24s linear infinite;
  will-change: background-position;
}
@keyframes dot-drift {
  0%   { background-position: 0 0; }
  100% { background-position: 32px 32px; }
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --navy:     #0d1b3e;
  --navy-mid: #1a3060;
  --navy-l:   #eaeff8;
  --gold:     #b8974a;
  --gold-l:   #f6f0e2;
  --gold-d:   #7d6425;
  --ink:      #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-mute: #8a8a8a;
  --border:   #ddd9d0;
  --border-l: #ece8df;
  --bg:       #faf8f4;
  --bg-warm:  #f2efe7;
  --bg-card:  #ffffff;
  --bg-dark:  #060e20;
  --accent:   #b83030;
  --radius-s: 3px;
  --radius-m: 8px;
  --radius-l: 16px;
  --header-h: 66px;
  --shadow-s: 0 1px 6px rgba(13,27,62,.05);
  --shadow-m: 0 6px 28px rgba(13,27,62,.10);
  --shadow-l: 0 14px 52px rgba(13,27,62,.14);
}

/* ── Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ── Section spacing ──────────────────────────────────────── */
.section-featured,
.section-articles,
.section-categories,
.section-about,
.section-contact,
.section-howto {
  padding: 80px 0;
}
.section-featured  { padding-top: 64px; }
.section-articles  { background: var(--bg-warm); }
.section-categories { padding: 60px 0; }
.section-howto      { background: var(--bg-card); }

/* ── Section header ───────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 40px;
}
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink);
  position: relative;
  padding-bottom: 13px;
  flex-shrink: 0;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.section-sub {
  font-size: .8rem;
  color: var(--ink-mute);
  letter-spacing: .04em;
  padding-bottom: 13px;
  flex: 1;
}
.section-link {
  font-size: .8rem;
  color: var(--navy);
  margin-left: auto;
  white-space: nowrap;
  padding-bottom: 13px;
  letter-spacing: .04em;
  transition: opacity .2s;
  flex-shrink: 0;
}
.section-link:hover { opacity: .6; }

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(13,27,62,.09);
}
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

/* Logo */
.logo { display: flex; align-items: baseline; gap: 1px; }
.logo-text {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.logo-com {
  font-family: 'Shippori Mincho', serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gold);
}

/* Desktop nav */
.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; align-items: center; gap: 32px; }
.nav-desktop a {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: .04em;
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav-desktop a:hover { color: var(--navy); }
.nav-desktop a:hover::after { width: 100%; }

.nav-inquiry {
  padding: 8px 22px;
  background: var(--navy);
  color: #fff !important;
  border-radius: var(--radius-s);
  font-size: .8125rem !important;
  letter-spacing: .06em !important;
  transition: background .2s, transform .15s !important;
}
.nav-inquiry:hover { background: var(--navy-mid) !important; transform: translateY(-1px) !important; }
.nav-inquiry::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  margin-left: auto;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .25s, opacity .25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Side nav drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,62,.48);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 299;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--bg-card);
  z-index: 300;
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 48px rgba(13,27,62,.22);
  display: flex;
  flex-direction: column;
  padding: 80px 0 48px;
  overflow-y: auto;
}
.nav-drawer.open {
  transform: translateX(0);
}
.nav-drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--ink);
  background: var(--bg-warm);
  border-radius: 50%;
  transition: background .2s, transform .25s ease;
}
.nav-drawer-close:hover {
  background: var(--border);
  transform: rotate(90deg);
}
.nav-drawer-logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0 28px 24px;
  border-bottom: 1px solid var(--border-l);
  margin-bottom: 8px;
}
.nav-drawer-logo span { color: var(--gold); }
.nav-drawer ul {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}
.nav-drawer a {
  display: block;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--border-l);
  transition: color .2s, padding-left .2s;
  letter-spacing: .04em;
}
.nav-drawer a:hover {
  color: var(--navy);
  padding-left: 10px;
}

/* =============================================================
   HERO — 3-layer parallax + floating portrait
   ============================================================= */
.hero {
  padding: 72px 0 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: visible; /* allow portrait to bleed */
}

/* Parallax wrap clips the dot bg without clipping the portrait */
.hero-parallax-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-parallax-bg {
  position: absolute;
  inset: -30% 0;
  background-image: radial-gradient(circle, rgba(13,27,62,.038) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  will-change: transform;
}

/* Brand name tiled diagonally across the hero */
.hero-brand-bg {
  position: absolute;
  inset: -60% -10%;
  font-family: 'Shippori Mincho', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(13,27,62,.055);
  letter-spacing: .06em;
  line-height: 4;
  white-space: pre-line;
  word-spacing: 2em;
  transform: rotate(-14deg);
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

/* Giant watermark — deepest layer behind title text */
.hero-watermark {
  position: absolute;
  font-family: 'Shippori Mincho', serif;
  font-size: min(18vw, 240px);
  font-weight: 700;
  color: rgba(13,27,62,.028);
  right: -20px;
  top: 50%;
  transform: translateY(-60%);
  z-index: 0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  will-change: transform;
}

.hero > .container { position: relative; z-index: 2; }
.hero-scroll-hint  { position: relative; z-index: 2; }

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  align-items: center;
}

/* Hero content sits at z-index 1 — portrait will be z-index 3 → appears IN FRONT */
.hero-content {
  padding-right: 48px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: .725rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-accent {
  color: var(--navy);
  display: inline-block;
  position: relative;
}
.hero-accent::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  opacity: .6;
}

.hero-lead {
  font-size: .9375rem;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 36px;
}

/* Stats panel */
.hero-stats {
  display: flex;
  margin-bottom: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-s);
}
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 20px 14px;
  text-align: center;
  transition: background .25s;
}
.hero-stat:hover { background: var(--bg); }
.hero-stat + .hero-stat { border-left: 1px solid var(--border); }
.hero-stat strong {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.hero-stat strong span { font-size: 1rem; font-weight: 600; }
.hero-stat > span:last-child {
  font-size: .7rem;
  color: var(--ink-mute);
  letter-spacing: .04em;
  white-space: nowrap;
}

/* CTA button with arrow */
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  background: var(--navy);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: var(--radius-s);
  overflow: hidden;
  position: relative;
  transition: background .2s, transform .15s;
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.08);
  transform: translateX(-100%);
  transition: transform .3s ease;
}
.hero-cta:hover { background: var(--navy-mid); transform: translateY(-1px); }
.hero-cta:hover::before { transform: translateX(0); }
.hero-cta-arrow {
  display: block;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,.7);
  border-bottom: 2px solid rgba(255,255,255,.7);
  transform: rotate(-45deg) translateY(2px);
  flex-shrink: 0;
  transition: transform .2s;
}
.hero-cta:hover .hero-cta-arrow {
  transform: rotate(-45deg) translateX(3px) translateY(2px);
}

/* =============================================================
   HERO PORTRAIT — 3-layer floating journalist card
   Layer 0: gold dot grid pattern (decorative background)
   Layer 1: info card (white, appears "behind" photo)
   Layer 2: corner accent lines
   Layer 3: floating photo (CSS mask = transparent bg illusion)
   Layer 4: floating badge overlaps photo edge
   ============================================================= */
.hero-portrait-area {
  position: relative;
  z-index: 3;           /* in front of .hero-content z-index:1 */
  align-self: stretch;
  padding-top: 300px;   /* vertical space reserved for floating photo */
  margin-top: -16px;    /* slight upward bleed for magazine look */
}

/* ── Layer 0: gold dot-grid background ─────────────────────── */
.portrait-bg-decor {
  position: absolute;
  top: -16px;
  left: -20px;
  right: -20px;
  bottom: -8px;
  background-image: radial-gradient(circle, rgba(184,151,74,.16) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  border-radius: var(--radius-l);
  pointer-events: none;
  z-index: 0;
}

/* ── Corner gold accent lines ───────────────────────────────── */
.portrait-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  pointer-events: none;
  z-index: 1;
}
.portrait-corner--tl {
  top: -4px;
  left: -4px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
}
.portrait-corner--br {
  bottom: -4px;
  right: -4px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
}

/* ── Layer 1: Info card ─────────────────────────────────────── */
.portrait-card {
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-m);
  /* padding-top creates room for the photo to overlap */
  padding: 120px 24px 28px;
  box-shadow:
    0 8px 32px rgba(13,27,62,.10),
    0 2px 8px rgba(13,27,62,.06);
  text-align: center;
}
.portrait-name {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: .02em;
}
.portrait-role {
  font-size: .7rem;
  color: var(--ink-mute);
  letter-spacing: .06em;
  margin-bottom: 14px;
}
.portrait-note {
  font-size: .8rem;
  line-height: 1.85;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.portrait-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .775rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .04em;
  padding: 9px 18px;
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-s);
  transition: background .2s, color .2s, transform .15s;
}
.portrait-link:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}
.portrait-link-arrow {
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg) translateY(1px);
  flex-shrink: 0;
}

/* ── Layer 3: Floating photo ────────────────────────────────── */
.portrait-photo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px 6px 0 0;
  z-index: 5;

  /* Multi-layer shadow for 3D floating depth */
  box-shadow:
    0 32px 80px rgba(13,27,62,.30),
    0 14px 36px rgba(13,27,62,.18),
    0 4px 12px rgba(13,27,62,.12),
    0 0 0 1px rgba(13,27,62,.06);

  /* CSS mask = background transparency illusion */
  /* Person is visible top-to-torso; fades into white card below */
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 65%,
    rgba(0,0,0,.6) 82%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 65%,
    rgba(0,0,0,.6) 82%,
    transparent 100%
  );

  will-change: transform;
  transition: box-shadow .5s ease;
}
.hero-portrait-area:hover .portrait-photo {
  box-shadow:
    0 40px 96px rgba(13,27,62,.34),
    0 18px 44px rgba(13,27,62,.22),
    0 6px 16px rgba(13,27,62,.14),
    0 0 0 1px rgba(13,27,62,.08);
}

/* ── Layer 4: Floating credential badge ─────────────────────── */
.portrait-credential {
  position: absolute;
  top: 24px;
  right: -6px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 13px;
  background: var(--navy);
  border-radius: var(--radius-s);
  box-shadow: 0 6px 20px rgba(13,27,62,.28);
  animation: badge-float 3s ease-in-out infinite;
}
.portrait-credential strong {
  font-family: 'Shippori Mincho', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.portrait-credential span {
  font-size: .6rem;
  color: rgba(255,255,255,.7);
  letter-spacing: .06em;
  white-space: nowrap;
}

/* Layer 4b: Stat badge — bottom-left, overlaps photo/card boundary */
.portrait-stat-badge {
  position: absolute;
  bottom: 80px;
  left: -14px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 9px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  box-shadow: 0 4px 16px rgba(13,27,62,.12);
  animation: badge-float 3s ease-in-out infinite .8s;
}
.portrait-stat-badge strong {
  font-family: 'Shippori Mincho', serif;
  font-size: .9375rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.portrait-stat-badge span {
  font-size: .6rem;
  color: var(--ink-mute);
  letter-spacing: .06em;
  white-space: nowrap;
}

/* Floating badge animation */
@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* Scroll hint animation */
.hero-scroll-hint {
  display: flex;
  justify-content: center;
  padding: 24px 0 0;
}
.scroll-arrow {
  display: block;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid var(--ink-mute);
  border-bottom: 1.5px solid var(--ink-mute);
  transform: rotate(45deg);
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: .4; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: .9; }
}

/* =============================================================
   PROMISE TICKER — auto-scrolling dark bar
   ============================================================= */
.promise-bar {
  background: var(--bg-dark);
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.ticker-outer {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
  padding: 0;
  list-style: none;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-size: .725rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  letter-spacing: .06em;
  padding: 0 28px;
  white-space: nowrap;
}
.ticker-item--accent {
  font-weight: 700;
  color: var(--gold);
}
.ticker-sep {
  display: block;
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}

/* =============================================================
   MEDIA CREDIBILITY — authority strip
   ============================================================= */
.media-cred {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.media-cred-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.media-cred-label {
  font-size: .7rem;
  color: var(--ink-mute);
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}
.media-logo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.media-logo-list li {
  font-size: .7rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--navy-l);
  border: 1px solid rgba(13,27,62,.12);
  border-radius: 3px;
  padding: 3px 10px;
  white-space: nowrap;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
.media-logo-list li:hover {
  background: var(--navy);
  color: #fff;
}

/* =============================================================
   FEATURED ARTICLE
   ============================================================= */
.featured-card {
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: box-shadow .35s, transform .35s, border-top-color .35s;
  box-shadow: var(--shadow-s);
  background: var(--bg-card);
}
.featured-card:hover {
  box-shadow: var(--shadow-l);
  transform: translateY(-3px);
  border-top-color: var(--gold);
}
.featured-link {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}
.featured-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.featured-card:hover .featured-img-wrap img { transform: scale(1.05); }

.featured-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--navy);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 2px;
  letter-spacing: .06em;
}
.featured-body {
  display: flex;
  flex-direction: column;
  padding: 36px 36px 30px;
  gap: 14px;
  border-left: 3px solid var(--gold);
}
.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .75rem;
  color: var(--ink-mute);
}
.meta-pr {
  background: var(--accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  letter-spacing: .08em;
}
.meta-sep { color: var(--border); }
.featured-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
  transition: color .2s;
}
.featured-card:hover .featured-title { color: var(--navy); }
.featured-excerpt {
  font-size: .875rem;
  line-height: 1.9;
  color: var(--ink-soft);
}
.featured-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-l);
  margin-top: auto;
  font-size: .825rem;
}
.featured-score { font-weight: 700; color: var(--gold-d); }
.featured-score em {
  font-style: normal;
  font-weight: 400;
  color: var(--ink-mute);
  font-size: .75rem;
}
.featured-count { color: var(--ink-mute); font-size: .75rem; }
.featured-read-more {
  margin-left: auto;
  color: var(--navy);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.featured-read-more::after {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg) translateY(1px);
  transition: transform .2s;
}
.featured-card:hover .featured-read-more::after {
  transform: rotate(-45deg) translateX(3px) translateY(1px);
}

/* =============================================================
   MONTHLY BADGE
   ============================================================= */
.monthly-badge {
  display: flex;
  align-items: baseline;
  gap: 2px;
  padding: 5px 12px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold-l);
  flex-shrink: 0;
}
.monthly-badge strong {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold-d);
  line-height: 1;
}
.monthly-badge span {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold-d);
  letter-spacing: .04em;
}

/* =============================================================
   CAROUSEL WRAPPER
   ============================================================= */
.carousel-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Nav buttons */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-s);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .15s;
  cursor: pointer;
  align-self: center;
}
.carousel-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-m);
  transform: scale(1.08);
}
.carousel-btn:disabled {
  opacity: .25;
  pointer-events: none;
}
.carousel-icon {
  display: block;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-soft);
  border-bottom: 2px solid var(--ink-soft);
  transition: border-color .2s;
}
.carousel-btn:hover .carousel-icon { border-color: #fff; }
.carousel-icon--right { transform: rotate(-45deg) translateY(1px); }
.carousel-icon--left  { transform: rotate(135deg) translateY(-1px); }

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  transition: background .2s, transform .2s;
  cursor: pointer;
}
.carousel-dot--active {
  background: var(--navy);
  transform: scale(1.4);
}

/* =============================================================
   ARTICLE LIST — scrollable carousel with snap
   ============================================================= */
.article-list {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-padding-left: 0;
}
.article-list::-webkit-scrollbar { display: none; }

.article-item {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 2px solid transparent;
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s, border-top-color .3s;
  scroll-snap-align: start;
}
.article-item:hover {
  box-shadow: var(--shadow-m);
  transform: translateY(-5px);
  border-top-color: var(--gold);
}
.article-item-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.article-thumb {
  overflow: hidden;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  width: 100%;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.article-item:hover .article-thumb img { transform: scale(1.06); }
.article-thumb--blank {
  position: relative;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border-l);
}
.article-thumb--blank img { width: 100%; height: 100%; object-fit: cover; }
.article-thumb-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: .7rem;
  color: var(--ink-soft);
  letter-spacing: .06em;
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  pointer-events: none;
  white-space: nowrap;
}
.article-body {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  gap: 8px;
  flex: 1;
}
.article-category {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 2px 8px;
  border-radius: 2px;
  align-self: flex-start;
}
.cat-beauty    { background: #fdf2f8; color: #9d174d; }
.cat-study     { background: #fffbeb; color: #92400e; }
.cat-money     { background: #f0fdf4; color: #14532d; }
.cat-career    { background: var(--navy-l); color: var(--navy); }
.cat-lifestyle { background: #f0fdfa; color: #134e4a; }

.article-title {
  font-family: 'Shippori Mincho', serif;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
  transition: color .2s;
}
.article-item:hover .article-title { color: var(--navy); }
.article-title--upcoming { color: var(--ink-soft); }
.article-excerpt {
  font-size: .8rem;
  line-height: 1.75;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  color: var(--ink-mute);
  padding-top: 10px;
  border-top: 1px solid var(--border-l);
  margin-top: auto;
  flex-wrap: wrap;
}
.meta-score { color: var(--gold-d); font-weight: 700; }
.article-item--upcoming { opacity: .7; }
.upcoming-label {
  margin-left: auto;
  font-size: .7rem;
  color: var(--ink-mute);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 20px;
}

/* =============================================================
   HOW IT WORKS — 3-step process grid
   ============================================================= */
.howto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.howto-step {
  padding: 0;
  background: var(--bg-card);
  position: relative;
  transition: background .3s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Photo thumbnail at top of each howto step */
.howto-step-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.howto-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
  filter: brightness(.92);
}
.howto-step:hover .howto-step-img img {
  transform: scale(1.04);
  filter: brightness(1);
}

/* Push text content below the photo */
.howto-step .howto-num,
.howto-step .howto-content {
  padding-left: 36px;
  padding-right: 36px;
}
.howto-step .howto-num { margin-top: 28px; }
.howto-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s ease;
}
.howto-step:hover { background: var(--bg); }
.howto-step:hover::before { transform: scaleY(1); }
.howto-step + .howto-step { border-left: 1px solid var(--border); }

.howto-num {
  display: block;
  font-family: 'Shippori Mincho', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: .45;
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: .04em;
  transition: opacity .3s;
}
.howto-step:hover .howto-num { opacity: .75; }
.howto-content {}
.howto-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  transition: color .2s;
}
.howto-step:hover .howto-title { color: var(--navy); }
.howto-body {
  font-size: .875rem;
  line-height: 1.95;
  color: var(--ink-soft);
  padding-bottom: 36px;
}

/* =============================================================
   CATEGORIES
   ============================================================= */
.section-categories .section-title { margin-bottom: 28px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.category-tag {
  display: inline-block;
  padding: 7px 20px;
  font-size: .8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  border-radius: 30px;
  color: var(--ink-soft);
  background: var(--bg-card);
  transition: border-color .2s, color .2s, background .2s, transform .15s;
  letter-spacing: .04em;
}
.category-tag:hover,
.category-tag--active {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-l);
}
.category-tag:hover { transform: translateY(-1px); }

/* =============================================================
   ABOUT — dark section with gold numbered promises
   ============================================================= */
.section-about {
  background: var(--bg-dark);
  color: rgba(255,255,255,.75);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
  line-height: 1.4;
  position: relative;
  padding-bottom: 14px;
}
.about-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.about-intro p {
  font-size: .9375rem;
  line-height: 1.95;
  color: rgba(255,255,255,.58);
  margin-bottom: 14px;
}
.about-intro strong { color: rgba(255,255,255,.88); font-weight: 600; }

/* Journalist mini-card inside about */
.about-reporter-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-m);
}
.about-reporter-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 2px solid rgba(184,151,74,.5);
  flex-shrink: 0;
  -webkit-mask-image: none;
  mask-image: none;
}
.about-reporter-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.about-reporter-label {
  font-size: .65rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.about-reporter-name {
  font-family: 'Shippori Mincho', serif;
  font-size: .9375rem;
  font-weight: 700;
  color: #fff;
}
.about-reporter-link {
  font-size: .725rem;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  transition: color .2s;
}
.about-reporter-link:hover { color: var(--gold); }
.promise-title {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .14em;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.promise-items {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  counter-reset: promise-counter;
}
.promise-items li {
  counter-increment: promise-counter;
  font-size: .9rem;
  line-height: 1.75;
  color: rgba(255,255,255,.58);
  padding: 15px 0 15px 48px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
  transition: color .25s, background .25s;
}
.promise-items li:first-child { border-top: 1px solid rgba(255,255,255,.07); }
.promise-items li:hover { color: rgba(255,255,255,.85); }
.promise-items li::before {
  content: counter(promise-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 15px;
  font-family: 'Shippori Mincho', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: .85;
}

/* =============================================================
   CONTACT
   ============================================================= */
.section-contact { background: var(--bg); padding: 88px 0; }
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink);
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}
.contact-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.contact-lead {
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 22px 0 28px;
}
.contact-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 36px;
  text-align: left;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
}
.contact-notes li {
  font-size: .8rem;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.8;
}
.contact-notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .74em;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
.contact-btn {
  display: inline-block;
  padding: 16px 52px;
  background: var(--navy);
  color: #fff;
  font-size: .9375rem;
  font-weight: 600;
  border-radius: var(--radius-s);
  letter-spacing: .08em;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.contact-btn:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13,27,62,.2);
}

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--bg-card); border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding-top: 52px;
  padding-bottom: 44px;
}
.footer-logo {
  font-family: 'Shippori Mincho', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.footer-logo span { color: var(--gold); }
.footer-desc {
  font-size: .775rem;
  color: var(--ink-mute);
  margin-top: 8px;
  line-height: 1.75;
}
.footer-nav { margin-left: auto; }
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  justify-content: flex-end;
}
.footer-nav a {
  font-size: .8rem;
  color: var(--ink-mute);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--navy); }
.footer-bottom {
  border-top: 1px solid var(--border-l);
  padding: 18px 0;
  background: var(--bg);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: .75rem; color: var(--ink-mute); }
.footer-pr-note { font-style: italic; }

/* =============================================================
   UPCOMING / IN-PROGRESS — featured hero
   ============================================================= */

/* Keyframes */
@keyframes scan-sweep {
  0%   { top: -6px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .35; transform: scale(.7); }
}
@keyframes progress-loop {
  0%   { width: 18%; }
  60%  { width: 78%; }
  100% { width: 18%; }
}
@keyframes dot-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40%            { transform: translateY(-5px); opacity: 1; }
}
@keyframes shimmer-sweep {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
@keyframes aup-prog {
  0%   { width: 15%; }
  70%  { width: 72%; }
  100% { width: 15%; }
}

/* ── Featured upcoming card ──────────────────────────────── */
.upcoming-hero {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.upcoming-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.45) saturate(.6);
  transition: filter .6s ease;
}
.featured-card--upcoming:hover .upcoming-hero-bg {
  filter: brightness(.55) saturate(.75);
}
.upcoming-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,27,62,.75) 0%, rgba(13,27,62,.5) 60%, rgba(13,27,62,.7) 100%);
  overflow: hidden;
}
.upcoming-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  animation: scan-sweep 3.2s ease-in-out infinite;
  opacity: 0;
}
.upcoming-hero-body {
  position: relative;
  z-index: 2;
  padding: 40px 48px;
  flex: 1;
}
.upcoming-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gold);
  border: 1px solid rgba(184,151,74,.5);
  border-radius: 2px;
  padding: 5px 12px;
  margin-bottom: 16px;
}
.upcoming-live-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  animation: live-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.upcoming-hero-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.35;
}
.upcoming-hero-sub {
  font-size: .875rem;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  margin: 0 0 24px;
}
.upcoming-progress-wrap {
  max-width: 380px;
  margin-bottom: 20px;
}
.upcoming-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
  margin-bottom: 7px;
}
.upcoming-progress-pct { color: var(--gold); font-weight: 700; }
.upcoming-progress-bar {
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
}
.upcoming-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold-d), var(--gold));
  border-radius: 2px;
  animation: progress-loop 4s ease-in-out infinite;
}
.upcoming-dots {
  display: flex;
  gap: 5px;
}
.upcoming-dots span {
  width: 7px;
  height: 7px;
  background: rgba(255,255,255,.45);
  border-radius: 50%;
}
.upcoming-dots span:nth-child(1) { animation: dot-bounce 1.4s ease-in-out infinite; }
.upcoming-dots span:nth-child(2) { animation: dot-bounce 1.4s ease-in-out .2s infinite; }
.upcoming-dots span:nth-child(3) { animation: dot-bounce 1.4s ease-in-out .4s infinite; }

/* ── Article list upcoming card ─────────────────────────── */
.article-item--upcoming { opacity: 1; }

.article-thumb--upcoming-photo {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.article-thumb--upcoming-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(.5) saturate(.6);
  transition: filter .4s ease;
}
.article-item--upcoming:hover .article-thumb--upcoming-photo img {
  filter: brightness(.62) saturate(.8);
}
.article-thumb-upcoming-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.aup-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  animation: scan-sweep 2.8s ease-in-out infinite;
  opacity: 0;
}
.aup-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--gold);
  background: rgba(13,27,62,.82);
  border: 1px solid rgba(184,151,74,.5);
  border-radius: 2px;
  padding: 4px 9px;
  backdrop-filter: blur(4px);
}
.aup-pulse {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: live-pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
.aup-title {
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.6;
}
.aup-progress-wrap {
  margin: 8px 0 6px;
}
.aup-progress-bar {
  height: 3px;
  background: var(--border-l);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
  position: relative;
}
.aup-progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--gold-d), var(--gold));
  border-radius: 2px;
  animation: aup-prog 3.6s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}
.aup-progress-fill::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.5), transparent);
  animation: shimmer-sweep 1.8s ease-in-out infinite;
}
.aup-progress-text {
  font-size: .65rem;
  color: var(--ink-mute);
  letter-spacing: .06em;
}
.aup-soon-label {
  margin-left: auto;
  font-size: .68rem;
  font-weight: 700;
  color: var(--gold-d);
  letter-spacing: .06em;
  background: var(--gold-l);
  border: 1px solid rgba(184,151,74,.3);
  border-radius: 3px;
  padding: 2px 9px;
}

/* =============================================================
   SCROLL REVEAL — 3D perspective animations
   ============================================================= */
.anim-up {
  opacity: 0;
  transform: perspective(900px) translateY(48px) rotateX(9deg);
  transition: opacity .6s ease, transform .6s ease;
  transform-origin: top center;
  backface-visibility: hidden;
}
.anim-up.visible {
  opacity: 1;
  transform: perspective(900px) translateY(0) rotateX(0);
}

.anim-left {
  opacity: 0;
  transform: perspective(900px) translateX(-64px) rotateY(12deg);
  transition: opacity .65s ease, transform .65s ease;
  transform-origin: right center;
  backface-visibility: hidden;
}
.anim-left.visible {
  opacity: 1;
  transform: perspective(900px) translateX(0) rotateY(0);
}

.anim-right {
  opacity: 0;
  transform: perspective(900px) translateX(64px) rotateY(-12deg);
  transition: opacity .65s ease, transform .65s ease;
  transform-origin: left center;
  backface-visibility: hidden;
}
.anim-right.visible {
  opacity: 1;
  transform: perspective(900px) translateX(0) rotateY(0);
}

/* =============================================================
   RESPONSIVE — 960px (article 2-col)
   ============================================================= */
@media (max-width: 960px) {
  .article-item {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

/* =============================================================
   RESPONSIVE — 900px (tablet)
   ============================================================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content { padding-right: 0; }
  .hero-portrait-area {
    padding-top: 260px;
    margin-top: 0;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .featured-link { grid-template-columns: 1fr; }
  .featured-body {
    border-left: none;
    border-top: 3px solid var(--gold);
  }
  .upcoming-hero-body { padding: 28px 28px; }
  .featured-img-wrap { aspect-ratio: 16/7; }

  .howto-grid { grid-template-columns: 1fr; }
  .howto-step + .howto-step { border-left: none; border-top: 1px solid var(--border); }
  .howto-step::before { top: 0; bottom: auto; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; }
  .howto-step:hover::before { transform: scaleX(1); }

  .about-layout { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav ul { justify-content: flex-start; }
}

/* =============================================================
   RESPONSIVE — 768px (mobile)
   ============================================================= */
@media (max-width: 768px) {
  :root { --header-h: 58px; }
  .nav-desktop { display: none; }
  .hamburger   { display: flex; }

  .hero { padding: 48px 0 44px; }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.25rem); }

  .article-item { flex: 0 0 calc(82vw); }
  .carousel-btn { display: none; }

  .section-header { flex-wrap: wrap; gap: 12px; }
  .section-link { margin-left: 0; }

  .promise-list li { padding: 4px 14px; font-size: .7rem; }

  .section-featured,
  .section-articles,
  .section-howto,
  .section-about,
  .section-contact { padding: 56px 0; }

  .contact-btn { width: 100%; text-align: center; padding: 16px 24px; }

  .media-cred-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .media-cred-label { white-space: normal; }

  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* =============================================================
   RESPONSIVE — 480px (small mobile)
   ============================================================= */
@media (max-width: 480px) {
  .container { padding: 0 18px; }

  .hero { padding: 40px 0 40px; }
  .hero-inner { gap: 32px; }
  .hero-portrait-area {
    padding-top: 220px;
    max-width: 100%;
  }
  .portrait-photo {
    width: 170px;
    height: 240px;
  }
  .portrait-card { padding-top: 100px; }
  .hero-stat { padding: 16px 12px; }
  .hero-stat strong { font-size: 1.625rem; }

  .featured-body { padding: 22px 20px 20px; }
  .featured-title { font-size: 1.125rem; }
  .featured-footer { flex-wrap: wrap; gap: 8px; }
  .featured-read-more { margin-left: 0; }

  .category-nav { gap: 8px; }
  .category-tag { padding: 6px 14px; font-size: .775rem; }

  .howto-step .howto-num,
  .howto-step .howto-content { padding-left: 24px; padding-right: 24px; }
  .howto-num  { font-size: 2rem; }

  .article-item { flex: 0 0 86vw; }
}
