/* ============================================
   TOKIAYA — 刻の彩
   Shared Stylesheet
   ============================================ */

:root {
  /* === COLORS === */
  --bg: #FAF8F5;
  --bg-soft: #F2EEE7;
  --bg-warm: #ECE5D5;
  --bg-dark: #1F1E1B;
  --ink: #1F1E1B;
  --ink-soft: #5A5852;
  --ink-faint: #8E8B82;
  --rule: #D8D2C3;
  --rule-soft: #E8E3D5;
  --rule-dark: #BFB6A0;
  --accent: #8B7355;
  --accent-light: #B89968;
  --accent-dark: #5C4A33;
  
  /* === TYPE === */
  --display: 'Italiana', 'Cormorant Garamond', 'Hiragino Mincho ProN', serif;
  --serif: 'Lora', 'Times New Roman', serif;
  --jp: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.lang-jp {
  font-family: var(--jp);
}

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

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* === FIXED CHAPTER MARKER (signature element) === */
.chapter-marker {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  writing-mode: vertical-rl;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--ink-faint);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s ease, color 0.4s ease;
}

.chapter-marker.visible { opacity: 1; }

@media (max-width: 1100px) {
  .chapter-marker { display: none; }
}

/* === NAVIGATION === */
.topbar {
  background: var(--bg-dark);
  color: var(--bg-warm);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 24px;
  font-weight: 300;
}

.topbar .dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-light);
  margin: 0 14px;
  vertical-align: middle;
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 48px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-dark);
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(2.05);
}

.brand-name {
  line-height: 1;
}

.brand-name .en {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--ink);
  display: block;
}

.brand-name .jp {
  font-family: var(--jp);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--accent);
  margin-top: 4px;
  display: block;
}

nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  justify-self: center;
}

nav ul a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.3s;
  padding: 4px 0;
}

nav ul a:hover { color: var(--accent); }

nav ul a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right 0.4s ease;
}

nav ul a:hover::after { right: 0; }

.nav-actions {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-self: end;
}

/* Language switcher */
.lang-switch {
  display: flex;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--rule-dark);
  border-radius: 24px;
  overflow: hidden;
}

.lang-switch a {
  padding: 6px 14px;
  color: var(--ink-soft);
  transition: all 0.3s;
}

.lang-switch a.active {
  background: var(--bg-dark);
  color: var(--bg);
}

.lang-switch a:not(.active):hover {
  background: var(--bg-soft);
  color: var(--accent);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  color: var(--ink);
  padding: 8px;
}

@media (max-width: 900px) {
  nav { 
    grid-template-columns: 1fr 1fr;
    padding: 18px 24px;
  }
  nav ul { display: none; }
  .mobile-toggle { display: flex; }
}

/* === HERO === */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 80px;
  padding: 100px 64px 120px 96px;
  min-height: 86vh;
  overflow: hidden;
}

.hero-text { position: relative; z-index: 2; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 7.2vw, 116px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin-bottom: 24px;
}

body.lang-jp .hero h1 {
  font-family: var(--jp);
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1.15;
  font-weight: 500;
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-size: 0.62em;
  color: var(--accent-dark);
  letter-spacing: 0.02em;
  margin-top: 8px;
}

body.lang-jp .hero h1 em {
  font-style: normal;
  font-size: 0.7em;
}

.hero-jp-mark {
  font-family: var(--jp);
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--ink-faint);
  margin-bottom: 36px;
}

.hero-lead {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 48px;
}

body.lang-jp .hero-lead {
  font-family: var(--jp);
  font-size: 14.5px;
  line-height: 2;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta.primary {
  background: var(--bg-dark);
  color: var(--bg);
  border: 1px solid var(--bg-dark);
}

.cta.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.cta.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--rule-dark);
}

.cta.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.cta .arrow {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.cta:hover .arrow { transform: translateX(4px); }

.hero-image {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.hero-image img {
  width: 100%;
  height: 70vh;
  max-height: 720px;
  object-fit: cover;
  filter: brightness(1.02);
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--rule);
  transform: translate(20px, 20px);
  z-index: -1;
}

.hero-meta-card {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: var(--bg);
  padding: 22px 28px;
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 220px;
}

.hero-meta-card strong {
  color: var(--accent);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 60px 32px 80px;
    min-height: auto;
  }
  .hero-meta-card { left: 0; }
}

/* === SECTION HEADERS === */
.section-num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-num::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--ink);
}

body.lang-jp .section-title {
  font-family: var(--jp);
  font-weight: 500;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.3;
}

.section-title em {
  font-style: italic;
  color: var(--accent-dark);
}

body.lang-jp .section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-jp {
  font-family: var(--jp);
  font-size: 12px;
  letter-spacing: 0.5em;
  color: var(--ink-faint);
  margin-top: 16px;
}

