/* Célvane — fictional fine jewellery landing page */

:root {
  --noir: #0e0d0c;
  --noir-2: #1a1816;
  --ivory: #f7f3ec;
  --linen: #efe8dc;
  --stone: #e2d9ca;
  --champagne: #c9ad7f;
  --champagne-light: #e3d0ad;
  --champagne-deep: #9a7f52;
  --ink: #1f1c19;
  --muted: #6d655a;
  --line: rgba(31, 28, 25, .14);
  --line-dark: rgba(227, 208, 173, .22);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --pad-x: clamp(20px, 6vw, 96px);
  --pad-y: clamp(80px, 11vw, 150px);
  --max: 1320px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.08; }
h3 { font-size: 24px; line-height: 1.25; }
p { margin: 0; }
em { font-style: italic; color: var(--champagne-light); }
:focus-visible { outline: 1px solid var(--champagne); outline-offset: 4px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ivory); padding: 10px 16px; }
.skip:focus { top: 12px; }

.section { max-width: var(--max); margin: 0 auto; padding: var(--pad-y) var(--pad-x); }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--champagne-deep);
  margin-bottom: 24px;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 32px;
  font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn-gold { background: var(--champagne); color: var(--noir); border-color: var(--champagne); }
.btn-gold:hover { background: var(--champagne-light); border-color: var(--champagne-light); }
.btn-ghost { border-color: rgba(247, 243, 236, .45); color: var(--ivory); }
.btn-ghost:hover { background: rgba(247, 243, 236, .08); border-color: var(--ivory); }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex; gap: 12px; align-items: center;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s;
}
.text-link:hover { gap: 20px; color: var(--champagne-deep); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  color: var(--ivory);
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(14, 13, 12, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line-dark);
}
.header::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(14,13,12,.7), rgba(14,13,12,0)); transition: opacity .4s; }
.header.is-solid::before { opacity: 0; }
.header.menu-open { background: var(--noir); backdrop-filter: none; -webkit-backdrop-filter: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo span { font-family: var(--serif); font-size: 24px; letter-spacing: .32em; }
.logo-mark { width: 26px; height: 26px; fill: none; stroke: var(--champagne); stroke-width: 1.4; }

.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta { border: 1px solid var(--champagne); padding: 11px 20px; color: var(--champagne-light); transition: background .3s, color .3s; }
.nav-cta:hover { background: var(--champagne); color: var(--noir); }

.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 26px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 40px) var(--pad-x) 120px;
  background: var(--noir); color: var(--ivory); overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; z-index: -2; animation: heroZoom 14s var(--ease) both; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,13,12,.88) 0%, rgba(14,13,12,.55) 42%, rgba(14,13,12,0) 75%),
    linear-gradient(0deg, rgba(14,13,12,.6) 0%, rgba(14,13,12,0) 30%);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-inner { max-width: 620px; width: 100%; margin-left: max(0px, calc((100vw - var(--max)) / 2)); }
.hero .eyebrow { color: var(--champagne-light); }
.hero h1 { font-size: clamp(56px, 9vw, 124px); line-height: .95; letter-spacing: -.015em; margin-bottom: 32px; }
.hero-lede { font-size: clamp(16px, 1.4vw, 18px); max-width: 460px; color: rgba(247, 243, 236, .82); margin-bottom: 44px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta {
  position: absolute; left: var(--pad-x); right: var(--pad-x); bottom: 32px;
  display: flex; flex-wrap: wrap; gap: 8px 40px; margin: 0; padding: 22px 0 0; list-style: none;
  border-top: 1px solid var(--line-dark);
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,243,236,.7);
}
.hero-meta li::before { content: "◆"; color: var(--champagne); font-size: 7px; margin-right: 12px; vertical-align: 2px; }

/* ---------- Story ---------- */
.story-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); }
.story-body { display: grid; gap: 22px; color: var(--muted); }
.story-body .lead { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.45; color: var(--ink); }
.signature { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--champagne-deep); margin-top: 8px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin: clamp(64px, 8vw, 110px) 0 0; padding-top: 40px; border-top: 1px solid var(--line);
}
.stats dt { font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--ink); }
.stats dd { margin: 12px 0 0; font-size: 13px; letter-spacing: .06em; color: var(--muted); max-width: 220px; }

