:root {
  --brand-blue: #0033a0;
  --brand-navy: #102f67;
  --brand-ice: #e8f1ff;
  --navy-deep: #061f58;
  --surface: oklch(97% 0.008 254);
  --surface-2: oklch(94% 0.018 254);
  --ink: oklch(17% 0.025 250);
  --ink-on-dark: oklch(96% 0.009 86);
  --muted: oklch(53% 0.026 250);
  --muted-dark: oklch(79% 0.018 250);
  --border: oklch(84% 0.018 250);
  --accent: var(--brand-blue);
  --shadow: 0 22px 70px oklch(9% 0.025 252 / 38%);
  color-scheme: light;
  font-family: Montserrat, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.55;
}

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

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

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-140%);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px clamp(18px, 3vw, 44px);
  border-bottom: 1px solid oklch(90% 0.01 252 / 18%);
  background: oklch(16% 0.045 252 / 84%);
  color: var(--ink-on-dark);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  min-height: 44px;
  min-width: 0;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
}

.brand-mark span {
  color: var(--brand-ice);
  font-size: 1.06rem;
}

.brand-mark small {
  color: var(--muted-dark);
  font-size: 0.73rem;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 9px 10px;
  color: var(--muted-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links a::after {
  position: absolute;
  right: 10px;
  bottom: 5px;
  left: 10px;
  height: 2px;
  background: transparent;
  content: "";
}

.nav-links a.is-active,
.nav-links a:hover {
  color: var(--ink-on-dark);
}

.nav-links a.is-active::after {
  background: var(--accent);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
}

.export-link {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0 13px;
  border: 1px solid oklch(95% 0.01 86 / 18%);
  border-radius: 8px;
  color: var(--ink-on-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  min-height: 96svh;
  overflow: hidden;
  background: var(--brand-navy);
  color: var(--ink-on-dark);
}

.banner-hero {
  background:
    radial-gradient(circle at 68% 42%, oklch(20% 0.065 252 / 72%) 0%, oklch(10% 0.035 252 / 0%) 34%),
    linear-gradient(90deg, oklch(7% 0.032 252) 0%, oklch(9% 0.036 252) 48%, oklch(13% 0.035 68) 100%);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.03) contrast(1.03);
}

.banner-hero .hero-image {
  object-fit: contain;
  background: oklch(13% 0.035 68);
}

.hero-shade {
  background:
    linear-gradient(90deg, oklch(10% 0.035 252 / 92%) 0%, oklch(12% 0.035 252 / 82%) 34%, oklch(12% 0.035 252 / 24%) 58%, oklch(12% 0.035 252 / 0%) 100%),
    linear-gradient(0deg, oklch(8% 0.03 252 / 62%) 0%, oklch(8% 0.03 252 / 0%) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(720px, calc(100% - 40px));
  margin-left: clamp(24px, 6vw, 92px);
  padding: 128px 0 150px;
}

.eyebrow,
.section-kicker,
.exports-list span {
  max-width: 100%;
  color: var(--brand-ice);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.concept-section .section-kicker,
.rollup-section .section-kicker,
.mockups-section .section-kicker {
  color: var(--accent);
}

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

h1 {
  max-width: 850px;
  margin-bottom: 24px;
  font-size: clamp(4.1rem, 9vw, 7.8rem);
  font-weight: 900;
  line-height: 0.88;
}

h1 span {
  display: block;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.55rem, 5.8vw, 4.8rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h3 {
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.12;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: oklch(91% 0.016 250);
  font-size: 1.26rem;
}

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

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--ink-on-dark);
}

.button-secondary {
  border: 1px solid oklch(95% 0.01 86 / 28%);
  background: oklch(98% 0.008 254 / 12%);
  color: var(--ink-on-dark);
}

.spec-strip {
  position: absolute;
  right: clamp(18px, 3vw, 44px);
  bottom: 28px;
  left: clamp(18px, 3vw, 44px);
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid oklch(94% 0.01 86 / 12%);
  border-radius: 8px;
  background: oklch(8% 0.03 252 / 8%);
  backdrop-filter: blur(2px) saturate(1.02);
}

.spec-strip div {
  padding: 18px;
  background: oklch(10% 0.035 252 / 9%);
}

.spec-strip dt {
  margin-bottom: 4px;
  color: var(--muted-dark);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.spec-strip dd {
  margin: 0;
  color: var(--brand-ice);
  font-weight: 900;
}

.section {
  padding: clamp(76px, 10vw, 148px) clamp(20px, 5vw, 72px);
}

.concept-section,
.rollup-section,
.mockups-section,
.close-section {
  background: var(--surface);
}

.concept-grid,
.rollup-grid,
.direction-grid,
.exports-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(30px, 6vw, 88px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.section-kicker {
  max-width: 1240px;
  margin: 0 auto 24px;
}

.section-copy,
.rollup-grid p,
.direction-grid p,
.section-head p,
.exports-section p,
.close-section p {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-copy p,
.rollup-grid p,
.direction-grid p,
.section-head p,
.exports-section p,
.close-section p {
  max-width: 68ch;
}

.rollup-section {
  background:
    linear-gradient(180deg, var(--surface), var(--brand-ice));
}

.rollup-grid {
  grid-template-columns: minmax(360px, 0.58fr) minmax(0, 1fr);
  align-items: center;
}

.rollup-grid h2 {
  font-size: clamp(2.45rem, 4.3vw, 3.85rem);
}

.rollup-frame {
  margin: 0;
}

.rollup-frame img,
.direction-art img,
.banner-frame img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.rollup-frame figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.direction-section {
  background: var(--brand-navy);
  color: var(--ink-on-dark);
}

.direction-section h2,
.exports-section h2 {
  color: var(--ink-on-dark);
}

.exports-section h2 {
  font-size: clamp(2.45rem, 4.3vw, 3.85rem);
}

.direction-grid {
  grid-template-columns: minmax(260px, 0.46fr) minmax(0, 0.84fr);
  align-items: center;
}

.direction-art {
  margin: 0;
}

.direction-art img {
  max-height: 820px;
  object-fit: cover;
  object-position: 50% 50%;
}

.direction-grid p,
.exports-section p {
  color: var(--muted-dark);
}

.production-note {
  margin-top: 22px;
  padding: 18px 0 0;
  border-top: 1px solid oklch(94% 0.01 86 / 18%);
}

.mockups-section {
  background: var(--surface-2);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 5vw, 72px);
  max-width: 1240px;
  margin: 0 auto 46px;
}

.showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
  align-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.banner-card {
  min-width: 0;
}

.banner-frame {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background:
    linear-gradient(90deg, oklch(46% 0.12 254 / 12%) 1px, transparent 1px),
    linear-gradient(oklch(46% 0.12 254 / 10%) 1px, transparent 1px),
    var(--surface);
  background-size: 28px 28px;
}

.frame-ua {
  max-width: 470px;
}

.frame-eng {
  max-width: 540px;
}

.banner-meta {
  max-width: 520px;
  padding-top: 18px;
}

.banner-meta p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.exports-section {
  background: var(--brand-navy);
  color: var(--ink-on-dark);
}

.exports-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid oklch(94% 0.01 86 / 18%);
}

.exports-list li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid oklch(94% 0.01 86 / 18%);
}

.exports-list a {
  color: var(--brand-ice);
  font-weight: 900;
}

.close-section {
  display: grid;
  min-height: 60svh;
  align-content: center;
  justify-items: start;
  max-width: 1240px;
  margin: 0 auto;
}

.close-section h2 {
  max-width: 900px;
}

.source-links {
  margin-top: 24px;
}

.source-links a {
  padding: 10px 0;
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  background: oklch(17% 0.012 250);
  color: oklch(82% 0.012 250);
  font-size: 0.86rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--brand-ice);
  font-weight: 900;
}

@media (min-width: 1180px) {
  .banner-hero {
    min-height: 96svh;
    aspect-ratio: auto;
  }

  .banner-hero .hero-image {
    inset: 76px 0 0 auto;
    width: min(72vw, 1160px);
    height: calc(100% - 76px);
    object-fit: cover;
    object-position: 100% 50%;
  }

  .banner-hero .hero-shade {
    background:
      linear-gradient(90deg, oklch(5% 0.03 252 / 100%) 0%, oklch(6% 0.032 252 / 94%) 36%, oklch(7% 0.032 252 / 44%) 58%, oklch(7% 0.03 252 / 14%) 78%, oklch(7% 0.03 252 / 0%) 100%),
      linear-gradient(0deg, oklch(5% 0.028 252 / 24%) 0%, oklch(5% 0.028 252 / 0%) 36%);
  }

  .banner-hero .hero-content {
    width: min(660px, calc(100% - 40px));
    padding: 112px 0 132px;
  }
}

@media (max-width: 960px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    order: 3;
  }

  .concept-grid,
  .rollup-grid,
  .direction-grid,
  .section-head,
  .exports-section,
  .showcase {
    grid-template-columns: 1fr;
  }

  .frame-ua,
  .frame-eng {
    max-width: min(100%, 480px);
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 14px;
  }

  .brand-mark small,
  .header-actions {
    display: none;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    gap: 6px;
  }

  .nav-links a {
    padding: 7px 8px;
    font-size: 0.76rem;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-image {
    object-position: 66% 50%;
  }

  .banner-hero .hero-image {
    object-fit: cover;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, oklch(9% 0.034 252 / 92%) 0%, oklch(10% 0.034 252 / 86%) 72%, oklch(10% 0.034 252 / 42%) 100%),
      linear-gradient(0deg, oklch(7% 0.03 252 / 70%) 0%, oklch(7% 0.03 252 / 0%) 42%);
  }

  .hero-content {
    width: auto;
    max-width: calc(100vw - 28px);
    margin-right: 14px;
    margin-left: 14px;
    padding: 138px 0 220px;
  }

  h1 {
    max-width: calc(100vw - 28px);
    font-size: 2.75rem;
    line-height: 0.94;
    word-break: break-word;
    text-wrap: balance;
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-copy {
    width: min(330px, 100%);
    max-width: calc(100vw - 28px);
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 100%;
  }

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

  .spec-strip {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr;
  }

  .spec-strip div {
    padding: 12px 14px;
  }

  .section {
    padding: 70px 18px;
  }

  .banner-frame {
    padding: 10px;
  }

  .exports-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p + p {
    margin-top: 8px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
