/* ===== VARIABLES ===== */
:root {
  --ink: #1a1a1a;
  --ink-light: #4a4a4a;
  --paper: #fafaf8;
  --bone: #e8e4df;
  --line: #d4d0cb;
  --gold: #b8965a;
  --gold-deep: #9a7b42;
  --gold-light: #d4b67c;
  --real-green: #2d7a3a;
  --fake-red: #c0392b;
  --dark-bg: #0d0d0d;
  --dark-surface: #1a1a1a;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1140px;
  --narrow: 760px;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
}

/* ===== RESET ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--gold-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--serif); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: .6rem; }
h3 { font-size: 1.35rem; margin-top: 2.4rem; margin-bottom: .5rem; }
h4 { font-size: 1.1rem; margin-top: 1.4rem; margin-bottom: .3rem; font-family: var(--sans); }
h5 { font-size: .95rem; margin-top: 1.2rem; margin-bottom: .3rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-light); }
p { margin-bottom: 1rem; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { padding: .7rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { font-weight: 600; background: var(--bone); font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
caption { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; text-align: left; margin-bottom: .6rem; }

/* ===== LAYOUT ===== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: var(--narrow); margin-left: auto; margin-right: auto; }
.section { padding: 4rem 0; }
.section.alt { background: #f3f1ed; }
.section.dark { background: var(--dark-bg); color: var(--bone); }
.section.dark h2,.section.dark h3 { color: #fff; }
.section.dark a { color: var(--gold-light); }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .5rem; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
.mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--dark-bg); color: var(--gold); font-family: var(--serif);
  font-size: .85rem; font-weight: 700; letter-spacing: -.02em;
}
.nav-links { display: flex; gap: .2rem; }
.nav-links a {
  display: block; padding: .45rem .85rem; border-radius: var(--radius);
  font-size: .88rem; font-weight: 600; color: var(--ink-light);
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: rgba(184,150,90,.1); color: var(--gold-deep);
}
.nav-tools { display: flex; align-items: center; gap: .5rem; }

/* Language Switcher */
.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: .3rem;
  padding: .4rem .7rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; cursor: pointer; font-size: .85rem;
  font-family: var(--sans); color: var(--ink);
  transition: border-color .2s;
}
.lang-btn:hover { border-color: var(--gold); }
.lang-btn .label { font-size: .7rem; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); min-width: 180px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.lang-switch.open .lang-menu,
.lang-btn[aria-expanded="true"] + .lang-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.lang-menu a {
  display: flex; align-items: center; gap: .5rem;
  padding: .55rem .9rem; font-size: .88rem; color: var(--ink);
  transition: background .15s;
}
.lang-menu a:hover { background: rgba(184,150,90,.08); }
.lang-menu a[aria-current="true"] { color: var(--gold-deep); font-weight: 600; }

