:root {
  --ink: #090b0e;
  --ink-2: #11151a;
  --paper: #f7f7f3;
  --white: #ffffff;
  --red: #ff3b2f;
  --red-dark: #db241c;
  --blue: #0758f5;
  --blue-dark: #064bd1;
  --yellow: #ffd43b;
  --line-dark: rgba(255, 255, 255, 0.18);
  --line-light: #c9c9c5;
  --muted-dark: #a7acb2;
  --muted-light: #565a60;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --sans: "Arial", "Helvetica Neue", sans-serif;
  --shell: 1420px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

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

svg {
  display: block;
}

.page {
  min-height: 100vh;
  overflow: hidden;
  background: var(--paper);
}

.shell {
  width: min(var(--shell), calc(100% - 64px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(9, 11, 14, 0.94);
  backdrop-filter: blur(16px);
}

.header-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.brand-name {
  color: var(--white);
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.brand-name span {
  color: var(--red);
}

.brand-mark,
.brand-tagline {
  display: none;
}

.brand-text {
  display: contents;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: auto;
  margin-right: auto;
  color: #eff2f5;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 27px 0 24px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg,
.button svg,
.rail-next svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-red {
  color: var(--white);
  background: var(--red);
}

.button-red:hover,
.button-red:focus-visible {
  background: var(--red-dark);
}

.button-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(9, 11, 14, 0.24);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.button-light {
  color: var(--ink);
  border-color: var(--ink);
  background: var(--white);
}

.header-action {
  flex: none;
  min-height: 42px;
}

.hero {
  position: relative;
  min-height: 860px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

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

.hero-image {
  z-index: 1;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(6, 8, 11, 1) 0%, rgba(6, 8, 11, 0.9) 26%, rgba(6, 8, 11, 0.28) 50%, rgba(6, 8, 11, 0.04) 76%),
    linear-gradient(180deg, rgba(6, 8, 11, 0.12) 52%, rgba(6, 8, 11, 0.98) 100%);
}

.hero-layout {
  position: relative;
  z-index: 3;
  min-height: 860px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 58px;
  padding-bottom: 22px;
}

.hero-copy {
  width: min(640px, 52%);
}

.hero-copy h1 {
  max-width: 620px;
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(5rem, 8.2vw, 9.5rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 510px;
  margin: 28px 0 0;
  color: #c6cbd0;
  font-size: 1.02rem;
  line-height: 1.55;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.project-strip {
  display: grid;
  grid-template-columns: 62px 1fr 54px;
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.strip-label {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--red);
  color: #d8dade;
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.project-rail {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 5px;
  overflow-x: auto;
  scrollbar-width: none;
}

.project-rail::-webkit-scrollbar {
  display: none;
}

.project-preview {
  position: relative;
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  background-color: #171a1f;
  background-repeat: no-repeat;
  color: var(--white);
  isolation: isolate;
}

.project-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 28%, rgba(5, 6, 8, 0.92) 100%);
}

.project-preview span {
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.project-preview small {
  margin-top: 2px;
  color: #c5c9ce;
  font-size: 0.68rem;
}

.project-pos {
  background-image: url("v2/pos-system-stage.png");
  background-position: center;
  background-size: cover;
}

.project-software {
  background-image: url("v2/services-mosaic.png");
  background-position: center top;
  background-size: 100% auto;
}

.project-brand,
.project-wedding {
  background-image: url("v2/work-mosaic.png");
  background-size: 500% 100%;
}

.project-brand {
  background-position: 100% center;
}

.project-wedding {
  background-position: 75% center;
}

.rail-next {
  align-self: center;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 2px;
  color: var(--white);
  background: rgba(9, 11, 14, 0.6);
  cursor: pointer;
}

.rail-next:hover {
  color: var(--ink);
  background: var(--white);
}

.adverts-section {
  color: var(--white);
  background:
    radial-gradient(circle at 84% 12%, rgba(255, 59, 47, 0.18), transparent 30%),
    linear-gradient(180deg, #07090c 0%, var(--ink) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.adverts-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 1fr);
  gap: 38px;
  align-items: stretch;
  padding: 54px 0;
}

.adverts-heading {
  align-self: center;
}

.adverts-heading h2 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 4.6vw, 5.6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
}

.advert-carousel {
  min-width: 0;
  position: relative;
}

.advert-viewport {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: #11151a;
}

.advert-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.44fr);
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 360ms ease, transform 360ms ease;
}

.advert-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.advert-slide img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: #181c22;
}

.advert-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 42px;
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 0.72), var(--ink) 18%),
    var(--ink);
}

.advert-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 42px;
  bottom: 42px;
  width: 3px;
  background: var(--red);
}

