/* ============================================================
   JAPAN' GOLD — modern remake
   Aesthetic: Japanese lacquer & gold, refined dark luxury
   Type: Prata (display) + Manrope (body)
   ============================================================ */

:root {
  --bg: #0c0a07;
  --bg-2: #12100b;
  --panel: #17140d;
  --panel-2: #1d1910;
  --line: rgba(212, 169, 76, 0.22);
  --line-soft: rgba(212, 169, 76, 0.12);
  --gold: #d4a94c;
  --gold-2: #f0d98f;
  --gold-deep: #9a7426;
  --ink: #f4eddd;
  --muted: #a99f88;
  --font-display: "Prata", "Times New Roman", serif;
  --font-body: "Manrope", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

::selection { background: var(--gold); color: #14100a; }

/* ---------- shared ---------- */

.gold-text {
  background: linear-gradient(105deg, var(--gold-deep) 0%, var(--gold) 35%, var(--gold-2) 55%, var(--gold) 75%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 150px) 0;
  overflow: hidden;
}

.section--tinted { background: var(--bg-2); }

.section__kanji {
  position: absolute;
  top: 40px;
  right: -0.05em;
  font-family: var(--font-display);
  font-size: clamp(160px, 26vw, 380px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 169, 76, 0.09);
  user-select: none;
  pointer-events: none;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 22px;
}

.section__label i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
}

.section__label::before {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 26px;
}

.section__title--center { text-align: center; }

.section__intro {
  color: var(--muted);
  max-width: 68ch;
  font-size: 16.5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 38px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  position: relative;
  overflow: hidden;
  transition: color 0.35s var(--ease);
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, var(--gold-deep), var(--gold) 60%, var(--gold-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}

.btn:hover { color: #14100a; }
.btn:hover::before { transform: scaleX(1); }

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease) var(--d, 0s), transform 0.9s var(--ease) var(--d, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, padding 0.4s;
}

.header.is-scrolled {
  background: rgba(12, 10, 7, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px rgba(0, 0, 0, 0.45);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 20px 0;
}

.header.is-scrolled .header__inner { padding: 13px 0; }

.header__logo img { width: 148px; height: auto; }

.nav {
  display: flex;
  gap: 30px;
  margin-inline: auto;
}

.nav__link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 2px;
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover, .nav__link.is-active { color: var(--gold-2); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.header__aside { display: flex; align-items: center; gap: 22px; }

.header__mails {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

.header__mails a { transition: color 0.3s; }
.header__mails a:hover { color: var(--gold-2); }

.lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.lang__btn { color: var(--muted); padding: 4px 2px; transition: color 0.3s; }
.lang__btn:hover { color: var(--ink); }
.lang__btn.is-active { color: var(--gold); }
.lang__sep { color: var(--line); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px 4px;
}

.burger span {
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero__slides, .hero__slides * { position: absolute; inset: 0; }

.hero__slide {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 6s linear;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 7, 0.92) 0%, rgba(12, 10, 7, 0.55) 48%, rgba(12, 10, 7, 0.25) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 26%, transparent 82%, rgba(12, 10, 7, 0.75) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.38em;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 26px;
}

.hero__kicker-line {
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.05;
  max-width: 12ch;
  margin-bottom: 28px;
  background: linear-gradient(105deg, #fff8e7 0%, var(--gold-2) 45%, var(--gold) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__desc {
  max-width: 56ch;
  color: #cfc6b0;
  font-size: 17px;
  margin-bottom: 42px;
}

.hero__title, .hero__desc { transition: opacity 0.5s ease, transform 0.5s var(--ease); }

.hero.is-switching .hero__title,
.hero.is-switching .hero__desc {
  opacity: 0;
  transform: translateY(14px);
}

.hero__jp {
  position: absolute;
  right: clamp(10px, 3vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.55em;
  color: rgba(212, 169, 76, 0.4);
  z-index: 2;
  user-select: none;
}

.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__dots { display: flex; gap: 12px; }

.hero__dot {
  width: 40px;
  height: 2px;
  background: rgba(244, 237, 221, 0.25);
  position: relative;
  transition: background 0.3s;
}

.hero__dot.is-active { background: var(--gold); }

.hero__counter {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--muted);
}

.hero__counter b { color: var(--gold-2); font-weight: 400; font-size: 20px; }

/* ---------- marquee ---------- */

.marquee {
  border-block: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #14110a, #0e0c08);
  overflow: hidden;
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-inline: 28px;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.marquee__item b { color: var(--gold); font-weight: 400; }
.marquee__item::after { content: "◆"; font-size: 8px; color: var(--gold-deep); }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- about ---------- */

.about__head { max-width: 820px; }

.about__text {
  color: var(--muted);
  font-size: 16.5px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  margin: clamp(48px, 6vw, 84px) 0;
}

.timeline__item {
  background: var(--panel);
  padding: 38px 32px 34px;
  position: relative;
  transition: background 0.4s;
}

.timeline__item:hover { background: var(--panel-2); }

.timeline__year {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
  background: linear-gradient(120deg, var(--gold-2), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.timeline__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  margin-bottom: 10px;
}

.timeline__text { color: var(--muted); font-size: 14.5px; }

.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.showcase__item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--line-soft);
}

.showcase__item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  filter: saturate(0.85);
  transition: transform 0.8s var(--ease), filter 0.5s;
}

.showcase__item:hover img { transform: scale(1.06); filter: saturate(1.05); }

.showcase__item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 16px 12px;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  background: linear-gradient(0deg, rgba(10, 8, 5, 0.92), transparent);
}

/* ---------- products ---------- */

.products__head { max-width: 820px; margin-bottom: clamp(44px, 5vw, 70px); }

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  background: linear-gradient(170deg, var(--panel-2) 0%, var(--panel) 55%);
  border: 1px solid var(--line-soft);
  padding: 30px 26px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), border-color 0.4s, box-shadow 0.5s;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 30px 50px -22px rgba(0, 0, 0, 0.7);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before { opacity: 1; }

.card__imgwrap {
  display: grid;
  place-items: center;
  padding: 8px 0 22px;
  position: relative;
}

.card__imgwrap::after {
  content: "";
  position: absolute;
  bottom: 14px;
  width: 62%;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%);
}

.card__imgwrap img {
  height: 200px;
  width: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.5));
  transition: transform 0.6s var(--ease);
}