/* Mobile Menu Toggle */
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 28px; height: 28px; justify-content: center;
  border: none; background: none; cursor: pointer; padding: 0;
}
.menu-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  padding: 4.5rem 0 3rem;
  background: linear-gradient(165deg, #0d0d0d 0%, #1f1c18 60%, #2a2418 100%);
  color: #fff; text-align: center;
}
.hero h1 { color: #fff; margin-bottom: .6rem; }
.hero .eyebrow {
  display: inline-block;
  font-family: var(--sans); font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--gold); margin-bottom: 1rem;
}
.hero .lead { font-size: 1.12rem; color: rgba(255,255,255,.78); max-width: 640px; margin: 0 auto 1.4rem; line-height: 1.65; }
.hero-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem 1.6rem;
  font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: 2rem;
}
.hero-meta span::before { content: '✦ '; color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block; padding: .75rem 1.8rem;
  background: var(--gold); color: #fff;
  font-family: var(--sans); font-size: .9rem; font-weight: 600;
  border-radius: var(--radius); border: 2px solid var(--gold);
  cursor: pointer; transition: background .2s, border-color .2s, transform .15s;
  text-align: center;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn.ghost:hover { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }

/* ===== BREADCRUMB ===== */
.crumb { padding: 1rem 0; font-size: .82rem; color: var(--ink-light); }
.crumb a { color: var(--ink-light); }
.crumb a:hover { color: var(--gold); }

/* ===== MEDIA / IMAGE GRID ===== */
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin: 1.4rem 0; }
.media { margin: 1.4rem 0; }
.media.rel { position: relative; margin: 0; }
.media-frame {
  display: flex; align-items: center; justify-content: center;
  min-height: 220px;
  background: #eee9e2; border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden; text-align: center;
  color: var(--ink-light); font-size: .85rem;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame .ico { font-size: 2.2rem; margin-bottom: .4rem; opacity: .4; }
.media.video .media-frame { cursor: pointer; position: relative; }
.media.video .play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0,0,0,.6); position: absolute;
}
.media.video .play::after { content: '▶'; color: #fff; font-size: 1.2rem; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); }
figcaption { font-size: .82rem; color: var(--ink-light); margin-top: .5rem; font-style: italic; }
.tag {
  position: absolute; top: .7rem; left: .7rem; z-index: 2;
  padding: .25rem .7rem; border-radius: 3px;
  font-size: .72rem; font-weight: 700; font-family: var(--sans);
  text-transform: uppercase; letter-spacing: .08em;
}
.tag.real { background: var(--real-green); color: #fff; }
.tag.fake { background: var(--fake-red); color: #fff; }
td.real { color: var(--real-green); }
td.fake { color: var(--fake-red); }

/* ===== TABLE SCROLL ===== */
.table-scroll { overflow-x: auto; margin: 1.4rem 0; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 520px; }

/* ===== TOC ===== */
.toc {
  background: #f3f1ed; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.8rem; margin: 2rem 0;
}
.toc h2 { font-size: 1rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .7rem; }
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc li a {
  display: block; padding: .35rem 0;
  font-size: .92rem; color: var(--ink-light);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: color .15s;
}
.toc li a::before {
  content: counter(toc) '. ';
  font-weight: 700; color: var(--gold); margin-right: .3rem;
}
.toc li a:hover { color: var(--gold-deep); }
.toc li:last-child a { border-bottom: none; }

/* ===== STEP NUMBERS ===== */
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--gold); color: #fff;
  font-family: var(--sans); font-size: .85rem; font-weight: 700;
  vertical-align: middle;
}

/* ===== CHECKLIST ===== */
.check { margin: 1.2rem 0; }
.check li {
  padding: .7rem 0 .7rem 1.8rem; position: relative;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: .95rem;
}
.check li::before { content: '✕'; position: absolute; left: 0; color: var(--fake-red); font-weight: 700; }

/* ===== NOTE BOX ===== */
.note {
  background: rgba(184,150,90,.1); border-left: 4px solid var(--gold);
  padding: 1.1rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.6rem 0; font-size: .93rem;
}

/* ===== FAQ ===== */
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  padding: 1rem 2rem 1rem 0; position: relative;
  font-weight: 600; font-size: 1.02rem; cursor: pointer;
  list-style: none; font-family: var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 300; color: var(--gold); font-family: var(--sans);
  transition: transform .2s;
}
.faq[open] summary::after { content: '−'; }
.faq p { padding-bottom: 1rem; color: var(--ink-light); font-size: .95rem; }

/* ===== MUTED TEXT ===== */
.muted { color: var(--ink-light); }

/* ===== PRODUCT GALLERY ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card .product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eee9e2;
  display: block;
}
.product-card .product-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #eee9e2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-light);
  font-size: .85rem;
  text-align: center;
  padding: 1rem;
}
.product-card .product-info {
  padding: 1rem 1.2rem 1.2rem;
}
.product-card .product-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .3rem;
  line-height: 1.3;
}
.product-card .product-desc {
  font-size: .85rem;
  color: var(--ink-light);
  line-height: 1.55;
  margin-bottom: 0;
}
.product-card .product-tag {
  display: inline-block;
  padding: .2rem .6rem;
  background: rgba(184,150,90,.12);
  color: var(--gold-deep);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 3px;
  margin-bottom: .5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-bg); color: rgba(232,228,223,.7);
  padding: 3.5rem 0 1.5rem; font-size: .88rem;
}
.site-footer a { color: rgba(232,228,223,.7); }
.site-footer a:hover { color: var(--gold); }
.site-footer h4 { color: var(--bone); font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .7rem; }
.site-footer ul { display: flex; flex-direction: column; gap: .35rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot-brand p { font-size: .85rem; line-height: 1.6; margin-top: .4rem; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.2rem; margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .78rem; color: rgba(255,255,255,.35);
}
.disclaimer {
  max-width: var(--wrap); margin: 2rem auto 0; padding: 1.2rem 1.5rem;
  font-size: .72rem; color: rgba(255,255,255,.3); line-height: 1.65;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ===== 404 ===== */
.err {
  display: flex; align-items: center; justify-content: center;
  min-height: 60vh; text-align: center; padding: 2rem;
}
.err h1 { font-size: clamp(5rem, 15vw, 10rem); color: var(--bone); line-height: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 1.8rem; }
}
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  nav[aria-label="Primary"] {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  nav[aria-label="Primary"].open { max-height: 400px; }
  .nav-links { flex-direction: column; padding: .5rem 1.5rem 1rem; gap: 0; }
  .nav-links a { padding: .7rem 0; border-bottom: 1px solid rgba(0,0,0,.05); }
  .hero { padding: 3rem 0 2rem; }
  .section { padding: 2.5rem 0; }
  .media-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .foot-bottom { flex-direction: column; gap: .4rem; text-align: center; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 1rem; }
  .btn-row { flex-direction: column; }
  .btn { width: 100%; }
  .product-grid { grid-template-columns: 1fr; }
}
