:root {
  --blue: #1530f5;
  --ink: #06091e;
  --ink-soft: #3a4068;
  --paper: #f2f3f8;
  --sand: #ffd3b0;
  --line: rgba(6, 9, 30, 0.14);
  --line-light: rgba(255, 255, 255, 0.26);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1280px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: inherit; }
img, video { max-width: 100%; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.on-blue :focus-visible,
.section--ink :focus-visible,
.footer :focus-visible { outline-color: var(--sand); }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 0.5rem;
}
.skip:focus { top: 1rem; }

/* Top bar */
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  color: #fff;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.25rem;
}
.wordmark {
  font-size: 1.5rem;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.025em;
  text-decoration: none;
}
.topbar__nav { display: flex; gap: 2rem; margin-left: auto; }
.topbar__nav a { text-decoration: none; font-size: 0.98rem; font-weight: 500; }
.topbar__nav a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.05rem 1.9rem;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.btn--sand { background: var(--sand); color: var(--ink); }
.btn--sand:hover { background: #ffe3cd; }
.btn--small { padding: 0.6rem 1.15rem; font-size: 0.95rem; }
.btn--block { width: 100%; }

.textlink {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 2px;
}

/* Hero: the one bold gesture on the page */
.hero {
  background: var(--blue);
  color: #fff;
  padding-block: clamp(8rem, 14vw, 12rem) clamp(3.5rem, 7vw, 6rem);
}
.hero__title {
  font-size: clamp(2.9rem, 8.6vw, 8rem);
  line-height: 0.9;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem clamp(2rem, 6vw, 5rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-light);
}
.hero__lead {
  max-width: 44ch;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  justify-self: end;
}

/* One orchestrated page-load moment. The headline has to stay readable even
   when the animation never finishes: a page opened in a background tab can
   have its animations throttled, and animation-fill-mode would then freeze
   the starting frame. So nothing here touches opacity or clipping. */
@media (prefers-reduced-motion: no-preference) {
  .hero__title,
  .hero__foot { animation: rise 900ms cubic-bezier(0.16, 1, 0.3, 1) backwards; }
  .hero__foot { animation-delay: 220ms; }
}

@keyframes rise {
  from { transform: translateY(0.45em); }
  to { transform: none; }
}

/* Showreel, sitting across the colour boundary */
.showreel { background: var(--paper); padding-block: 0 clamp(2.5rem, 5vw, 4rem); position: relative; z-index: 1; }
.showreel + .band { padding-top: 0; }
.showreel__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  margin-top: clamp(-5.5rem, -5vw, -2.5rem);
  background: var(--ink);
  overflow: hidden;
}
.showreel__frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showreel__cap {
  margin-top: 1.1rem;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* Partner band */
.band { background: var(--paper); padding-block: clamp(3rem, 6vw, 5rem); }
.band__intro {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
}
.logo img {
  display: block;
  height: var(--h, 3.2rem);
  width: auto;
  filter: brightness(0);
}
.logo--rtl { --h: 2.7rem; }
.logo--sky { --h: 3.2rem; }
.logo--genshin { --h: 3.7rem; }
.logo--lidl { --h: 4.2rem; }
.logo--paramount { --h: 4.4rem; }

/* Sections */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--ink { background: var(--ink); color: #fff; }
.section--blue { background: var(--blue); color: #fff; }

h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: -0.028em;
}
h3 { font-weight: 700; line-height: 1.15; }

.section__head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head h2 + .lede { margin-top: 1.25rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46ch; }
.section--ink .lede { color: rgba(255, 255, 255, 0.76); }

/* Services: one oversized lead service, then the supporting four */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem clamp(2rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 4px solid var(--blue);
}
.feature h3 {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: -0.025em;
  color: var(--blue);
}
.feature p { max-width: 50ch; font-size: 1.1rem; }

.rows { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0.6rem clamp(2rem, 6vw, 5rem);
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.row h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-stretch: 112%;
  letter-spacing: -0.015em;
}
.row p { max-width: 50ch; color: var(--ink-soft); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.step { border-top: 1px solid var(--line-light); padding-top: 1.25rem; }
.step__num {
  display: block;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 0.9;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.03em;
  color: var(--sand);
  margin-bottom: 1.25rem;
}
.step h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.step p { color: rgba(255, 255, 255, 0.76); max-width: 32ch; }

/* Why */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.75rem, 3.5vw, 3rem); }
.point { padding-top: 1.25rem; border-top: 4px solid var(--blue); }
.point h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 0.6rem; letter-spacing: -0.015em; }
.point p { color: var(--ink-soft); max-width: 42ch; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.contact__intro h2 { margin-bottom: 1.25rem; }
.contact__lead { max-width: 30ch; font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); margin-bottom: 2.5rem; }
.contact__details { display: grid; gap: 0.6rem; justify-items: start; color: rgba(255, 255, 255, 0.92); }
.contact__details a { text-underline-offset: 0.3em; }

.form { display: grid; gap: 1.1rem; }
.form__note { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.95rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid transparent;
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 2px; }
.form__status { min-height: 1.5rem; font-size: 0.95rem; color: #fff; }

/* Footer */
.footer { background: var(--ink); color: var(--paper); padding-block: 3.5rem 2rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer__name { font-weight: 900; font-stretch: 125%; font-size: 1.4rem; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.footer__small { font-size: 0.92rem; color: rgba(242, 243, 248, 0.76); max-width: 26rem; }
.footer__links { display: grid; gap: 0.4rem; justify-items: start; font-size: 0.95rem; }
.footer__links a { text-underline-offset: 0.3em; }
.footer__copy { margin-top: 2.5rem; }

/* Legal pages */
.page-head { background: var(--blue); color: #fff; padding-block: clamp(7rem, 12vw, 9.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-head h1 {
  font-size: clamp(2.1rem, 5.5vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.03em;
}
.prose { max-width: 68ch; padding-block: clamp(3rem, 6vw, 5rem); }
.prose h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-stretch: 112%;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
}
.prose > .notice + p,
.prose > p:first-child { margin-top: 0; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { text-decoration: underline; text-underline-offset: 0.25em; }
.prose__meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 2rem; }
.notice {
  border-left: 4px solid var(--blue);
  background: #fff;
  padding: 1.1rem 1.3rem;
  margin-block: 1.75rem;
}
.notice p { margin-bottom: 0; }
.notice--draft { border-left-color: #b3310a; background: #fff3ec; }

/* Tablet */
@media (max-width: 1000px) {
  .hero__foot { grid-template-columns: minmax(0, 1fr); }
  .hero__actions { justify-self: start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points { grid-template-columns: minmax(0, 1fr); }
  .feature, .row { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1fr); }
}

/* Phone */
@media (max-width: 720px) {
  .topbar__nav { display: none; }
  .hero { padding-block: 7rem 3rem; }
  .hero__title { letter-spacing: -0.03em; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .logos { gap: 1.75rem 2.25rem; }
  .logo img { height: calc(var(--h, 3.2rem) * 0.74); }
  .btn { padding: 0.95rem 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .hero__title,
  .hero__foot { animation: none; }
}
