/* VLC International — main stylesheet
 * Loaded with preload+swap from index.html. The critical above-the-fold styles
 * (header + hero + minimal type) are inlined in <head> so first paint never
 * waits for this file. Everything below the fold lives here.
 */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --cream: #F7F2E8;
  --warm-white: #FDFAF4;
  --dark: #1C1712;
  --brown: #3D2B1F;
  --coffee: #6B3F2A;
  --gold: #C4973B;
  --gold-light: #E8C87A;
  --sage: #7A8B6F;
  --tea: #4A5D3E;
  --blue-grey: #4A5568;
  --border: rgba(100,70,50,0.15);
  --shadow: 0 4px 40px rgba(28,23,18,0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Brand-themed surface — toggled live by the brand-switch interaction.
   Allows the home preview palette to morph between coffee and tea worlds. */
body[data-brand="tea"] {
  --gold: #B8C49C;
  --gold-light: #DDE7C6;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
img, picture, video { max-width: 100%; display: block; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: var(--warm-white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection { background: var(--gold); color: var(--dark); }

/* Subtle film grain over everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/></svg>");
}

/* ── Scroll progress bar ───────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 200;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* ── Header ─────────────────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253,250,244,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s, background 0.3s;
}

/* On the home page, the header floats on top of the dark hero — flip its
   palette to cream-on-dark while the user is at the top of the page. */
body[data-page="home"][data-scroll="top"] header {
  background: rgba(28,23,18,0.18);
  border-bottom: 1px solid rgba(247,242,232,0.08);
}
body[data-page="home"][data-scroll="top"] header .logo-main { color: var(--cream); }
body[data-page="home"][data-scroll="top"] header .logo-sub { color: var(--gold-light); opacity: 0.7; }
body[data-page="home"][data-scroll="top"] header nav a { color: var(--cream); }
body[data-page="home"][data-scroll="top"] header .lang-flag {
  border-color: rgba(247,242,232,0.35);
  background: rgba(28,23,18,0.2);
}
body[data-page="home"][data-scroll="top"] header .lang-flag.is-active {
  border-color: var(--gold);
}

header.scrolled { box-shadow: 0 2px 24px rgba(28,23,18,0.08); }

.logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  color: inherit;
}
.logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--brown);
  text-transform: uppercase;
  transition: color 0.3s;
}
.logo-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--coffee);
  text-transform: uppercase;
  opacity: 0.7;
  transition: color 0.3s;
}

nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--brown);
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.3s, border-color 0.2s;
  cursor: pointer;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
nav a:hover, nav a.active { opacity: 1; }
nav a.active { border-bottom-color: var(--gold); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-flag {
  width: 36px;
  height: 28px;
  padding: 0;
  border: 1px solid var(--border);
  background: var(--warm-white);
  cursor: pointer;
  border-radius: 2px;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.lang-flag:hover { opacity: 1; border-color: var(--coffee); }
.lang-flag.is-active {
  opacity: 1;
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(196, 151, 59, 0.35);
}
.lang-flag-icon {
  display: block;
  font-size: 16px;
  line-height: 26px;
  text-align: center;
}

/* Mobile menu trigger — hidden on desktop */
.menu-btn {
  display: none;
  width: 32px; height: 32px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  display: block;
  position: absolute;
  left: 4px;
  width: 24px;
  height: 1.5px;
  background: var(--brown);
  transition: transform 0.3s, top 0.3s, opacity 0.2s, background 0.3s;
}
.menu-btn span:nth-child(1) { top: 10px; }
.menu-btn span:nth-child(2) { top: 16px; }
.menu-btn span:nth-child(3) { top: 22px; }
body[data-page="home"][data-scroll="top"] .menu-btn span { background: var(--cream); }
.menu-btn.open span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

/* ── Pages (SPA) ────────────────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

.page-enter {
  animation: pageIn 0.55s var(--ease) forwards;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero (with image) ─────────────────────────────────────────────── */
.hero {
  height: 100vh;
  min-height: 640px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  isolation: isolate;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Ken Burns — slow, calm zoom that loops */
  animation: kenBurns 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.04) translate3d(0,0,0); }
  100% { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

/* Warm dark overlay so text reads */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(28,23,18,0.6) 0%, rgba(28,23,18,0.35) 40%, rgba(28,23,18,0.75) 100%),
    radial-gradient(ellipse at 80% 30%, rgba(196,151,59,0.18) 0%, transparent 60%);
  pointer-events: none;
}

