/* Interim landing page (the homepage until the full site launches).
   Builds on tokens/base/layout/components from site/css; the hero mirrors .hero in site/css/sections.css. */

.landing {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  background: var(--concrete);
}

/* ---------- header ---------- */

.landing-header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.landing-header__logo { height: 38px; width: auto; flex: none; }

.status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* The eyebrow's canister bullet, pulsing */
.status__dot {
  flex: none;
  width: 11px;
  height: 11px;
  background: var(--heathered-gray-deep);
  -webkit-mask: var(--canister) center / contain no-repeat;
  mask: var(--canister) center / contain no-repeat;
  animation: status-pulse 2.6s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

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

.landing-hero {
  position: relative;
  overflow: hidden;
}

.landing-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding-block: clamp(40px, 8vh, 96px);
}

.landing-hero__content { display: grid; gap: 28px; justify-items: start; max-width: min(540px, 42%); }

.landing-hero__title { font-size: var(--text-display); }

.landing-hero__lede { max-width: 34em; font-size: var(--text-lede); color: var(--ink-soft); }

.landing-hero__note {
  max-width: 34em;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  color: var(--ink-soft);
}

.landing-hero__cta { margin-top: 2px; text-transform: none; letter-spacing: 0.02em; font-size: 0.9375rem; }

/* The canister as a photo mask: its straight edge and lower cap form the boundary */
.landing-hero__media {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(55%, 50% + 40px); /* on wide screens, keep clear of the centred text column */
  -webkit-mask: var(--canister) 0 46% / 150% auto no-repeat;
  mask: var(--canister) 0 46% / 150% auto no-repeat;
}
.landing-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

.landing-hero__line { z-index: 3; top: 0; right: 5%; height: 40%; }

/* ---------- footer ---------- */

.landing-footer {
  background: var(--heavy-metal);
  color: var(--ink-inverse-soft);
  font-size: 0.8125rem;
}

.landing-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 22px;
}

.landing-footer__tagline {
  font-family: var(--font-highlight);
  font-style: italic;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--heathered-gray);
}

/* ---------- small screens: content, then the photo below it ---------- */

@media (max-width: 959px) {
  :root { --header-h: 72px; }
  .landing-header__logo { height: 32px; }

  .landing-hero__inner { height: auto; padding-block: 40px 40px; }
  .landing-hero__content { max-width: 640px; }
  .landing-hero__media {
    position: relative;
    width: min(92vw, 560px);
    aspect-ratio: 1;
    margin: 0 auto 48px;
    -webkit-mask: var(--canister) center / contain no-repeat;
    mask: var(--canister) center / contain no-repeat;
  }
  .landing-hero__line { display: none; }
}

@media (max-width: 479px) {
  .status { gap: 9px; font-size: 0.6875rem; letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  .status__dot { animation: none; }
}
