/* Self-hosted fonts: Manrope + JetBrains Mono */
/* Manrope — variable weight (400–700), cyrillic + latin */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

/* JetBrains Mono — variable weight (400–500), cyrillic + latin */
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  /* Executive Noir palette */
  --color-bg-base: #0c0e14;
  --color-bg-elevated: #111520;
  --color-bg-soft: #0f1219;
  --color-bg-muted: #141a26;
  --color-text-primary: #eae6dd;
  --color-text-secondary: #8a95a3;
  --color-text-muted: #4c5566;
  --color-text-ghost: #2a3244;
  --color-accent: #b08b5a;
  --color-accent-hover: #c9a472;
  --color-accent-dim: #7a6040;
  --color-accent-soft: rgba(176, 139, 90, 0.08);
  --color-border: rgba(255, 255, 255, 0.05);
  --color-border-strong: #1c2333;
  --color-focus-ring: #c9a472;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --container-site: 1280px;
  --container-text: 56ch;
  --grid-gap: 32px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-30: 120px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.20);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.30);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.50);
  --duration-fast: 180ms;
  --duration-base: 300ms;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  background: var(--color-bg-base);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text-primary);
  background: var(--color-bg-base);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p,
h1,
h2,
h3,
blockquote,
figure,
ol,
ul {
  margin: 0;
}

.site-container {
  width: 100%;
  max-width: var(--container-site);
  margin-inline: auto;
  padding-inline: 48px;
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gap);
}

.prose-width {
  max-width: var(--container-text);
}

.section {
  padding-block: var(--space-24);
}

.section-label {
  display: block;
  margin-bottom: 16px;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-lead {
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.008em;
}

/* Header */
.site-header {
  z-index: 20;
  background: var(--color-bg-base);
  border-bottom: 1px solid var(--color-border);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--color-text-primary);
}

.brand__monogram {
  display: block;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.brand__monogram svg {
  display: block;
  width: 100%;
  height: 100%;
}

.brand__wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
}

.brand__subtitle {
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-contact__item {
  color: var(--color-text-primary);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--duration-fast) var(--easing);
}

.header-contact__item:hover {
  color: var(--color-accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text-primary);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color var(--duration-fast) var(--easing),
    background-color var(--duration-fast) var(--easing),
    color var(--duration-fast) var(--easing);
}

.header-cta:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg-base);
}

.header-cta__icon {
  width: 16px;
  height: 16px;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color var(--duration-fast) var(--easing),
    background-color var(--duration-fast) var(--easing),
    color var(--duration-fast) var(--easing);
}

.button:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg-base);
}

.button--primary {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg-base);
}

.button--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Hero */
.hero {
  padding-top: 80px;
  padding-bottom: 96px;
  background: var(--color-bg-base);
}

.hero-grid {
  align-items: start;
  row-gap: 48px;
}

