:root {
  color-scheme: dark;
  --gray: #e9dfdd;
  --silver: #c7c8c5;
  --crimson: #ff1637;
  --crimson-deep: #c4102a;
  --ebony: #131210;
  --black: #000000;
  --bg: var(--ebony);
  --bg-soft: #1a1816;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.06);
  --text: #f4f0ec;
  --muted: #b8b2ad;
  --quiet: #8a8580;
  --accent: var(--crimson);
  --shadow: 0 28px 100px rgba(0, 0, 0, 0.55);
  --shadow-crimson: 0 20px 80px rgba(255, 22, 55, 0.22);
  --radius: 4px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --font-sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Bebas Neue", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image: linear-gradient(rgba(255, 22, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 70%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(255, 22, 55, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(255, 22, 55, 0.06), transparent 45%),
    linear-gradient(180deg, var(--ebony) 0%, var(--black) 55%, var(--ebony) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-shell {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: 16px 16px 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  height: 52px;
  padding: 36px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  backdrop-filter: blur(0);
  transition: border-color 320ms var(--ease-out), background 320ms var(--ease-out),
    box-shadow 320ms var(--ease-out), backdrop-filter 320ms ease;
}

.site-header__bar {
  flex: 1 1 auto;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  background: rgba(19, 18, 16, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.35);
}

.brand {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: auto;
  opacity: 0.95;
}

.brand img {
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: 100%;
}

.header-action {
  align-self: center;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 24px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 160ms var(--ease-out), border-color 180ms ease, background 180ms ease,
    color 180ms ease;
}

.header-action:hover {
  border-color: var(--crimson);
  color: #fff;
  background: rgba(255, 22, 55, 0.12);
}

.header-action:active,
.button:active,
.mobile-sticky:active {
  transform: scale(0.97);
}

.section {
  position: relative;
  padding: 48px 0;
}

.car-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 12px 0 20px;
  line-height: 0;
}

.car-divider img {
  display: block;
  width: min(100%, 960px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.hero {
  display: grid;
  gap: 24px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 64px;
  min-height: auto;
}

.hero__backdrop {
  position: absolute;
  inset: 0 -16px auto;
  height: 82%;
  z-index: -1;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background:
    linear-gradient(180deg, rgba(19, 18, 16, 0.2) 0%, rgba(0, 0, 0, 0.88) 78%, var(--black) 100%),
    linear-gradient(115deg, rgba(255, 22, 55, 0.35) 0%, transparent 45%),
    url("./assets/frame2.png") center 35% / cover no-repeat;
  opacity: 0.5;
  filter: saturate(0.25) contrast(1.12) brightness(0.65);
  transform: translateZ(0);
  will-change: transform;
}

.hero__grid-deco {
  position: absolute;
  inset: auto -16px 12% -16px;
  height: 42%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background: url("./assets/ref-grid.png") right bottom / min(420px, 90%) no-repeat;
  mix-blend-mode: screen;
}

.hero__regions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.12em;
  margin: 0 0 4px;
  font-size: clamp(3.5rem, 14vw, 7.5rem);
  line-height: 0.92;
  color: var(--crimson);
  text-shadow: 0 0 60px rgba(255, 22, 55, 0.35);
}

.hero__regions-sep {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
}

.hero__title {
  margin-bottom: 14px;
  font-size: clamp(2.75rem, 9vw, 5.25rem);
  line-height: 0.95;
  max-width: 900px;
}

.quiet-line {
  margin: 0 0 12px;
  color: var(--silver);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h2,
h3 {
  font-family: var(--font-sans);
}

.section-heading__title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 7vw, 4rem);
  line-height: 0.98;
  font-weight: 800;
}

h3 {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.hero__tagline {
  max-width: 640px;
  margin: 0 0 16px;
  color: #e3ded9;
  font-size: clamp(16px, 3.8vw, 19px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.hero__tagline strong {
  color: #fff;
  font-weight: 700;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: clamp(15px, 3.5vw, 17px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  transition: transform 160ms var(--ease-out), border-color 200ms ease, background 200ms ease,
    color 200ms ease, box-shadow 200ms ease;
}

.button__label {
  display: inline;
}

.button--primary {
  color: var(--black);
  background: #fff;
  border-color: #fff;
  box-shadow: var(--shadow-crimson);
}

.button--primary:hover {
  background: var(--gray);
  border-color: var(--gray);
  box-shadow: 0 24px 70px rgba(255, 22, 55, 0.28);
}

.button--primary:disabled {
  cursor: default;
  opacity: 0.75;
  box-shadow: none;
}

.button--circle {
  width: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
  color: #fff;
  background: var(--crimson);
  border-color: var(--crimson);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 40px rgba(255, 22, 55, 0.35);
}

.button--circle:hover {
  background: #ff304f;
  border-color: #ff304f;
  color: #fff;
}

.button--ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.microcopy {
  max-width: 520px;
  margin: 0;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.hero-card,
.glass-card,
.request-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(19, 18, 16, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-card__accent {
  position: absolute;
  top: 0;
  right: 0;
  width: 38%;
  height: 120px;
  background: linear-gradient(180deg, var(--crimson), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.hero-card {
  overflow: hidden;
}

.portrait-frame {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--black);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(198deg, rgba(0, 0, 0, 0.5) 0%, transparent 45%, rgba(0, 0, 0, 0.65) 100%);
}

.portrait-photo {
  position: absolute;
  inset: 0;
}

.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.02);
  filter: saturate(0.85) contrast(1.08);
}

.portrait-note {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
}

.portrait-note span,
.portrait-note strong {
  display: block;
  line-height: 1.2;
}

.portrait-note span {
  color: var(--silver);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait-note strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.checklist {
  display: grid;
  gap: 10px;
  padding: 16px;
  color: #e8e4e0;
  font-size: 13px;
  font-weight: 600;
}

.checklist div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--crimson);
  box-shadow: 0 0 0 5px rgba(255, 22, 55, 0.12);
}

/* Origin — crimson band (только градиент, без фото) */
.origin {
  margin: 8px 0 0;
  padding: 0;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #ff1637 0%, #c4102a 42%, #8a0b1d 100%);
  box-shadow: var(--shadow-crimson);
}

.origin__inner {
  position: relative;
  padding: 40px 22px 44px;
}

.origin__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 3rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--font-sans);
  font-weight: 300;
}

.origin__title {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 0.9;
  color: #fff;
}

.origin__lead {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(15px, 3.5vw, 17px);
  line-height: 1.65;
}

.origin__lead strong {
  color: #fff;
  font-weight: 700;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 24px;
}

.section-heading p:not(.quiet-line) {
  max-width: 640px;
}

.trust {
  padding-top: 56px;
}

.trust::before {
  position: absolute;
  right: -5%;
  bottom: 10%;
  width: min(50%, 320px);
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  opacity: 0.07;
  background: url("./assets/ref-grid.png") center / contain no-repeat;
}

.trust-grid {
  display: grid;
  gap: 10px;
}

.glass-card {
  padding: 20px 18px;
  transition: transform 360ms var(--ease-out), border-color 360ms ease, background 360ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .glass-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 22, 55, 0.35);
    background: rgba(30, 28, 26, 0.85);
  }

  .reason:hover {
    background: rgba(255, 22, 55, 0.04);
  }
}

.glass-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 14px;
  color: var(--crimson);
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.glass-card p,
.reason p,
.step p {
  margin-bottom: 0;
  font-size: 14px;
}

/* Paper section — внутри отступов page-shell, без вылета на край экрана */
.section--paper {
  margin: 24px 0;
  margin-left: 0;
  margin-right: 0;
  padding: 48px 24px 52px;
  border-radius: 20px;
  background: var(--gray);
  color: var(--ebony);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.section--paper .quiet-line {
  color: var(--crimson);
}

.section--paper h2,
.section--paper h3 {
  color: var(--ebony);
}

.section--paper p {
  color: #3a3633;
}

.section--paper .reason {
  border-color: rgba(19, 18, 16, 0.12);
}

.section--paper .reason > span {
  color: var(--crimson);
}

.reason-list {
  display: grid;
  gap: 8px;
}

.reason {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 20px 0;
  border-radius: var(--radius);
  transition: background 320ms ease;
}

.reason > span,
.step span {
  color: var(--crimson);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.founder {
  display: grid;
  gap: 22px;
}

.founder__visual {
  min-height: 400px;
}

.founder-photo {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--black);
  box-shadow: var(--shadow);
}

.founder-photo::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(185deg, rgba(0, 0, 0, 0.45) 0%, transparent 38%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82) 0%, transparent 52%),
    linear-gradient(90deg, rgba(255, 22, 55, 0.12) 0%, transparent 45%);
}