.card:hover .card__imgwrap img { transform: translateY(-6px) scale(1.03); }

.card__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.card__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  margin-bottom: 12px;
}

.card__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.card__desc {
  font-size: 14px;
  color: var(--muted);
  flex: 1;
}

.archive {
  margin-top: 26px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(100deg, var(--panel) 30%, rgba(212, 169, 76, 0.06) 100%);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.archive__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 4px;
}

.archive__sub { color: var(--muted); font-size: 14px; }

.archive__mark {
  font-family: var(--font-display);
  font-size: 58px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 169, 76, 0.45);
}

/* ---------- advantage ---------- */

.advantage__layout {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) 7fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.advantage__img {
  margin-top: 38px;
  max-height: 360px;
  width: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}

.advantage__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.feature {
  background: var(--panel);
  padding: 40px 34px;
  transition: background 0.4s;
}

.feature:hover { background: var(--panel-2); }

.feature__num {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  margin-bottom: 20px;
  background: linear-gradient(120deg, var(--gold-2), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.feature h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  margin-bottom: 12px;
}

.feature p { color: var(--muted); font-size: 14.5px; }

/* ---------- packaging ---------- */

.packaging__row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(20px, 5vw, 64px);
  margin: clamp(40px, 5vw, 64px) 0 clamp(56px, 6vw, 84px);
}

.packaging__row img {
  max-height: 220px;
  width: auto;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 0, 0.5));
  transition: transform 0.5s var(--ease);
}

.packaging__row img:hover { transform: translateY(-8px); }

.facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.fact {
  background: var(--panel);
  padding: 26px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: background 0.4s;
}

.fact:hover { background: var(--panel-2); }

.fact img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.9);
}

.fact span {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- faq ---------- */

.faq__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-top: clamp(36px, 4vw, 54px);
  align-items: start;
}

.faq__col { display: grid; gap: 18px; }

.qa {
  border: 1px solid var(--line-soft);
  background: var(--panel);
  transition: border-color 0.4s;
}

.qa[open] { border-color: var(--line); }

.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 17px;
  transition: color 0.3s;
}

.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-2); }

.qa summary i {
  flex: none;
  width: 14px;
  height: 14px;
  position: relative;
}

.qa summary i::before, .qa summary i::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.4s var(--ease);
}

.qa summary i::before { inset: 50% 0 auto; height: 1.5px; margin-top: -0.75px; }
.qa summary i::after { inset: 0 50% 0 auto; width: 1.5px; margin-right: -0.75px; }

.qa[open] summary i::after { transform: scaleY(0); }

.qa__body { padding: 0 24px 22px; color: var(--muted); font-size: 14.5px; }
.qa__body h4 { color: var(--ink); font-weight: 600; font-size: 14.5px; margin: 14px 0 4px; }
.qa__body h4:first-child { margin-top: 0; }