/* Snow particles canvas — sits above overlay, below content */
.hero-snow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 80px;
  max-width: 760px;
}

.hero-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  padding-left: 32px;
}
.hero-label::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1px;
  background: var(--gold);
  transform-origin: left center;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 92px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-subtitle {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 300;
  color: rgba(247,242,232,0.8);
  margin-bottom: 36px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  max-width: 540px;
}

.hero-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(247,242,232,0.62);
  line-height: 2;
  max-width: 500px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Hero slide indicators */
.hero-dots {
  position: absolute;
  bottom: 36px;
  right: 80px;
  z-index: 3;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-dot {
  width: 28px;
  height: 2px;
  background: rgba(247,242,232,0.35);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}
.hero-dot.is-active { background: var(--gold-light); width: 44px; }
.hero-dot:hover { background: var(--gold-light); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(247,242,232,0.55);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: 'Cormorant Garamond', serif;
  animation: scrollBounce 2.4s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(196,151,59,0.7), transparent);
}

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn-primary, .btn-outline {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 36px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.18s var(--ease);
  position: relative;
}
.btn-primary { color: var(--dark); background: var(--gold); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  color: var(--cream);
  background: transparent;
  border-color: rgba(247,242,232,0.4);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline.is-dark { color: var(--brown); border-color: var(--border); }
.btn-outline.is-dark:hover { border-color: var(--coffee); color: var(--coffee); }

/* Magnetic micro-interaction is driven by JS — CSS just makes the
   translate look smooth. */
.btn-primary.is-magnetic, .btn-outline.is-magnetic {
  transition: transform 0.18s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

/* ── Section commons ───────────────────────────────────────────────── */
section { padding: 100px 80px; }

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  color: var(--brown);
  line-height: 1.15;
  margin-bottom: 24px;
}
.section-title em { font-style: italic; color: var(--coffee); }
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

/* ── Brands bar ────────────────────────────────────────────────────── */
.brands-bar {
  background: var(--cream);
  padding: 36px 80px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brands-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--coffee);
  opacity: 0.6;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--brown);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
}
.brand-name span {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--coffee);
  opacity: 0.65;
  margin-top: 2px;
  text-transform: uppercase;
}

/* ── Home intro ────────────────────────────────────────────────────── */
.home-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text p {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 2.2;
  color: var(--blue-grey);
  margin-bottom: 20px;
}

.intro-visual {
  position: relative;
  height: 480px;
}
.intro-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.intro-image:hover img { transform: scale(1.04); }

.intro-card {
  position: absolute;
  background: var(--brown);
  color: var(--cream);
  padding: 36px 32px;
  width: 78%;
  right: -24px;
  bottom: -24px;
  z-index: 2;
  box-shadow: 0 24px 60px rgba(28,23,18,0.25);
}
.intro-card-accent {
  position: absolute;
  top: -32px;
  left: -32px;
  width: 52%;
  background: var(--cream);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 24px 16px;
  z-index: 2;
}
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--coffee);
  line-height: 1;
}
.stat-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--brown);
  opacity: 0.6;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.6;
}

/* ── Counters strip ────────────────────────────────────────────────── */
.counters {
  background: var(--cream);
  padding: 80px 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.counter {
  text-align: center;
  position: relative;
}
.counter:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 24px; bottom: 24px;
  right: -24px;
  width: 1px;
  background: var(--border);
}
.counter-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 300;
  color: var(--brown);
  line-height: 1;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.counter-value .suffix {
  font-size: 0.45em;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.counter-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coffee);
  opacity: 0.75;
}

