/* ============================================
   生きがいラボ ｜ IKIGAI LABO
   Design System — v1
   発酵の白、金、ほのかな炭
   ============================================ */

:root {
  --bg: #ebe6d6;              /* main beige — 和紙／発酵の白 */
  --bg-warm: #dfd8c3;         /* warmer beige accent */
  --paper: #faf6ec;           /* subtle cream card (replacing pure white) */
  --card: #e4dec9;            /* subtle warm card */
  --card-hover: #d4ccb3;
  --ink: #2b2419;             /* deep charcoal — 炭の名残 */
  --ink-dim: #5c5143;
  --ink-mute: #8f8370;
  --accent: #b88830;          /* gold */
  --accent-soft: #d6ab5f;     /* lighter gold */
  --accent-deep: #8a6420;     /* darker gold for hover */
  --line: #c9bf9f;            /* soft tan line */
  --line-soft: #d6cdb0;
  --charcoal: #1a1510;        /* reserved for intentional darkness */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Shippori Mincho", "Noto Serif JP", "Cormorant Garamond", serif;
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html[data-lang="en"] body {
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
}

/* LANG TOGGLES */
.ja-only, .en-only { display: none; }
html[data-lang="ja"] .ja-only { display: inline; }
html[data-lang="en"] .en-only { display: inline; }
html[data-lang="ja"] p.ja-only, html[data-lang="ja"] div.ja-only { display: block; }
html[data-lang="en"] p.en-only, html[data-lang="en"] div.en-only { display: block; }

/* ============== NAV ============== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  line-height: 1.1;
}
.brand .brand-ja {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.brand .brand-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  color: var(--ink-dim);
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  padding: 4px 0;
  position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.current { color: var(--accent); }
.nav-links a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}

.nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}
.lang {
  display: flex;
  gap: 2px;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang button {
  background: none;
  border: none;
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.3s;
  border-radius: 999px;
}
.lang button.active {
  color: var(--accent);
  font-weight: 500;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { bottom: -6px; }

@media (max-width: 840px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(250, 246, 236, 0.98);
    backdrop-filter: blur(12px);
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
  }
  .burger { display: block; }
}

/* ============== CONTAINER ============== */
main { padding-top: 80px; }

main > section, main > header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 40px;
}

@media (max-width: 720px) {
  main > section, main > header {
    padding: 60px 24px;
  }
}

/* ============== HERO ============== */
.hero {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero .eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 820px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
html[data-lang="en"] .hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
}
.hero .subtitle {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 2;
  max-width: 680px;
}

/* page-hero (shorter inner-page hero) */
.page-hero {
  padding: 160px 40px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.page-hero .eyebrow,
.page-hero .label {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.page-hero h1 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 820px;
}
.page-hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
.page-hero .subtitle {
  font-size: 16px;
  color: var(--ink-dim);
  line-height: 2;
  max-width: 680px;
}

@media (max-width: 720px) {
  .page-hero { padding: 120px 24px 50px; }
  .hero { padding-top: 100px; }
}

/* ============== SECTION HEADINGS ============== */
.section-label {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.section-label::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
}

h2 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 820px;
}
h2 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 500;
}
html[data-lang="en"] h2 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
}

h3 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 14px;
}
html[data-lang="en"] h3 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}

h4 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 10px;
}
html[data-lang="en"] h4 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}

h5 {
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 8px;
}

p {
  font-size: 15.5px;
  color: var(--ink-dim);
  line-height: 2;
  margin-bottom: 16px;
}
p.lede {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ============== MISSION BLOCK ============== */
.mission-block {
  margin: 48px 0;
  padding: 44px 36px;
  background: var(--card);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  text-align: center;
}
.mission-block p {
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  color: var(--ink);
  line-height: 2.2;
  letter-spacing: 0.04em;
  margin: 0;
}
html[data-lang="en"] .mission-block p {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.02em;
}

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border-radius: 2px;
}
html[data-lang="ja"] .btn {
  font-family: "Shippori Mincho", serif;
  font-style: normal;
  letter-spacing: 0.18em;
}
.btn.primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn.primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn.ghost:hover {
  background: var(--accent);
  color: #fff;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============== LAB ACTIVITIES CARDS ============== */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.activity-card {
  display: block;
  padding: 36px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}
.activity-card:hover {
  background: var(--card);
  border-color: var(--accent);
  transform: translateY(-4px);
}
.activity-card .kanji {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.activity-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: 0.1em;
}
.activity-card .theme {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.activity-card p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink-dim);
  margin-bottom: 20px;
}
.activity-card .arrow {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
}

