/* Home page: hero wall, ticker, selected work, steps, why us, team teaser. */
.hero { position: relative; height: 900px; overflow: hidden; perspective: 2800px; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0, var(--paper) 46%, rgba(245, 241, 234, .85) 58%, rgba(245, 241, 234, 0) 74%);
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: var(--page-max);
  height: 100%;
  margin: 0 auto;
  padding: 72px var(--gutter) 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hero h1 { font-size: clamp(64px, 10.3vw, 148px); }
.hero__lower { display: flex; flex-direction: column; gap: 28px; }
.hero__lower .lede { max-width: 470px; }
.hero__status { display: flex; align-items: center; gap: 10px; letter-spacing: .08em; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* The tilted wall of concept screenshots (decorative) */
.hero__wall {
  position: absolute;
  top: 60px;
  left: 44%;
  width: 1900px;
  height: 1400px;
  pointer-events: none;
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 55%, transparent 80%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 34%), linear-gradient(180deg, #000 55%, transparent 80%);
  mask-composite: intersect;
}
.wall {
  display: flex;
  flex-direction: column;
  gap: 44px;
  transform: rotateX(46deg) rotateZ(-30deg);
  transform-origin: 40% 40%;
  transition: transform 1.2s var(--ease-out);
}
.wall__row { display: flex; gap: 36px; align-items: flex-start; }
.wall__row--b { margin-left: 210px; }
.tile { display: flex; flex-direction: column; gap: 12px; flex: none; }
.tile__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.tile__screen { overflow: hidden; background: #FFFFFF; --view-h: 600px; width: 380px; height: var(--view-h); box-shadow: var(--shadow-tile); }
.tile--mobile .tile__phone { padding: 7px; background: var(--ink); border-radius: 34px; box-shadow: 0 50px 90px -30px rgba(20, 18, 16, .5); }
.tile--mobile .tile__screen { --view-h: 433px; width: 200px; border-radius: 28px; box-shadow: none; }
.tile__screen img { width: 100%; height: auto; }

@media (max-width: 759px) {
  .hero { height: auto; perspective: 1600px; }
  .hero::before { display: none; }
  .hero__copy { padding: 36px 20px 32px; justify-content: flex-start; gap: 28px; }
  .hero__eyebrow { font-size: 11px; }
  .hero h1 { font-size: clamp(44px, 13.8vw, 54px); }
  .hero__status { display: none; }
  .hero__wall {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: 330px;
    overflow: hidden;
    opacity: 1;
    border-top: 1px solid var(--rule);
    -webkit-mask-image: none;
    mask-image: none;
  }
  .wall { position: absolute; top: -40px; left: -40px; transform: rotateX(46deg) rotateZ(-30deg) scale(.62); transform-origin: 0 0; transition: none; }
  .wall__row--b { display: none; }
}

/* Ticker of concepts */
.ticker { background: var(--ink); color: var(--paper); overflow: hidden; padding: 18px 0; }
.ticker__track { display: flex; width: max-content; }
.ticker__list {
  list-style: none;
  margin: 0;
  padding: 0 56px 0 0;
  display: flex;
  gap: 56px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .1em;
  white-space: nowrap;
}
.ticker__list li { display: flex; gap: 56px; }
.ticker__list li::after { content: "/"; color: var(--accent-slash); }
.ticker a { color: var(--paper); border-bottom: 1px solid transparent; padding-bottom: 2px; }
.ticker a:hover, .ticker a:focus-visible { color: var(--accent-on-ink); border-bottom-color: var(--accent-on-ink); }

/* Selected work strip */
.work-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.work-card { display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.work-card .shot { aspect-ratio: 405 / 300; }
.work-card .badge { position: absolute; top: 12px; left: 12px; }
.work-card__name { font-family: var(--font-display); font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }
.work-card:hover .work-card__name { color: var(--accent); }
.work-card__meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
@media (max-width: 899px) { .work-strip { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px 28px 28px 0; border-top: 1px solid var(--ink); }
.step__n { font-family: var(--font-mono); font-size: 13px; color: var(--accent); }
.step h3 { font-family: var(--font-display); font-weight: 400; font-size: 32px; letter-spacing: -.01em; line-height: 1.1; }
.step p { font-size: 16px; color: var(--ink-soft); text-wrap: pretty; }

/* Why us */
.why { display: flex; flex-wrap: wrap; gap: 48px 96px; padding-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--rule); }
.why__lead { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.why__lead p { font-family: var(--font-display); font-size: clamp(36px, 3.8vw, 56px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.why__list { flex: 1 1 420px; margin: 0; }
.why__row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.why__row dt { padding-top: 4px; letter-spacing: .1em; }
.why__row dd { margin: 0; text-wrap: pretty; }
@media (max-width: 520px) { .why__row { grid-template-columns: minmax(0, 1fr); gap: 8px; } }

.dev-callout {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--muted);
}
.dev-callout .mono { letter-spacing: .1em; padding-top: 2px; }