.section-en-sub {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-top: 14px;
}

/* === TWO COLLECTIONS === */
.duo {
  padding: 140px 64px 100px;
  background: var(--bg);
}

.duo-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

.duo-header .section-num {
  justify-content: center;
}
.duo-header .section-num::before {
  display: none;
}
.duo-header .section-num::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.duo-header p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-top: 30px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

body.lang-jp .duo-header p {
  font-family: var(--jp);
  font-size: 14.5px;
  line-height: 2;
}

.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  max-width: 1500px;
  margin: 0 auto;
}

.duo-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
}

.duo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.duo-card:hover img { transform: scale(1.04); }

.duo-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 50px 44px;
  background: linear-gradient(to top, rgba(31, 30, 27, 0.85) 0%, rgba(31, 30, 27, 0.2) 50%, transparent 100%);
  color: var(--bg);
}

.duo-card-num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.duo-card h3 {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

body.lang-jp .duo-card h3 {
  font-family: var(--jp);
  font-size: 32px;
  font-weight: 500;
}

.duo-card .jp-label {
  font-family: var(--jp);
  font-size: 13px;
  letter-spacing: 0.4em;
  color: rgba(250, 248, 245, 0.7);
  margin-bottom: 22px;
}

.duo-card p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.85);
  max-width: 340px;
  margin-bottom: 26px;
}

body.lang-jp .duo-card p {
  font-family: var(--jp);
  font-size: 13.5px;
  line-height: 1.95;
}

.duo-card-cta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bg);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--accent-light);
  align-self: flex-start;
  transition: all 0.3s;
}

.duo-card:hover .duo-card-cta {
  border-bottom-color: var(--bg);
  letter-spacing: 0.4em;
}

@media (max-width: 900px) {
  .duo { padding: 80px 24px; }
  .duo-grid { grid-template-columns: 1fr; }
}

/* === COLLECTION GRID === */
.collection {
  padding: 120px 64px;
  background: var(--bg-soft);
  position: relative;
}

.collection.alt {
  background: var(--bg);
}

.collection-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 80px;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}

.collection-header p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

body.lang-jp .collection-header p {
  font-family: var(--jp);
  font-size: 14.5px;
  line-height: 2;
}

.pieces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
  max-width: 1500px;
  margin: 0 auto;
}

.piece {
  display: flex;
  flex-direction: column;
}

.piece-figure {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-warm);
  margin-bottom: 22px;
}

.piece-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.piece:hover .piece-figure img {
  transform: scale(1.06);
}

.piece-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--bg);
  padding: 6px 12px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.piece-shop {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px;
  background: var(--bg-dark);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.piece:hover .piece-shop {
  transform: translateY(0);
}

.piece-meta {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.piece-name {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 4px;
}

body.lang-jp .piece-name {
  font-family: var(--jp);
  font-size: 22px;
  font-weight: 500;
}

.piece-jp-name {
  font-family: var(--jp);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 14px;
}

.piece-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
  flex: 1;
}

body.lang-jp .piece-desc {
  font-family: var(--jp);
  font-size: 12.5px;
  line-height: 1.9;
}

.piece-bottom {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.piece-price {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.piece-spec {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-faint);
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .pieces-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-header { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 600px) {
  .collection { padding: 80px 24px; }
  .pieces-grid { grid-template-columns: 1fr; }
}

/* === ATELIER === */
.atelier {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  background: var(--bg);
}

.atelier-image {
  position: relative;
  min-height: 700px;
  overflow: hidden;
}

.atelier-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atelier-text {
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 660px;
}

.atelier-text p {
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-top: 30px;
}

body.lang-jp .atelier-text p {
  font-family: var(--jp);
  font-size: 14.5px;
  line-height: 2.1;
}

.atelier-text .signature {
  margin-top: 50px;
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--accent-dark);
  font-style: italic;
}

body.lang-jp .atelier-text .signature {
  font-family: var(--jp);
  font-style: normal;
}

@media (max-width: 1100px) {
  .atelier { grid-template-columns: 1fr; }
  .atelier-image { min-height: 480px; }
  .atelier-text { padding: 80px 32px; }
}

/* === KCCA === */
.kcca {
  padding: 130px 64px;
  background: var(--bg-dark);
  color: var(--bg);
  text-align: center;
}

.kcca-inner {
  max-width: 880px;
  margin: 0 auto;
}

.kcca .section-num {
  color: var(--accent-light);
  justify-content: center;
}
.kcca .section-num::before {
  background: var(--accent-light);
}

.kcca h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--bg);
  margin-bottom: 18px;
}

body.lang-jp .kcca h2 {
  font-family: var(--jp);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.3;
}

.kcca h2 em {
  font-style: italic;
  color: var(--accent-light);
}

body.lang-jp .kcca h2 em {
  font-style: normal;
}