.advert-copy span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.advert-copy h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 3.15vw, 3.35rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.advert-copy p {
  max-width: 410px;
  margin: 16px 0 0;
  color: #c6cbd0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.advert-copy .button {
  align-self: flex-start;
  margin-top: 24px;
}

.advert-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
}

.advert-controls button,
.admin-icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.advert-controls button:hover,
.advert-controls button:focus-visible,
.admin-icon-button:hover,
.admin-icon-button:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.advert-controls svg,
.admin-icon-button svg {
  width: 18px;
  height: 18px;
}

.advert-dots {
  display: flex;
  gap: 7px;
}

.advert-dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.26);
}

.advert-dots button.is-active {
  background: var(--red);
}

.advert-status {
  margin: 10px 0 0;
  color: var(--muted-dark);
  font-size: 0.72rem;
  text-align: right;
}

.services-section,
.work-section {
  background: var(--paper);
}

.services-section {
  padding: 62px 0 0;
}

.section-kicker {
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.section-kicker i {
  flex: 1;
  height: 1px;
  background: var(--line-light);
}

.services-section h2,
.work-section h2,
.systems-sidebar h2,
.why-heading h2,
.contact-cta h2,
.product-hero h1,
.not-found h1 {
  margin: 12px 0 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.services-section h2,
.work-section h2 {
  font-size: clamp(3.2rem, 5.6vw, 6.2rem);
}

.services-layout {
  height: 704px;
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: stretch;
  margin-top: 24px;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.service-list {
  position: relative;
  z-index: 2;
}

.service-row {
  min-height: 88px;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line-light);
  background: var(--paper);
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row b {
  font-family: var(--display);
  font-size: 2.15rem;
  font-weight: 900;
}

.service-row h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.12;
}

.service-row p {
  margin: 5px 0 0;
  color: var(--muted-light);
  font-size: 0.76rem;
  line-height: 1.3;
}

.services-media {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #17191c;
}

.services-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.systems-section {
  color: var(--white);
  background: var(--ink);
}

.systems-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.34fr) minmax(0, 1fr);
  min-height: 650px;
}

.systems-sidebar {
  padding: 52px 42px 48px 0;
  border-right: 1px solid var(--line-dark);
}

.section-kicker-dark {
  color: var(--red);
}

.section-kicker-dark i {
  background: var(--line-dark);
}

.systems-sidebar h2 {
  font-size: clamp(3rem, 4.5vw, 5.2rem);
}

.systems-sidebar > p {
  max-width: 340px;
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.system-list {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.system-list li {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  color: #e8eaed;
  font-size: 0.88rem;
  font-weight: 760;
}

.system-list li.active {
  position: relative;
  padding-left: 18px;
  color: var(--red);
}

.system-list li.active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px;
  height: 24px;
  background: var(--red);
}

.system-list a:hover {
  color: var(--red);
}

.product-stage {
  position: relative;
  min-width: 0;
  min-height: 650px;
  overflow: hidden;
  background: #111317;
}

.product-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 11, 14, 0.97) 0%, rgba(9, 11, 14, 0.55) 28%, rgba(9, 11, 14, 0.02) 58%);
}

.product-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-copy {
  position: relative;
  z-index: 2;
  width: min(350px, 42%);
  padding: 56px 0 0 38px;
}

.product-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 5vw, 6rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.product-copy p {
  margin: 16px 0 0;
  color: #c1c5cb;
  font-size: 0.9rem;
}

