:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #666666;
  --line: #dedede;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Archivo", sans-serif;
}

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

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

.site-header,
.page,
.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  padding: 1.25rem 0 0;
}

.site-header::after {
  content: "";
  display: block;
  margin-top: 1rem;
  height: 1px;
  background: var(--line);
}

.site-header-inner,
.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-weight: 700;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  height: 42px;
  width: auto;
}

.site-nav,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a,
.footer-links a,
.site-footer p,
.work-copy,
.resource-item p,
.client-list span,
.contact-section p {
  color: var(--muted);
}

.page {
  padding: 2.5rem 0 4rem;
}

.hero {
  padding: 1rem 0 1.75rem;
}

.eyebrow,
.section-link {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 700;
}

.hero-text {
  max-width: 34ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-motion {
  padding: 0 0 4rem;
}

.video-loop {
  position: relative;
  width: 100%;
  aspect-ratio: 2.35 / 1;
}

.video-shine {
  display: none;
}

.video-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fafafa;
}

.video-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-line {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  height: 1px;
  background: var(--line);
}

.scene-line-top {
  top: 4.35rem;
}

.scene-line-bottom {
  bottom: 3.5rem;
}

.search-panel {
  position: absolute;
  left: 50%;
  top: 16%;
  width: 76%;
  transform: translateX(-50%);
}

.search-bar {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: #ffffff;
}

.search-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #111111;
}

.search-text,
.search-go {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-track {
  position: absolute;
  left: 50%;
  top: 56%;
  width: 78%;
  height: 1px;
  transform: translate(-50%, -50%);
  background: var(--line);
}

.desktop-screen {
  position: absolute;
  top: 31%;
  width: 330px;
  height: 218px;
  border: 1px solid var(--ink);
  background: #ffffff;
}

.desktop-screen-center {
  left: 50%;
  transform: translateX(-50%);
}

.desktop-screen-travel {
  left: 6%;
  transform: translateY(-50%);
  animation: desktopBoomerang 5.4s ease-in-out infinite;
}

.desktop-topbar {
  display: flex;
  gap: 0.45rem;
  padding: 0.9rem 1rem 0.65rem;
}

.desktop-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111111;
}

.desktop-body {
  margin: 0 1rem;
  padding: 1rem;
  height: calc(100% - 2.55rem);
  border: 1px solid var(--line);
  background: #ffffff;
}

.desktop-nav {
  display: grid;
  grid-template-columns: 1fr 40px 28px;
  gap: 0.65rem;
  align-items: center;
}

.nav-mark {
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.nav-pill {
  display: block;
  height: 8px;
  background: #dcdcdc;
}

.nav-pill.short {
  width: 70%;
  justify-self: end;
}

.desktop-hero-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 0.9rem;
  margin-top: 1rem;
}

.hero-line {
  display: block;
  height: 10px;
  margin-bottom: 0.55rem;
  background: #111111;
}

.hero-line.short {
  width: 64%;
}

.hero-preview {
  min-height: 96px;
  border: 1px solid var(--line);
  background: #f0f0f0;
}

.desktop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-top: 1rem;
}

.desktop-grid span {
  display: block;
  aspect-ratio: 1 / 0.88;
  border: 1px solid var(--line);
  background: #f6f6f6;
}

.desktop-base {
  position: absolute;
  left: 50%;
  bottom: 15%;
  width: 230px;
  height: 14px;
  margin-left: -115px;
  background: #e9e9e9;
  border: 1px solid var(--line);
}

.status-pill {
  position: absolute;
  left: 50%;
  bottom: 7.5%;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line);
  background: #ffffff;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.88rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #111111;
}

.section {
  padding: 0 0 4rem;
}

h2 {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.work-list,
.resource-list,
.contact-section,
.site-footer-inner {
  border-top: 1px solid var(--line);
}

.work-item,
.resource-item {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.work-title,
.resource-item h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
}

.resource-item h3,
.resource-item p {
  margin: 0;
}

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  max-width: 900px;
}

.contact-section {
  padding-top: 2rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 1rem 0 2rem;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.contact-block a {
  color: var(--ink);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 760px;
}

.request-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: 0.95rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  outline: none;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: #999999;
}

.full-width {
  grid-column: 1 / -1;
}

.button {
  width: fit-content;
  padding: 0.8rem 0 0.15rem;
  border: none;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
}

.site-footer {
  padding: 0 0 1.5rem;
}

.site-footer-inner {
  padding-top: 1rem;
}

@media (max-width: 760px) {
  .site-header-inner,
  .site-footer-inner,
  .work-item,
  .resource-item,
  .request-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 0.5rem;
  }

  .video-loop {
    aspect-ratio: 1.25 / 1;
  }

  .desktop-screen {
    width: 270px;
    height: 184px;
  }

  .desktop-screen-center {
    margin-left: -135px;
  }

  .desktop-screen-travel {
    left: 2%;
  }

  .site-nav,
  .footer-links {
    gap: 0.75rem;
  }

  h1 {
    max-width: 10ch;
  }

  .contact-block {
    font-size: 1.2rem;
  }

  .full-width {
    grid-column: auto;
  }
}

@keyframes desktopBoomerang {
  0% {
    transform: translate(0, -50%) scale(0.92);
  }

  24% {
    transform: translate(140px, -54%) scale(0.97);
  }

  50% {
    transform: translate(420px, -58%) scale(1.02);
  }

  76% {
    transform: translate(140px, -54%) scale(0.97);
  }

  100% {
    transform: translate(0, -50%) scale(0.92);
  }
}
