/*
Theme Name: khorlo
Theme URI: https://khorlo.jp
Author: khorlo
Author URI: https://khorlo.jp
Description: Ambient minimal theme for khorlo. — Space. Spirituality. Mindfulness. Art. Music.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: khorlo
*/

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:     #f2efea;
  --fg:     #1e1c1a;
  --muted:  #8a8680;
  --light:  #c8c4be;
  --serif:  'EB Garamond', Georgia, serif;
  --sans:   'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 9px;
}

.site-branding .logo-mark {
  display: flex;
  align-items: center;
  color: var(--fg);
  flex-shrink: 0;
}
.site-branding .logo-mark svg {
  width: 64px;
  height: auto;
  display: block;
}

.site-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.28em;
  color: var(--fg);
  text-transform: lowercase;
}

.menu-toggle {
  width: 33px; height: 33px;
  border-radius: 50%;
  border: 1px solid rgba(30,28,26,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
}
.menu-toggle::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--fg);
}

/* Nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(242,239,234,0.97);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay .nav-close {
  position: absolute;
  top: 28px; right: 40px;
  background: none;
  border: none;
  font-family: var(--serif);
  font-size: 22px;
  cursor: pointer;
  color: var(--fg);
  opacity: 0;
  transition: opacity 0.3s ease 0.3s;
}
.nav-overlay.is-open .nav-close { opacity: 0.5; }
.nav-overlay .nav-close:hover { opacity: 1 !important; }

.nav-overlay ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 各メニューアイテム — 初期状態 */
.nav-overlay ul li {
  opacity: 0;
  transform: translateY(-18px);
  transition:
    opacity 0.55s cubic-bezier(0.22,1,0.36,1),
    transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

/* is-open 時にディレイ付きで表示 */
.nav-overlay.is-open ul li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.08s; }
.nav-overlay.is-open ul li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.nav-overlay.is-open ul li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.22s; }
.nav-overlay.is-open ul li:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.29s; }
.nav-overlay.is-open ul li:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.36s; }
.nav-overlay.is-open ul li:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.43s; }
.nav-overlay.is-open ul li:nth-child(7) { opacity: 1; transform: none; transition-delay: 0.50s; }
.nav-overlay.is-open ul li:nth-child(8) { opacity: 1; transform: none; transition-delay: 0.57s; }

/* 閉じるときはリセット */
.nav-overlay ul li { transition-delay: 0s; }

.nav-overlay ul li a {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--fg);
  opacity: 0.7;
  text-transform: capitalize;
  transition: opacity 0.2s, letter-spacing 0.3s;
}
.nav-overlay ul li a:hover {
  opacity: 1;
  letter-spacing: 0.18em;
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 170px 1fr;
  position: relative;
}

.hero-side-nav {
  padding: 118px 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  z-index: 2;
}
.hero-side-nav a {
  font-size: 13.5px;
  letter-spacing: 0.05em;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.25s;
  text-transform: capitalize;
}
.hero-side-nav a:hover { opacity: 1; }

.hero-visual {
  position: relative;
  overflow: hidden;
}
#galaxy-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

.hero-content {
  position: absolute;
  bottom: 0; left: 0;
  padding: 0 0 88px 56px;
  z-index: 2;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.13em;
  margin-bottom: 22px;
}
.hero-rule {
  width: 26px; height: 1px;
  background: rgba(30,28,26,0.35);
  margin-bottom: 22px;
}
.hero-tags p {
  font-size: 11px;
  letter-spacing: 0.07em;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 300;
}

/* ─────────────────────────────────────────
   FEATURES
───────────────────────────────────────── */
.section-features {
  padding: 94px 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.feature-item {
  text-align: center;
  padding: 16px 8px;
}
.feature-icon {
  width: 50px; height: 50px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon svg {
  width: 50px; height: 50px;
  stroke: var(--fg);
  fill: none;
  stroke-width: 0.9;
  opacity: 0.65;
}
.feature-label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  font-weight: 400;
}
.feature-desc {
  font-family: var(--serif);
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   ART SECTION
───────────────────────────────────────── */
.section-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}
.art-visual {
  position: relative;
  overflow: hidden;
  background: #e4dfd7;
}
#art-canvas {
  width: 100%; height: 100%;
  display: block;
}
.art-copy {
  padding: 78px 72px 78px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sec-label {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 400;
}
.sec-rule {
  width: 26px; height: 1px;
  background: var(--light);
  margin-bottom: 26px;
}
.art-headline {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.1em;
  margin-bottom: 38px;
}
.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--light);
  padding-bottom: 3px;
  transition: border-color 0.2s;
  width: fit-content;
}
.link-btn:hover { border-color: var(--fg); }