/* ============== PILLARS GRID (used in some pages) ============== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.pillar {
  padding: 32px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  text-align: center;
  transition: all 0.3s;
}
.pillar:hover {
  border-color: var(--accent);
  background: var(--card-hover);
}
.pillar .kanji {
  font-family: "Shippori Mincho", serif;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 14px;
}
.pillar h4 {
  font-size: 15px;
  letter-spacing: 0.08em;
}
.pillar .theme {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ============== PROFILE LAYOUT ============== */
.profile-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
  margin-top: 40px;
}
.profile-photo {
  position: sticky;
  top: 100px;
}
.profile-photo img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
}
.profile-tag {
  margin-top: 14px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-align: center;
}
.profile-body h2 em {
  color: var(--accent);
}
@media (max-width: 820px) {
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .profile-photo { position: static; }
}

/* ============== VIDEO CARDS ============== */
.video-card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.4s;
}
.video-card .video-thumb {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--charcoal);
  overflow: hidden;
}
.video-card .video-thumb iframe,
.video-card .video-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}
.video-card .meta {
  padding: 20px 24px;
}
.video-card .meta h5 {
  margin-bottom: 6px;
  font-size: 15px;
}
.video-card .meta p {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.6;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

/* ============== PHOTO GRID ============== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 32px;
}
.photo-tile {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--card);
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}
.photo-tile:hover img { transform: scale(1.04); }
.photo-tile.span-2 { grid-column: span 2; aspect-ratio: 8/5; }
@media (max-width: 720px) {
  .photo-tile.span-2 { grid-column: auto; aspect-ratio: 4/3; }
}

/* ============== BLOCK ITEMS (lists) ============== */
.block-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  max-width: 820px;
}
.block-list li {
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.block-list li:last-child { border-bottom: none; }
.block-list .num {
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.22em;
  font-size: 12px;
  min-width: 36px;
}
.block-list strong {
  color: var(--ink);
  font-weight: 500;
}

/* ============== ARTICLE CARDS (Media) ============== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: all 0.4s;
  text-decoration: none;
  color: inherit;
}
.article-card:hover {
  border-color: var(--accent);
  background: var(--card);
  transform: translateY(-4px);
}
.article-thumb {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--card), var(--card-hover));
  position: relative;
  overflow: hidden;
}
.article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.95) saturate(0.95);
}
.article-thumb .badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  background: rgba(250, 246, 236, 0.9);
  padding: 4px 10px;
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
}
.article-card .meta {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-card .outlet {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.article-card .article-title {
  font-family: "Shippori Mincho", serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: auto;
}
html[data-lang="en"] .article-card .article-title {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}
.article-card .arrow {
  font-family: "Cormorant Garamond", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin-top: 14px;
}
.article-card:hover .arrow { color: var(--accent); }

.media-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.media-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-dim);
  transition: all 0.3s;
}
.media-list a:hover { color: var(--accent); padding-left: 8px; }
.media-list a .arrow {
  font-family: "Cormorant Garamond", serif;
  color: var(--ink-mute);
  margin-left: 16px;
}
.media-list a:hover .arrow { color: var(--accent); }

/* ============== LINK CARDS ============== */
.link-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.link-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.link-card:hover {
  border-color: var(--accent);
  background: var(--card);
}
.link-card .label {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.link-card .site {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  color: var(--ink);
}

/* ============== REVEAL ANIMATION ============== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s, transform 0.9s;
}
.reveal.visible,
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
/* Fallback: show after short delay in case JS fails */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ============== FOOTER ============== */
footer {
  background: var(--bg-warm);
  padding: 60px 40px 30px;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: 60px;
}
.fbrand {
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
}
.fbrand-en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}
.ftagline {
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.fnav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.fnav a {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.3s;
}
.fnav a:hover { color: var(--accent); }

.fmeta {
  font-family: "Cormorant Garamond", serif;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.16em;
  margin-top: 10px;
}

.okami-link {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-decoration: none;
  border-bottom: 1px dotted var(--ink-mute);
  padding-bottom: 2px;
}
.okami-link:hover { color: var(--accent); border-color: var(--accent); }

.copyright {
  margin-top: 20px;
  opacity: 0.65;
  font-size: 11px;
}

@media (max-width: 720px) {
  footer { padding: 50px 24px 24px; }
  .fnav { gap: 14px; }
}

/* ============== BINCHO · Signature ============== */
.bincho {
  background: linear-gradient(135deg, rgba(184,136,48,.06), rgba(138,100,32,.03));
  border: 1px solid var(--line);
  padding: 48px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 32px;
}
@media (max-width: 820px) {
  .bincho { grid-template-columns: 1fr; padding: 32px 24px; gap: 32px; }
}
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.info-grid > div {
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: rgba(255,255,255,.4);
}
.info-grid dt {
  font-family: "Cormorant Garamond", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.info-grid dd {
  font-size: 14px;
  color: var(--ink);
}

/* ============== REVIEWS ============== */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.review {
  padding: 32px 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  position: relative;
}
.review::before {
  content: "\201C";
  position: absolute;
  top: -8px;
  left: 20px;
  font-family: "Cormorant Garamond", serif;
  font-size: 68px;
  color: var(--accent);
  line-height: 1;
}
.review .stars {
  color: var(--accent);
  letter-spacing: 0.3em;
  margin-bottom: 10px;
  font-size: 14px;
}
.review h5 {
  font-family: "Shippori Mincho", serif;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ink);
}
html[data-lang="en"] .review h5 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}
.review p {
  font-size: 14px;
  line-height: 1.75;
  margin-bottom: 14px;
  font-style: italic;
}
.review .cite {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-family: "Cormorant Garamond", serif;
}
@media (max-width: 720px) {
  .reviews { grid-template-columns: 1fr; }
}

/* ============== SOURCING ============== */
.sourcing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 980px) {
  .sourcing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .sourcing-grid { grid-template-columns: 1fr; }
}
.sourcing-card {
  padding: 26px 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 2px;
  transition: all 0.4s;
  position: relative;
}
.sourcing-card.highlight {
  border-color: rgba(184,136,48,.4);
  background: linear-gradient(135deg, rgba(184,136,48,.08), rgba(138,100,32,.04));
}
.sourcing-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.sourcing-kanji {
  font-family: "Shippori Mincho", serif;
  font-size: 36px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 500;
}
.sourcing-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--ink);
}
.sourcing-card p {
  font-size: 13px;
  line-height: 1.75;
  margin-bottom: 10px;
  color: var(--ink-dim);
}
.tag-alert {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--accent);
  background: rgba(184,136,48,.1);
  padding: 4px 10px;
  border: 1px solid rgba(184,136,48,.3);
  border-radius: 2px;
  margin-top: 8px;
  text-transform: uppercase;
}