.founder-photo::after {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 2;
  content: "Корея · Япония · Китай · личный подбор";
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: rgba(244, 240, 236, 0.85);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.4;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
}

.founder-photo img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  transform: scale(1.03);
  filter: saturate(0.88) contrast(1.06);
}

.founder__copy {
  align-self: center;
}

.founder__copy p {
  color: #d4cfc9;
}

blockquote {
  margin: 22px 0 0;
  border-left: 3px solid var(--crimson);
  padding-left: 16px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: -0.02em;
  text-transform: none;
}

.timeline {
  position: relative;
  display: grid;
  gap: 10px;
}

.timeline::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 16px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--crimson), rgba(255, 255, 255, 0.06));
}

.step {
  position: relative;
  padding: 0 0 18px 50px;
}

.step::before {
  position: absolute;
  top: 2px;
  left: 8px;
  width: 16px;
  height: 16px;
  content: "";
  border: 1px solid var(--crimson);
  border-radius: 999px;
  background: var(--black);
  box-shadow: 0 0 0 6px rgba(255, 22, 55, 0.08);
}

.step h3 {
  margin: 2px 0 6px;
}

.request-panel {
  overflow: hidden;
  padding: 22px;
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(19, 18, 16, 0.92) 40%);
}

.request-panel h2 {
  max-width: 820px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 160ms var(--ease-out);
}

