  :root {
    --bg: #1b0d2b;
    --bg-raised: #2e1648;
    --ink: #fff7fc;
    --ink-dim: #d9c9ea;
    --gold: #ffd166;
    --gold-soft: #ffb86b;
    --rose: #ff5c9a;
    --silver: #c7d6e6;
    --line: rgba(255,237,248,0.18);
    --shadow: rgba(9,2,24,0.42);
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  }

  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #1b0d2b;
      --bg-raised: #2e1648;
      --ink: #fff7fc;
      --ink-dim: #d9c9ea;
      --gold: #ffd166;
      --gold-soft: #ffb86b;
      --rose: #ff5c9a;
      --silver: #c7d6e6;
      --line: rgba(255,237,248,0.18);
      --shadow: rgba(9,2,24,0.42);
    }
  }

  :root[data-theme="dark"] {
    --bg: #1b0d2b;
    --bg-raised: #2e1648;
    --ink: #fff7fc;
    --ink-dim: #d9c9ea;
    --gold: #ffd166;
    --gold-soft: #ffb86b;
    --rose: #ff5c9a;
    --silver: #c7d6e6;
    --line: rgba(255,237,248,0.18);
    --shadow: rgba(9,2,24,0.42);
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  html { background: var(--bg); }

  body {
    background:
      radial-gradient(ellipse at 12% 3%, rgba(255,92,154,0.12), transparent 30rem),
      radial-gradient(ellipse at 90% 48%, rgba(117,78,255,0.11), transparent 36rem),
      var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  a { color: inherit; }

  img, svg { max-width: 100%; }

  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 56px);
  }

  /* ---------- Header ---------- */
  header.top {
    position: relative;
    z-index: 5;
    padding-top: clamp(28px, 5vw, 44px);
  }
  .top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
  }
  .wordmark {
    font-family: var(--font-display);
    font-size: clamp(22px, 3vw, 27px);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--ink);
    text-decoration: none;
  }
  .top-nav {
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    font-size: 14px;
    color: var(--ink-dim);
  }
  .top-nav a { text-decoration: none; transition: color 0.2s ease; }
  .top-nav a:hover, .top-nav a:focus-visible { color: var(--rose); }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    isolation: isolate;
    padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 7vw, 72px);
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(24px, 5vw, 48px);
    align-items: center;
  }
  .hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: linear-gradient(115deg, rgba(27,13,43,0.84), rgba(77,18,68,0.82)),
      url("https://hagumediacdn.webyacu.com/storage/c9594cc3-d60d-4b97-9686-76c5a3f638d3/496d9740-4d6d-42b3-a8ec-279fc18f2d0b/large.webp") center / cover no-repeat;
  }
  .hero h1 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .hero h1 em {
    font-style: italic;
    font-weight: 400;
    color: var(--rose);
  }
  .hero p.lede {
    margin-top: 22px;
    max-width: 42ch;
    font-size: clamp(16px, 1.6vw, 18px);
    color: var(--ink-dim);
  }
  .hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 2px;
    font-size: 14.5px;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  }
  .btn-gold {
    background: var(--gold);
    color: var(--bg);
  }
  .btn-gold:hover, .btn-gold:focus-visible { transform: translateY(-2px); }
  .btn-outline {
    border-color: var(--line);
    color: var(--ink);
  }
  .btn-outline:hover, .btn-outline:focus-visible { border-color: var(--rose); color: var(--rose); }

  .hero-art { position: relative; }
  .hero-art svg { width: 100%; height: auto; display: block; }

  .chain-path {
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: draw 2.1s cubic-bezier(.65,0,.35,1) 0.2s forwards;
  }
  .chain-links circle, .chain-links ellipse {
    opacity: 0;
    animation: appear 0.5s ease forwards;
  }
  .chain-links .chain-link-1 { animation-delay: 0.3s; }
  .chain-links .chain-link-2 { animation-delay: 0.7s; }
  .chain-links .chain-link-3 { animation-delay: 1.1s; }
  .chain-links .chain-link-4 { animation-delay: 1.5s; }
  .chain-links .chain-link-5 { animation-delay: 1.8s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes appear { to { opacity: 1; } }

  @media (prefers-reduced-motion: reduce) {
    .chain-path { animation: none; stroke-dashoffset: 0; }
    .chain-links circle, .chain-links ellipse { animation: none; opacity: 1; }
  }

  /* ---------- How it works ---------- */
  .how {
    padding: clamp(56px, 9vw, 100px) 0;
    border-top: 1px solid var(--line);
  }
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: clamp(32px, 5vw, 52px);
    flex-wrap: wrap;
  }
  .section-head h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(30px, 4vw, 44px);
  }
  .section-head p {
    max-width: 34ch;
    color: var(--ink-dim);
    font-size: 15px;
  }

  .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .step {
    background: var(--bg);
    padding: 30px 24px;
  }
  .step .num {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--rose);
    font-size: 20px;
    display: block;
    margin-bottom: 14px;
  }
  .step h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 19px;
    margin-bottom: 8px;
  }
  .step p { color: var(--ink-dim); font-size: 14.5px; }

  /* ---------- Collection ---------- */
  .collection {
    padding: clamp(56px, 9vw, 100px) 0;
    border-top: 1px solid var(--line);
  }
  .collection-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: clamp(24px, 4vw, 36px);
  }
  .filter-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-dim);
    padding: 8px 18px;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .filter-btn:hover {
    border-color: var(--gold-soft);
    color: var(--ink);
  }
  .filter-btn.active {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--bg);
    font-weight: 500;
  }
  .cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .cat {
    background: var(--bg);
    padding: clamp(20px, 3vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background 0.2s ease;
  }
  .cat:hover {
    background: var(--bg-raised);
  }
  .cat-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--bg-raised);
    border-radius: 2px;
  }
  .cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  }
  .cat:hover .cat-img-wrap img {
    transform: scale(1.04);
  }
  .cat-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .cat-tag {
    font-size: 12.5px;
    color: var(--rose);
    font-family: var(--font-display);
    font-style: italic;
  }
  .cat h3 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.25;
  }
  .cat p.desc {
    color: var(--ink-dim);
    font-size: 14px;
    line-height: 1.5;
    flex-grow: 1;
  }
  .cat .tones {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--silver);
  }
  .swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
  .swatch-gold { background: var(--gold); }
  .swatch-silver { background: var(--silver); }
  .cat-inquire {
    font-size: 13px;
    color: var(--rose);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    margin-top: auto;
    transition: color 0.18s ease, gap 0.18s ease;
  }
  .cat-inquire:hover {
    color: var(--ink);
    gap: 9px;
  }

  /* ---------- Pricing note ---------- */
  .price-band {
    border-top: 1px solid var(--line);
    padding: clamp(48px, 8vw, 80px) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
  }
  .price-band .figure {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(38px, 5vw, 56px);
    color: var(--rose);
    line-height: 1.05;
  }
  .price-band .figure span {
    display: block;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--ink-dim);
    margin-top: 10px;
  }
  .price-band .copy p { color: var(--ink-dim); font-size: 15.5px; max-width: 46ch; }
  .price-band .copy p + p { margin-top: 14px; }

  /* ---------- CTA / footer ---------- */
  .cta {
    border-top: 1px solid var(--line);
    padding: clamp(56px, 9vw, 96px) 0;
    text-align: center;
  }
  .cta h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(32px, 5vw, 52px);
    max-width: 18ch;
    margin: 0 auto 20px;
  }
  .cta p {
    color: var(--ink-dim);
    max-width: 42ch;
    margin: 0 auto 32px;
    font-size: 15.5px;
  }
  .cta .hero-actions { justify-content: center; }

  footer {
    border-top: 1px solid var(--line);
    padding: 28px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: var(--ink-dim);
  }
  footer a { text-decoration: none; }
  footer a:hover, footer a:focus-visible { color: var(--rose); }

  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--rose);
    outline-offset: 3px;
  }

  @media (max-width: 960px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; }
    .hero-art { order: -1; max-width: 320px; margin: 0 auto; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .price-band { grid-template-columns: 1fr; }
    .top-nav { display: none; }
  }

  @media (max-width: 580px) {
    .cat-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
  }
