
:root {
  --gold: #c39a52;
  --gold-soft: #e6cd9a;
  --bronze: #8a5c25;
  --bronze-deep: #6f4a1c;
  --espresso: #33261a;
  --espresso-2: #3a2b1b;
  --canvas: #faf6ee;
  --paper: #fffdf7;
  --ink: #2b2318;
  --accent: #a9782f;
  --accent-ink: #7a5220;
}
/* VIVISTACK range + model pages — shared styles (matches homepage system) */
:root {
  --canvas: #faf6ee;
  --paper: #fffdf7;
  --sand: #efe6d3;
  --sand-2: #e5d8bd;
  --ink: #2b2318;
  --ink-soft: #4b3d2c;
  --muted: #7b6a55;
  --line: #e0d3b8;
  --accent: #a9782f;
  --container: 1280px;
  --font-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.shell { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* header */
.rg-header { position: sticky; top: 0; z-index: 40; background: rgba(250,246,238,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.rg-header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.rg-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .12em; }
.rg-wordmark span { font-family: var(--font-body); font-size: 12px; letter-spacing: .3em; color: var(--muted); margin-left: 8px; }
.rg-nav { margin-left: auto; display: flex; gap: 22px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.rg-nav a { color: var(--muted); }
.rg-nav a:hover { color: var(--ink); }
.rg-cta { border: 1px solid var(--ink); padding: 9px 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; background: var(--ink); color: var(--canvas); }
.rg-cta:hover { background: transparent; color: var(--ink); }
@media (max-width: 820px) {
  .rg-nav { display: none; }
  .rg-cta { margin-left: auto; padding: 8px 12px; font-size: 11px; }
}

/* breadcrumb */
.rg-crumb { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 26px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.rg-crumb a:hover { color: var(--ink); }

/* hero */
.rg-hero { padding: 26px 0 46px; border-bottom: 1px solid var(--line); }
.rg-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rg-eyebrow { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.rg-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; max-width: 16ch; }
.rg-lead { max-width: 54ch; color: var(--ink-soft); font-size: 16.5px; margin: 20px 0 0; }
.rg-hero-side { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.rg-side-label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.rg-fact { display: grid; grid-template-columns: minmax(88px, .8fr) minmax(0, 1.2fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rg-fact:first-of-type { border-top: 1px solid var(--line); }
.rg-fact span { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.rg-fact strong { font-weight: 500; color: var(--ink); }
.rg-side-link { display: inline-block; margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.rg-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.rg-chip { border: 1px solid var(--line); padding: 5px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) {
  .rg-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rg-hero-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 22px; }
}

/* sections */
.rg-section { padding: 54px 0; }
.rg-section + .rg-section { border-top: 1px solid var(--line); }
.rg-section h2 { font-size: clamp(22px, 2.4vw, 30px); }
.rg-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.rg-sub { color: var(--muted); font-size: 14px; max-width: 66ch; margin: 8px 0 0; }
.rg-count { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* model cards */
.rg-goods { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 20px; }
.rg-good { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, transform .25s; }
.rg-good:hover { border-color: var(--ink); transform: translateY(-2px); }
.rg-good-media { aspect-ratio: 4/3; background: #fff; display: flex; align-items: center; justify-content: center; padding: 14px; border-bottom: 1px solid var(--line); overflow: hidden; }
.rg-good-media img { width: 100%; height: 100%; object-fit: contain; }
.rg-good-nophoto { font-family: var(--font-display); font-size: 15px; letter-spacing: .06em; color: var(--muted); text-align: center; line-height: 1.8; }
.rg-good-nophoto small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #a49d8c; }
.rg-good-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.rg-good-body h3 { font-size: 19px; letter-spacing: .02em; }
.rg-good-body p { margin: 0; font-size: 13px; color: var(--muted); }
.rg-good-more { margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* model detail */
.rg-model { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4.5vw, 64px); padding: 30px 0 54px; border-bottom: 1px solid var(--line); }
.rg-gallery { display: flex; flex-direction: column; gap: 12px; }
.rg-stage { background: #fff; border: 1px solid var(--line); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.rg-stage img { width: 100%; height: 100%; object-fit: contain; }
.rg-stage--empty { background: var(--sand); aspect-ratio: auto; min-height: 260px; align-self: start; padding: 30px; }
.rg-empty-note { max-width: 38ch; text-align: left; }
.rg-empty-note p { margin: 0 0 10px; font-size: 15px; color: var(--ink); }
.rg-empty-note .rg-empty-sub { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.rg-empty-link { display: inline-block; margin-top: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.rg-stage--empty span { max-width: 34ch; text-align: center; font-size: 14px; color: var(--ink-soft); }
.rg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.rg-thumb { padding: 6px; background: #fff; border: 1px solid var(--line); cursor: pointer; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; }
.rg-thumb img { width: 100%; height: 100%; object-fit: contain; }
.rg-thumb.is-active, .rg-thumb:hover { border-color: var(--ink); }
.rg-model-info h1 { font-size: clamp(32px, 4vw, 50px); line-height: 1.02; letter-spacing: .01em; }
.rg-model-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.rg-facts { margin: 26px 0 26px; }
.rg-model-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rg-model-note { margin: 20px 0 0; font-size: 12.5px; color: var(--muted); max-width: 52ch; }
@media (max-width: 900px) {
  .rg-model { grid-template-columns: minmax(0, 1fr); }
}

/* photo grid (legacy, kept for safety) */
.rg-photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.rg-photo { position: relative; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.rg-photo img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: contain; padding: 10px; }
.rg-photo figcaption { position: absolute; left: 0; bottom: 0; background: rgba(27,26,23,.84); color: var(--canvas); font-size: 11px; letter-spacing: .12em; padding: 3px 8px; }

/* table */
.rg-tablewrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
table.rg-table { border-collapse: collapse; width: 100%; font-size: 13px; min-width: 720px; }
.rg-table thead th {
  background: var(--ink); color: var(--canvas);
  font-family: var(--font-body); font-weight: 500; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; text-align: left; padding: 11px 12px; white-space: nowrap;
}
.rg-table td { padding: 10px 12px; border-top: 1px solid #ece7dc; vertical-align: middle; }
.rg-na { color: #cbc5b6; }
.rg-table tbody tr:nth-child(even) td { background: #faf8f3; }
.rg-table tbody tr:hover td { background: #f3efe4; }
.rg-code { font-family: var(--font-display); font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.rg-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rg-note { color: var(--muted); font-size: 13px; margin-top: 14px; max-width: 78ch; }

/* siblings */
.rg-siblist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rg-siblist a { border: 1px solid var(--line); background: var(--paper); padding: 8px 14px; font-size: 12px; letter-spacing: .1em; }
.rg-siblist a:hover { border-color: var(--ink); }

/* cta */
.rg-cta-block { background: var(--ink); color: var(--canvas); padding: 60px 0; }
.rg-cta-block h2 { font-size: clamp(26px, 3vw, 40px); max-width: 26ch; }
.rg-cta-block p { color: rgba(250,246,238,.72); max-width: 56ch; margin: 14px 0 26px; }
.rg-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rg-btn { display: inline-block; padding: 13px 22px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; border: 1px solid rgba(250,246,238,.45); color: inherit; }
.rg-btn:hover { background: var(--canvas); color: var(--ink); border-color: var(--canvas); }
.rg-btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.rg-btn--solid:hover { background: #7a5220; border-color: #7a5220; color: #fff; }
.rg-btn--wa { border-color: rgba(250,246,238,.45); }

/* range index */
.rg-index-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.rg-index-card { border: 1px solid var(--line); background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 6px; min-height: 132px; }
.rg-index-card:hover { border-color: var(--ink); }
.rg-index-card .n { font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.rg-index-card h3 { font-size: 17px; }
.rg-index-card .c { font-size: 12px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: auto; }

/* footer */
.rg-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 13px; color: var(--muted); }
.rg-footer .rg-legal { font-style: normal; line-height: 1.7; }
.rg-footer a:hover { color: var(--ink); }
.rg-footer-row { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.rg-foot-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.rg-foot-cta .rg-btn { border-color: var(--line); color: var(--ink); }
.rg-foot-cta .rg-btn:hover { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.rg-foot-cta .rg-btn--solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.rg-foot-cta .rg-btn--solid:hover { background: #7a5220; border-color: #7a5220; color: #fff; }

.rg-assure { margin-top: 14px; max-width: 62ch; font-size: 14px; line-height: 1.65; color: #8d8877; }

/* spec list for models without photography */
.rg-subgrid { margin-top: 34px; }
.rg-h3 { font-size: 19px; margin: 0; }
.rg-subgrid .rg-sec-head { margin-bottom: 14px; }
table.rg-table--list { min-width: 560px; }
.rg-table--list td { padding: 11px 12px; }
.rg-table--list .rg-code a { border-bottom: 1px solid var(--line); }
.rg-table--list .rg-code a:hover { border-bottom-color: var(--ink); }
.rg-go { text-align: right; white-space: nowrap; }
.rg-go a { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.rg-go a:hover { text-decoration: underline; }


/* --- two-tier header + banner (inlined from nav.v3.css) --- */
/* VIVISTACK — header + page banner, second revision.
   Wider nav, larger type, a dark utility strip above it, and a full-bleed
   brand banner under the header (reference layout). */

/* ---------- utility strip ---------- */
.vv-top {
  background: #3a2b1b;
  color: #e8d7b2;
  font-size: 13.5px;
}
.vv-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  flex-wrap: wrap;
}
.vv-top a {
  color: #e8d7b2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.vv-top a:hover { color: #fffdf7; }
.vv-top-left, .vv-top-right { display: flex; align-items: center; gap: 26px; }
.vv-top svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }

/* ---------- main bar ---------- */
.vv-head {
  position: relative;
  z-index: 40;
  background: #fffdf7;
  border-bottom: 1px solid var(--line);
}
.vv-head-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: 100px;
}
.vv-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--ink);
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
}
.vv-brand span {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--muted);
  font-weight: 400;
}

.vv-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.vv-menu > a,
.vv-menu > .vv-item > a {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .005em;
  padding: 10px 0;
  background: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  position: relative;
}
.vv-menu > a::after,
.vv-menu > .vv-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.vv-menu > a:hover::after,
.vv-menu > .vv-item:hover > a::after { transform: scaleX(1); }

.vv-item { position: relative; }
.vv-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
}
.vv-caret { width: 9px; height: 9px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; }

.vv-drop {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  min-width: 660px;
  background: #fffdf7;
  border: 1px solid var(--line);
  box-shadow: 0 22px 48px rgba(70, 50, 28, .13);
  padding: 18px 22px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.vv-item:hover .vv-drop,
.vv-item:focus-within .vv-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.vv-drop a {
  font-size: 15.5px;
  color: var(--ink-soft);
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft, #efe6d3);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.vv-drop a:hover { color: var(--accent); }
.vv-drop a em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; }

.vv-head-cta {
  margin-left: 6px;
  background: var(--bronze);
  color: var(--canvas);
  font-size: 15px;
  letter-spacing: .06em;
  padding: 16px 22px;
  white-space: nowrap;
  border: 1px solid var(--ink);
}
.vv-head-cta:hover { background: transparent; color: var(--ink); }

.vv-burger { display: none; }

/* ---------- full-bleed banner ---------- */
.vv-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #33261a;
}
.vv-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vv-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(51, 38, 26, .5) 0%, rgba(51, 38, 26, .34) 42%, rgba(51, 38, 26, .62) 100%);
}
.vv-banner-in {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fffdf7;
  padding: 0 24px;
}
.vv-banner-in .wm {
  font-family: var(--font-display);
  font-size: clamp(46px, 8.4vw, 108px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  margin: 0 0 16px;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .25);
}
.vv-banner-in .sub {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 27px);
  font-weight: 500;
  letter-spacing: .01em;
  margin: 0 0 18px;
  opacity: .96;
}
.vv-banner-in .meta {
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  margin: 0;
  opacity: .82;
}

/* ---------- breadcrumb: white band ---------- */
.rg-crumb {
  padding: 16px 0 !important;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px !important;
  letter-spacing: .1em;
  color: var(--muted);
}
.rg-crumb-bar {
  background: #fffdf7;
  margin: 0 0 0;
}
.rg-crumb-bar .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rg-crumb-bar .rg-crumb { padding: 15px 0 !important; border-bottom: 0; }
.rg-crumb-title {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- responsive ---------- */
@media (max-width: 1300px) {
  .vv-menu { gap: 24px; }
  .vv-menu > a, .vv-menu > .vv-item > a { font-size: 17.5px; }
  .vv-head-inner { gap: 24px; }
  .vv-brand { font-size: 25px; }
  .vv-head-cta { padding: 15px 20px; font-size: 14px; }
}
@media (max-width: 980px) {
  .vv-menu { display: none; }
  .vv-head-cta { display: none; }
  .vv-burger {
    display: inline-flex;
    margin-left: auto;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: transparent;
    cursor: pointer;
  }
  .vv-burger span { display: block; width: 18px; height: 1.5px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }
  .vv-head-inner { min-height: 76px; }
  .vv-head-cta { margin-left: 0; padding: 12px 16px; font-size: 13px; }
  .vv-top-inner { min-height: 36px; font-size: 12px; gap: 10px; }
  .vv-top-right { display: none; }
  .vv-banner { height: 250px; }
  .vv-banner-in .meta { letter-spacing: .2em; font-size: 10px; }
}
@media (max-width: 640px) {
  .vv-banner-in .meta { font-size: 10.5px; letter-spacing: .16em; }
  .vv-banner-in .wm { letter-spacing: .06em; }
  .vv-banner { height: 200px; }
  .vv-banner-in .wm { margin-bottom: 10px; }
  .vv-banner-in .sub { font-size: 15px; margin-bottom: 10px; }
}

/* ---------- brand logo mark ---------- */
.vv-brand img.vv-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}
.vv-brand {
  gap: 12px;
  align-items: center;
}
@media (max-width: 980px) {
  .vv-brand img.vv-logo { width: 42px; height: 42px; }
  .vv-brand { font-size: 22px; gap: 9px; }
}