.hero-content {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-heading {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-overline {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-subtitle {
  color: var(--color-text-secondary);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.008em;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 54ch;
}

.hero-lead {
  color: var(--color-text-secondary);
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  color: var(--color-text-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-line__sep {
  color: var(--color-border-strong);
}

.scarcity-note {
  color: var(--color-text-ghost);
  font-size: 13px;
  line-height: 1.5;
}

.hero-portrait {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding-top: 0;
}

.hero-portrait__frame {
  position: relative;
  width: min(100%, 480px);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-portrait img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-summary {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 32px;
  width: 100%;
  max-width: 480px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.hero-summary__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  border-bottom: none;
  flex: 1 1 0;
  text-align: center;
}

.hero-summary__value {
  color: var(--color-text-primary);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hero-summary__label {
  color: var(--color-text-muted);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Animation */
.hero-animate {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (scripting: none) {
  .hero-animate {
    opacity: 1;
    transform: none;
  }
}

/* Facts */
.facts {
  background: var(--color-bg-soft);
}

.facts-head {
  margin-bottom: 64px;
}

.facts-intro {
  grid-column: 1 / 5;
}

.facts-intro h2 {
  margin-bottom: 20px;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 48px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 7px;
  bottom: 8px;
  width: 1px;
  background: var(--color-accent-dim);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -48px;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--color-bg-soft);
  border: 2px solid var(--color-accent);
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.timeline-number {
  color: var(--color-text-ghost);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.timeline-title {
  color: var(--color-text-primary);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.008em;
}

.timeline-text {
  color: var(--color-text-secondary);
  font-size: 16px;
  line-height: 1.6;
  max-width: 58ch;
}

/* Client Voice */
.client-voice {
  background: var(--color-bg-base);
}

.voice-head {
  margin-bottom: 64px;
}

.voice-intro {
  grid-column: 1 / 5;
}

.voice-intro h2 {
  margin-bottom: 20px;
}

.quotes-grid {
  row-gap: 24px;
}

.quote-column {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote-column--right {
  margin-top: 0;
}

.quote {
  margin: 0;
  padding: 24px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.003em;
}

/* WhatIDo */
.what {
  background: var(--color-bg-soft);
}

.what-grid {
  row-gap: 48px;
}

.what-intro {
  grid-column: 1 / 5;
}

.what-intro h2 {
  margin-bottom: 20px;
}

.what-steps {
  grid-column: 5 / 13;
  display: flex;
  flex-direction: column;
}

.what-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: baseline;
  padding-block: 20px;
  border-bottom: 1px solid var(--color-border);
}

.what-step:first-child {
  border-top: 1px solid var(--color-border);
}

.what-step__number {
  color: var(--color-text-ghost);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.what-step__text {
  color: var(--color-text-primary);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

/* Format */
.format {
  background: var(--color-bg-base);
}

.format-head {
  margin-bottom: 48px;
}

.format-intro {
  grid-column: 1 / 5;
}

.format-intro h2 {
  margin-bottom: 20px;
}

.format-accent-row {
  margin-bottom: 48px;
}

.format-accent {
  grid-column: 1 / 13;
  padding: 20px 24px;
  background: var(--color-accent-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
  hyphens: none;
}

.format-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.format-card {
  padding: 28px;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.format-card:not(:last-child) {
  border-right: 1px solid var(--color-border-strong);
}

.format-card__number {
  display: block;
  color: var(--color-text-ghost);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.format-card h3 {
  margin-bottom: 16px;
  color: var(--color-text-primary);
  font-size: 19px;
}

.format-card__note {
  color: var(--color-text-muted);
  font-weight: 400;
}

.format-card p {
  color: var(--color-text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.format-card p + p {
  margin-top: 12px;
}

/* NotForYou */
.not-for-you {
  background: var(--color-bg-soft);
}

.filter-grid {
  row-gap: 48px;
}

.filter-intro {
  grid-column: 1 / 5;
}

.filter-intro h2 {
  margin-bottom: 20px;
}

.filter-list {
  grid-column: 5 / 13;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--color-border);
}

.filter-list__item {
  display: flex;
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-size: 17px;
  line-height: 1.55;
}

.filter-list__dash {
  flex-shrink: 0;
  color: var(--color-accent);
  font-weight: 600;
}

/* Contact */
.contact {
  background: var(--color-bg-soft);
}

.contact-grid {
  align-items: start;
}

.contact-intro {
  grid-column: 1 / 6;
}

.contact-intro h2 {
  margin-bottom: 20px;
}

.contact-panel {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-actions .button {
  justify-content: flex-start;
  width: fit-content;
  min-width: 280px;
}

.micro-note {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: var(--color-bg-base);
  border-top: 1px solid var(--color-border);
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text-primary);
}

.footer-brand__subtitle {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 13px;
  line-height: 1.4;
}

/* Focus */
*:focus-visible {
  outline: 2px solid var(--color-focus-ring);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .header-cta,
  .header-contact__item {
    transition: none;
  }
}

/* Tablet */
@media (max-width: 1023px) {
  .site-container {
    padding-inline: 32px;
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-content {
    grid-column: 1 / -1;
  }

  .hero-portrait {
    grid-column: 1 / -1;
    align-items: center;
    padding-top: 0;
  }

  .hero-portrait__frame {
    max-width: 400px;
  }

  .hero-summary {
    max-width: none;
    gap: 16px;
    margin-top: 24px;
  }

  .hero-summary__item {
    flex: 1 1 0;
  }

  .what-intro,
  .what-steps {
    grid-column: 1 / -1;
  }

  .contact-intro,
  .contact-panel {
    grid-column: 1 / -1;
  }

  .format-intro {
    grid-column: 1 / -1;
  }

  .format-accent {
    grid-column: 1 / -1;
  }

  .format-columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .filter-intro,
  .filter-list {
    grid-column: 1 / -1;
  }

  .format-card:not(:last-child) {
    border-right: 1px solid var(--color-border);
  }

  .facts-intro {
    grid-column: 1 / -1;
  }

  .filter-shell {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .site-container {
    padding-inline: 20px;
  }

  .section {
    padding-block: var(--space-16);
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .header-shell {
    flex-wrap: wrap;
    min-height: 64px;
    padding-block: 12px;
  }

  .header-contact {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 10px;
  }

  .header-contact__item {
    font-size: 13px;
  }

  .header-cta {
    padding: 8px 10px;
    font-size: 12px;
    width: fit-content;
  }

  .header-cta__icon {
    width: 14px;
    height: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-summary {
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
  }

  .hero-summary__item {
    text-align: left;
  }

  .trust-line {
    gap: 8px;
  }

  .facts-head {
    margin-bottom: 40px;
  }

  .timeline {
    padding-left: 36px;
  }

  .timeline::before {
    left: 5px;
  }

  .timeline-dot {
    left: -36px;
    width: 11px;
    height: 11px;
  }

  .timeline-item {
    padding-bottom: 32px;
  }

  .timeline-title {
    font-size: 17px;
  }

  .quote-column {
    grid-column: 1 / -1;
  }

  .quote-column--right {
    margin-top: 0;
  }

  .what-step {
    grid-template-columns: 36px 1fr;
    gap: 16px;
    padding-block: 16px;
  }

  .what-step__text {
    font-size: 15px;
  }

  .format-card {
    padding: 22px;
  }

  .contact-actions .button {
    width: 100%;
    min-width: auto;
  }

  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