/* ---------- Featured collection ---------- */
.featured {
  background: var(--noir); color: var(--ivory);
  display: grid; grid-template-columns: 4fr 8fr; gap: clamp(40px, 6vw, 90px);
  padding: var(--pad-y) var(--pad-x);
}
.featured-intro { align-self: center; max-width: 420px; }
.featured-intro .eyebrow { color: var(--champagne); }
.featured-intro h2 { margin-bottom: 26px; }
.featured-intro p:not(.eyebrow) { color: rgba(247,243,236,.72); margin-bottom: 36px; }
.featured-intro .text-link { color: var(--champagne-light); }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.piece-art {
  aspect-ratio: 3 / 4; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #2b2620 0%, var(--noir-2) 70%);
  border: 1px solid var(--line-dark); margin-bottom: 22px;
  transition: border-color .4s var(--ease);
}
.piece-art svg { width: 58%; height: auto; aspect-ratio: 1; fill: none; stroke: var(--champagne); stroke-width: 1.1; transition: transform .6s var(--ease); }
.piece:hover .piece-art { border-color: var(--champagne); }
.piece:hover .piece-art svg { transform: scale(1.06); }
.piece h3 { font-size: 22px; margin-bottom: 6px; }
.piece p { font-size: 13px; color: rgba(247,243,236,.6); letter-spacing: .04em; }

/* ---------- Best sellers ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head.center { justify-content: center; text-align: center; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; list-style: none; margin: 0; padding: 0; }
.product-art { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; margin-bottom: 20px; overflow: hidden; }
.product-art svg { width: 56%; aspect-ratio: 1; height: auto; fill: none; stroke-width: 1.1; transition: transform .6s var(--ease); }
.product:hover .product-art svg { transform: scale(1.07) rotate(-2deg); }
.tone-ivory { background: var(--linen); color: var(--champagne-deep); }
.tone-stone { background: var(--stone); color: #7b6646; }
.tone-noir { background: var(--noir-2); color: var(--champagne); }
.tone-champagne { background: linear-gradient(160deg, #e6d5b8, #cdb58c); color: #5e4b2d; }
.product-art svg { stroke: currentColor; }
.tag { position: absolute; top: 16px; left: 16px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; background: var(--ivory); color: var(--ink); padding: 6px 10px; }
.product h3 { font-size: 22px; }
.product-meta { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.price { font-size: 14px; letter-spacing: .08em; }

/* ---------- Why ---------- */
.why { background: var(--linen); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.why-grid li { padding: 40px 32px 8px 0; }
.why-grid li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.why-num { display: block; font-family: var(--serif); font-size: 18px; color: var(--champagne-deep); margin-bottom: 30px; }
.why-grid h3 { margin-bottom: 14px; }
.why-grid p { font-size: 15px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.quote { margin: 0; padding: 44px 36px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.stars { color: var(--champagne); letter-spacing: .3em; font-size: 13px; margin-bottom: 22px; }
.quote blockquote { margin: 0 0 32px; flex: 1; }
.quote blockquote p { font-family: var(--serif); font-size: 22px; line-height: 1.45; }
.quote figcaption { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.quote figcaption span { display: block; margin-top: 4px; color: var(--muted); letter-spacing: .08em; text-transform: none; font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 120px); }
.faq-head h2 { margin-bottom: 24px; }
.faq-head p:not(.eyebrow) { color: var(--muted); margin-bottom: 30px; max-width: 340px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 28px 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 24px; color: var(--champagne-deep); transition: transform .35s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 48px 28px 0; max-width: 680px; }

/* ---------- Contact ---------- */
.contact { background: var(--noir); color: var(--ivory); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 120px); }
.contact .eyebrow { color: var(--champagne); }
.contact-copy h2 { margin-bottom: 26px; }
.contact-copy > p:not(.eyebrow) { color: rgba(247,243,236,.72); max-width: 460px; }
.contact-details { list-style: none; padding: 0; margin: 44px 0 0; border-top: 1px solid var(--line-dark); }
.contact-details li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.contact-details span { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne); padding-top: 3px; }
.contact-details a:hover { color: var(--champagne-light); }

.contact-form { background: var(--noir-2); border: 1px solid var(--line-dark); padding: clamp(28px, 4vw, 52px); display: grid; gap: 22px; align-self: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--champagne-light); }
.optional { text-transform: none; letter-spacing: .04em; color: rgba(247,243,236,.45); }
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(247,243,236,.28);
  padding: 10px 0 12px; font-size: 16px; color: var(--ivory); border-radius: 0;
  transition: border-color .3s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--champagne) 50%), linear-gradient(135deg, var(--champagne) 50%, transparent 50%);
  background-position: calc(100% - 10px) 50%, calc(100% - 5px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--champagne); }
