:root {
  --primary: #6a3d8f;
  --bg: #13101a;
  --ink: #f0eaf6;
  --accent: #f5c542;
  --paper: #1e1929;
  --line: #2e2640;
  --mute: #9b8db8;
  --display: 'Oswald', system-ui, sans-serif;
  --body: 'PT Sans', system-ui, sans-serif;
  --r: 12px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.wrap { width: min(1140px, 92vw); margin-inline: auto; }
h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.0; letter-spacing: .02em; }
h1 { font-size: clamp(52px, 8vw, 96px); text-transform: uppercase; }
h2 { font-size: clamp(30px, 4vw, 52px); text-transform: uppercase; }
h3 { font-family: var(--display); font-size: 20px; font-weight: 500; margin-bottom: 10px; letter-spacing: .03em; }
p { font-size: 15px; color: var(--mute); line-height: 1.65; }
.eyebrow { display: block; font-family: var(--body); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--primary); margin-bottom: 12px; }
.eyebrow--light { color: rgba(245,197,66,.7); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(19,16,26,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; gap: 20px; height: 62px; }
.brand { font-family: var(--display); font-size: 20px; font-weight: 700; text-decoration: none; color: var(--ink); display: flex; align-items: center; gap: 8px; letter-spacing: .04em; text-transform: uppercase; }
.brand__wave { color: var(--accent); font-size: 26px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { text-decoration: none; font-family: var(--display); font-size: 14px; font-weight: 400; letter-spacing: .06em; color: var(--mute); text-transform: uppercase; transition: color .15s; }
.nav__links a:hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--primary); color: #fff; text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 14px; padding: 12px 22px; border-radius: var(--r); letter-spacing: .06em; text-transform: uppercase; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: #5c3380; }
.btn--accent { background: var(--accent); color: var(--bg); }
.btn--accent:hover { background: #dba830; }
.btn--inv { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--inv:hover { background: var(--line); }

/* hero — timeline-flow layout */
.hero { padding: clamp(48px, 6vw, 80px) 0; }
.hero__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.hero__text { display: flex; flex-direction: column; }
.hero h1 { color: var(--ink); margin-bottom: 20px; }
.hero__lead { font-size: clamp(14px, 1.4vw, 17px); max-width: 40ch; margin-bottom: 28px; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: clamp(340px, 44vw, 540px); object-fit: cover; border-radius: var(--r); display: block; }
.hero__float { position: absolute; bottom: -20px; left: 20px; display: flex; gap: 12px; }
.float__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 18px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 8px 32px rgba(0,0,0,.5); }
.float__num { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--accent); }
.float__txt { font-size: 11px; color: var(--mute); margin-top: 2px; }

/* sections */
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section--light { background: var(--paper); }
.section__head { max-width: 56ch; margin-bottom: 40px; }
.section__head p { color: var(--mute); margin-top: 8px; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 0; display: flex; flex-direction: column; min-height: 240px; overflow: hidden; }
.card__color { height: 8px; }
.card h3 { font-size: 17px; padding: 18px 18px 0; margin-bottom: 8px; }
.card p { color: var(--mute); font-size: 14px; padding: 0 18px; flex: 1; }
.card__bot { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-top: 1px solid var(--line); margin-top: 16px; }
.card__cals { font-size: 12px; color: var(--mute); }
.card__price { font-family: var(--display); font-size: 20px; color: var(--accent); }

/* build section — timeline-flow */
.build { padding: clamp(52px, 7vw, 88px) 0; border-top: 1px solid var(--line); }
.build__in { display: grid; gap: 40px; }
.build__header { text-align: center; }
.build__header h2 { color: var(--ink); }
.build__header p { color: var(--mute); max-width: 52ch; margin: 12px auto 0; }
.build__steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: 0; align-items: start; }
.bstep { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 16px; }
.bstep__arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 22px; padding: 0 8px; align-self: center; }
.bstep__num { font-family: var(--display); font-size: 11px; letter-spacing: .18em; color: var(--mute); margin-bottom: 8px; }
.bstep__name { font-family: var(--display); font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.bstep__opts { display: flex; flex-direction: column; gap: 6px; }
.opt { font-size: 13px; color: var(--mute); padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); }
.opt--active { color: var(--bg); background: var(--primary); border-color: var(--primary); }
.build__cta { display: flex; align-items: center; gap: 16px; justify-content: center; flex-wrap: wrap; }
.build__cta p { font-size: 14px; color: var(--mute); }

/* ingredients */
.ingredients { display: flex; flex-direction: column; gap: 20px; }
.ing-group { }
.ing-group__title { font-family: var(--display); font-size: 14px; letter-spacing: .08em; color: var(--mute); margin-bottom: 10px; text-transform: uppercase; }
.ing-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ing-tags span { font-size: 13px; color: var(--ink); background: var(--line); padding: 6px 14px; border-radius: 999px; }

/* contact */
.contact { padding: clamp(52px, 7vw, 88px) 0; }
.contact__block { background: var(--paper); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.contact__left h2 { color: var(--ink); margin-bottom: 14px; }
.contact__left p { margin-bottom: 18px; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.contact__list li { font-size: 14px; font-weight: 500; color: var(--ink); }
.contact__right { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.contact__promo { background: rgba(245,197,66,.12); border: 1px solid rgba(245,197,66,.25); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.promo__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--accent); }
.promo__val { font-family: var(--display); font-size: 36px; color: var(--accent); }
.promo__note { font-size: 12px; color: var(--mute); }

/* footer */
.foot { background: #0c0a10; padding: 26px 0; border-top: 1px solid var(--line); }
.foot__in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: var(--mute); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__media img { height: 280px; }
  .hero__float { bottom: 10px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .build__steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .bstep__arrow { display: none; }
  .contact__block { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .build__steps { grid-template-columns: 1fr; }
}