.bundle-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.25fr) auto;
  gap: 26px;
  align-items: center;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line-dark);
}

.bundle-copy span {
  display: block;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
}

.bundle-copy h3 {
  margin: 8px 0 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.bundle-copy p {
  max-width: 400px;
  margin: 14px 0 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
}

.network-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.network-grid figure {
  min-width: 0;
  min-height: 128px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px 12px;
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #101318;
}

.network-grid img {
  width: min(124px, 80%);
  height: 54px;
  object-fit: contain;
}

.network-grid figcaption {
  color: #d8dbe0;
  font-size: 0.68rem;
  font-weight: 850;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--white);
  border-bottom: 1px solid var(--red);
  font-size: 0.76rem;
  font-weight: 850;
}

.text-link span {
  color: var(--red);
  font-size: 1.15rem;
}

.work-section {
  padding: 50px 0 56px;
}

.work-grid {
  min-height: 450px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  margin-top: 28px;
}

.work-card {
  position: relative;
  min-width: 0;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 20px;
  border-radius: 2px;
  color: var(--white);
  background-image: url("v2/work-mosaic.png");
  background-repeat: no-repeat;
  background-size: 500% 100%;
  isolation: isolate;
}

.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(3, 4, 6, 0) 42%, rgba(3, 4, 6, 0.94) 100%);
}

.work-1 { background-position: 0 center; }
.work-2 { background-position: 25% center; }
.work-3 { background-position: 50% center; }
.work-4 { background-position: 75% center; }
.work-5 { background-position: 100% center; }

.work-card span {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: 1;
}

.work-card h3 {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.08;
  text-transform: uppercase;
}

.why-section {
  color: var(--white);
  background: var(--blue);
}

.why-grid {
  min-height: 340px;
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
}

.why-heading,
.why-item {
  padding: 42px 26px;
}

.why-heading {
  padding-left: 0;
}

.why-heading span {
  display: block;
  color: #cbdcff;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.why-heading h2 {
  margin-top: 12px;
  font-size: clamp(3rem, 4.2vw, 5rem);
}

.why-item {
  border-left: 1px solid rgba(255, 255, 255, 0.36);
}

.why-item svg {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
}

.why-item h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.05;
}

.why-item p {
  margin: 18px 0 0;
  color: #dce7ff;
  font-size: 0.78rem;
  line-height: 1.55;
}

.contact-cta {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--red);
}

.cta-layout {
  position: relative;
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(320px, 0.85fr);
  align-items: center;
  gap: 34px;
}

.contact-cta h2 {
  position: relative;
  z-index: 2;
  font-size: clamp(3rem, 4.7vw, 5.4rem);
}

.contact-cta .button {
  position: relative;
  z-index: 2;
  white-space: nowrap;
}

.cta-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  background:
    linear-gradient(90deg, var(--red) 0%, rgba(255, 59, 47, 0) 38%),
    url("v2/hero-studio-team.png") 78% center / cover no-repeat;
  filter: grayscale(1) contrast(1.05);
  opacity: 0.92;
}

.developer-section {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 59, 47, 0.16), transparent 28%),
    linear-gradient(180deg, #090b0e 0%, #050608 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.developer-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 72px 0;
}

.developer-photo {
  position: relative;
  margin: 0;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #15191f;
}

.developer-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(9, 11, 14, 0) 52%, rgba(9, 11, 14, 0.72) 100%),
    linear-gradient(90deg, rgba(255, 59, 47, 0.12), transparent 34%);
}

.developer-photo img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center top;
}

.developer-copy h2 {
  max-width: 920px;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6.4vw, 7.4rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

.developer-copy p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #c6cbd0;
  font-size: 1rem;
  line-height: 1.72;
}

.developer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.developer-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f0f3f6;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.developer-copy .button {
  margin-top: 28px;
}

.advert-detail-page .page {
  background: var(--paper);
}

.advert-detail-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.advert-detail-hero > img,
.advert-detail-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.advert-detail-hero > img {
  object-fit: cover;
  object-position: center;
}

