/* ZUME Jewelry portal. One typeface (Cormorant Garamond), flat ivory backgrounds, slow motion. */
:root {
  --bg: #F4F0E8;
  --bg-alt: #ECE6DA;
  --bg-dark: #181818;
  --ink: #1C1A17;
  --ink-soft: #4A463F;
  --muted: #7A746A;
  --line: #D8D0C2;
  --gold: #9A7B4F;
  --on-dark: #F4F0E8;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: "Cormorant Garamond", "Noto Serif SC", "PingFang SC", Georgia, serif;
  --max: 1320px;
  --gutter: 16px;
}
@media (min-width: 768px) { :root { --gutter: 48px; } }
@media (min-width: 1200px) { :root { --gutter: 80px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 28px;
  font-weight: 500;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.label {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--on-dark); padding: 8px 12px; border-radius: 4px;
  transition: top 0.3s var(--ease);
}
.skip:focus { top: 16px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.nav nav {
  max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav-side { display: flex; gap: 24px; font-size: 14px; line-height: 20px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; }
.nav-right { justify-content: flex-end; }
.nav-side a { position: relative; padding: 4px 0; color: var(--ink-soft); transition: color 0.5s var(--ease); }
.nav-side a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.nav-side a:hover, .nav-side a[aria-current="page"] { color: var(--ink); }
.nav-side a:hover::after, .nav-side a[aria-current="page"]::after { transform: scaleX(1); }
.wordmark { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wordmark-main { font-size: 24px; line-height: 32px; letter-spacing: 0.32em; font-weight: 600; padding-left: 0.32em; }
.wordmark-sub { font-size: 12px; line-height: 16px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); padding-left: 0.3em; }
@media (max-width: 767px) {
  .nav-left { display: none; }
  .nav nav { grid-template-columns: auto 1fr; }
  .wordmark { align-items: flex-start; }
  .wordmark-main, .wordmark-sub { padding-left: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--bg-alt); padding: 0; }
.hero-stage { position: relative; height: calc(100svh - 81px); min-height: 520px; max-height: 960px; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; transition: opacity 1.6s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06); transition: transform 9s linear;
}
.hero-slide.is-active img { transform: scale(1); }
.hero-copy {
  position: absolute; left: 0; bottom: 0;
  margin: 0 var(--gutter) 32px;
  padding: 24px;
  max-width: 560px;
  background: var(--bg);
  color: var(--ink);
}
@media (min-width: 768px) { .hero-copy { padding: 32px 40px; margin-bottom: 48px; } }
.hero-copy h2 { font-size: 36px; line-height: 40px; max-width: 680px; margin-top: 12px; }
.hero-sub { font-size: 18px; line-height: 28px; max-width: 520px; margin-top: 12px; color: var(--ink-soft); }
@media (min-width: 768px) { .hero-copy h2 { font-size: 48px; line-height: 1; } .hero-sub { font-size: 20px; line-height: 28px; } }
.hero-copy > * { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.hero-slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-copy > :nth-child(2) { transition-delay: 150ms; }
.hero-slide.is-active .hero-copy > :nth-child(3) { transition-delay: 300ms; }

.hero-foot {
  max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter);
  display: flex; align-items: center; gap: 24px;
  border-bottom: 1px solid var(--line);
}
.hero-dots { display: flex; gap: 8px; }
.hero-dot { width: 32px; height: 24px; display: grid; align-items: center; }
.hero-dot span { display: block; height: 1px; background: var(--line); transition: background 0.7s var(--ease), transform 0.7s var(--ease); }
.hero-dot:hover span, .hero-dot.is-active span { background: var(--ink); }
.hero-dot.is-active span { transform: scaleY(2); }
.hero-count { font-size: 14px; line-height: 20px; letter-spacing: 0.12em; color: var(--muted); font-variant-numeric: tabular-nums; }
.hero-cta { margin-left: auto; font-size: 14px; line-height: 20px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: opacity 0.5s var(--ease); }
.hero-cta:hover { opacity: 0.6; }
.hero-cta:active { transform: translateY(1px); }

/* ---------- sections ---------- */
section { padding: 80px var(--gutter); }
@media (min-width: 768px) { section { padding: 96px var(--gutter); } }
.section-head { max-width: var(--max); margin: 0 auto 48px; }
.section-head h2 { font-size: 36px; line-height: 40px; margin-top: 12px; max-width: 680px; }
@media (min-width: 768px) { .section-head h2 { font-size: 48px; line-height: 1; } }

.intro { background: var(--bg); border-bottom: 1px solid var(--line); }
.intro-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 24px; }
.intro-title { font-size: 30px; line-height: 36px; max-width: 680px; }
.intro-text { font-size: 20px; line-height: 28px; max-width: 680px; color: var(--ink-soft); }
@media (min-width: 1024px) {
  .intro-inner { grid-template-columns: 1fr 2fr; gap: 48px; }
  .intro-inner .label { grid-row: 1 / span 2; }
  .intro-title { font-size: 36px; line-height: 40px; }
}

/* collections */
.collections { background: var(--bg-alt); }
.card-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 24px; }
.card { grid-column: span 12; }
@media (min-width: 768px) {
  .card-1 { grid-column: span 7; }
  .card-2 { grid-column: span 5; }
  .card-3, .card-4, .card-5 { grid-column: span 4; }
  .card-grid { row-gap: 64px; }
}
.card-media { display: block; overflow: hidden; background: var(--line); aspect-ratio: 4 / 5; }
.card-1 .card-media { aspect-ratio: 5 / 4; }
@media (max-width: 767px) { .card-1 .card-media { aspect-ratio: 4 / 5; } }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding-top: 16px; display: grid; gap: 4px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card-head h3 { font-size: 24px; line-height: 32px; }
.card-price { font-size: 16px; line-height: 24px; color: var(--gold); font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; }
.card-ja { font-size: 14px; line-height: 20px; color: var(--muted); }
.card-meta { font-size: 16px; line-height: 24px; color: var(--ink-soft); }
.card-text { font-size: 18px; line-height: 28px; margin-top: 8px; max-width: 480px; }
.card-origin { margin-top: 12px; }

