:root {
  --ink: #0b1220;
  --muted: #667085;
  --line: #dce2e9;
  --surface: #ffffff;
  --surface-soft: #f4f6f8;
  --orange: #f26a21;
  --orange-dark: #d94f0d;
  --orange-pale: #ffeadc;
  --success: #46d17b;
  --shadow-sm: 0 12px 30px rgba(11, 18, 32, 0.07);
  --shadow-lg: 0 28px 70px rgba(11, 18, 32, 0.13);
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--orange);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  color: #fff;
  background: #080e18;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  width: min(36vw, 520px);
  height: 2px;
  content: "";
  background: var(--orange);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: var(--orange);
  border-radius: 9px 2px 9px 2px;
  box-shadow: inset -8px -8px 0 rgba(0, 0, 0, 0.08);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-copy { display: grid; gap: 2px; text-transform: uppercase; line-height: 1; }
.brand-copy strong { font-size: 15px; letter-spacing: 0.12em; }
.brand-copy small { color: #aab4c3; font-size: 10px; font-weight: 700; letter-spacing: 0.34em; }
.back-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  color: #d9e0e9;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
  font-weight: 700;
  transition: color 180ms ease, border-color 180ms ease;
}
.back-link span { color: var(--orange); font-size: 19px; transition: transform 180ms ease; }
.back-link:hover, .back-link:focus-visible { color: #fff; border-color: var(--orange); }
.back-link:hover span { transform: translateX(-3px); }

.hero {
  position: relative;
  min-height: 510px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(242, 106, 33, 0.13), transparent 28%),
    linear-gradient(116deg, #08111e 0%, #111f31 68%, #0d1725 100%);
}
.hero::before {
  position: absolute;
  top: -130px;
  right: -160px;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(242, 106, 33, 0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255,255,255,.018), 0 0 0 120px rgba(255,255,255,.012);
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 58%);
  mask-image: linear-gradient(90deg, transparent, #000 58%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr);
  align-items: center;
  gap: 96px;
  padding-block: 92px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow span { width: 28px; height: 2px; display: inline-block; background: currentColor; }
.eyebrow-light { color: #ff9b64; }
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 78px);
  font-weight: 760;
  letter-spacing: -.052em;
  line-height: .98;
}
.hero h1::after {
  width: 82px;
  height: 5px;
  display: block;
  margin-top: 26px;
  content: "";
  background: var(--orange);
  border-radius: 99px;
}
.hero-intro {
  max-width: 710px;
  margin: 28px 0 0;
  color: #c8d2df;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
}
.hero-panel {
  position: relative;
  padding: 28px;
  background: rgba(255,255,255,.065);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
}
.hero-panel::before, .hero-panel::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
  border-color: var(--orange);
}
.hero-panel::before { top: -1px; left: -1px; border-top: 2px solid var(--orange); border-left: 2px solid var(--orange); }
.hero-panel::after { right: -1px; bottom: -1px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange); }
.panel-kicker {
  margin: 0 0 20px;
  color: #93a2b6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.process-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: 13px;
  padding: 17px 0;
  border-top: 1px solid rgba(255,255,255,.11);
}
.process-list span { color: var(--orange); font-family: Consolas, monospace; font-size: 12px; font-weight: 800; }
.process-list strong { color: #edf2f7; font-size: 15px; font-weight: 650; }

.projects-section { padding: 108px 0 122px; background: var(--surface-soft); }
.section-heading {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: end;
  gap: 90px;
  margin-bottom: 44px;
}
.section-heading h2, .subscriber-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -.038em;
  line-height: 1.08;
}
.section-heading > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.project-visual {
  position: relative;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 42px;
  background-color: #e9edf1;
  background-image:
    linear-gradient(rgba(25,42,62,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,42,62,.065) 1px, transparent 1px),
    linear-gradient(rgba(25,42,62,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25,42,62,.025) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 8px 8px, 8px 8px;
  border-right: 1px solid var(--line);
}
.visual-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #536173;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.image-stage {
  width: min(76%, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: auto;
  padding: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(39,50,68,.18);
  box-shadow: var(--shadow-sm);
}
.image-stage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.dimension {
  position: absolute;
  color: #4f5d6e;
  font-family: Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
}
.dimension::before, .dimension::after { position: absolute; content: ""; background: var(--orange); }
.dimension-x { bottom: 26px; left: 50%; transform: translateX(-50%); }
.dimension-x::before { right: calc(100% + 10px); top: 50%; width: 62px; height: 1px; }
.dimension-x::after { left: calc(100% + 10px); top: 50%; width: 62px; height: 1px; }
.dimension-y { top: 50%; right: 15px; transform: translateY(-50%) rotate(90deg); }
.project-content { display: flex; flex-direction: column; justify-content: center; padding: 54px; }
.project-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.project-code, .access-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.project-code { color: #fff; background: var(--ink); font-family: Consolas, monospace; }
.access-badge { color: var(--orange-dark); background: var(--orange-pale); }
.project-type { margin: 0 0 8px; color: var(--orange-dark); font-size: 13px; font-weight: 800; }
.project-content h3 { margin: 0; font-size: clamp(34px, 4vw, 49px); letter-spacing: -.04em; line-height: 1.05; }
.project-description { margin: 17px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.technical-data {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.technical-data div { padding: 20px 20px 20px 0; }
.technical-data div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.technical-data dt, .available-files p {
  margin: 0 0 7px;
  color: #788596;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.technical-data dd { margin: 0; color: var(--ink); font-size: 14px; font-weight: 720; line-height: 1.45; }
.available-files { margin-top: 25px; }
.file-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  color: #4e5a69;
  background: #f5f7f9;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}
.file-chip b { color: var(--orange-dark); font-size: 11px; letter-spacing: .08em; }

.button {
  width: fit-content;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 29px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.button span { font-size: 18px; line-height: 1; transition: transform 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:hover span { transform: translateX(3px); }
.button:focus-visible, .back-link:focus-visible, .brand:focus-visible {
  outline: 3px solid rgba(242,106,33,.4);
  outline-offset: 4px;
}
.button-primary { color: #fff; background: var(--orange); box-shadow: 0 12px 25px rgba(242,106,33,.24); }
.button-primary:hover { background: var(--orange-dark); box-shadow: 0 15px 30px rgba(217,79,13,.28); }

.subscriber-section { padding: 110px 0; background: #fff; }
.subscriber-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 82px;
  overflow: hidden;
  padding: 76px;
  color: #fff;
  background: linear-gradient(125deg, #091321 0%, #111f31 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.subscriber-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  content: "";
  background: var(--orange);
}
.subscriber-copy { position: relative; z-index: 1; }
.subscriber-copy h2 { max-width: 580px; color: #fff; }
.subscriber-copy > p:not(.eyebrow) { max-width: 650px; margin: 22px 0 0; color: #b7c2d0; font-size: 16px; line-height: 1.72; }
.button-light { color: var(--ink); background: #fff; }
.button-light:hover { background: var(--orange-pale); }
.library-preview {
  align-self: center;
  padding: 25px;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-md);
}
.library-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  color: #bac5d2;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.library-preview-header div { display: flex; align-items: center; gap: 8px; }
.status-dot {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(70,209,123,.12);
}
.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.format-card {
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 17px;
  color: #eaf0f6;
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
}
.format-card strong { color: #fff; font-family: Consolas, monospace; font-size: 21px; }
.format-card span { color: #99a7b8; font-size: 11px; line-height: 1.35; }
.format-card-active { background: rgba(242,106,33,.14); border-color: rgba(242,106,33,.55); }
.format-card-active strong, .format-card-more strong { color: #ff9b64; }

.site-footer { padding: 38px 0; color: #8793a2; background: #070c14; border-top: 1px solid #1b2635; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 44px; }
.brand-mark-small { width: 34px; height: 34px; border-radius: 7px 2px 7px 2px; font-size: 10px; }
.footer-brand > span:last-child { display: grid; gap: 3px; }
.footer-brand strong { color: #e2e7ed; font-size: 13px; }
.footer-brand small, .footer-inner p { margin: 0; font-size: 11px; }
.footer-brand small { color: #788596; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-panel { max-width: 520px; }
  .process-list { grid-template-columns: repeat(3, 1fr); }
  .process-list li { grid-template-columns: 1fr; align-items: start; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .project-card { grid-template-columns: 1fr; }
  .project-visual { min-height: 500px; border-right: 0; border-bottom: 1px solid var(--line); }
  .subscriber-card { grid-template-columns: 1fr; gap: 54px; padding: 62px; }
  .library-preview { width: 100%; }
  .format-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr; gap: 17px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy strong { font-size: 12px; }
  .brand-copy small { font-size: 8px; }
  .back-link { font-size: 12px; }
  .hero { min-height: auto; }
  .hero-inner { padding-block: 72px; }
  .hero h1 { font-size: clamp(43px, 14vw, 62px); }
  .hero-intro { font-size: 16px; }
  .hero-panel { padding: 22px; }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { grid-template-columns: 38px 1fr; }
  .projects-section, .subscriber-section { padding: 76px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading > p { font-size: 15px; }
  .project-card, .subscriber-card { border-radius: 17px; }
  .project-visual { min-height: 390px; padding: 22px 20px 36px; }
  .image-stage { width: min(78%, 310px); }
  .dimension-x::before, .dimension-x::after { width: 30px; }
  .project-content { padding: 35px 25px 38px; }
  .technical-data { grid-template-columns: 1fr; }
  .technical-data div { padding: 17px 0; }
  .technical-data div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .button { width: 100%; padding-inline: 16px; }
  .subscriber-card { gap: 42px; padding: 46px 25px 38px 31px; }
  .subscriber-copy > p:not(.eyebrow) { font-size: 15px; }
  .library-preview { padding: 18px; }
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .format-card { min-height: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