/* ─────────────────────────────────────────
   MUSIC PLAYER
───────────────────────────────────────── */
.section-music {
  padding: 70px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.player-left {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 268px;
}
.album-art {
  width: 84px; height: 84px;
  border-radius: 2px;
  flex-shrink: 0;
  overflow: hidden;
}
#album-canvas { width: 100%; height: 100%; display: block; }

.track-info {}
.now-playing-label {
  font-size: 8.5px;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 5px;
}
.track-title {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}
.track-meta {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 13px;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fg);
  opacity: 0.55;
  padding: 3px;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}
.ctrl-btn:hover { opacity: 1; }
.play-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(30,28,26,0.45) !important;
  opacity: 0.75 !important;
  justify-content: center;
}

.player-right { flex: 1; }
#waveform-canvas { width: 100%; height: 72px; display: block; margin-bottom: 8px; cursor: pointer; }
.player-times {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   JOURNAL
───────────────────────────────────────── */
.section-journal {
  padding: 80px 56px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.journal-intro {}
.journal-heading {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 400;
}
.journal-rule {
  width: 26px; height: 1px;
  background: var(--light);
  margin-bottom: 22px;
}
.journal-desc {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  height: 278px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.post-card .card-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.post-card canvas.card-bg {
  display: block;
}
.post-card:hover .card-bg { transform: scale(1.04); }
.post-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}
.post-card .card-text {
  position: absolute;
  bottom: 0; left: 0;
  padding: 22px 20px;
}
.post-card .card-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  line-height: 1.45;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.post-card .card-date {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.site-footer {
  padding: 44px 40px 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.footer-brand .footer-logo {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: lowercase;
}
.footer-brand .footer-copy {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 5px;
}
.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-nav a {
  font-size: 10.5px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--fg); }

/* ─────────────────────────────────────────
   INNER PAGES
───────────────────────────────────────── */
.page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 140px 40px 100px;
}
.page-wrap h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-bottom: 36px;
}
.page-wrap .entry-content p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 1.4em;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side-nav { display: none; }
  .hero-content { padding: 0 32px 72px; }
  .section-features { grid-template-columns: repeat(2, 1fr); padding: 64px 32px; }
  .section-art { grid-template-columns: 1fr; }
  .art-visual { min-height: 360px; }
  .art-copy { padding: 56px 40px; }
  .section-music { grid-template-columns: 1fr; padding: 56px 32px; }
  .section-journal { grid-template-columns: 1fr; padding: 64px 32px; gap: 40px; }
  .journal-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { flex-direction: column; gap: 28px; align-items: flex-start; }
}

@media (max-width: 600px) {
  .site-header { padding: 20px 24px; }
  .section-features { grid-template-columns: 1fr; }
  .journal-grid { grid-template-columns: 1fr; }
  .section-music { gap: 36px; }
  .player-left { flex-direction: column; align-items: flex-start; }
}


/* ─────────────────────────────────────────
   SINGLE POST
───────────────────────────────────────── */
.single-hero {
  position: relative;
  min-height: 60vh;
  overflow: hidden;
  background: #ddd9d2;
}
.single-hero-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
#single-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,16,14,0.55) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
}
.single-hero-text {
  position: absolute;
  bottom: 0; left: 0;
  padding: 0 60px 60px;
  z-index: 2;
}
.single-category {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.single-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 14px;
}
.single-date {
  font-size: 10.5px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
}

.single-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 40px 100px;
}
.single-content p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.0;
  color: var(--muted);
  margin-bottom: 1.6em;
  letter-spacing: 0.04em;
}
.single-content h2 {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  letter-spacing: 0.08em;
  margin: 2.4em 0 1em;
}
.single-content h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 2em 0 0.8em;
}
.single-content blockquote {
  border-left: 1px solid var(--light);
  padding-left: 24px;
  margin: 2em 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
}
.single-content figure { margin: 2.4em 0; }
.single-content figure img { width: 100%; border-radius: 2px; }
.single-content figcaption {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-top: 10px;
  text-align: center;
}

