/* ════════════════════════════════════════════
   3598.ru — DESIGN SYSTEM CSS
   Version: 1.0
   Fonts: Unbounded 900 (display), Barlow Condensed 800 (headings), Inter 300/400 (body)
   Palette: #0a0806 Void | #f0ede5 Paper | #c0311a Ember | #c8a050 Gold | #111 Ink
════════════════════════════════════════════ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #f0ede5;
  font-family: 'Inter', sans-serif;
  color: #111;
  overflow-x: hidden;
}

/* ════ TOKENS ════ */
:root {
  --void:    #0a0806;
  --paper:   #f0ede5;
  --ember:   #c0311a;
  --gold:    #c8a050;
  --ink:     #111111;
  --ash:     #9a8e7a;
  --smoke:   #c8bfa8;
  --dim:     #1e1c18;
  --rule:    #2a2418;
  --border-dark: #1e1c18;
  --border-light: #d0cdc5;
}

/* ════ GRAIN ════ */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px;
  animation: gs .12s steps(1) infinite;
}
@keyframes gs {
  0%  { background-position: 0 0; }
  25% { background-position: -48px 20px; }
  50% { background-position: 32px -28px; }
  75% { background-position: -20px 44px; }
}

/* ════ NAV ════ */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--void);
  border-bottom: 1px solid var(--border-dark);
  height: 64px;
  display: flex; align-items: stretch;
  overflow: hidden;
}

.nav-brand {
  display: flex; align-items: center;
  padding: 0 28px 0 24px;
  border-right: 1px solid var(--border-dark);
  gap: 10px; flex-shrink: 0;
  position: relative;
}
.nav-brand::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; background: var(--ember);
}
.nav-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: 17px; font-weight: 900;
  letter-spacing: -0.03em; color: #f0ede5;
  cursor: pointer;
}
.nav-logo em { color: var(--ember); font-style: normal; }

.nav-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--ember); flex-shrink: 0;
  animation: dp 2.5s ease-in-out infinite;
}
@keyframes dp {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .25; transform: scale(.5); }
}

.nav-links { display: flex; align-items: stretch; flex: 1; }
.nav-link {
  display: flex; align-items: center;
  padding: 0 22px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: #4a4030; cursor: pointer;
  border-right: 1px solid #141210;
  position: relative;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover  { color: #f0ede5; background: #111; }
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--ember);
  transform: scaleX(0); transform-origin: left;
  transition: transform .28s cubic-bezier(.16,1,.3,1);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #f0ede5; }

.nav-counter {
  display: flex; align-items: center; gap: 8px;
  padding: 0 20px; border-right: 1px solid var(--border-dark);
}
.nav-counter-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--gold); letter-spacing: -0.02em;
}
.nav-counter-lbl {
  font-size: 8px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #3a3020; line-height: 1.4;
}

.nav-cta {
  display: flex; align-items: center;
  margin: 10px 16px 10px auto; flex-shrink: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ember); color: #fff;
  border: none; padding: 0 22px; cursor: pointer;
  transition: background .2s, transform .15s;
  position: relative; overflow: hidden;
}
.nav-cta::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateX(-100%); transition: transform .5s;
}
.nav-cta:hover::before { transform: translateX(100%); }
.nav-cta:hover { background: #a02814; }

/* ════ BUTTONS ════ */

.btn-p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: var(--ember); color: #fff;
  border: 2px solid var(--ember);
  padding: 14px 28px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; overflow: hidden;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-p::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateX(-100%); transition: transform .5s;
}
.btn-p:hover::before { transform: translateX(100%); }
.btn-p:hover {
  background: #a02814; border-color: #a02814;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,49,26,.5);
}

.btn-s-dark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: transparent; color: var(--gold);
  border: 2px solid var(--gold);
  padding: 14px 28px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .2s, color .2s, transform .15s;
}
.btn-s-dark:hover { background: var(--gold); color: var(--void); transform: translateY(-2px); }