.advert-detail-shade {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 1) 0%, rgba(5, 6, 8, 0.86) 42%, rgba(5, 6, 8, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.05) 42%, rgba(5, 6, 8, 0.98) 100%);
}

.advert-detail-layout {
  position: relative;
  z-index: 2;
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 70px 0;
}

.advert-detail-copy {
  max-width: 820px;
}

.advert-detail-copy > span {
  display: block;
  margin-top: 34px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.advert-detail-copy h1 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 8vw, 9rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.advert-detail-copy p {
  max-width: 650px;
  margin: 22px 0 0;
  color: #d1d5da;
  font-size: 1rem;
  line-height: 1.7;
}

.advert-detail-copy .button {
  margin-top: 28px;
}

.advert-story-section {
  padding: 64px 0 76px;
  background: var(--paper);
}

.advert-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: start;
}

.advert-story-main h2 {
  max-width: 860px;
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 5.6vw, 6rem);
  line-height: 0.95;
}

.advert-story-main > p {
  max-width: 830px;
  margin: 24px 0 0;
  color: #3e444c;
  font-size: 1.02rem;
  line-height: 1.72;
}

.detail-block {
  max-width: 860px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.detail-block h3,
.advert-story-side h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.detail-block p,
.advert-story-side p,
.detail-block li,
.advert-story-side li {
  color: #4c535b;
  font-size: 0.9rem;
  line-height: 1.65;
}

.detail-block ul,
.advert-story-side ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.detail-block li,
.advert-story-side li {
  position: relative;
  padding-left: 18px;
}

.detail-block li::before,
.advert-story-side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  background: var(--red);
}

.advert-story-side {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line-light);
  background: var(--white);
}

.advert-contact-card {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
}

.advert-contact-card strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.2;
}

.advert-contact-card .button {
  margin-top: 18px;
}

.site-footer {
  color: #eef0f3;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 1fr 1.05fr 1fr 0.95fr;
  gap: 0;
  padding: 50px 0 36px;
}

.footer-grid > div {
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid var(--line-dark);
}

.footer-grid > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-grid h3 {
  margin: 0 0 13px;
  color: var(--white);
  font-size: 0.82rem;
}

.footer-grid p,
.footer-grid li,
.footer-grid a {
  color: #aeb3ba;
  font-size: 0.72rem;
  line-height: 1.65;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-brand p {
  max-width: 250px;
  margin: 18px 0 0;
}

.social-row {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.social-row a {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
}

.footer-contact li {
  margin-bottom: 8px;
}

.footer-map {
  position: relative;
  min-height: 150px;
}

.footer-map img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.34;
}

.footer-map strong {
  position: absolute;
  top: 7px;
  right: 10px;
  color: var(--white);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.footer-map span {
  position: absolute;
  right: 33%;
  top: 45%;
  width: 16px;
  height: 16px;
  border: 4px solid var(--red);
  border-radius: 50%;
}

.footer-bottom {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-dark);
  color: #858b94;
  font-size: 0.68rem;
}

[hidden] {
  display: none !important;
}

.admin-page .page {
  min-height: 100vh;
  color: var(--white);
  background:
    linear-gradient(180deg, #07090c 0%, #11151a 48%, #07090c 100%);
}

.admin-main {
  padding: 52px 0 72px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-dark);
}

.admin-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 8vw, 8.5rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-hero p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted-dark);
  font-size: 0.98rem;
}

.admin-notice {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  color: #d8dde4;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
}

.admin-login,
.admin-console {
  margin-top: 28px;
}

.admin-panel {
  border: 1px solid var(--line-dark);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.26);
}

.admin-login .admin-panel {
  max-width: 520px;
  padding: 28px;
}

.admin-panel h2,
.admin-form h2,
.admin-list h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.admin-panel p {
  margin: 12px 0 0;
  color: var(--muted-dark);
  font-size: 0.86rem;
}

.admin-field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.admin-field label,
.admin-check span {
  color: #f0f2f5;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 3px;
  color: var(--white);
  background: rgba(5, 6, 8, 0.78);
  font-size: 0.9rem;
}

