/* ===================================================================
   hero.css — the opening screen.

   Two jobs, in order: say the one thing about this designer that most
   product designers cannot say, and then prove it with legible work.

   The previous version washed the screens back to 22% opacity behind
   the type, which meant the first thing on the page was a texture. The
   screens are now a readable band: real product, at a size you can
   actually read, drifting past under the statement.
   =================================================================== */

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

/* ---- statement ---- */

.hero-top-wrapper {
  position: relative;
  z-index: 2;
  max-width: var(--wide-max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(5rem, 14vh, 9rem) var(--gutter) 0;
}

.hero-eyebrow-line {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 clamp(1.25rem, 3vh, 2rem);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero-eyebrow-line em {
  font-style: normal;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #16A34A;
  box-shadow: 0 0 0 3px rgba(22,163,74,.16);
  flex: none;
}

.large-heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  line-height: .98;
  letter-spacing: -.035em;
  color: var(--fg-1);
  max-width: 16ch;
}

.hero-sub {
  margin: clamp(1.5rem, 3.5vh, 2.25rem) 0 0;
  max-width: 46ch;
  font-size: clamp(.9375rem, 1.15vw, 1.0625rem);
  line-height: 1.6;
  color: var(--fg-2);
  text-wrap: pretty;
}
.hero-sub b { color: var(--fg-1); font-weight: 500; }

/* ---- the band of real screens ---- */

.hero-strip {
  position: relative;
  z-index: 1;
  align-self: end;
  overflow: hidden;
  padding: clamp(1.5rem, 4vh, 3rem) 0 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.hero-strip__track {
  display: flex;
  align-items: flex-end;
  gap: clamp(1rem, 2vw, 1.75rem);
  will-change: transform;
}

.hero-strip figure {
  margin: 0;
  flex: none;
  height: clamp(13rem, 30vh, 22rem);
}
.hero-strip img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 2px rgba(17,17,17,.04), 0 20px 44px -20px rgba(17,17,17,.20);
}
/* Phone captures carry their own frame and transparent corners. */
.hero-strip figure[data-phone] img {
  border: none;
  background: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 18px 36px rgba(17,17,17,.22));
}

/* ---- bottom row ---- */

.hero-section .section-bottom-wrapper {
  position: relative;
  z-index: 2;
  max-width: var(--wide-max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vh, 2rem) var(--gutter) clamp(1.5rem, 4vh, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line);
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}


.hero-scroll-cue {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero-scroll-cue i {
  font-style: normal;
  width: 1px;
  height: 1.5rem;
  background: linear-gradient(180deg, rgba(17,17,17,.42), transparent);
  animation: cueDrop 2.2s cubic-bezier(.4,0,.2,1) infinite;
  transform-origin: top;
}
@keyframes cueDrop {
  0%   { transform: scaleY(0); opacity: 0; }
  35%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(1.5rem); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue i { animation: none; }
}

@media (max-width: 700px) {
  .hero-strip figure { height: clamp(10rem, 24vh, 15rem); }
  .hero-scroll-cue { display: none; }
}
