/* ============================================================
   Family B (kelivo, gwozi) — hand-built, dependency-free.
   Font: Manrope (SIL OFL). Bright retail showcase.
   ============================================================ */

:root {
  --paper: #ffffff;
  --ink: #16181d;
  --muted: #71757e;
  --line: #e9e9ec;
  --mist: #f4f3f0;          /* light section / product bg */
  --dark: #14151a;          /* contacts / footer */
  --accent: #cf9a2c;
  --accent-strong: #a9791a;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--ink); background: var(--paper);
  line-height: 1.6; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 10vw, 130px); }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-strong); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(34px, 6vw, 64px); }
.section-head h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); margin-top: 14px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 700; transition: transform .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease); }
.btn-light { background: #fff; color: var(--ink); border-radius: 999px; padding: 15px 38px; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.btn-light:hover { background: var(--accent); color: #1a1303; transform: translateY(-2px); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { font-weight: 800; font-size: 1.32rem; letter-spacing: -.02em; }
.nav { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav a { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .9; transition: opacity .2s, color .2s; }
.nav a:hover { opacity: 1; color: var(--accent); }
.site-header.scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); color: var(--ink); box-shadow: 0 1px 0 rgba(0,0,0,.07); }
.nav-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; }
.nav-toggle svg { display: block; width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; min-height: 94svh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-position: center; background-size: cover; transform: scale(1.06); }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,12,.5), rgba(8,9,12,.32) 40%, rgba(8,9,12,.7)); }
.hero__inner { position: relative; padding: 110px 0 96px; max-width: 980px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -.03em; margin-bottom: .7em; text-shadow: 0 2px 40px rgba(0,0,0,.3); }
.hero .btn-light { box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; color: rgba(255,255,255,.7); width: 24px; height: 24px; animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(7px) } }

/* Tagline band */
.tagline { text-align: center; padding-block: clamp(48px, 8vw, 96px); }
.tagline p { font-size: clamp(1.1rem, 2.3vw, 1.55rem); font-weight: 500; color: var(--muted); max-width: 33ch; margin-inline: auto; line-height: 1.45; }

/* Shop grid */
.shop { background: var(--paper); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 34px) clamp(16px, 2vw, 28px); }
.prod { text-align: center; }
.prod__media { aspect-ratio: 1 / 1; background: var(--mist); border-radius: var(--radius); overflow: hidden; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod:hover .prod__media img { transform: scale(1.05); }
.prod__name { margin-top: 16px; font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; }
.prod:hover .prod__name { color: var(--accent-strong); }
.prod__price { margin-top: 6px; font-weight: 700; font-size: 1.02rem; }
.prod__price del { color: var(--muted); font-weight: 500; margin-left: 8px; }

/* About */
.about { background: var(--mist); text-align: center; }
.about__inner { max-width: 720px; margin-inline: auto; }
.about__inner h2 { font-size: clamp(1.9rem, 4.2vw, 2.8rem); margin: 14px 0 22px; }
.about__inner p { color: #4a4e56; font-size: 1.12rem; }

/* Contacts */
.contacts { background: var(--dark); color: #fff; text-align: center; }
.contacts .eyebrow { color: var(--accent); }
.contacts__mail { display: inline-block; font-size: clamp(1.8rem, 5.4vw, 4rem); font-weight: 800; letter-spacing: -.03em; margin: .2em 0 .35em; background: linear-gradient(transparent 86%, var(--accent) 0) no-repeat; background-size: 0% 100%; transition: background-size .4s var(--ease), color .3s var(--ease); }
.contacts__mail:hover { background-size: 100% 100%; color: var(--accent); }
.contacts p { color: rgba(255,255,255,.65); max-width: 46ch; margin-inline: auto; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255,255,255,.6); padding-block: 36px; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.site-footer .brand { color: #fff; font-size: 1.05rem; }
.site-footer nav { display: flex; gap: 22px; }
.site-footer a:hover { color: var(--accent); }
.site-footer small { font-size: .85rem; }

/* Legal */
.legal { padding-top: 130px; }
.legal__head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.legal__head p { color: var(--muted); margin-top: 10px; }
.legal__body { max-width: 780px; margin-top: 44px; }
.legal__body h2 { font-size: 1.4rem; margin: 36px 0 12px; }
.legal__body h3 { font-size: 1.08rem; margin: 22px 0 8px; }
.legal__body p, .legal__body li { color: #3c3f46; margin-bottom: 13px; }
.legal__body ul { padding-left: 20px; }
.legal__body a { color: var(--accent-strong); text-decoration: underline; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"]{ transition-delay: .07s } [data-delay="2"]{ transition-delay: .14s } [data-delay="3"]{ transition-delay: .2s }
.hero .reveal { opacity: 1; transform: none; animation: heroIn .9s var(--ease) both; }
.hero .reveal[data-delay="1"]{ animation-delay: .12s } .hero .reveal[data-delay="2"]{ animation-delay: .22s }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } }

/* Responsive */
@media (max-width: 1040px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 0; background: rgba(20,21,26,.97); backdrop-filter: blur(8px); padding: 10px var(--gutter) 26px; transform: translateY(-130%); transition: transform .4s var(--ease); color: #fff; }
  .nav.open { transform: none; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; opacity: .92; }
  .site-header.scrolled .nav:not(.open) { transform: translateY(-130%); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero .reveal { opacity: 1; transform: none; transition: none; animation: none; }
  .scroll-cue { animation: none; }
}