/* ── Products preview ──────────────────────────────────────────────── */
.products-preview {
  background: var(--warm-white);
  padding: 100px 80px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.25fr);
  gap: 72px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.products-preview::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,151,59,0.12) 0%, transparent 68%);
  pointer-events: none;
  transition: background 0.6s var(--ease), transform 0.6s var(--ease);
}
.products-preview[data-active-brand="tea"]::before {
  inset: auto auto -20% -10%;
  background: radial-gradient(circle, rgba(122,139,111,0.16) 0%, transparent 68%);
}
.products-preview-lead {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 2.1;
  color: var(--blue-grey);
  max-width: 360px;
  margin-top: 20px;
}
.brand-toggle {
  position: relative;
  display: inline-flex;
  border: 1px solid var(--border);
  background: var(--cream);
  margin: 20px 0 0;
  padding: 4px;
  border-radius: 999px;
  isolation: isolate;
}
.products-preview-intro .brand-toggle {
  margin-bottom: 0;
}
.brand-toggle::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: var(--brown);
  transition: transform 0.38s var(--ease), background 0.38s var(--ease);
  z-index: 0;
}
.brand-toggle[data-active="tea"]::before {
  transform: translateX(100%);
  background: var(--tea);
}
.brand-toggle button {
  position: relative;
  z-index: 1;
  background: transparent;
  border: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coffee);
  opacity: 0.65;
  padding: 10px 24px;
  cursor: pointer;
  transition: color 0.3s, opacity 0.3s;
  border-radius: 999px;
}
.brand-toggle button.is-active {
  color: var(--gold-light);
  opacity: 1;
}
.brand-toggle--page {
  margin: 0;
}

.products-stage {
  position: relative;
  min-height: 500px;
}
.products-stage-glow {
  position: absolute;
  inset: 8% 10%;
  border-radius: 32px;
  background: radial-gradient(circle at 50% 40%, rgba(196,151,59,0.14), transparent 70%);
  filter: blur(8px);
  transition: background 0.55s var(--ease), opacity 0.55s var(--ease);
  pointer-events: none;
}
.products-preview[data-active-brand="tea"] .products-stage-glow {
  background: radial-gradient(circle at 50% 40%, rgba(122,139,111,0.18), transparent 70%);
}

.products-grid {
  position: relative;
  display: block;
  min-height: 500px;
}
.product-card {
  position: absolute;
  inset: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  min-height: 500px;
  display: block;
  transition: transform 0.55s var(--ease), opacity 0.45s var(--ease), filter 0.45s var(--ease);
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  transform: translateY(24px) scale(0.97) rotate(-1deg);
  filter: saturate(0.75) blur(1px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}
.products-preview[data-active-brand="coffee"] .product-card.coffee-card,
.products-preview[data-active-brand="tea"] .product-card.tea-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1) rotate(0deg);
  filter: saturate(1) blur(0);
  z-index: 2;
}
.product-card:hover { transform: translateY(-6px) scale(1.012); }
.product-card-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.product-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 88% 18%;
  padding: 48px 36px 180px;
  opacity: 0.28;
  transition: transform 0.7s var(--ease), opacity 0.45s var(--ease);
}
.product-card:hover .product-card-bg img {
  transform: scale(1.04);
  opacity: 0.34;
}
.product-card-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.product-card.coffee-card .product-card-tint {
  background:
    linear-gradient(155deg, rgba(42,31,21,0.92) 0%, rgba(61,43,31,0.78) 42%, rgba(61,43,31,0.35) 100%),
    radial-gradient(circle at 82% 18%, rgba(196,151,59,0.22), transparent 42%);
}
.product-card.tea-card .product-card-tint {
  background:
    linear-gradient(155deg, rgba(45,61,40,0.92) 0%, rgba(74,93,62,0.78) 42%, rgba(74,93,62,0.35) 100%),
    radial-gradient(circle at 82% 18%, rgba(184,196,156,0.22), transparent 42%);
}
.product-card { color: var(--cream); }

.product-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  line-height: 1;
  color: var(--cream);
}
.product-card-name-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: rgba(247, 242, 232, 0.88);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}
.product-card-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  line-height: 2;
  color: rgba(247, 242, 232, 0.92);
  max-width: 420px;
  margin-bottom: 32px;
}
.product-card-packshots {
  position: absolute;
  top: 28px;
  right: 24px;
  width: min(52%, 280px);
  height: 220px;
  pointer-events: none;
}
.product-card-packshots .packshot {
  position: absolute;
  width: 38%;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0,0,0,0.28));
  transition: transform 0.55s var(--ease);
}
.product-card-packshots .packshot-1 {
  left: 0;
  top: 18%;
  transform: rotate(-10deg);
  z-index: 1;
}
.product-card-packshots .packshot-2 {
  left: 30%;
  top: 0;
  transform: rotate(4deg);
  z-index: 3;
  width: 42%;
}
.product-card-packshots .packshot-3 {
  right: 0;
  top: 22%;
  transform: rotate(12deg);
  z-index: 2;
}
.product-card:hover .packshot-1 { transform: rotate(-12deg) translateY(-6px); }
.product-card:hover .packshot-2 { transform: rotate(2deg) translateY(-10px); }
.product-card:hover .packshot-3 { transform: rotate(14deg) translateY(-4px); }