.admin-field input,
.admin-field select {
  min-height: 46px;
  padding: 0 13px;
}

.admin-field textarea {
  min-height: 108px;
  padding: 13px;
  resize: vertical;
}

.admin-field input[type="file"] {
  padding: 12px;
}

.admin-field input:focus,
.admin-field textarea:focus,
.admin-field select:focus {
  outline: 2px solid rgba(255, 59, 47, 0.52);
  outline-offset: 2px;
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.admin-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.admin-message {
  min-height: 20px;
  margin: 14px 0 0;
  color: #d8dde4;
  font-size: 0.78rem;
}

.admin-message.is-error {
  color: #ffd2ce;
}

.admin-message.is-success {
  color: #bdf6cc;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px 0 22px;
}

.admin-toolbar p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.82rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.admin-account {
  display: grid;
  grid-template-columns: minmax(240px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
  padding: 24px;
}

.admin-account form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}

.admin-account .admin-field,
.admin-account .admin-actions,
.admin-account .admin-message {
  margin-top: 0;
}

.admin-account .admin-message {
  grid-column: 1 / -1;
}

.admin-form,
.admin-list {
  min-width: 0;
  padding: 24px;
}

.admin-form form {
  margin-top: 18px;
}

.admin-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-preview {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.24);
}

.admin-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #171a1f;
}

.admin-preview span {
  display: block;
  padding: 9px 12px;
  color: var(--muted-dark);
  font-size: 0.72rem;
}

.admin-list-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.admin-list-head p {
  margin: 4px 0 0;
  color: var(--muted-dark);
  font-size: 0.8rem;
}

.advert-admin-list {
  display: grid;
  gap: 12px;
}

.advert-admin-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  background: rgba(5, 6, 8, 0.45);
}

.advert-admin-card img {
  width: 150px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  background: #15191e;
}

.advert-admin-card h3 {
  margin: 0;
  font-size: 1rem;
}

.advert-admin-card p {
  margin: 7px 0 0;
  color: var(--muted-dark);
  font-size: 0.78rem;
  line-height: 1.45;
}

.advert-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.advert-admin-meta span {
  padding: 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 2px;
  color: #dbe0e6;
  font-size: 0.65rem;
  font-weight: 850;
  text-transform: uppercase;
}

.advert-admin-meta .is-live {
  color: #bdf6cc;
  border-color: rgba(93, 232, 127, 0.38);
}

.advert-admin-actions {
  display: flex;
  gap: 8px;
}

.admin-danger {
  color: #ffd2ce;
}

.admin-empty {
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  color: var(--muted-dark);
  text-align: center;
  font-size: 0.86rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* JHIMS demo and utility pages */
.product-page .page {
  background: #f3f4f2;
}

.product-page .site-header,
.not-found + .site-header {
  background: rgba(9, 11, 14, 0.96);
}

.product-page .header-action {
  background: var(--red);
}

.product-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 1) 0%, rgba(9, 11, 14, 0.86) 48%, rgba(9, 11, 14, 0.35) 100%),
    url("v2/hero-studio-team.png") right 42% center / cover no-repeat;
}

.product-hero .copy {
  max-width: 820px;
}

.product-hero h1 {
  color: var(--white);
  font-size: clamp(4rem, 7vw, 7.2rem);
}

.product-hero h1 span {
  color: var(--red);
}

.product-hero p {
  max-width: 710px;
  margin: 22px 0 0;
  color: #c4c8ce;
  font-size: 1rem;
  line-height: 1.68;
}

.product-page .section {
  padding: 64px 0;
}

.demo-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.demo-sidebar,
.demo-stage,
.demo-card {
  border: 1px solid #cfd2d4;
  border-radius: 4px;
  background: var(--white);
}

.demo-sidebar {
  position: sticky;
  top: 92px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.06);
}

.demo-sidebar h2 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1;
}

.module-list {
  display: grid;
  gap: 7px;
}

.module-btn {
  width: 100%;
  min-height: 55px;
  padding: 10px 12px;
  border: 1px solid #d6d9dc;
  border-radius: 3px;
  color: #2c3138;
  background: #f7f7f5;
  text-align: left;
  font-size: 0.82rem;
  font-weight: 850;
  cursor: pointer;
}