.kcca-jp-mark {
  font-family: var(--jp);
  font-size: 13px;
  letter-spacing: 0.5em;
  color: var(--accent-light);
  margin-bottom: 60px;
}

.kcca-cert {
  margin: 50px auto;
  max-width: 540px;
  border: 1px solid var(--accent-dark);
  padding: 12px;
  background: var(--bg-dark);
}

.kcca-cert img {
  width: 100%;
}

.kcca-meta {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 60px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.kcca-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.kcca-meta-item .label {
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.4em;
}

.kcca-meta-item .value {
  color: var(--accent-light);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.kcca-text {
  font-size: 16px;
  line-height: 2;
  color: rgba(250, 248, 245, 0.78);
  max-width: 640px;
  margin: 0 auto;
}

body.lang-jp .kcca-text {
  font-family: var(--jp);
  font-size: 14.5px;
  line-height: 2.1;
}

@media (max-width: 700px) {
  .kcca { padding: 80px 24px; }
  .kcca-meta { gap: 28px; }
}

/* === LIVING === */
.living {
  padding: 130px 64px;
  background: var(--bg);
}

.living-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.living-image {
  position: relative;
}

.living-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.living-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  transform: translate(-16px, 16px);
  z-index: -1;
}

.living-text p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--ink-soft);
  margin-top: 30px;
}

body.lang-jp .living-text p {
  font-family: var(--jp);
  font-size: 14.5px;
  line-height: 2.1;
}

.living-text p + p { margin-top: 22px; }

@media (max-width: 1000px) {
  .living-grid { grid-template-columns: 1fr; gap: 60px; }
}

/* === CONTACT / WHERE TO BUY === */
.where {
  padding: 130px 64px;
  background: var(--bg-soft);
  text-align: center;
}

.where-header {
  max-width: 720px;
  margin: 0 auto 70px;
}

.where-header .section-num {
  justify-content: center;
}
.where-header .section-num::before { display: none; }
.where-header .section-num::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.where-header p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-top: 30px;
}

body.lang-jp .where-header p {
  font-family: var(--jp);
  font-size: 14.5px;
  line-height: 2;
}

.shops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.shop-card {
  display: flex;
  flex-direction: column;
  padding: 50px 40px;
  background: var(--bg);
  border: 1px solid var(--rule);
  text-align: left;
  transition: all 0.4s ease;
  text-decoration: none;
}

.shop-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}

.shop-num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 30px;
}

.shop-name {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.shop-jp {
  font-family: var(--jp);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 24px;
}

.shop-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 36px;
  flex: 1;
}

body.lang-jp .shop-desc {
  font-family: var(--jp);
  font-size: 13px;
  line-height: 1.9;
}

.shop-link {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  align-self: flex-start;
  transition: all 0.3s;
}

.shop-card:hover .shop-link {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
  gap: 16px;
}

@media (max-width: 900px) {
  .shops { grid-template-columns: 1fr; }
  .where { padding: 80px 24px; }
}

/* === FOOTER === */
footer {
  background: var(--bg-dark);
  color: var(--bg-warm);
  padding: 90px 64px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 70px;
  max-width: 1400px;
  margin: 0 auto 70px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
}

.footer-brand-name .en {
  font-family: var(--display);
  font-size: 28px;
  color: var(--bg);
  letter-spacing: 0.15em;
}

.footer-brand-name .jp {
  font-family: var(--jp);
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--accent-light);
  margin-top: 6px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(236, 229, 213, 0.65);
  max-width: 320px;
}

body.lang-jp .footer-brand p {
  font-family: var(--jp);
  font-size: 13px;
}

footer h6 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 26px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

footer ul a {
  font-family: var(--serif);
  font-size: 13.5px;
  color: rgba(236, 229, 213, 0.75);
  transition: color 0.3s;
}

body.lang-jp footer ul a { font-family: var(--jp); font-size: 13px; }

footer ul a:hover { color: var(--bg); }

.footer-contact p {
  font-size: 13.5px;
  line-height: 1.85;
  color: rgba(236, 229, 213, 0.65);
  margin-bottom: 18px;
}

body.lang-jp .footer-contact p {
  font-family: var(--jp);
  font-size: 13px;
}

.footer-contact a {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--bg);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(236, 229, 213, 0.25);
  transition: border-color 0.3s;
  display: inline-block;
}

.footer-contact a:hover {
  border-color: var(--accent-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(236, 229, 213, 0.12);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(236, 229, 213, 0.5);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom .socials { display: flex; gap: 28px; }

.footer-bottom .socials a {
  color: rgba(236, 229, 213, 0.65);
  transition: color 0.3s;
}

.footer-bottom .socials a:hover { color: var(--bg); }

@media (max-width: 900px) {
  footer { padding: 60px 24px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === MOTION === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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