:root {
  --black: #131313;
  --black-soft: #1a1a1a;
  --white: #f7f7f4;
  --paper: #f4f2ee;
  --ink: #1c1c1a;
  --muted: rgba(28, 28, 26, 0.62);
  --muted-dark: rgba(247, 247, 244, 0.62);
  --line-dark: rgba(255, 255, 255, 0.08);
  --line-light: rgba(28, 28, 26, 0.12);
  --orange: #ff7a1a;
  --orange-soft: #ffd9c7;
  --gray-dot: #8f8f8c;
  --shadow: 0 24px 70px rgba(19, 19, 19, 0.14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0;
}

h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 44px);
  color: var(--white);
}

.header-nav {
  display: flex;
  min-width: 0;
  gap: clamp(16px, 3vw, 34px);
  overflow-x: auto;
  scrollbar-width: none;
  color: var(--muted-dark);
  font-size: 0.72rem;
  white-space: nowrap;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: var(--orange);
  font-weight: 950;
  font-style: italic;
}

.brand span {
  color: var(--white);
  font-weight: 800;
}

.brand strong {
  font-weight: 950;
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-link,
.header-cta {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 122, 26, 0.58);
  border-radius: 999px;
  padding: 8px 20px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
}

.language-link {
  min-width: 42px;
  padding: 8px 12px;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 94svh;
  padding: 104px 0 0;
  color: var(--white);
  background: var(--black);
}

.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 13vw 13vw,
    linear-gradient(180deg, var(--line-dark) 1px, transparent 1px) 0 0 / 13vw 13vw;
  opacity: 0.95;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 40px));
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted-dark);
  font-size: 0.92rem;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 0.78rem;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--orange);
}

.button-dark {
  color: #ffffff;
  background: var(--black);
}

.button-ghost {
  color: var(--ink);
  border-color: var(--line-light);
  background: transparent;
}

.shape {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  pointer-events: none;
}

.shape-orange {
  width: 74px;
  height: 74px;
  background: var(--orange);
}

.shape-gray {
  width: 42px;
  height: 42px;
  background: var(--gray-dot);
}

.shape-hero-one {
  top: 17%;
  left: 36%;
}

.shape-hero-two {
  top: 22%;
  right: 23%;
}

.shape-hero-three {
  right: 7%;
  bottom: 30%;
}

.shape-hero-four {
  left: 6%;
  bottom: 34%;
}

.hero-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(170px, 1fr));
  align-items: end;
  gap: 0;
  margin-top: 54px;
  scrollbar-width: none;
}

.hero-strip::-webkit-scrollbar {
  display: none;
}

.media-tile,
.service-media,
.case-media {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  overflow: hidden;
  color: inherit;
  background: #0f0f0f;
}

.media-tile {
  height: clamp(180px, 23vw, 270px);
}

.media-tile video,
.service-media video,
.case-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    transform 260ms ease,
    filter 260ms ease;
}

.media-tile:hover video,
.media-tile:focus-visible video,
.service-media:hover video,
.service-media:focus-visible video,
.case-media:hover video,
.case-media:focus-visible video {
  transform: scale(1.04);
  filter: saturate(1.08);
}

.media-tile::after,
.service-media::after,
.case-media::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.54));
}

.media-tile span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.intro-section,
.launch-section,
.process-section,
.contact-section {
  position: relative;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  padding: clamp(82px, 11vw, 150px) 0 76px;
}

.intro-copy {
  position: relative;
  display: grid;
  gap: 16px;
}

.intro-copy h2,
.launch-heading h2,
.process-heading h2,
.contact-copy h2 {
  font-size: clamp(2.6rem, 5.3vw, 5.3rem);
}

.intro-copy p:not(.eyebrow),
.contact-copy p {
  max-width: 480px;
  color: var(--muted);
}

.shape-intro {
  right: 8%;
  bottom: 32%;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: end;
}

.service-cards.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.case-card,
.process-list li {
  border-radius: 8px;
}

.service-card {
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.service-feature {
  margin-top: 70px;
}

.service-media {
  aspect-ratio: 16 / 11;
}

.service-card div {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.service-card h3,
.case-card h3,
.process-list strong {
  font-size: 1rem;
}

.service-card p,
.case-card span,
.process-list span {
  color: var(--muted);
  font-size: 0.85rem;
}

.launch-section {
  padding: 38px 0 96px;
}

.launch-heading {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: 46px;
  text-align: center;
}

.launch-heading h2 {
  max-width: 760px;
}

.shape-launch {
  right: 22%;
  top: -16px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.case-card {
  min-height: 430px;
  overflow: hidden;
  display: grid;
  align-content: start;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.case-card.peach {
  background: var(--orange-soft);
}

.case-card.orange {
  color: #ffffff;
  background: var(--orange);
}

.case-card.orange .case-copy p,
.case-card.orange .case-copy span {
  color: rgba(255, 255, 255, 0.82);
}

.case-media {
  aspect-ratio: 4 / 3;
}

.case-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.case-copy p {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(420px, 1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: start;
  padding: 78px 0 96px;
}

.process-heading {
  display: grid;
  gap: 12px;
}

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

.process-list li {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line-light);
  padding: 22px;
  background: #ffffff;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) auto;
  gap: 32px;
  align-items: center;
  margin-bottom: 44px;
  border-radius: 8px;
  padding: clamp(32px, 5vw, 64px);
  color: #ffffff;
  background: var(--black);
}

.contact-copy {
  display: grid;
  gap: 14px;
}

.contact-copy h2 {
  max-width: 740px;
}

.contact-copy p {
  color: var(--muted-dark);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.contact-actions .button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.24);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.84);
}

.video-modal.is-open {
  display: flex;
}

.modal-panel {
  width: min(1060px, 100%);
  overflow: hidden;
  border-radius: 8px;
  background: #000000;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  color: #ffffff;
  background: #151515;
}

.modal-topbar h2 {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1;
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #ffffff;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-video {
  width: 100%;
  max-height: calc(100vh - 138px);
  display: block;
  background: #000000;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 26px clamp(22px, 5vw, 56px);
  color: var(--muted);
  background: var(--paper);
}

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

@media (max-width: 1040px) {
  .site-header,
  .intro-section,
  .process-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .brand,
  .header-actions {
    justify-self: start;
  }

  .hero-strip {
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    overflow-x: auto;
  }

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    gap: 12px;
    padding: 14px 18px;
  }

  .header-nav {
    order: 2;
    gap: 18px;
    width: 100%;
  }

  .header-actions {
    position: absolute;
    top: 14px;
    right: 18px;
  }

  .header-cta {
    padding: 8px 14px;
  }

  .hero {
    min-height: 90svh;
    padding-top: 126px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.55rem);
  }

  .hero-copy {
    width: min(100% - 32px, 520px);
  }

  .shape-hero-one {
    left: 28%;
  }

  .shape-hero-two,
  .shape-hero-four {
    display: none;
  }

  .shape-hero-three {
    right: -24px;
  }

  .hero-strip {
    margin-top: 42px;
  }

  .media-tile {
    height: 210px;
  }

  .intro-section,
  .launch-section,
  .process-section {
    width: min(100% - 32px, 1240px);
    padding: 66px 0;
  }

  .service-cards,
  .service-cards.three,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-feature {
    margin-top: 0;
  }

  .case-card {
    min-height: auto;
  }

  .contact-section {
    width: min(100% - 32px, 1240px);
    padding: 28px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