.module-btn span {
  display: block;
  margin-top: 3px;
  color: #737982;
  font-size: 0.68rem;
  font-weight: 600;
}

.module-btn.active {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.module-btn.active span {
  color: #ffe2df;
}

.demo-stage {
  min-width: 0;
  padding: 26px;
  scroll-margin-top: 92px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.05);
}

.demo-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #d8dadd;
}

.demo-top h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 3.3rem;
  line-height: 0.95;
}

.demo-top p {
  max-width: 620px;
  margin: 9px 0 0;
  color: #636971;
  font-size: 0.86rem;
}

.demo-screen {
  display: none;
}

.demo-screen.active {
  display: block;
}

.demo-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 14px;
}

.demo-card {
  min-width: 0;
  padding: 20px;
}

.demo-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.demo-card p {
  margin: 0;
  color: #686e77;
  font-size: 0.84rem;
  line-height: 1.6;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.metric,
.demo-list li,
.timeline li {
  border: 1px solid #dadde0;
  border-radius: 3px;
  background: #f7f7f5;
}

.metric {
  min-height: 86px;
  padding: 13px;
}

.metric strong {
  display: block;
  color: var(--red);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.metric span {
  display: block;
  margin-top: 7px;
  font-size: 1.2rem;
  font-weight: 900;
}

.demo-list,
.timeline {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}

.demo-list li,
.timeline li {
  display: grid;
  gap: 3px;
  padding: 12px;
  list-style: none;
}

.demo-list strong,
.timeline strong {
  font-size: 0.82rem;
}

.demo-list span,
.timeline span {
  color: #6a7078;
  font-size: 0.75rem;
}

.workspace-preview {
  overflow: hidden;
  border: 1px solid #cacdd1;
  border-radius: 3px;
  background: #eef1f4;
}

.preview-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: var(--white);
  background: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
}

.preview-dots {
  display: flex;
  gap: 5px;
}

.preview-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.preview-body {
  min-height: 300px;
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
}

.preview-rail {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border-right: 1px solid #d4d7da;
  background: var(--white);
}

.preview-rail span {
  height: 28px;
  border-radius: 2px;
  background: #e8ebef;
}

.preview-rail span:first-child {
  background: #ffdcd9;
}

.preview-main {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 15px;
}

.preview-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.preview-card,
.preview-row {
  border: 1px solid #d7dade;
  border-radius: 2px;
  background: var(--white);
}

.preview-card {
  min-height: 66px;
}

.preview-table {
  display: grid;
  gap: 7px;
}

.preview-row {
  min-height: 36px;
}

.not-found {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(9, 11, 14, 1) 0%, rgba(9, 11, 14, 0.86) 46%, rgba(9, 11, 14, 0.1) 100%),
    url("v2/hero-studio-team.png") center / cover no-repeat;
}

.not-found .copy {
  max-width: 680px;
  padding: 80px 0;
}

.not-found h1 {
  color: var(--white);
  font-size: clamp(7rem, 15vw, 14rem);
}

