/* ARRO — homepage. */

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0d0c0a;
  color: var(--cream);
  isolation: isolate;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 50% 40%, rgba(13, 12, 10, 0.1) 0%, rgba(13, 12, 10, 0.62) 72%),
    linear-gradient(180deg, rgba(13, 12, 10, 0.55) 0%, rgba(13, 12, 10, 0.12) 32%, rgba(13, 12, 10, 0.78) 100%);
}

.hero__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.25rem;
  padding-block: calc(var(--head-h) + 3rem) 6rem;
}

.hero__greet {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.5;
  color: rgba(244, 239, 230, 0.82);
  animation: rise 1.2s var(--ease) both 0.1s;
}

.hero__mark {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(4rem, 17vw, 14rem);
  line-height: 0.9;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  animation: rise 1.4s var(--ease) both 0.2s;
}

.hero__line {
  font-size: clamp(0.78rem, 1.5vw, 0.95rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.76);
  animation: rise 1.4s var(--ease) both 0.35s;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  padding-top: 1.5rem;
  animation: rise 1.4s var(--ease) both 0.5s;
}

.hero__link {
  color: rgba(244, 239, 230, 0.86);
  border-bottom-color: rgba(244, 239, 230, 0.35);
}

.hero__link:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.25rem, 3vh, 2.5rem);
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.62);
  animation: rise 1.4s var(--ease) both 0.7s;
}

.hero__cue-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.7), rgba(244, 239, 230, 0));
}

.hero__cue:hover .hero__cue-line {
  animation: drip 1.6s var(--ease) infinite;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes drip {
  50% {
    transform: scaleY(0.6);
    transform-origin: top;
  }
}

/* ---------- featured ---------- */

/* The product shots are wide pairs, so two per row reads better than four. */
@media (min-width: 900px) {
  .page-index #featured .grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 3rem);
  }
}

.section__aside {
  flex: 0 1 34ch;
  font-size: 0.92rem;
  color: var(--ink-mute);
}

/* ---------- pitch ---------- */

.pitch {
  background: var(--paper);
  border-block: 1px solid var(--line-soft);
  padding-block: clamp(4rem, 9vw, 8rem);
}

.pitch__inner {
  display: grid;
  gap: 1.75rem;
  justify-items: start;
  max-width: 1100px;
}

.pitch__text {
  font-size: clamp(1.6rem, 3.4vw, 3rem);
  line-height: 1.22;
  letter-spacing: 0.005em;
  max-width: 24ch;
}

.pitch__text em {
  font-style: italic;
  color: var(--burgundy);
}

@media (min-width: 900px) {
  .pitch__text {
    max-width: 26ch;
  }
}

/* ---------- tenets ---------- */

.tenets {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4.5rem, 10vw, 9rem);
}

.tenets__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.tenets__grid article {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.tenets__num {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}

.tenets__grid h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
}

.tenets__grid p {
  max-width: 34ch;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- closer ---------- */

.closer {
  background: var(--ink);
  color: var(--cream);
  padding-block: clamp(5rem, 12vw, 10rem);
}

.closer__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.75rem;
}

.closer .label {
  color: rgba(244, 239, 230, 0.5);
}

.closer__line {
  max-width: 18ch;
}

@media (max-width: 700px) {
  .hero__mark {
    letter-spacing: 0.18em;
    text-indent: 0.18em;
  }

  .hero__actions {
    flex-direction: column;
    gap: 1rem;
  }
}
