:root {
    --ground: #0F0E0C;
    --ground-2: #171613;
    --ground-3: #1F1E1A;
    --field: #E4E5E2;
    --ink: #F1F1EE;
    --ink-soft: #DCD8CE;
    --ink-dark: #161511;
    --accent: #C8A96A;
    --accent-hi: #D8BC84;
    --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
    --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --pad: clamp(16px, 4vw, 56px);
    --gap: clamp(88px, 11vw, 160px);
  }
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
  img { display: block; max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  button, input { font: inherit; color: inherit; }
  button { cursor: pointer; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  ::selection { background: var(--accent); color: var(--ink-dark); }
  .wrap { padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; }
  h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: 0.98; letter-spacing: -0.015em; }
  p { margin: 0; }
  .muted { color: var(--ink-soft); }

  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 26px; background: var(--accent); color: var(--ink-dark); font-weight: 700; font-size: 15px; border: 0; transition: background-color 300ms ease, transform 400ms cubic-bezier(.32,.72,0,1); }
  .btn:hover { background: var(--accent-hi); }
  .btn:active { transform: scale(0.98); }
  .btn-alt { background: var(--ground-3); color: var(--ink); }
  .btn-alt:hover { background: var(--field); color: var(--ink-dark); }
  .btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }

  /* Utility bar */
  .util { background: var(--ground-2); font-size: 15px; color: var(--ink-soft); }
  .util .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
  .util nav { display: flex; gap: 22px; }
  .util a:hover { color: var(--ink); }

  /* Header */
  .head { position: sticky; top: 0; z-index: 20; background: var(--ground); }
  .head-row { display: flex; align-items: center; gap: 24px; height: 76px; }
  .logo { font-family: var(--serif); font-size: 26px; font-weight: 600; white-space: nowrap; }
  .logo span { color: var(--accent); }
  .search { flex: 1; max-width: 520px; margin-left: auto; position: relative; }
  .search input { width: 100%; height: 48px; padding: 0 16px 0 46px; background: var(--ground-3); border: 0; color: var(--ink); font-size: 15px; }
  .search input::placeholder { color: #B0A999; }
  .search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; stroke: var(--ink-soft); fill: none; stroke-width: 1.6; }
  .head-actions { display: flex; align-items: center; gap: 10px; }
  .head-actions a { padding: 12px 14px; color: var(--ink-soft); font-size: 15px; transition: color 300ms ease; }
  .head-actions a:hover { color: var(--ink); }
  
  .cats-row { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 14px; }
    .cats-row a, .cats-row button { flex: none; padding: 10px 16px; background: var(--ground-2); border: 0; font-size: 15px; color: var(--ink-soft); transition: background-color 300ms ease, color 300ms ease; }
  .cats-row a:hover, .cats-row button:hover { background: var(--ground-3); color: var(--ink); }
  .cats-row button[aria-pressed="true"] { background: var(--accent); color: var(--ink-dark); font-weight: 600; }

  /* Hero */
  .hero { padding-block: clamp(32px, 5vw, 72px); }
  .hero-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 96px); align-items: center; }
  .hero h1 { font-size: clamp(52px, 6.4vw, 104px); }
  .hero p.lede { margin-top: 28px; max-width: 46ch; color: var(--ink-soft); font-size: clamp(17px, 1.3vw, 19px); }
  .hero-cta { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-pic { margin: 0; background: var(--ground-2); padding: clamp(10px, 1.6vw, 18px); }
  .hero-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .hero-pic figcaption { font-size: 13px; color: #A9A294; margin-top: 12px; }
  .notice { margin-top: 36px; background: var(--ground-2); padding: 18px 22px; display: flex; gap: 14px; align-items: center; font-size: 16px; color: var(--ink-soft); }
  .notice b { color: var(--ink); font-weight: 600; }
  .notice i { width: 8px; height: 8px; background: var(--accent); flex: none; border-radius: 50%; }

  /* Product grid */
  .sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
  .sec-head h2 { font-size: clamp(44px, 6vw, 96px); }
  .sec-head p { color: var(--ink-soft); max-width: 40ch; }
  .grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .card { background: var(--ground-2); display: flex; flex-direction: column; transition: background-color 400ms ease; }
  .card:hover { background: var(--ground-3); }
  .card[hidden] { display: none; }
  .card-pic { position: relative; background: var(--ground-3); overflow: hidden; aspect-ratio: 1 / 1; }
  .card-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.32,.72,0,1); }
  .card:hover .card-pic img { transform: scale(1.03); }
  .card-pic .live { position: absolute; left: 12px; top: 12px; background: var(--ground); color: var(--ink); font-size: 15px; padding: 6px 10px; font-variant-numeric: tabular-nums; }
  .card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
  .code { font-size: 15px; color: #A9A294; font-variant-numeric: tabular-nums; }
  .card h3 { font-family: var(--sans); font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
  .prices { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 10px; }
  .was { font-size: 15px; color: #A9A294; text-decoration: line-through; font-variant-numeric: tabular-nums; }
  .now { font-family: var(--serif); font-size: 24px; line-height: 1; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
  .meta { font-size: 15px; color: var(--ink-soft); }
  .card .btn { width: 100%; margin-top: 12px; }
  .more { margin-top: 40px; display: flex; justify-content: center; }
  .empty { display: none; color: var(--ink-soft); padding: 40px 0; }

  /* Process */
  .how { padding-block: var(--gap) 0; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
  .how h2 { font-size: clamp(44px, 5.6vw, 92px); }
  .how-list { display: grid; gap: 12px; }
  .how-item { background: var(--ground-2); padding: 30px 32px; }
  .how-item h3 { font-size: clamp(30px, 2.8vw, 40px); }
  .how-item p { margin-top: 12px; color: var(--ink-soft); max-width: 58ch; }

  /* Closing band */
  .band { margin-top: var(--gap); background: var(--field); color: var(--ink-dark); }
  .band-in { padding-block: clamp(72px, 9vw, 130px); display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
  .band h2 { font-size: clamp(48px, 7vw, 120px); max-width: 14ch; }
  .band p { margin-top: 20px; color: #4A4840; max-width: 46ch; }
  .band .btn { background: var(--ink-dark); color: var(--ink); }
  .band .btn:hover { background: #2A2822; }

  /* Footer */
  footer { padding-block: 72px 40px; }
  .foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
  .foot h4 { font-size: 15px; font-weight: 600; margin: 0 0 14px; }
  .foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .foot li, .foot p { color: var(--ink-soft); font-size: 15px; }
  .foot a:hover { color: var(--ink); }
  .credits { margin-top: 56px; font-size: 15px; color: #A9A294; line-height: 1.7; max-width: 72ch; }

  /* Motion */
  .js .rv { opacity: 0; transform: translateY(20px); transition: opacity 800ms cubic-bezier(.32,.72,0,1), transform 800ms cubic-bezier(.32,.72,0,1); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv.d1 { transition-delay: 80ms; }
  .js .rv.d2 { transition-delay: 160ms; }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .js .rv { opacity: 1; transform: none; }
  }

  /* Tablet */
  @media (max-width: 1100px) {
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .foot { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 900px) {
    .hero-grid, .how { grid-template-columns: 1fr; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .head-row { height: auto; flex-wrap: wrap; padding-block: 14px; gap: 14px; }
    .search { order: 3; max-width: none; flex-basis: 100%; margin-left: 0; }
    .head { position: relative; }
    .head-actions .hide-s { display: none; }
    .band-in { grid-template-columns: 1fr; }
  }
  /* Phone */
  @media (max-width: 560px) {
    body { font-size: 15px; }
    .util { display: none; }
    .util .wrap { font-size: 13px; }
    .util nav a:not(:first-child) { display: none; }
    .hero h1 { font-size: clamp(44px, 13vw, 64px); }
    .grid { gap: 8px; }
    .card-body { padding: 14px 14px 16px; }
    .card h3 { font-size: 15px; }
    .now { font-size: 26px; }
    .card .btn { min-height: 46px; font-size: 15px; }
    .how-item { padding: 24px 20px; }
    .foot { grid-template-columns: 1fr; }
    .hero-cta .btn { width: 100%; }
  }
