/* ============================================================
   ERB — landing.css
   One page, five parts: hero, ethos, pillars, invitation,
   closing. Everything here is plain CSS and reads top to bottom.
   Shared tokens and resets live in base.css.
   ============================================================ */

/* ── Page shell ─────────────────────────────────────────────── */
.landing {
  font-size: 16.5px;
  background: var(--paper);
}

.landing .shell {
  max-width: 1180px;
  padding-inline: clamp(24px, 5vw, 48px);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.eyebrow--light {
  color: rgba(238, 242, 239, 0.5);
}

.section-title {
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--ink);
}
.section-title em {
  color: var(--ink);
}

/* ── 1 · Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  /* The last stretch fades into the page colour so the hero joins the
     next section without a visible seam. */
  background: linear-gradient(180deg, #fcf8ef 0%, #fcf8ef calc(100% - 90px), var(--paper) 100%);
  color: var(--ink);
}

/* The hero image is a 16:9 brand card, not a photo backdrop. Show it
   whole at its own aspect ratio instead of cropping or enlarging it. */
.hero__media {
  position: relative;
  z-index: 1;
  order: 1;
  width: min(1200px, 86vw, calc((100svh - 360px) * 16 / 9));
  max-width: 100%;
  margin-inline: auto;
}

.hero__photo {
  display: block;
  width: 100%;
  height: auto;
}

.hero__header {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4.5vh, 44px) clamp(20px, 4vw, 40px) 0;
  display: flex;
  justify-content: flex-start;
}

.lockup {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
  color: var(--ink);
  text-align: left;
}
.lockup__word {
  font-family: var(--sans);
  font-size: clamp(15px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: 0.3em;
  line-height: 1;
  text-indent: 0.3em;
}
.lockup__rule {
  width: 1px;
  height: clamp(28px, 3.2vw, 38px);
  background: rgba(16, 26, 35, 0.3);
}
.lockup__tag {
  font-family: var(--sans);
  font-size: clamp(9px, 0.85vw, 10.5px);
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero__content {
  position: relative;
  z-index: 2;
  order: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
  padding: clamp(18px, 2.5vh, 26px) clamp(22px, 5vw, 40px) clamp(88px, 11vh, 120px);
}

.hero__lede {
  max-width: 54ch;
  margin-top: clamp(18px, 2.6vh, 26px);
  font-size: clamp(0.98rem, 1.15vw, 1.09rem);
  font-weight: 300;
  line-height: 1.72;
  color: rgba(16, 26, 35, 0.8);
  animation: hero-rise 1s var(--ease) 0.24s both;
}

.hero__actions {
  margin-top: 0;
  animation: hero-rise 1s var(--ease) 0.05s both;
}


/* The one button that matters */
.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 30px;
  border-radius: 999px;
  background: #25d366;
  color: #06170e;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  box-shadow:
    0 20px 46px -16px rgba(37, 211, 102, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.25s var(--ease);
}
.wa-btn svg {
  width: 21px;
  height: 21px;
  flex: none;
}
.wa-btn:hover {
  transform: translateY(-2px);
  background: #2ee06f;
  box-shadow:
    0 26px 54px -16px rgba(37, 211, 102, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.wa-btn:active {
  transform: translateY(0);
}
.wa-btn--xl {
  min-height: 68px;
  padding: 0 40px;
  font-size: 17px;
}
.wa-btn--xl svg {
  width: 22px;
  height: 22px;
}

/* No published link yet: never leave a dead WhatsApp button. */
[data-wa-cta][data-state="empty"] {
  background: transparent;
  color: var(--ink-muted);
  box-shadow: none;
  border: 1px solid var(--line-strong);
  cursor: not-allowed;
  filter: saturate(0.4);
}
[data-wa-cta][data-state="empty"]:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
}
/* The invitation section is dark, so it keeps the translucent treatment. */
.invite [data-wa-cta][data-state="empty"] {
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.66);
  border-color: transparent;
}
.invite [data-wa-cta][data-state="empty"]:hover {
  background: rgba(255, 255, 255, 0.14);
}
/* With no link published, the floating bubble has nothing to open. */
.wa-fab[data-state="empty"] {
  display: none;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: clamp(18px, 3vh, 30px);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(16, 26, 35, 0.55);
  transition: color 0.3s var(--ease);
}
.scroll-cue:hover {
  color: var(--ink);
}
.scroll-cue__line {
  width: 1px;
  height: clamp(28px, 5vh, 46px);
  background: linear-gradient(rgba(16, 26, 35, 0.5), rgba(16, 26, 35, 0));
  animation: cue 2.6s ease-in-out infinite;
  transform-origin: top center;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cue {
  0%,
  100% {
    transform: scaleY(0.35);
    opacity: 0.4;
  }
  45% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ── 2 · Ethos ──────────────────────────────────────────────── */
.ethos {
  padding: clamp(96px, 13vw, 170px) clamp(24px, 5vw, 48px);
  text-align: center;
}
.ethos .section-title {
  margin-top: 20px;
}
.ethos__copy {
  max-width: 60ch;
  margin: 26px auto 0;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: #58626c;
}

/* ── 3 · Pillars ────────────────────────────────────────────── */
.pillars {
  background: var(--paper-soft);
  border-block: 1px solid var(--line);
  padding-block: clamp(72px, 9.5vw, 118px);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(36px, 5vw, 72px);
  max-width: 1080px;
}

.pillar {
  text-align: center;
}
.pillar__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 26px;
  border: 1px solid rgba(16, 26, 35, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  color: #22313d;
}
.pillar__icon svg {
  width: 26px;
  height: 26px;
}
.pillar h3 {
  font-family: var(--display);
  font-size: 1.62rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pillar p {
  margin: 12px auto 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.72;
  color: #5b656f;
}

/* ── 4 · Invitation ─────────────────────────────────────────── */
.invite {
  background: #0c151c;
  color: #eef2ef;
  padding-block: clamp(80px, 10vw, 132px);
}
.invite__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.invite__copy h2 {
  margin-top: 20px;
  max-width: 19ch;
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fbfdfb;
}
.invite__copy h2 em {
  color: #9fe8bd;
  font-style: italic;
}
.invite__lede {
  margin-top: 24px;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(238, 242, 239, 0.72);
}

.checks {
  margin-top: 30px;
  display: grid;
  gap: 14px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(238, 242, 239, 0.88);
}
.checks__mark {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: none;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.14);
  color: #38d977;
}
.checks__mark svg {
  width: 13px;
  height: 13px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 36px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  transition:
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.ghost-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.42);
}
.ghost-btn:hover svg {
  transform: translateX(3px);
}
.invite [data-state="empty"] {
  opacity: 0.5;
  cursor: not-allowed;
}
.invite [data-state="empty"]:hover {
  background: transparent;
}

.invite__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}
.invite__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
}
.invite__quote {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(28px, 4vw, 38px) clamp(24px, 3.4vw, 34px) clamp(24px, 3vw, 30px);
  background: linear-gradient(rgba(4, 12, 16, 0), rgba(4, 12, 16, 0.55) 38%, rgba(4, 12, 16, 0.9));
  color: #fff;
}
.invite__quote blockquote {
  max-width: 24ch;
  font-family: var(--display);
  font-size: clamp(1.3rem, 1.9vw, 1.68rem);
  font-style: italic;
  line-height: 1.32;
  letter-spacing: -0.01em;
}
.invite__quote p {
  margin-top: 16px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}
.invite__quote p span {
  margin-inline: 0.4em;
  color: #25d366;
}

/* ── 5 · Closing ────────────────────────────────────────────── */
.closing {
  padding: clamp(100px, 13vw, 176px) clamp(24px, 5vw, 48px);
  text-align: center;
}
.closing .section-title {
  margin-top: 20px;
}
/* With the lede gone, the button carries its own breathing room. */
.closing .wa-btn {
  margin-top: 36px;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #081016;
  color: rgba(255, 255, 255, 0.6);
  padding-block: clamp(52px, 7vw, 72px) 36px;
}
.site-footer__inner {
  text-align: center;
}
.site-footer__word {
  font-family: var(--display);
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}
.site-footer__tag {
  margin-top: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.52);
}