.field input[aria-invalid="true"] { border-bottom-color: #d9826b; }
.error { font-size: 12px; color: #e59a86; min-height: 0; }
.error:empty { display: none; }
.form-note { font-size: 12px; color: rgba(247,243,236,.45); text-align: center; }
.form-success { font-family: var(--serif); font-size: 20px; color: var(--champagne-light); text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--noir); color: rgba(247,243,236,.7); padding: 0 var(--pad-x) 36px; }
.footer-top { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; padding: 56px 0 40px; border-top: 1px solid var(--line-dark); }
.footer .logo { color: var(--ivory); }
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--champagne-light); margin-right: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.footer nav a:hover { color: var(--champagne-light); }
.footer-bottom { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 12px; color: rgba(247,243,236,.45); }
.disclaimer { max-width: 620px; }

/* ---------- Language switch & demo badge ---------- */
.lang-switch { display: flex; align-items: center; gap: 6px; margin-left: 28px; font-size: 11px; letter-spacing: .16em; position: relative; z-index: 2; }
.lang-switch button { background: none; border: 0; padding: 8px 2px; cursor: pointer; color: inherit; opacity: .55; letter-spacing: inherit; }
.lang-switch button[aria-pressed="true"] { opacity: 1; color: var(--champagne-light); }
.lang-switch span { opacity: .4; }
.demo-badge { display: inline-block; border: 1px solid var(--champagne); color: var(--champagne-light); padding: 2px 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.disclaimer strong { color: var(--champagne-light); font-weight: 400; }

/* Japanese: system Mincho / Gothic, no extra font download */
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] summary, html[lang="ja"] .lead,
html[lang="ja"] .signature, html[lang="ja"] .quote blockquote p, html[lang="ja"] .footer-tag, html[lang="ja"] .form-success {
  font-family: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; letter-spacing: .04em; }
html[lang="ja"] body { font-family: "Jost", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif; line-height: 1.9; }
html[lang="ja"] h1 { font-size: clamp(44px, 7vw, 96px); line-height: 1.2; }
html[lang="ja"] h2 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.4; }
html[lang="ja"] .story-body .lead, html[lang="ja"] .quote blockquote p { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.8; }
html[lang="ja"] .signature { font-style: normal; font-size: 20px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .featured { grid-template-columns: 1fr; }
  .featured-intro { max-width: 620px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid li:nth-child(3) { padding-left: 0; border-left: 0; }
  .why-grid li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 8px; }
  .quote-grid { grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .menu-btn { display: block; color: inherit; z-index: 2; }
  .lang-switch { margin-left: auto; margin-right: 12px; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--noir); color: var(--ivory);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: 30px; letter-spacing: .04em; text-transform: none; }
  .nav-cta { font-family: var(--sans) !important; font-size: 12px !important; letter-spacing: .2em !important; text-transform: uppercase !important; margin-top: 12px; padding: 16px 28px; }
  .logo { position: relative; z-index: 2; }
  .story-grid, .faq-grid, .contact-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .stats div { display: grid; grid-template-columns: 140px 1fr; align-items: baseline; gap: 16px; }
  .stats dd { margin: 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head.center { align-items: center; }
  .featured-grid { grid-template-columns: repeat(3, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--pad-x) * -1); padding-right: var(--pad-x); scrollbar-width: none; }
  .featured-grid::-webkit-scrollbar { display: none; }
  .piece { scroll-snap-align: start; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .logo span { font-size: 20px; letter-spacing: .26em; }
  .hero { padding-bottom: 150px; }
  .hero-img { object-position: 72% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(14,13,12,.35) 0%, rgba(14,13,12,.75) 55%, rgba(14,13,12,.92) 100%); }
  .hero-inner { margin-top: auto; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { flex-direction: column; gap: 6px; font-size: 10px; }
  .featured-grid { grid-template-columns: repeat(3, 78%); }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 32px 14px; }
  .product h3 { font-size: 18px; }
  .product-meta { font-size: 12px; }
  .tag { top: 10px; left: 10px; font-size: 9px; padding: 4px 8px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-grid li, .why-grid li + li { padding: 32px 0 24px; border-left: 0; }
  .why-grid li + li { border-top: 1px solid var(--line); }
  .why-grid li:nth-child(n+3) { margin-top: 0; }
  .why-num { margin-bottom: 16px; }
  .quote { padding: 32px 26px; }
  .quote blockquote p { font-size: 20px; }
  .stats div { grid-template-columns: 1fr; gap: 6px; }
  details p { padding-right: 0; }
  .contact-details li { grid-template-columns: 1fr; gap: 4px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
