:root {
  --ink: #1b263b;
  --accent: #c59d5f;
  --accent-dark: #a8823f;
  --surface: #f7f5f1;
  --radius: 8px;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --rule: color-mix(in srgb, var(--ink) 12%, transparent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--body);
  color: var(--fg);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 92%, #fff), var(--surface));
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: -.03em; margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
.layer { position: relative; z-index: 1; padding-bottom: 80px; }
.glass { background: color-mix(in srgb, var(--surface) 88%, #fff); border: 1px solid var(--rule); }
.kicker { letter-spacing: .22em; text-transform: uppercase; font-size: 10px; font-weight: 700; color: var(--accent-dark); margin: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--on-ink, var(--surface)); border: 0; border-radius: 6px;
  padding: 12px 18px; font-weight: 700; cursor: pointer; font-size: 13px;
}
.btn.ghost { background: transparent; color: var(--fg, var(--ink)); border: 1px solid var(--rule); }
.btn:hover { filter: brightness(1.08); }
.price { font-family: var(--display); font-size: 28px; font-weight: 600; }
.benefit { color: color-mix(in srgb, currentColor 62%, transparent); line-height: 1.55; margin: 0; }

.hy-nav {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 10px 20px; background: color-mix(in srgb, var(--surface) 94%, #fff);
  border-bottom: 1px solid var(--rule);
}
.hy-nav .brand { font-size: 22px; }
.hy-nav .links { display: flex; gap: 18px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; justify-content: center; }
.hy-nav .tools { display: flex; gap: 8px; }

.hy-cats {
  display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px;
  border-bottom: 1px solid var(--rule); background: var(--surface);
}
.hy-cats a {
  flex: 0 0 auto; min-height: 40px; padding: 8px 14px; border: 1px solid var(--rule);
  border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.hy-cats a:hover, .hy-cats a.on { background: var(--ink); color: var(--on-ink, var(--surface)); border-color: var(--ink); }

.hy-decide {
  display: grid; grid-template-columns: 1.15fr .85fr; min-height: 72svh;
  border-bottom: 1px solid var(--rule);
}
.hy-decide img { width: 100%; height: 72svh; object-fit: cover; }
.hy-decide .copy { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.hy-decide h1 { font-size: clamp(36px, 5vw, 64px); line-height: .92; }
.hy-rank-mark {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
}

.hy-shortcuts {
  display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--rule);
}
.hy-shortcuts a {
  padding: 18px 16px; border-right: 1px solid var(--rule); min-height: 88px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
}
.hy-shortcuts a:last-child { border-right: 0; }
.hy-shortcuts strong { font-size: 15px; }

.hy-rank { padding: 28px 20px; }
.hy-rank h2 { font-size: clamp(28px, 4vw, 44px); margin: 8px 0 18px; }
.hy-row {
  display: grid; grid-template-columns: 48px 88px 1fr auto auto; gap: 14px; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--rule);
}
.hy-row .n { font-family: var(--display); font-size: 22px; color: var(--accent-dark); }
.hy-row img { width: 88px; height: 88px; object-fit: cover; border-radius: 6px; }
.hy-row .price { font-size: 22px; }

.hy-compare {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.hy-compare article { padding: 24px 20px; border-right: 1px solid var(--rule); }
.hy-compare article:last-child { border-right: 0; background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
.hy-compare img { height: 180px; width: 100%; object-fit: cover; margin: 12px 0; border-radius: 6px; }

.hy-stream {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 24px 20px 8px;
}
.hy-card {
  border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; background: color-mix(in srgb, var(--surface) 70%, #fff);
  display: flex; flex-direction: column;
}
.hy-card img { height: 220px; width: 100%; object-fit: cover; transition: transform .35s ease; }
.hy-card:hover img { transform: scale(1.04); }
.hy-card .meta { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hy-card .meta .price { font-size: 24px; }

.hy-kits { padding: 24px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hy-kit {
  border: 1px solid var(--rule); padding: 18px; border-radius: 10px;
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: end;
}
.hy-proof {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
}
.hy-proof div { padding: 22px 20px; border-right: 1px solid var(--rule); }
.hy-proof div:last-child { border-right: 0; }
.hy-mail {
  padding: 36px 20px; text-align: left; border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 20px; align-items: end;
}
.hy-foot {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 16px;
  padding: 28px 20px; border-top: 1px solid var(--rule); font-size: 13px;
}

.icon-btn, .cart {
  border: 1px solid var(--rule); background: transparent; border-radius: 6px;
  padding: 8px 12px; min-height: 44px; cursor: pointer; font-weight: 700; font-size: 12px;
}
.burger { display: none; }
.dock { display: none; }
.panel { position: fixed; inset: 0; z-index: 80; display: none; place-items: center; background: color-mix(in srgb, var(--ink) 40%, transparent); padding: 24px; }
.panel.open { display: grid; }
.sheet { width: min(920px, 100%); max-height: 90vh; overflow: auto; padding: 24px; background: var(--surface); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-radius: 10px; }
.search-sheet, .cart-sheet { grid-template-columns: 1fr; width: min(640px, 100%); }
.search-hit { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; cursor: pointer; border-bottom: 1px solid var(--rule); }
.search-hit img { width: 72px; height: 72px; object-fit: cover; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.specs { margin-top: 10px; }
.spec { display: grid; grid-template-columns: 110px 1fr; gap: 8px; padding: 6px 0; font-size: 13px; border-bottom: 1px solid var(--rule); }
.qty { display: flex; align-items: center; gap: 8px; margin: 14px 0; }
.menu-flyout { display: none; position: fixed; inset: 0; z-index: 90; }
.menu-flyout.open { display: block; }
.menu-scrim { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 40%, transparent); border: 0; width: 100%; }
.menu-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); padding: 24px; overflow: auto; background: var(--surface); }
.mobile-links a { display: flex; min-height: 48px; align-items: center; font-weight: 700; }
.preview-chip {
  position: fixed; top: 12px; right: 12px; z-index: 100; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
  padding: 8px 12px; background: var(--surface); color: var(--ink); border: 1px solid var(--rule);
}
@media (max-width: 980px) {
  .hy-nav { grid-template-columns: 1fr auto; }
  .hy-nav .links { display: none; }
  .burger { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; }
  .burger span { width: 16px; height: 2px; background: var(--ink); }
  .hy-decide, .hy-shortcuts, .hy-row, .hy-compare, .hy-stream, .hy-kits, .hy-proof, .hy-mail, .hy-foot, .sheet { grid-template-columns: 1fr; }
  .hy-decide img { height: 46svh; }
  .hy-row { grid-template-columns: 36px 72px 1fr; }
  .hy-row .price, .hy-row .card-actions { grid-column: 2 / -1; }
  .dock { display: grid; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; grid-template-columns: 1fr 1fr 1fr; background: var(--surface); border-top: 1px solid var(--rule); text-align: center; font-weight: 700; font-size: 12px; }
  .dock a, .dock button { min-height: 56px; background: none; border: 0; }
}
.hy-row { transition: background .15s ease; }
.hy-row:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.hy-cats a { transition: background .15s ease, color .15s ease, border-color .15s ease; }
.hy-card { transition: transform .2s ease, box-shadow .2s ease; }
.hy-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px color-mix(in srgb, var(--ink) 10%, transparent); }
.btn { transition: transform .12s ease, filter .12s ease; }
.btn:active { transform: scale(.98); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hy-card img, .hy-card:hover img, .hy-card:hover { transform: none; transition: none; }
}