.product-card-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 0%, rgba(18,14,10,0.55) 38%, rgba(18,14,10,0.88) 100%);
}
.product-card-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 110px;
  font-weight: 300;
  position: absolute;
  top: -12px;
  right: 28px;
  opacity: 0.12;
  line-height: 1;
  color: white;
  pointer-events: none;
}
.product-card-label {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 12px;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
}
.product-card-link {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.product-card-link::after {
  content: '→';
  transition: transform 0.25s var(--ease);
  display: inline-block;
}
.product-card:hover .product-card-link::after { transform: translateX(8px); }

/* ── Fika section ──────────────────────────────────────────────────── */
.fika-section {
  position: relative;
  padding: 100px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.fika-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.fika-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}
.fika-tint {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(28,23,18,0.92) 0%, rgba(61,43,31,0.7) 65%, rgba(107,63,42,0.5) 100%);
}
.fika-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.4;
  color: var(--gold-light);
}
.fika-text p {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 2.3;
  opacity: 0.85;
  margin-bottom: 16px;
}

/* ── News (home) ───────────────────────────────────────────────────── */
.news-empty {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--blue-grey);
  line-height: 2;
  padding: 24px 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}
.news-card {
  border-top: 1px solid var(--border);
  padding-top: 0;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.news-card:hover { transform: translateY(-4px); border-top-color: var(--gold); }
.news-card-image {
  height: 188px;
  overflow: hidden;
  margin-bottom: 0;
}
.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.news-card:hover .news-card-image img { transform: scale(1.05); }
.news-card-content { padding-top: 24px; }
.news-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 12px;
}
.news-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
  line-height: 1.7;
  margin-bottom: 16px;
}
.news-excerpt {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--blue-grey);
  line-height: 2;
}
.news-read-more {
  display: inline-block;
  margin-top: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.news-more {
  margin-top: 60px;
  text-align: center;
}

/* ── Inner-page heroes ─────────────────────────────────────────────── */
.company-hero, .products-hero, .news-hero, .contact-hero {
  margin-top: 72px;
  padding: 100px 80px 60px;
  position: relative;
  overflow: hidden;
}
.company-hero {
  background: linear-gradient(160deg, var(--brown) 0%, var(--dark) 100%);
  color: var(--cream);
}
.company-hero .section-title { color: var(--cream); }
.company-hero::after {
  content: 'VLC';
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 200px;
  font-weight: 600;
  opacity: 0.05;
  letter-spacing: -0.05em;
  color: white;
  pointer-events: none;
}
.products-hero { background: var(--cream); border-bottom: 1px solid var(--border); }
.products-packaging-note {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: var(--brown);
  max-width: 760px;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(196, 151, 59, 0.12);
  border-left: 3px solid var(--gold);
}
.products-packaging-note em { font-style: normal; font-weight: 600; color: var(--brown); }
.news-hero { background: var(--cream); border-bottom: 1px solid var(--border); }
.contact-hero { background: var(--brown); color: var(--cream); }
.contact-hero .section-title { color: var(--cream); }

.company-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 100px 80px;
  align-items: start;
}
.company-text p {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 2.3;
  color: var(--blue-grey);
  margin-bottom: 24px;
}
.info-table {
  background: var(--cream);
  padding: 48px;
  border: 1px solid var(--border);
}
.info-table h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.info-key {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--coffee);
  opacity: 0.7;
  text-transform: uppercase;
  padding-top: 2px;
}
.info-val {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--brown);
  line-height: 1.8;
}
.info-val a { color: var(--coffee); text-decoration: none; }
.info-val a:hover { color: var(--gold); }

/* ── Timeline ──────────────────────────────────────────────────────── */
.timeline {
  background: var(--warm-white);
  padding: 100px 80px;
  border-top: 1px solid var(--border);
}
.timeline-track {
  position: relative;
  margin-top: 60px;
  padding: 40px 0 12px;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}