.btn-sm {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: transparent; color: var(--ember);
  border: 1.5px solid var(--ember); padding: 9px 18px; cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-sm:hover { background: var(--ember); color: #fff; }

/* ════ HERO ════ */
.hero {
  background: var(--void);
  position: relative; overflow: hidden;
  border-bottom: 3px solid var(--ember);
}
.hero-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.hero-stripe {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--ember); z-index: 3;
}
.hero-bg {
  position: absolute; right: -60px; bottom: -80px;
  font-family: 'Unbounded', sans-serif;
  font-size: 380px; font-weight: 900; line-height: 1; letter-spacing: -.04em;
  color: #ffffff03; pointer-events: none; z-index: 0;
}
.hero-inner {
  padding: 64px 60px 60px 64px;
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1fr 220px;
  gap: 48px; align-items: end;
}
.hero-top  { grid-column: 1 / -1; margin-bottom: 44px; }
.eyebrow   { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--ash); margin-bottom: 24px; }
.hero-logo {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(64px, 11vw, 106px);
  font-weight: 900; line-height: .88; letter-spacing: -.035em; color: #f0ede5;
}
.hero-logo .acc  { color: var(--ember); }
.hero-logo .live { display: inline-block; animation: b8 5s ease-in-out infinite; }
@keyframes b8 {
  0%,42%,58%,100% { color: #f0ede5; text-shadow: none; }
  50%             { color: #fff; text-shadow: 0 0 32px rgba(255,255,255,.3); }
}
.hero-logo sup {
  font-size: .15em; color: #5a5040; vertical-align: super;
  letter-spacing: .15em; font-weight: 400; font-family: 'Inter', sans-serif;
}
.hero-div   { grid-column: 1 / -1; height: 1px; background: #1e1c18; }
.hero-claim p      { font-size: 14px; font-weight: 300; color: var(--smoke); line-height: 1.75; }
.hero-claim strong { color: #f0ede5; font-weight: 500; }
.hero-kpi   { text-align: right; }
.kpi-n {
  font-family: 'Unbounded', sans-serif;
  font-size: 56px; font-weight: 900; color: var(--ember); line-height: 1; letter-spacing: -.03em;
}
.kpi-l { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--ash); margin-top: 8px; line-height: 1.6; }
.hero-btns { grid-column: 1 / -1; display: flex; gap: 14px; margin-top: 16px; flex-wrap: wrap; }

/* ════ TIME SECTION ════ */
.time-sec {
  background: var(--void); border-bottom: 1px solid #1a1610;
  position: relative; overflow: hidden;
}
.time-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.time-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); z-index: 2; }
.time-inner  { padding: 72px 64px; position: relative; z-index: 1; }
.time-label  { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--ash); margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.time-label::after { content: ''; height: 1px; width: 40px; background: #3a3020; }
.time-heading { font-family: 'Unbounded', sans-serif; font-size: clamp(26px,4.5vw,44px); font-weight: 900; color: #f0ede5; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 60px; }
.time-heading em { color: var(--gold); font-style: normal; }

.scale-wrap { margin-bottom: 56px; }
.scale-axis  { display: flex; justify-content: space-between; padding: 0 0 0 152px; }
.scale-axis-inner { flex: 1; display: flex; justify-content: space-between; padding-right: 88px; }
.ax-n    { font-size: 9px; color: #2a2418; font-family: 'Inter', monospace; letter-spacing: .04em; text-align: center; }
.ax-n.hi { color: var(--gold); }

.scale-ruler { padding: 0 0 0 152px; margin-bottom: 2px; }
.scale-ruler svg { width: 100%; height: 16px; display: block; }

.scale-row {
  display: grid; grid-template-columns: 152px 1fr 88px;
  align-items: center; margin-bottom: 3px;
}
.scale-lbl      { font-size: 11px; font-weight: 500; color: var(--ash); text-align: right; padding-right: 20px; letter-spacing: .04em; white-space: nowrap; }
.scale-lbl.gold { color: var(--gold); }
.scale-lbl.red  { color: var(--ember); }
.scale-track    { height: 32px; background: #111; position: relative; overflow: hidden; }
.scale-track::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, transparent, transparent calc(14.28% - 1px), #1a1a14 calc(14.28% - 1px), #1a1a14 14.28%);
  pointer-events: none; z-index: 3;
}
.scale-bar { height: 100%; position: absolute; left: 0; top: 0; z-index: 1; transition: width 2s cubic-bezier(.16,1,.3,1); }
.bar-dim  { background: #1e1c18; }
.bar-gold { background: linear-gradient(90deg, #8a6820 0%, var(--gold) 60%, #f0c870 100%); }
.bar-gold::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.2) 50%, transparent 100%);
  animation: shim 2.2s ease-in-out infinite;
}
@keyframes shim { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }
.bar-marker {
  position: absolute; right: -1px; top: 0; bottom: 0; width: 2px;
  background: #fff; z-index: 4;
  box-shadow: 0 0 8px rgba(255,255,255,.6), 0 0 16px rgba(200,160,80,.8);
  opacity: 0;
}
.bar-red { background: linear-gradient(90deg, #7a1a0a 0%, var(--ember) 100%); }
.scale-val { font-family: 'Unbounded', sans-serif; font-size: 11px; font-weight: 700; padding-left: 14px; white-space: nowrap; }
.val-dim  { color: #2a2418; }
.val-gold { color: var(--gold); }
.val-red  { color: var(--ember); }

.scale-phrase {
  margin-top: 20px; padding-top: 20px; border-top: 1px solid #1a1610;
  display: flex; align-items: center; gap: 16px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.scale-phrase.show { opacity: 1; transform: translateY(0); }
.phrase-bar  { width: 3px; height: 36px; background: var(--gold); flex-shrink: 0; }
.phrase-text { font-size: 13px; font-weight: 300; color: var(--smoke); line-height: 1.6; }
.phrase-text strong { color: #f0ede5; font-weight: 500; }

.clock-counter { display: flex; align-items: flex-end; gap: 32px; padding-top: 48px; border-top: 1px solid #1a1610; flex-wrap: wrap; }
.clock-big { font-family: 'Unbounded', sans-serif; font-size: clamp(60px,11vw,108px); font-weight: 900; color: #f0ede5; line-height: .88; letter-spacing: -.04em; }
.clock-big em { color: var(--ember); font-style: normal; }
.clock-big-text { padding-bottom: 10px; max-width: 360px; }
.clock-big-unit { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ash); margin-bottom: 12px; }
.clock-big-desc { font-size: 14px; font-weight: 300; color: var(--smoke); line-height: 1.7; }
.clock-big-desc strong { color: #f0ede5; font-weight: 500; }

/* ════ SECTION MARKER ════ */
.sm { background: #f0ede5; display: flex; align-items: stretch; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.sm-n { font-size: 10px; font-weight: 600; letter-spacing: .12em; color: #f0ede5; background: #111; padding: 11px 18px; flex-shrink: 0; display: flex; align-items: center; }
.sm-l { font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: #aaa89e; padding: 11px 20px; border-right: 1px solid var(--border-light); flex: 1; display: flex; align-items: center; }
.sm-a { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; padding: 11px 20px; color: var(--ember); font-weight: 600; display: flex; align-items: center; }

/* ════ ARCHETYPE ════ */
.arch-grid { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 2px solid #111; }
.arch-card { padding: 48px 36px 44px; border-right: 1px solid var(--border-light); background: #f0ede5; position: relative; }
.arch-card:last-child { border-right: none; }
.arch-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.arch-card:nth-child(1)::before { background: var(--ember); }
.arch-card:nth-child(2)::before { background: var(--gold); }
.arch-card:nth-child(3)::before { background: #111; }
.arch-index { font-family: 'Inter', monospace; font-size: 10px; font-weight: 600; letter-spacing: .12em; color: #c8c4bc; margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.arch-index::after { content: ''; flex: 1; height: 1px; background: #d8d5cd; }
.arch-index span { font-size: 9px; color: #d0cdc5; letter-spacing: .1em; }
.arch-tag { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; font-weight: 600; }
.arch-card:nth-child(1) .arch-tag { color: var(--ember); }
.arch-card:nth-child(2) .arch-tag { color: var(--gold); }
.arch-card:nth-child(3) .arch-tag { color: #111; }
.arch-title { font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 800; color: #111; line-height: .95; letter-spacing: .01em; margin-bottom: 20px; }
.arch-title em { font-style: italic; }
.arch-card:nth-child(1) .arch-title em { color: var(--ember); }
.arch-card:nth-child(2) .arch-title em { color: var(--gold); }
.arch-body { font-size: 13px; font-weight: 400; color: #3a3830; line-height: 1.7; }

/* ════ POSITION ════ */
.position { background: var(--void); padding: 72px 64px; position: relative; overflow: hidden; border-bottom: 3px solid var(--gold); }
.pos-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.pos-right { position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: var(--ember); z-index: 2; }
.pos-inner { position: relative; z-index: 1; }
.pos-label { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--ash); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.pos-label::after { content: ''; width: 40px; height: 1px; background: #3a3020; }
.pos-quote { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(28px,5vw,50px); font-weight: 800; color: #f0ede5; line-height: 1.1; max-width: 640px; letter-spacing: .01em; margin-bottom: 28px; }
.pos-quote em { color: var(--ember); font-style: normal; }
.pos-sub  { font-size: 14px; font-weight: 300; color: var(--smoke); max-width: 520px; line-height: 1.75; }
.pos-sub strong { color: var(--gold); font-weight: 500; }
.pos-btns { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }

/* ════ PROMISE ════ */
.promise { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--border-light); }
.pr-card { padding: 44px 36px 52px; border-right: 1px solid var(--border-light); background: #f7f5ee; position: relative; }
.pr-card:last-child { border-right: none; }
.pr-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; }
.pr-card:nth-child(1)::after { background: var(--ember); }
.pr-card:nth-child(2)::after { background: var(--gold); }
.pr-card:nth-child(3)::after { background: #111; }
.pr-num { font-family: 'Unbounded', sans-serif; font-size: 44px; font-weight: 900; line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.pr-card:nth-child(1) .pr-num { color: var(--ember); }
.pr-card:nth-child(2) .pr-num { color: var(--gold); }
.pr-card:nth-child(3) .pr-num { color: #111; }
.pr-unit  { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: #aaa89e; margin-bottom: 16px; }
.pr-title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; color: #111; letter-spacing: .01em; margin-bottom: 10px; }
.pr-body  { font-size: 12px; font-weight: 400; color: #6a6860; line-height: 1.65; margin-bottom: 24px; }

/* ════ CTA FOOTER ════ */
.cta-footer { background: var(--void); padding: 72px 64px; position: relative; overflow: hidden; border-top: 3px solid var(--ember); }
.cta-grain {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px;
}
.cta-left  { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ember); z-index: 2; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-label { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--ash); margin-bottom: 16px; display: flex; align-items: center; gap: 14px; }
.cta-label::after { content: ''; width: 32px; height: 1px; background: #3a3020; }
.cta-title { font-family: 'Unbounded', sans-serif; font-size: clamp(20px,3.5vw,34px); font-weight: 900; color: #f0ede5; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 10px; }
.cta-title em { color: var(--ember); font-style: normal; }
.cta-sub  { font-size: 13px; font-weight: 300; color: var(--ash); line-height: 1.6; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; flex-shrink: 0; align-items: center; }

/* ════ RESPONSIVE ════ */
@media (max-width: 680px) {
  nav { height: auto; }
  .nav-links { display: none; }
  .nav-counter { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 40px 24px; }
  .hero-kpi   { text-align: left; }
  .time-inner { padding: 48px 24px; }
  .scale-row  { grid-template-columns: 80px 1fr 72px; }
  .scale-axis { padding-left: 80px; }
  .scale-ruler { padding-left: 80px; }
  .scale-axis-inner { padding-right: 72px; }
  .scale-lbl  { font-size: 10px; padding-right: 10px; }
  .arch-grid, .promise { grid-template-columns: 1fr; }
  .arch-card, .pr-card { border-right: none; border-bottom: 1px solid var(--border-light); }
  .position   { padding: 48px 24px; }
  .cta-footer { padding: 48px 24px; }
  .cta-inner  { flex-direction: column; align-items: flex-start; }
}