.single-nav {
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid rgba(0,0,0,0.07);
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.single-nav-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 48%;
}
.single-nav-link.next { text-align: right; margin-left: auto; }
.single-nav-link .nav-dir {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.single-nav-link .nav-title {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--fg);
  line-height: 1.5;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.single-nav-link:hover .nav-title { border-color: var(--light); }

/* ─────────────────────────────────────────
   ARCHIVE
───────────────────────────────────────── */
.archive-wrap {
  padding: 140px 56px 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.archive-header {
  margin-bottom: 60px;
}
.archive-desc {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.04em;
  max-width: 480px;
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.archive-pagination {
  margin-top: 56px;
  text-align: center;
}
.archive-pagination .page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
}
.archive-pagination .page-numbers li a,
.archive-pagination .page-numbers li span {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.2s, color 0.2s;
}
.archive-pagination .page-numbers li a:hover { color: var(--fg); border-color: var(--light); }
.archive-pagination .page-numbers li .current { color: var(--fg); border-color: var(--fg); }

.no-posts {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .archive-wrap { padding: 120px 32px 80px; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .single-hero-text { padding: 0 32px 48px; }
  .single-body { padding: 60px 28px 80px; }
}
@media (max-width: 600px) {
  .archive-grid { grid-template-columns: 1fr; }
  .single-nav { flex-direction: column; }
  .single-nav-link { max-width: 100%; }
  .single-nav-link.next { text-align: left; margin-left: 0; }
}

/* ─────────────────────────────────────────
   INNER PAGES — SHARED
───────────────────────────────────────── */
.inner-hero {
  position: relative;
  height: 68vh;
  min-height: 420px;
  overflow: hidden;
  background: #d8d3cc;
}
#inner-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.inner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18,16,14,0.52) 0%, rgba(0,0,0,0.06) 60%, transparent 100%);
}
.inner-hero-text {
  position: absolute;
  bottom: 0; left: 0;
  padding: 0 60px 60px;
  z-index: 2;
}
.inner-label {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.inner-hl {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: #fff;
}

/* ─────────────────────────────────────────
   ABOUT
───────────────────────────────────────── */
.about-intro {
  padding: 96px 56px 80px;
  max-width: 860px;
}
.about-tagline {
  font-family: var(--serif);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}
.about-rule {
  width: 32px; height: 1px;
  background: var(--light);
  margin-bottom: 28px;
}
.about-body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.0;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.about-content p {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 2.0;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.5em;
}
.about-values {
  padding: 0 56px 96px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.07);
}
.value-item {
  padding: 52px 48px 52px 0;
  border-right: 1px solid rgba(0,0,0,0.07);
  margin-right: 48px;
}
.value-item:nth-child(3n) { border-right: none; margin-right: 0; }
.value-item:nth-child(n+4) { border-top: 1px solid rgba(0,0,0,0.07); padding-top: 52px; }
.value-en {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-bottom: 6px;
}
.value-ja {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.value-rule {
  width: 22px; height: 1px;
  background: var(--light);
  margin-bottom: 16px;
}
.value-body {
  font-family: var(--serif);
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.about-statement {
  padding: 100px 56px;
  border-top: 1px solid rgba(0,0,0,0.07);
  text-align: center;
}
.statement-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--fg);
  opacity: 0.7;
}

/* ─────────────────────────────────────────
   PRODUCTS
───────────────────────────────────────── */
.products-intro {
  padding: 96px 56px 56px;
}
.products-intro-inner { max-width: 560px; }
.products-lead {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.products-grid-section { padding: 0 56px 100px; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card { text-decoration: none; color: inherit; display: block; }
.product-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  height: 320px;
  margin-bottom: 16px;
  background: #e4dfd7;
}
.product-thumb canvas,
.product-thumb img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.product-card:hover .product-thumb canvas,
.product-card:hover .product-thumb img { transform: scale(1.04); }
.product-sub {
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 6px;
}
.product-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   JOURNAL (LIST PAGE)
───────────────────────────────────────── */
.journal-page-header {
  padding: 140px 56px 72px;
}
.journal-page-header-inner { max-width: 480px; }
.journal-page-lead {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.journal-page-grid {
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.no-posts-wrap {
  padding: 80px 56px 100px;
}
.no-posts {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ─────────────────────────────────────────
   MUSIC PAGE
───────────────────────────────────────── */
.music-featured {
  padding: 80px 56px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.music-featured-inner { max-width: 1000px; margin: 0 auto; }
.music-player-full {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.music-tracklist { padding: 80px 56px 100px; }
.music-tracklist-inner { max-width: 720px; }
.track-list { margin-top: 8px; }
.track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}
.track-row:hover { opacity: 0.6; }
.track-row-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.04em;
  flex: 1;
}
.track-row-genre {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 0 32px;
}
.track-row-date {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ─────────────────────────────────────────
   ART PAGE
───────────────────────────────────────── */
.art-statement-section {
  padding: 88px 56px 64px;
}
.art-statement-inner { max-width: 600px; }
.art-statement-lead {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.art-gallery-section { padding: 0 56px 100px; }
.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.art-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.art-card--wide {
  grid-column: span 2;
}
.art-card-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.art-card:hover .art-card-img { transform: scale(1.04); }
.art-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.art-card:hover .art-card-info { opacity: 1; }

/* ─────────────────────────────────────────
   CONTACT PAGE
───────────────────────────────────────── */
.contact-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 140px 0 0;
}
.contact-left {
  padding: 0 72px 100px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-right: 1px solid rgba(0,0,0,0.07);
}
.contact-hl {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.08em;
  margin-bottom: 28px;
}
.contact-desc {
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}
.contact-info { margin-top: auto; }
.contact-mail {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--light);
  padding-bottom: 4px;
  width: fit-content;
  margin-bottom: 28px;
  transition: border-color 0.2s;
}
.contact-mail:hover { border-color: var(--fg); }
.contact-socials { display: flex; gap: 24px; }
.contact-social-link {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-social-link:hover { color: var(--fg); }
.contact-right {
  padding: 0 56px 100px 72px;
}
.khorlo-form { display: flex; flex-direction: column; gap: 32px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.form-input,
.form-textarea {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding: 10px 0;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: 0.04em;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  resize: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--light); }
.form-input:focus,
.form-textarea:focus { border-color: var(--fg); }
.form-submit-row { padding-top: 8px; }
.form-submit {
  background: none;
  border: 1px solid rgba(30,28,26,0.35);
  padding: 14px 36px;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.form-submit:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.form-note {
  font-size: 10px;
  line-height: 1.7;
  color: var(--light);
  letter-spacing: 0.04em;
}

/* ─────────────────────────────────────────
   RESPONSIVE — INNER PAGES
───────────────────────────────────────── */
@media (max-width: 960px) {
  .about-values { grid-template-columns: repeat(2, 1fr); padding: 0 32px 80px; }
  .value-item:nth-child(2n) { border-right: none; margin-right: 0; }
  .value-item:nth-child(2n+1) { border-right: 1px solid rgba(0,0,0,0.07); margin-right: 40px; }
  .value-item:nth-child(n+3) { border-top: 1px solid rgba(0,0,0,0.07); padding-top: 52px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .art-grid { grid-template-columns: repeat(2, 1fr); }
  .art-card--wide { grid-column: span 2; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-left { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.07); padding: 0 32px 60px; }
  .contact-right { padding: 60px 32px 80px; }
  .music-player-full { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .inner-hero-text { padding: 0 28px 44px; }
  .about-intro { padding: 72px 28px 60px; }
  .about-values { grid-template-columns: 1fr; padding: 0 28px 72px; }
  .value-item { border-right: none !important; margin-right: 0 !important; border-top: 1px solid rgba(0,0,0,0.07); padding-top: 40px !important; }
  .value-item:first-child { border-top: none; }
  .about-statement { padding: 72px 28px; }
  .products-intro, .products-grid-section { padding-left: 28px; padding-right: 28px; }
  .products-grid { grid-template-columns: 1fr; }
  .journal-page-header, .journal-page-grid { padding-left: 24px; padding-right: 24px; }
  .journal-page-grid { grid-template-columns: 1fr; }
  .music-featured, .music-tracklist { padding-left: 24px; padding-right: 24px; }
  .art-statement-section, .art-gallery-section { padding-left: 24px; padding-right: 24px; }
  .art-grid { grid-template-columns: 1fr; }
  .art-card--wide { grid-column: span 1; }
}