.contact-link:hover {
  border-color: rgba(255, 22, 55, 0.45);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 22, 55, 0.08);
}

.contact-link__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-link__icon svg {
  width: 22px;
  height: 22px;
}

.contact-link__text {
  min-width: 0;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.site-footer {
  display: grid;
  gap: 10px;
  justify-items: center;
  border-top: 1px solid var(--line-soft);
  padding: 24px 0 0;
  text-align: center;
}

.site-footer img {
  width: 100px;
  height: 48px;
  opacity: 0.88;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--quiet);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.mobile-sticky {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  border-radius: 999px;
  color: var(--black);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  border: 2px solid var(--crimson);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transition: transform 160ms var(--ease-out), opacity 180ms ease;
}

.mobile-sticky__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 12px var(--crimson);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
}

@media (min-width: 560px) {
  .page-shell {
    padding-inline: 24px;
  }

  .hero__actions .button--primary {
    flex: 1 1 auto;
    min-width: 200px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .page-shell {
    padding: 22px 32px 48px;
  }

  .site-header {
    margin: 0;
    padding: 10px 18px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.58fr);
    gap: 40px;
    min-height: 720px;
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .hero__backdrop {
    inset-inline: -32px;
  }

  .hero__grid-deco {
    inset-inline: -32px;
  }

  .section {
    padding-block: 72px;
  }

  .origin__inner {
    padding: 56px 40px 60px;
  }

  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .glass-card {
    min-height: 232px;
  }

  .reason-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
  }

  .founder {
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 48px;
  }

  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
  }

  .timeline::before {
    top: 16px;
    right: 8%;
    bottom: auto;
    left: 8%;
    width: auto;
    height: 1px;
  }

  .step {
    padding: 48px 14px 0 0;
  }

  .step::before {
    top: 8px;
    left: 0;
  }

  .request-panel {
    padding: 40px;
  }

  .mobile-sticky {
    display: none;
  }
}

@media (min-width: 1120px) {
  .hero-card {
    margin-top: 20px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