.timeline-items {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.timeline-item {
  text-align: left;
  padding-top: 36px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--gold);
  transition: background 0.25s, transform 0.25s;
}
.timeline-item:hover::before { background: var(--gold); transform: scale(1.2); }
.timeline-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--coffee);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.timeline-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--blue-grey);
  line-height: 1.8;
}

/* ── Products page ─────────────────────────────────────────────────── */
.products-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto;
  row-gap: 20px;
  justify-items: center;
  padding: 48px 80px 72px;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
}
.products-showcase-head {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  margin: 0;
  text-align: center;
}
.products-showcase-head .brand-toggle--page {
  margin: 0;
  flex-shrink: 0;
}
.products-showcase-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  text-align: center;
}
.products-showcase-identity[hidden] {
  display: none !important;
}
.products-showcase-logo {
  width: min(220px, 68vw);
  height: auto;
  display: block;
  object-fit: contain;
}
.products-showcase-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
}
.products-showcase-catalog {
  grid-row: 2;
  width: 100%;
  max-width: 1200px;
}
.products-showcase-panel {
  width: 100%;
}
.products-showcase-panel[hidden] {
  display: none !important;
}

.brand-panel-brand {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  padding: 0 12px;
}
.brand-panel-logo {
  width: min(260px, 78vw);
  height: auto;
  object-fit: contain;
  margin: 0 auto 12px;
  display: block;
}
.brand-panel-brand .product-tags {
  justify-content: center;
  margin-top: 0;
}

.product-spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.product-spec-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin: 0 auto;
}
.products-showcase .product-spec-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.products-showcase .product-spec-item h3 {
  margin-top: 14px;
}
.products-showcase .product-spec-item dl {
  grid-template-columns: 1fr;
  gap: 4px 0;
  margin-top: auto;
}
.products-showcase .product-spec-item dt {
  margin-top: 10px;
}
.products-showcase .product-spec-item dt:first-of-type {
  margin-top: 0;
}

.product-full {
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.product-full:nth-child(even) { background: var(--cream); }

.product-visual {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-visual-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #f2ece2;
}
.product-visual-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  opacity: 0.3;
  pointer-events: none;
  transform: translate(12px, 12px);
}

.product-detail h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.product-detail .reading {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--coffee);
  margin-bottom: 28px;
  opacity: 0.7;
}
.product-detail p {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 2.3;
  color: var(--blue-grey);
  margin-bottom: 20px;
}
.product-spec-list {
  display: grid;
  gap: 14px;
}
.product-spec-item {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 14px 16px;
}
.product-spec-item h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 10px;
  line-height: 1.7;
}
.product-spec-image {
  height: 220px;
  background: #f7f2e8;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.product-spec-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
}
.product-spec-item dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 6px 12px;
}
.product-spec-item dt {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coffee);
  opacity: 0.8;
}
.product-spec-item dd {
  margin: 0;
  font-family: 'Noto Serif JP', serif;
  font-size: 13px;
  color: var(--blue-grey);
  line-height: 1.8;
}
.product-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.tag {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coffee);
  border: 1px solid var(--border);
  padding: 6px 14px;
  background: var(--warm-white);
}

/* ── News list ─────────────────────────────────────────────────────── */
.news-list {
  padding: 80px;
  display: flex;
  flex-direction: column;
}
a.news-item {
  text-decoration: none;
  color: inherit;
}
.news-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 48px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s, padding-left 0.2s;
}
.news-item:hover { background: var(--cream); padding-left: 16px; }
.news-item-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
  padding-top: 4px;
}
.news-item-cat {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--coffee);
  opacity: 0.5;
  margin-top: 6px;
  font-family: 'Cormorant Garamond', serif;
}
.news-item-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}
.news-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.news-item:hover .news-item-image img { transform: scale(1.04); }
.news-item-body h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 12px;
  line-height: 1.6;
}
.news-item-body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: var(--blue-grey);
  line-height: 2;
}

