/* Strong As Ev — warm, hopeful landing page */

:root {
  --sky: #4f8fc4;
  --sky-deep: #2f6a9c;
  --sky-soft: #e7f2fb;
  --sky-mist: #f3f8fc;
  --coral: #e25545;
  --coral-deep: #c74335;
  --coral-soft: #fdeceb;
  --honey: #f0c14d;
  --sage: #5f9e72;
  --ink: #243040;
  --ink-soft: #5a6778;
  --paper: #f7fafc;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(47, 106, 156, 0.14);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(79, 143, 196, 0.18), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, rgba(240, 193, 77, 0.12), transparent 55%),
    radial-gradient(800px 500px at 80% 100%, rgba(95, 158, 114, 0.1), transparent 50%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sky-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--coral-deep);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 252, 0.82);
  border-bottom: 1px solid rgba(79, 143, 196, 0.12);
}

.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--sky-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--coral);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.nav a:hover {
  color: var(--sky-deep);
}

.nav__cta {
  color: var(--white) !important;
  background: var(--coral);
  padding: 0.55rem 1rem;
  border-radius: 999px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav__cta:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(79, 143, 196, 0.12);
  background: rgba(247, 250, 252, 0.96);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.75rem 0.25rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(28rem, 72svh, 42rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.01);
  animation: hero-drift 22s var(--ease) infinite alternate;
}

.hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(36, 48, 64, 0.15) 0%, rgba(36, 48, 64, 0.28) 35%, rgba(36, 48, 64, 0.72) 100%),
    linear-gradient(90deg, rgba(47, 106, 156, 0.35), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.hero__headline {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.hero__lede {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--primary {
  background: var(--coral);
  color: var(--white) !important;
  box-shadow: 0 10px 28px rgba(226, 85, 69, 0.35);
}

.btn--primary:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  color: var(--white) !important;
}

.btn--primary[aria-disabled="true"] {
  cursor: default;
}

.btn--lg {
  padding: 1.05rem 1.7rem;
  font-size: 1.08rem;
}

.btn-note {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.closing .btn-note {
  color: var(--ink-soft);
  margin: 0.85rem 0 0;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section__inner.narrow {
  max-width: 720px;
}

.section__title {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--sky-deep);
}

.section__lede {
  margin: 0 0 0.85rem;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.prose p {
  margin: 0 0 1.15rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 550;
}

/* Story */
.story {
  background:
    linear-gradient(180deg, rgba(231, 242, 251, 0.7), transparent 40%),
    radial-gradient(600px 320px at 85% 45%, rgba(79, 143, 196, 0.14), transparent 70%),
    transparent;
}

.story__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.story__photo {
  margin: 0 auto;
  width: min(100%, 420px);
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.story__photo img {
  width: 100%;
  display: block;
}

/* Audience */
.audience {
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(240, 193, 77, 0.12), transparent 60%),
    var(--sky-mist);
}

.audience__list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.audience__list li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.55rem;
  font-weight: 550;
  border-bottom: 1px solid rgba(79, 143, 196, 0.14);
  padding-bottom: 0.85rem;
}

.audience__list li:last-child {
  border-bottom: 0;
}

.audience__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--honey), var(--coral));
}

.audience__close {
  margin: 0;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

/* After */
.after__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.after__photo {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.after__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1.2s var(--ease);
}

.after__photo:hover img {
  transform: scale(1.03);
}

/* Author */
.author {
  background:
    linear-gradient(180deg, transparent, rgba(231, 242, 251, 0.65) 40%, rgba(231, 242, 251, 0.9));
}

.author__stack {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.author__photo {
  margin: 0;
  align-self: center;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  width: min(100%, 360px);
}

.author__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

/* Closing */
.closing {
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(79, 143, 196, 0.16), transparent 60%),
    radial-gradient(700px 400px at 80% 100%, rgba(226, 85, 69, 0.08), transparent 55%),
    var(--white);
  text-align: center;
  padding-bottom: 6rem;
}

.closing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing .section__title {
  max-width: 18ch;
}

.closing__quote {
  text-align: left;
  width: 100%;
  margin-bottom: 2.5rem;
}

.closing__quote p {
  font-size: 1.2rem;
}

.closing__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(79, 143, 196, 0.14);
  background: var(--sky-mist);
  padding: 2rem 1.5rem;
}

.site-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
}

.site-footer__brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--sky-deep);
  font-size: 1.2rem;
}

.site-footer__meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

.hero .reveal {
  opacity: 0;
  transform: translateY(28px);
}

.hero .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes hero-drift {
  from { transform: scale(1.01) translate3d(0, 0, 0); }
  to { transform: scale(1.03) translate3d(0, -0.6%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__cover,
  .after__photo img {
    animation: none;
    transition: none;
  }
}

/* Responsive */
@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .story__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
  }

  .story__photo {
    margin: 0;
    width: 100%;
  }

  .after__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }

  .audience__list {
    grid-template-columns: 1fr 1fr;
  }

  .audience__list li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .hero__content {
    padding: 6rem 1.5rem 4.5rem;
  }

  .section {
    padding: 7rem 0;
  }
}