.not-found p {
  margin: 18px 0 0;
  color: #c5c9ce;
  font-size: 1rem;
}

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

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 24px;
  }

  .adverts-shell,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .adverts-heading h2 br {
    display: none;
  }

  .hero,
  .hero-layout {
    min-height: 790px;
  }

  .services-layout {
    grid-template-columns: 48% 52%;
  }

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

  .why-heading {
    grid-column: 1 / -1;
    padding-bottom: 20px;
  }

  .why-heading h2 br {
    display: none;
  }

  .cta-layout {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .cta-image {
    opacity: 0.44;
  }

  .developer-shell,
  .advert-story-grid {
    grid-template-columns: 1fr;
  }

  .developer-photo,
  .developer-photo img {
    min-height: 520px;
  }

  .advert-story-side {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1.25fr repeat(3, 1fr);
    row-gap: 34px;
  }

  .footer-map,
  .footer-contact {
    grid-column: span 2;
  }

  .demo-shell,
  .demo-grid {
    grid-template-columns: 1fr;
  }

  .demo-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .shell {
    width: min(100% - 32px, var(--shell));
  }

  .header-row {
    min-height: 66px;
  }

  .menu-toggle {
    display: grid;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    margin: 0;
    padding: 12px 16px 18px;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(9, 11, 14, 0.99);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.9rem;
  }

  .site-nav a::after {
    display: none;
  }

  .header-action {
    display: none;
  }

  .hero,
  .hero-layout {
    min-height: 820px;
  }

  .hero-image {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(6, 8, 11, 0.98) 0%, rgba(6, 8, 11, 0.8) 55%, rgba(6, 8, 11, 0.28) 100%),
      linear-gradient(180deg, transparent 35%, rgba(6, 8, 11, 0.98) 82%);
  }

  .hero-layout {
    padding-top: 54px;
  }

  .hero-copy {
    width: 70%;
  }

  .project-strip {
    grid-template-columns: 42px 1fr 48px;
  }

  .project-rail {
    grid-template-columns: repeat(4, 220px);
  }

  .advert-slide {
    grid-template-columns: 1fr;
  }

  .advert-viewport,
  .advert-slide {
    min-height: 660px;
  }

  .advert-slide img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .advert-copy {
    min-height: 300px;
    padding: 32px 28px 36px;
    background: var(--ink);
  }

  .advert-copy::before {
    top: 32px;
    bottom: 36px;
  }

  .services-layout {
    height: auto;
    grid-template-columns: 1fr;
  }

  .services-media {
    position: relative;
    max-height: 720px;
    min-height: 720px;
  }

  .systems-shell {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .systems-sidebar {
    padding: 48px 16px;
    border-right: 0;
  }

  .systems-sidebar > * {
    width: min(100%, calc(var(--shell) - 32px));
    margin-left: auto;
    margin-right: auto;
  }

  .product-stage {
    min-height: 560px;
  }

  .product-copy {
    width: 58%;
  }

  .bundle-board {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .work-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 310px;
    min-height: 0;
  }

  .work-card {
    min-height: 310px;
    grid-column: span 2;
  }

  .work-card:nth-child(4),
  .work-card:nth-child(5) {
    grid-column: span 3;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 20px;
  }

  .why-item {
    border-top: 1px solid rgba(255, 255, 255, 0.36);
  }

  .why-item:nth-of-type(3) {
    border-left: 0;
  }

  .contact-cta h2 {
    max-width: 70%;
  }

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

  .footer-grid > div,
  .footer-grid > div:first-child {
    padding: 0 20px;
    border-left: 1px solid var(--line-dark);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-contact,
  .footer-map {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 24px, var(--shell));
  }

  .brand-name {
    font-size: 1.14rem;
  }

  .hero,
  .hero-layout {
    min-height: 760px;
  }

  .hero-image {
    object-position: 69% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 8, 11, 0.4) 0%, rgba(6, 8, 11, 0.84) 50%, rgba(6, 8, 11, 1) 78%),
      linear-gradient(90deg, rgba(6, 8, 11, 0.92) 0%, rgba(6, 8, 11, 0.2) 100%);
  }

  .hero-layout {
    padding-top: 36px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: clamp(4rem, 20vw, 6rem);
    line-height: 0.88;
  }

  .hero-copy p {
    max-width: 92%;
    margin-top: 20px;
    font-size: 0.88rem;
  }

  .action-row {
    gap: 9px;
  }

  .button {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.76rem;
  }

  .project-strip {
    grid-template-columns: 32px minmax(0, 1fr) 42px;
    margin-left: -4px;
    margin-right: -4px;
  }

  .project-rail {
    grid-template-columns: repeat(4, 190px);
  }

  .project-preview {
    min-height: 106px;
  }

  .adverts-shell {
    padding: 42px 0;
  }

  .advert-viewport,
  .advert-slide {
    min-height: 560px;
  }

  .advert-slide img {
    aspect-ratio: 16 / 10;
  }

  .advert-copy {
    min-height: 270px;
    padding: 30px 24px 34px;
  }

  .advert-copy::before {
    top: 30px;
    bottom: 34px;
  }

  .rail-next {
    width: 40px;
    height: 40px;
  }

  .services-section {
    padding-top: 42px;
  }

  .services-section h2,
  .work-section h2,
  .systems-sidebar h2,
  .why-heading h2,
  .contact-cta h2 {
    font-size: 3.25rem;
  }

  .service-row {
    min-height: 78px;
    grid-template-columns: 54px 1fr;
  }

  .service-row b {
    font-size: 1.8rem;
  }

  .services-media {
    height: 560px;
    min-height: 560px;
  }

  .systems-sidebar {
    padding-top: 42px;
    padding-bottom: 32px;
  }

  .product-stage {
    min-height: 470px;
  }

  .product-stage::after {
    background: linear-gradient(180deg, rgba(9, 11, 14, 0.96) 0%, rgba(9, 11, 14, 0.4) 38%, rgba(9, 11, 14, 0.08) 100%);
  }

  .product-stage > img {
    object-position: 62% center;
  }

  .product-copy {
    width: 88%;
    padding: 28px 18px 0;
  }

  .product-copy h3 {
    font-size: 3.4rem;
  }

  .network-grid figure {
    min-height: 112px;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 290px;
  }

  .work-card,
  .work-card:nth-child(4),
  .work-card:nth-child(5) {
    min-height: 290px;
    grid-column: auto;
  }

  .work-card:last-child {
    grid-column: 1 / -1;
    min-height: 320px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-heading,
  .why-item {
    padding: 30px 10px;
  }

  .why-item,
  .why-item:nth-of-type(3) {
    border-left: 0;
  }

  .why-item {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 0 12px;
  }

  .why-item svg {
    grid-row: span 2;
    margin: 0;
  }

  .why-item p {
    margin-top: 10px;
  }

  .cta-layout {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
  }

  .contact-cta h2 {
    max-width: 100%;
  }

  .cta-image {
    width: 64%;
    opacity: 0.32;
  }

  .developer-shell {
    gap: 28px;
    padding: 48px 0;
  }

  .developer-photo,
  .developer-photo img {
    min-height: 460px;
  }

  .developer-copy h2,
  .advert-detail-copy h1 {
    font-size: 4.1rem;
  }

  .developer-copy p,
  .advert-detail-copy p,
  .advert-story-main > p {
    font-size: 0.9rem;
  }

  .advert-detail-hero,
  .advert-detail-layout {
    min-height: 560px;
  }

  .advert-detail-layout {
    padding: 48px 0;
  }

  .advert-story-section {
    padding: 44px 0 56px;
  }

  .advert-story-main h2 {
    font-size: 3.35rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-grid > div,
  .footer-grid > div:first-child {
    grid-column: auto;
    padding: 0;
    border-left: 0;
  }

  .footer-map {
    max-width: 260px;
  }

  .footer-bottom {
    min-height: 76px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .product-hero {
    padding: 64px 0;
  }

  .product-hero h1 {
    font-size: 4.2rem;
  }

  .demo-stage {
    padding: 16px;
  }

  .demo-top {
    display: grid;
  }

  .demo-top h2 {
    font-size: 2.5rem;
  }

  .metric-grid,
  .preview-cards {
    grid-template-columns: 1fr;
  }

  .preview-body {
    grid-template-columns: 1fr;
  }

  .preview-rail {
    display: none;
  }

  .admin-main {
    padding: 36px 0 56px;
  }

  .admin-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .admin-hero h1 {
    font-size: 4.4rem;
  }

  .admin-login .admin-panel,
  .admin-account,
  .admin-form,
  .admin-list {
    padding: 18px;
  }

  .admin-toolbar,
  .admin-account,
  .admin-account form,
  .admin-list-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .admin-two,
  .advert-admin-card {
    grid-template-columns: 1fr;
  }

  .advert-admin-card img {
    width: 100%;
  }

  .advert-admin-actions {
    justify-content: flex-start;
  }

  .not-found h1 {
    font-size: 8rem;
  }
}