.license {
  margin-top: clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.license__block {
  border: 1px solid var(--line-soft);
  border-left: 2px solid var(--gold-deep);
  background: var(--panel);
  padding: 30px 32px;
  color: var(--muted);
  font-size: 14.5px;
}

.license__block h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 14px;
}

.license__company { color: var(--gold-2); font-weight: 600; }
.license__block p + p { margin-top: 6px; }
.license__tel { color: var(--gold); }
.license__tel:hover { color: var(--gold-2); }

/* ---------- contacts ---------- */

.contacts__layout {
  display: grid;
  grid-template-columns: minmax(320px, 6fr) 6fr;
  gap: clamp(36px, 5vw, 70px);
  margin-top: clamp(36px, 4vw, 54px);
  align-items: start;
}

.reps { display: grid; gap: 0; }

.rep {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.rep:first-child { border-top: 1px solid var(--line-soft); }

.rep__flag {
  width: 38px;
  height: 26px;
  object-fit: cover;
  border-radius: 3px;
  margin-top: 4px;
  flex: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.rep__flag--photo { width: 38px; height: 44px; border-radius: 4px; }

.rep__where {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.rep__line {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.rep__tel {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  transition: color 0.3s;
}

.rep__tel:hover { color: var(--gold-2); }

.rep__msg {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s, border-color 0.3s;
}

.rep__msg:hover { color: var(--gold-2); border-color: var(--gold); }

.rep__note { font-size: 12.5px; color: var(--muted); margin-top: 4px; font-style: italic; }

/* form */

.form {
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 70%);
  padding: clamp(28px, 4vw, 44px);
  position: sticky;
  top: 96px;
}

.form__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin-bottom: 26px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form__field {
  display: block;
  margin-bottom: 18px;
}

.form__field span {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form__field input,
.form__field textarea {
  width: 100%;
  background: rgba(12, 10, 7, 0.6);
  border: 1px solid var(--line-soft);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  padding: 13px 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}

.form__field input:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 169, 76, 0.12);
}

.form__submit { width: 100%; justify-content: center; margin-top: 6px; }

.form__submit[disabled] { opacity: 0.55; cursor: progress; }

.form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form__hint {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--gold-2);
  text-align: center;
}

.form__hint.is-error { color: #e0937c; }

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: #090705;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 0;
  flex-wrap: wrap;
}

.footer__rights {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.footer__links { display: flex; gap: 26px; font-size: 13.5px; color: var(--muted); }
.footer__links a { transition: color 0.3s; }
.footer__links a:hover { color: var(--gold-2); }

/* to top */

.totop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(12, 10, 7, 0.8);
  backdrop-filter: blur(8px);
  color: var(--gold);
  font-size: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s, background 0.3s;
}

.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.totop:hover { background: var(--gold); color: #14100a; }

/* ---------- lightbox ---------- */

.lightbox[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(8, 6, 3, 0.92);
  backdrop-filter: blur(10px);
  display: grid;
  place-content: center;
  gap: 16px;
  padding: 4vw;
  animation: lbfade 0.35s ease;
}

@keyframes lbfade { from { opacity: 0; } }

.lightbox__img {
  max-width: min(1000px, 90vw);
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8);
}

.lightbox__caption {
  text-align: center;
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lightbox__close {
  position: absolute;
  top: 22px;
  right: 30px;
  font-size: 40px;
  line-height: 1;
  color: var(--muted);
  transition: color 0.3s, transform 0.3s;
}

.lightbox__close:hover { color: var(--gold-2); transform: rotate(90deg); }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .header__mails { display: none; }
  .showcase { grid-template-columns: 1fr 1fr; }
  .advantage__layout { grid-template-columns: 1fr; }
  .advantage__img { max-height: 300px; }
  .contacts__layout { grid-template-columns: 1fr; }
  .form { position: static; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 84vw);
    background: rgba(14, 12, 8, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
    padding: 90px 44px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    border-left: 1px solid var(--line-soft);
    margin: 0;
  }

  .nav.is-open { transform: none; }

  .nav__link { font-size: 17px; padding: 12px 0; }

  .burger { display: flex; }

  .header__aside { margin-left: auto; }

  .timeline { grid-template-columns: 1fr; }
  .faq__cols { grid-template-columns: 1fr; }
  .license { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:last-child { grid-column: 1 / -1; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .hero__jp { display: none; }
  .packaging__row { flex-wrap: wrap; justify-content: center; }
  .packaging__row img { max-height: 150px; }
  .archive { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .showcase { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: 1fr; }
  .hero__controls { bottom: 26px; }
  .section__kanji { font-size: 150px; }
}