/* ── News article (full post) ──────────────────────────────────────── */
.news-article-panel {
  width: 100%;
  /* Clear fixed header (72px) so the back button stays visible */
  padding: calc(72px + 40px) 24px 120px;
  background: var(--cream);
  border-top: 1px solid var(--border);
}
.news-article-layout {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.news-back-btn {
  display: block;
  width: 100%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coffee);
  background: transparent;
  border: 0;
  padding: 0 0 40px;
  margin: 0 auto 0;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s;
}
.news-back-btn:hover { color: var(--gold); }
.news-article-cover {
  margin: 0 auto 40px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(28, 23, 18, 0.08);
}
.news-article-cover img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}
.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.news-article-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.news-article-cat {
  font-family: 'Cormorant Garamond', serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coffee);
  opacity: 0.65;
}
.news-article-cat::before {
  content: '·';
  margin-right: 20px;
  opacity: 0.4;
}
.news-article-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  color: var(--brown);
  line-height: 1.35;
  margin: 0 auto 40px;
  max-width: 640px;
  text-align: center;
  letter-spacing: 0.02em;
}
.news-article-body {
  font-family: 'Noto Serif JP', serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--blue-grey);
  line-height: 2;
  max-width: 640px;
  margin: 0 auto;
}
.news-article-body h2,
.news-article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--brown);
  font-weight: 600;
  margin: 2em 0 0.75em;
  line-height: 1.35;
}
.news-article-body h2 { font-size: 22px; }
.news-article-body h3 { font-size: 18px; }
.news-article-body p { margin-bottom: 1.25em; }
.news-article-body ul {
  margin: 0 0 1.25em 1.2em;
  padding: 0;
}
.news-article-body li { margin-bottom: 0.5em; }
.news-article-body strong { font-weight: 500; color: var(--brown); }
.news-article-body a {
  color: var(--coffee);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-article-body a:hover { color: var(--gold); }
.news-article-panel .news-empty {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* ── Contact page ──────────────────────────────────────────────────── */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 60vh;
}
.contact-info {
  background: var(--cream);
  padding: 80px;
}
.contact-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}
.contact-detail { margin-bottom: 32px; }
.contact-detail-label {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 8px;
}
.contact-detail-val {
  font-family: 'Noto Serif JP', serif;
  font-size: 14px;
  color: var(--brown);
  line-height: 1.8;
}
.contact-detail-val a {
  color: var(--coffee);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s;
}
.contact-detail-val a:hover { border-color: var(--gold); }

.contact-form {
  background: var(--dark);
  padding: 80px;
}
.contact-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  margin-bottom: 10px;
}
.form-group label .required { color: var(--gold-light); margin-left: 4px; }

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(247,242,232,0.06);
  border: 1px solid rgba(247,242,232,0.12);
  color: var(--cream);
  padding: 14px 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: rgba(247,242,232,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(247,242,232,0.3); }
.form-group textarea { height: 130px; resize: vertical; min-height: 80px; }
.form-group select option { background: var(--dark); }

/* The honeypot — never visible to humans */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  tab-index: -1 !important;
}

.form-submit {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  background: var(--gold);
  border: none;
  padding: 16px 40px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease), opacity 0.2s;
  margin-top: 8px;
  width: 100%;
}
.form-submit:hover { background: var(--gold-light); }
.form-submit:disabled { opacity: 0.55; cursor: wait; }

.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  border-left: 3px solid var(--gold);
  background: rgba(247,242,232,0.06);
  color: rgba(247,242,232,0.85);
  display: none;
}
.form-feedback.is-error { border-left-color: #c94a4a; color: #f1c5c5; }
.form-feedback.is-success { border-left-color: var(--gold); color: var(--gold-light); }
.form-feedback.show { display: block; }

/* ── Footer ────────────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 60px 80px 36px;
  color: rgba(247,242,232,0.45);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand .logo-main { color: rgba(247,242,232,0.85); font-size: 22px; }
.footer-brand .logo-sub { color: var(--gold); opacity: 0.6; }
.footer-brand p {
  font-size: 12px;
  font-weight: 300;
  line-height: 2;
  margin-top: 20px;
  font-family: 'Noto Sans JP', sans-serif;
}
.footer-col h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 12px;
  color: rgba(247,242,232,0.45);
  text-decoration: none;
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(247,242,232,0.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Scroll animate ────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.from-left { transform: translateX(-24px); }
.fade-in.from-left.visible { transform: translateX(0); }
.fade-in.from-right { transform: translateX(24px); }
.fade-in.from-right.visible { transform: translateX(0); }

/* ── Toast ─────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--brown);
  color: var(--cream);
  padding: 16px 28px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease);
  border-left: 3px solid var(--gold);
  pointer-events: none;
  max-width: 360px;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast.is-error { border-left-color: #c94a4a; }

/* ── Mobile menu drawer ────────────────────────────────────────────── */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: var(--brown);
  z-index: 99;
  padding: 48px 32px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease), visibility 0.4s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateX(0);
  pointer-events: auto;
  visibility: visible;
}
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  padding: 18px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(247,242,232,0.08);
  cursor: pointer;
}
.mobile-menu a:last-child { border-bottom: 0; }