/* ============== VIDEO INSERT ============== */
.video-insert {
  margin: 32px 0 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
}
.video-insert iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============== HERO WITH BG PHOTO (dark overlay for text) ============== */
.page-hero-photo {
  position: relative;
  overflow: hidden;
  color: var(--ink);
}
.page-hero-photo .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.22;
}
.page-hero-photo .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(235,230,214,.5), rgba(235,230,214,.9));
}
.page-hero-photo .hero-content {
  position: relative;
  z-index: 1;
}

/* ============== JAPANESE TEXT WRAPPING FIX ============== */
h1, h2, h3, h4, h5,
.subtitle, .lede, .hero p, .page-hero p {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}
.hero .subtitle,
.page-hero .subtitle,
.page-hero p.subtitle {
  max-width: 820px;
}

/* ============== GLOWING ORBS (Activities) ============== */
.orbs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px 24px;
  margin-top: 48px;
  max-width: 960px;
}
.orb {
  text-align: center;
  position: relative;
  text-decoration: none;
  color: inherit;
  padding: 10px 6px;
}
.orb-circle {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--paper), var(--card));
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  transition: all 0.6s;
  box-shadow: 0 0 0 0 rgba(184,136,48,0.3);
}
.orb-circle::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,136,48,0.22), transparent 65%);
  opacity: 0;
  transition: opacity 0.6s;
  z-index: -1;
  filter: blur(2px);
}
.orb-circle .kanji {
  font-family: "Shippori Mincho", serif;
  font-size: 42px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}
.orb h4 {
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  color: var(--ink);
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
}
html[data-lang="en"] .orb h4 {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
}
.orb p {
  font-size: 12px;
  color: var(--ink-dim);
  margin: 0;
  line-height: 1.6;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.05em;
}
html[data-lang="ja"] .orb p {
  font-family: "Shippori Mincho", serif;
  font-style: normal;
}

/* subtle breathing glow — staggered via nth-child delay */
@keyframes orbGlow {
  0%, 100% {
    box-shadow: 0 0 6px rgba(184,136,48,0.15),
                0 0 12px rgba(184,136,48,0.08);
  }
  50% {
    box-shadow: 0 0 14px rgba(184,136,48,0.35),
                0 0 28px rgba(184,136,48,0.18);
  }
}
.orb-circle {
  animation: orbGlow 4s ease-in-out infinite;
}
.orb:nth-child(1) .orb-circle { animation-delay: 0s; }
.orb:nth-child(2) .orb-circle { animation-delay: 0.4s; }
.orb:nth-child(3) .orb-circle { animation-delay: 0.8s; }
.orb:nth-child(4) .orb-circle { animation-delay: 1.2s; }
.orb:nth-child(5) .orb-circle { animation-delay: 1.6s; }
.orb:nth-child(6) .orb-circle { animation-delay: 2.0s; }
.orb:nth-child(7) .orb-circle { animation-delay: 2.4s; }
.orb:nth-child(8) .orb-circle { animation-delay: 2.8s; }

.orb:hover .orb-circle {
  transform: scale(1.06);
  background: radial-gradient(circle at 35% 30%, #fff, var(--card));
}
.orb:hover .orb-circle::before { opacity: 1; }
.orb:hover h4 { color: var(--accent); }

@media (max-width: 720px) {
  .orbs-grid { gap: 28px 18px; }
  .orb-circle { width: 92px; height: 92px; }
  .orb-circle .kanji { font-size: 36px; }
}