/* tagline reveal */
.tagline { background: var(--bg-dark); color: var(--on-dark); padding-top: 96px; padding-bottom: 96px; }
.tagline-text {
  max-width: 960px; margin: 0 auto;
  font-size: 36px; line-height: 40px;
  text-wrap: balance;
}
@media (min-width: 768px) { .tagline-text { font-size: 60px; line-height: 1.1; } }
.tagline-text .w { color: rgba(244, 240, 232, 0.3); transition: color 0.9s var(--ease); }
.tagline-text .w.is-on { color: var(--on-dark); }

/* pillars */
.pillars { background: var(--bg); }
.pillar-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
@media (min-width: 768px) { .pillar-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.pillar { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 12px; }
.pillar-num { font-size: 14px; line-height: 20px; letter-spacing: 0.2em; color: var(--gold); font-weight: 600; }
.pillar h3 { font-size: 24px; line-height: 32px; }
.pillar p:last-child { color: var(--ink-soft); }

/* reviews */
.reviews { background: var(--bg-alt); }
.review-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
@media (min-width: 768px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; display: grid; gap: 16px; }
.review p { font-size: 24px; line-height: 32px; }
.review footer { font-size: 14px; line-height: 20px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* contact + social */
.contact { background: var(--bg); border-top: 1px solid var(--line); }
.contact-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 64px; }
@media (min-width: 1024px) { .contact-inner { grid-template-columns: 3fr 2fr; gap: 96px; } }
.contact-copy { display: grid; gap: 16px; justify-items: start; }
.contact-copy h2 { font-size: 36px; line-height: 40px; max-width: 680px; }
@media (min-width: 768px) { .contact-copy h2 { font-size: 48px; line-height: 1; } }
.contact-copy > p:not(.label) { font-size: 20px; line-height: 28px; max-width: 560px; color: var(--ink-soft); }
.btn {
  display: inline-flex; align-items: center; padding: 8px 12px; margin-top: 16px;
  background: var(--ink); color: var(--on-dark);
  font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.5s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--gold); }
.btn:active { transform: scale(0.98); }
.btn.is-disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.social { display: grid; gap: 16px; align-content: start; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid var(--ink); border-radius: 9999px;
  font-size: 14px; line-height: 20px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.3s var(--ease);
}
.pill:hover { background: var(--ink); color: var(--on-dark); }
.pill:active { transform: scale(0.98); }
.pill.is-disabled { border-color: var(--line); color: var(--muted); cursor: default; }
.pill.is-disabled:hover { background: none; color: var(--muted); }
.social-note { font-size: 14px; line-height: 20px; color: var(--muted); }

/* footer */
.footer { background: var(--bg-dark); color: var(--on-dark); padding: 64px var(--gutter) 24px; }
.footer-inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
.footer-brand { display: grid; gap: 12px; }
.footer-brand p { color: rgba(244, 240, 232, 0.7); max-width: 360px; }
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.footer-cols div { display: grid; gap: 8px; align-content: start; justify-items: start; }
.footer-cols .label { color: rgba(244, 240, 232, 0.5); margin-bottom: 8px; }
.footer-cols a { font-size: 16px; line-height: 24px; color: rgba(244, 240, 232, 0.85); border-bottom: 1px solid transparent; transition: border-color 0.5s var(--ease); }
.footer-cols a:hover { border-color: var(--on-dark); }
.footer-fine { max-width: var(--max); margin: 48px auto 0; padding-top: 16px; border-top: 1px solid rgba(244, 240, 232, 0.15); font-size: 14px; line-height: 20px; color: rgba(244, 240, 232, 0.5); }

/* inner pages */
.prose { max-width: 680px; margin: 0 auto; padding: 80px var(--gutter) 96px; display: grid; gap: 16px; }
.prose h1 { font-size: 36px; line-height: 40px; margin-bottom: 8px; }
@media (min-width: 768px) { .prose h1 { font-size: 48px; line-height: 1; } }
.prose p { color: var(--ink-soft); }
.text-link { border-bottom: 1px solid var(--ink); color: var(--ink); }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(32px); filter: blur(6px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms), filter 1s var(--ease) var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}
.no-js [data-reveal] { opacity: 1; transform: none; filter: none; }
.no-js .tagline-text .w { color: var(--on-dark); }
@media (prefers-reduced-motion: reduce) { .tagline-text .w { color: var(--on-dark); } }