/* Reliable taps on touch devices (iOS Safari, etc.) */
a[data-go],
button,
.product-card,
.news-card {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a.product-card {
  text-decoration: none;
  color: var(--cream);
  display: block;
}
a.news-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  section { padding: 80px 48px; }
  .brands-bar, .products-preview, .fika-section, .counters,
  .company-content, .product-full, .news-list, .contact-info, .contact-form,
  .timeline, footer, .products-showcase { padding-left: 48px; padding-right: 48px; }
  .hero-content { padding: 0 48px; }
  .hero-dots { right: 48px; }
  .home-intro, .company-content, .product-full, .fika-section { gap: 48px; }
  .products-preview {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .products-stage { min-height: 460px; }
  .products-grid { min-height: 460px; }
  .product-card { min-height: 460px; }
  .product-spec-grid,
  .product-spec-grid--two {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .counters-grid { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .counter:nth-child(2n)::after { display: none; }
  .timeline-items { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
}

@media (max-width: 720px) {
  header { padding: 0 20px; }
  nav { display: none; }
  .menu-btn { display: block; }
  section, .brands-bar, .products-preview, .fika-section, .counters,
  .company-content, .product-full, .news-list, .contact-info, .contact-form,
  .timeline, footer, .company-hero, .products-hero, .news-hero, .contact-hero,
  .products-showcase {
    padding-left: 20px; padding-right: 20px;
  }
  .hero { min-height: 560px; }
  .hero-content { padding: 0 20px; max-width: 100%; }
  .hero-subtitle { font-size: 16px; margin-bottom: 24px; }
  .hero-desc { font-size: 12px; margin-bottom: 28px; }
  .hero-dots { right: 20px; bottom: 24px; }
  .hero-scroll { display: none; }
  .home-intro, .company-content, .product-full, .fika-section, .contact-body { gap: 40px; }
  .products-preview { padding-top: 72px; padding-bottom: 72px; }
  .products-stage { min-height: 380px; }
  .products-grid { min-height: 380px; }
  .product-card { min-height: 380px; }
  .product-card-packshots {
    width: 58%;
    height: 160px;
    top: 16px;
    right: 12px;
  }
  .product-card-packshots .packshot { max-height: 110px; }
  .product-card-content { padding: 32px 24px 36px; }
  .products-showcase { padding-top: 32px; padding-bottom: 48px; }
  .products-showcase { row-gap: 16px; }
  .products-showcase-head { gap: 10px; }
  .products-showcase-identity { gap: 10px; }
  .products-showcase-logo { width: min(200px, 64vw); }
  .product-full { padding: 60px 20px; }
  .product-full .product-visual { order: 2; height: 280px; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .counters-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .counter::after { display: none !important; }
  .timeline-items { grid-template-columns: 1fr; row-gap: 28px; }
  .timeline-track::before { display: none; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-article-panel { padding: calc(72px + 28px) 20px 80px; }
  .news-article-layout { max-width: 100%; }
  .news-article-title { font-size: 26px; }
  .news-article-body { font-size: 15px; }
  .intro-visual { height: 360px; }
  .intro-card { padding: 24px; right: 0; bottom: 0; width: 88%; }
  .intro-card-accent { top: -12px; left: -12px; width: 60%; padding: 16px 12px; }
  .stat-number { font-size: 36px; }
  .product-card { min-height: 380px; }
  .product-card-name { font-size: 32px; }
  .product-card-year { font-size: 80px; }
  .contact-info, .contact-form { padding: 56px 20px; }
}

@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;
  }
  .hero-slide img { animation: none; }
  .hero-snow { display: none; }
}