.site-footer__links {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 30px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-footer__links a,
.site-footer__copy {
  color: rgba(255, 255, 255, 0.68);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color 0.25s var(--ease);
}
.site-footer__links a:hover,
.site-footer__copy:hover {
  color: #fff;
}

.site-footer__status {
  margin-top: 34px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.site-footer__status span {
  margin-inline: 0.5em;
  color: rgba(37, 211, 102, 0.55);
}
.site-footer__legal {
  margin-top: 10px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.26);
}
.site-footer__legal span {
  margin-inline: 0.4em;
}

/* ── Floating WhatsApp bubble ───────────────────────────────── */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #06170e;
  box-shadow:
    0 14px 34px -8px rgba(0, 0, 0, 0.4),
    0 0 0 7px rgba(37, 211, 102, 0.12);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    background 0.25s var(--ease),
    visibility 0s linear 0.4s;
}
.wa-fab svg {
  width: 27px;
  height: 27px;
}
.wa-fab.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.wa-fab:hover {
  background: #2ee06f;
  transform: translateY(-2px);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .invite__grid {
    grid-template-columns: 1fr;
  }
  .invite__copy h2,
  .invite__lede {
    max-width: 26ch;
  }
  .invite__lede {
    max-width: 52ch;
  }
  .invite__media {
    aspect-ratio: 5 / 4;
  }
  .pillars__grid {
    gap: 44px;
  }
}

@media (max-width: 780px) {
  .pillars__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
  .pillar p {
    max-width: 38ch;
  }
  /* Small screens: the same poster layout, with the artwork full-bleed
     and the hero trimmed to its content. */
  .hero {
    min-height: auto;
  }
  .hero__media {
    width: 100%;
  }
  .hero__content {
    flex: 0 0 auto;
    justify-content: flex-start;
    padding-top: clamp(24px, 3.5vh, 32px);
    padding-inline: 22px;
    padding-bottom: clamp(56px, 9vh, 72px);
  }
  .hero__lede {
    max-width: 40ch;
  }
  .hero__actions .wa-btn,
  .closing .wa-btn {
    width: 100%;
    max-width: 360px;
    padding-inline: 22px;
  }
  .scroll-cue {
    display: none;
  }
  .invite__quote blockquote {
    max-width: 26ch;
  }
}

@media (max-width: 700px) {
  /* Let the closing headline break naturally on narrow screens. */
  .closing .section-title br {
    display: none;
  }
}

@media (max-width: 520px) {
  .lockup__word {
    font-size: 14px;
    letter-spacing: 0.24em;
  }
  .lockup__tag {
    font-size: 8.5px;
    letter-spacing: 0.16em;
  }
  .pillars {
    text-align: left;
  }
  .pillar {
    text-align: left;
  }
  .pillar__icon {
    margin-inline: 0;
  }
  .pillar p {
    margin-inline: 0;
  }
  .wa-fab {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .site-footer__links {
    gap: 12px 22px;
  }
}

/* ── Motion preferences ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero__lede,
  .hero__actions,
  .scroll-cue__line {
    animation: none;
  }
  .wa-fab {
    transition: opacity 0.2s linear;
  }
}
