  :root {
    --nav-height:   90px;
    --beige:        #FAF7F2;
    --beige-mid:    #F2EDE4;
    --beige-dark:   #E0D8CC;
    --purple:       #3B1F6A;
    --purple-mid:   #52308A;
    --purple-light: #7A55A8;
    --purple-pale:  #EDE6F5;
    --gold:         #B8873A;
    --gold-light:   #D4A855;
    --text:         #1C1018;
    --text-mid:     #5A4E5E;
    --text-light:   #9A8FA0;
    --white:        #FFFFFF;
  }
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { background: var(--beige); color: var(--text); font-family: 'DM Sans', sans-serif; font-weight: 300; overflow-x: hidden; }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-height);
    padding: 0 6vw;
    background: rgba(250,247,242,0.93); backdrop-filter: blur(14px);
    box-shadow: inset 0 -1px 0 var(--beige-dark);
  }
  .nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
  }
  .nav-logo-mark {
    display: block;
    height: var(--nav-height);
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(59,31,106,0.08));
  }
  .nav-logo-fallback {
    display: none;
    font-family: 'Rumei House', serif;
    font-size: 0.82rem;
    letter-spacing: 0.28em;
    color: var(--purple);
    text-transform: uppercase;
  }
  .nav-links { display: flex; gap: 2.5rem; }
  .nav-links a { color: var(--text-mid); text-decoration: none; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; transition: color 0.25s; }
  .nav-links a:hover { color: var(--purple); }

  /* ── HERO ── */
  #hero {
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr; align-items: center;
    padding: 8rem 6vw 5rem; max-width: 1280px; margin: 0 auto; gap: 5rem;
    position: relative;
    isolation: isolate;
  }
  /* canvas mesh sits behind content */
  #hero-mesh {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    height: 100%;
    pointer-events: none; z-index: 1;
  }
  .hero-text { position: relative; z-index: 3; }
  .hero-logo-visual {
    justify-self: center;
    align-self: center;
    width: min(520px, 48vw);
    aspect-ratio: 1 / 1;
    position: relative;
    z-index: 4;
    display: grid;
    place-items: center;
    perspective: 1100px;
    transform-style: preserve-3d;
  }

  .eyebrow { display: flex; align-items: center; gap: 0.8rem; font-size: 0.6rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem; }
  .eyebrow-line { width: 32px; height: 1px; background: var(--gold); flex-shrink: 0; }
  h1.hero-name { font-family: 'Rumei House', serif; font-size: clamp(3rem, 5.5vw, 5.2rem); font-weight: 400; line-height: 1.05; color: var(--purple); margin-bottom: 0.6rem; letter-spacing: -0.01em; }
  .hero-tagline { font-family: 'Merriweather', serif; font-size: 1.3rem; font-weight: 400; color: var(--gold); margin-bottom: 2rem; }
  .hero-desc { font-size: 0.85rem; line-height: 1.9; color: var(--text-mid); max-width: 400px; margin-bottom: 2.8rem; }
  .btn-primary { display: inline-block; padding: 0.85rem 2.3rem; background: var(--purple); color: var(--beige); text-decoration: none; font-family: 'Merriweather', serif; font-weight: 400; font-size: 1rem; letter-spacing: 0.05rem; transition: background 0.3s, transform 0.3s; }
  .btn-primary:hover { background: var(--purple-mid); transform: translateY(-2px); }

  .hero-logo-giant {
    width: 130%;
    max-width: none;
    height: auto;
    object-fit: contain;
    transform: translateZ(0);
    transform-origin: 50% 50%;
    will-change: transform;
    filter: drop-shadow(0 24px 40px rgba(59,31,106,0.2));
    user-select: none;
    pointer-events: none;
  }

  /* ── SECTIONS ── */
  section { padding: 7rem 6vw; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .sec-eyebrow { display: flex; align-items: center; gap: 0.8rem; font-size: 0.58rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
  .sec-eyebrow::after { content: ''; height: 1px; width: 40px; background: var(--gold); }
  .sec-title { font-family: 'Rumei House', serif; font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 400; color: var(--purple); margin-bottom: 0.4rem; line-height: 1.2; }
  .sec-sub { font-family: 'Merriweather', serif; font-weight: 400; font-size: 1.05rem; color: var(--text-light); margin-bottom: 3.5rem; }
  .divider { width: 100%; height: 1px; border: none; background: var(--beige-dark); }

  /* ── MESH CANVAS ── */
  .mesh-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
  }

  /* ── ADVANTAGES ── */
  #advantages { background: var(--white); position: relative; overflow: hidden; }
  #advantages::before { content: ''; position: absolute; top: -80px; right: -80px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(59,31,106,0.07) 0%, transparent 70%); pointer-events: none; z-index: 0; }

  .adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; position: relative; z-index: 1; }
  .adv-card {
    padding: 2.2rem 1.8rem 2.5rem;
    border: 1px solid rgba(224,216,204,0.8);
    background: rgba(255,255,255,0.62);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    transition: background 0.38s ease, border-color 0.38s ease;
    position: relative;
    overflow: hidden;
  }
  .adv-card::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 0;
    background: var(--purple-mid);
    opacity: 0;
    transform: translateY(-50%) scaleY(0.82);
    transform-origin: center;
    transition: opacity 0.38s ease, transform 0.38s ease, height 0.38s ease;
  }
  .adv-card:hover { background: rgba(243,239,248,0.6); border-color: rgba(122,85,168,0.22); }
  .adv-card:hover::after { opacity: 1; height: 100%; transform: translateY(-50%) scaleY(1); }
  .adv-num { font-family: 'Merriweather', serif; font-size: 2.4rem; font-weight: 400; color: rgba(59,31,106,0.12); line-height: 1; margin-bottom: 1.2rem; display: block; transition: color 0.45s ease; }
  .adv-card:hover .adv-num { color: rgba(82,48,138,0.55); }
  .adv-title { font-family: 'Merriweather', serif; font-weight: 500; font-size: 1rem; letter-spacing: 0.05rem; color: var(--purple); margin-bottom: 0.75rem; line-height: 1.5; }
  .adv-desc { font-size: 0.78rem; line-height: 1.85; color: var(--text-mid); }
  .format-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
  .tag { padding: 0.15rem 0.5rem; border: 1px solid rgba(122,85,168,0.3); font-size: 0.58rem; letter-spacing: 0.15em; color: var(--purple-light); background: rgba(122,85,168,0.04); }

  /* ── PRINT NOTE ── */
  #print-note {
    background: linear-gradient(145deg, var(--purple-mid) 0%, var(--purple) 62%, #2e1753 100%);
    padding: 2.8rem 6vw;
    position: relative;
    overflow: hidden;
  }
  #print-note::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 15% 20%, rgba(255,255,255,0.08) 0%, transparent 46%);
    pointer-events: none;
    z-index: 0;
  }
  .print-note-shell {
    max-width: 860px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(1px);
    display: grid;
    gap: 1.05rem;
    padding: 1.3rem 1.35rem 1.35rem;
    position: relative;
    z-index: 2;
  }
  .print-note-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    padding-bottom: 0.8rem;
  }
  .print-note-main {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      'copy formats';
    gap: 0.95rem;
    align-items: start;
  }
  .print-note-copy { grid-area: copy; display: grid; gap: 0.5rem; }
  .print-note-eyebrow {
    font-size: 0.56rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin: 0;
  }
  .print-note-title { font-family: 'Rumei House', serif; font-weight: 500; font-size: 2rem; color: var(--beige); margin: 0; line-height: 1.15; }
  .print-note-status {
    align-self: flex-start;
    border: 1px solid rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.1);
    color: var(--beige);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    padding: 0.34rem 0.58rem;
    white-space: nowrap;
  }
  .print-note-desc { font-size: 0.84rem; line-height: 1.9; color: rgba(250,247,242,0.78); margin: 0; max-width: 44ch; }
  .print-note-formats {
    grid-area: formats;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    max-width: 470px;
    justify-self: center;
    align-self: center;
    padding: 0.15rem 0;
  }
  .print-note-label {
    font-family: 'Merriweather', serif;
    font-weight: 400;
    color: rgba(250,247,242,0.9);
    font-size: 1rem;
    margin: 0;
    width: 210px;
    text-align: center;
  }
  .print-note-chipset { display: grid; grid-template-columns: repeat(2, 100px); gap: 0.5rem; }
  .print-chip {
    width: 100px;
    padding: 0.45rem 0.62rem;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.04);
    color: var(--beige);
    text-align: center;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  /* ── CATALOG ── */
  #catalog { background: var(--beige); position: relative; overflow: hidden; }
  .catalog-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; position: relative; z-index: 1; align-items: start; }
  .catalog-item { grid-column: span 2; background: var(--white); border: 1px solid var(--beige-dark); overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; align-self: start; height: fit-content; }
  .catalog-item:hover { border-color: var(--beige-dark); box-shadow: 0 8px 32px rgba(59,31,106,0.08); }
  .catalog-item.top-card { grid-column: span 3; }
  .catalog-item.match-wide { align-self: stretch; height: auto; display: flex; flex-direction: column; }
  .cat-art { width: 100%; padding-bottom: 68%; position: relative; background: var(--beige); overflow: hidden; }
  .catalog-item.top-card .cat-art { padding-bottom: 48%; }
  .catalog-item.match-wide .cat-art { padding-bottom: 0; flex: 1 1 auto; min-height: 0; }
  .cat-art::after { content: ''; position: absolute; inset: 0; background: rgba(59,31,106,0.03); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
  .catalog-item:hover .cat-art::after { opacity: 0; }
  .cat-carousel { position: absolute; inset: 0; overflow: hidden; touch-action: pan-y; user-select: none; }
  .cat-track { display: flex; height: 100%; transition: transform 0.36s ease; will-change: transform; }
  .cat-slide { min-width: 100%; height: 100%; }
  .cat-slide img, .cat-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .cat-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(28,16,24,0.36);
    color: var(--white);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0.2;
    transition: background 0.25s, border-color 0.25s, opacity 0.25s;
  }
  .catalog-item:hover .cat-nav { opacity: 0.55; }
  .cat-nav:hover { background: rgba(28,16,24,0.42); border-color: rgba(255,255,255,0.72); opacity: 0.95; }
  .cat-nav.prev { left: 10px; }
  .cat-nav.next { right: 10px; }
  .cat-carousel.single .cat-nav { display: none; }
  .jewelry-svg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
  .jewelry-svg svg { width: 52%; max-width: 175px; height: auto; filter: drop-shadow(0 8px 20px rgba(59,31,106,0.1)); transition: transform 0.5s ease; }
  .catalog-item:hover .jewelry-svg svg { transform: translateY(-5px) scale(1.04); }
  .cat-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .cat-info { padding: 1rem 1.2rem 1.2rem; border-top: 1px solid var(--beige-dark); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .cat-name { font-family: 'Merriweather', serif; font-weight: 400; font-size: 0.7rem; color: var(--purple); letter-spacing: 0.08em; }
  .cat-meta { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; white-space: nowrap; }

  /* ── CONTACT ── */
  #contact { background: var(--purple); position: relative; overflow: hidden; }
  #contact::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.06); pointer-events: none; z-index: 0; }
  #contact::after { content: ''; position: absolute; bottom: -150px; left: -150px; width: 400px; height: 400px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.04); pointer-events: none; z-index: 0; }

  .contact-wrap { max-width: 660px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
  .contact-wrap .sec-eyebrow { justify-content: center; color: var(--gold-light); }
  .contact-wrap .sec-eyebrow::after { background: var(--gold-light); }
  .contact-wrap .sec-title { color: var(--beige); }
  .contact-wrap .sec-sub { color: rgba(250,247,242,0.45); margin-bottom: 2rem; }
  .email-link { display: block; font-family: 'Merriweather', serif; font-size: clamp(1.2rem, 2.2vw, 1.9rem); font-weight: 400; color: var(--gold-light); text-decoration: none; letter-spacing: 0.04em; margin-bottom: 2.8rem; transition: color 0.25s; }
  .email-link:hover { color: var(--beige); }

  .form-grid { display: flex; flex-direction: column; gap: 0.65rem; text-align: left; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
  .f-field {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: border-color 0.25s, background 0.25s;
  }
  .f-field:focus-within { border-color: rgba(212,168,85,0.45); background: rgba(255,255,255,0.08); }
  .f-field input, .f-field textarea { width: 100%; background: transparent; border: none; outline: none; padding: 0.95rem 1.2rem; color: var(--beige); font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 300; resize: none; }
  .f-field input::placeholder, .f-field textarea::placeholder { color: rgba(250,247,242,0.28); font-family: 'DM Sans', sans-serif; font-style: normal; font-size: 0.88rem; }
  .f-field textarea { min-height: 108px; }
  .form-submit { margin-top: 1.2rem; display: flex; justify-content: center; }
  .btn-ghost { padding: 0.85rem 2.8rem; border: 1px solid rgba(250,247,242,0.35); background: transparent; color: rgba(250,247,242,0.85); font-family: 'Merriweather', serif; font-weight: 400; font-size: 1rem; letter-spacing: 0.05rem; cursor: pointer; transition: background 0.3s, border-color 0.3s, color 0.3s; }
  .btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--purple); }

  /* ── FOOTER ── */
  footer { background: var(--purple); border-top: 1px solid rgba(255,255,255,0.07); padding: 2.2rem 6vw; }
  .footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
  .footer-brand { font-family: 'Rumei House', serif; font-size: 0.78rem; color: rgba(250,247,242,0.55); letter-spacing: 0.2em; }
  .footer-copy { font-size: 0.6rem; letter-spacing: 0.1em; color: rgba(250,247,242,0.22); }
  .footer-links { display: flex; gap: 2rem; }
  .footer-links a { font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250,247,242,0.3); text-decoration: none; transition: color 0.25s; }
  .footer-links a:hover { color: var(--gold-light); }

  /* ── REVEAL ── */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
  .reveal.visible { opacity: 1; transform: none; }
  .d1 { transition-delay: 0.1s; } .d2 { transition-delay: 0.2s; } .d3 { transition-delay: 0.3s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) { .adv-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 760px) {
    #hero { grid-template-columns: 1fr; padding-top: 7rem; text-align: center; gap: 2.5rem; }
    .eyebrow { justify-content: center; } .eyebrow-line { display: none; }
    .hero-desc { margin: 0 auto 2.5rem; }
    .hero-logo-visual { width: min(360px, 84vw); }
    .catalog-grid { grid-template-columns: 1fr 1fr; }
    .catalog-item { grid-column: span 1; }
    .catalog-item.top-card { grid-column: span 2; }
    .nav-links { display: none; } .form-row { grid-template-columns: 1fr; }
    .nav-logo-mark { height: var(--nav-height); width: auto; }
    .adv-grid { grid-template-columns: 1fr; }
    .print-note-main {
      grid-template-columns: 1fr;
      grid-template-areas:
        'copy'
        'formats';
      gap: 0.65rem;
    }
    .print-note-formats { justify-self: center; padding-left: 0; }
    .print-note-chipset { flex-direction: row; }
    .cat-info { flex-direction: column; gap: 0.2rem; }
  }
