:root {
  --bg: #F1EADF;
  --cream: #F3E0AC;
  --peach: #FADAC5;
  --blue: #C9CEE3;
  --green: #C9E2C8;

  --ink: #171412;
  --muted: rgba(23, 20, 18, 0.68);
  --line: rgba(23, 20, 18, 0.16);

  --body-font: "neue-kabel", "Neue Kabel", Avenir, sans-serif;
  --headline-font: "Cormorant Garamond", serif;

  --page-padding: clamp(20px, 5vw, 72px);
  --max-width: 1600px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body-font);
  font-weight: 300;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.container {
  width: min(100% - (var(--page-padding) * 2), var(--max-width));
  margin-inline: auto;
}

section {
  padding-block: clamp(64px, 8vw, 120px);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--headline-font);
  font-weight: 300;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(44px, 7vw, 100px);
  line-height: 0.95;
}

h2 {
  font-size: clamp(48px, 6vw, 80px);
  line-height: 0.91;
  margin-bottom: 20px;
}

h3 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 0.95;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  width: 100%;

  background: var(--bg);
  border-bottom: 1px solid var(--ink);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding-block: 22px;
}

.logo {
  width: 100px;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.nav a:hover {
  border-color: currentColor;
}

/* Shared */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 14px 24px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: var(--bg);
}

.button.primary:hover {
  background: var(--bg);
  color: var(--ink);
}

.button:not(.primary):hover {
  background: var(--ink);
  color: var(--bg);
}

/* Hero */

.hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 64px;
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
}

.hero-copy {
  max-width: 660px;
}

.intro {
  max-width: 540px;
  margin: 28px 0 36px;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-carousel {
  position: relative;
  width: min(100%, 620px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 32px;
  background: var(--peach);
  box-shadow: 0 24px 80px rgba(23, 20, 18, 0.14);
}

.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 25s infinite;
}

.hero-carousel img:nth-child(1) { animation-delay: 0s; }
.hero-carousel img:nth-child(2) { animation-delay: 5s; }
.hero-carousel img:nth-child(3) { animation-delay: 10s; }
.hero-carousel img:nth-child(4) { animation-delay: 15s; }
.hero-carousel img:nth-child(5) { animation-delay: 20s; }

@keyframes heroFade {
  0% { opacity: 0; }
  6% { opacity: 1; }
  18% { opacity: 1; }
  24% { opacity: 0; }
  100% { opacity: 0; }
}

/* Statement */

.statement {
  border-top: 1px solid var(--line);
  padding-bottom: 38px;
}

.statement-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
}

.statement p {
  max-width: 680px;
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.18;
  color: rgba(23, 20, 18, 0.78);
}

/* Archetypes */

.card-archetypes {
  padding-top: 0;
}

.archetypes-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.2vw, 18px);
}

.archetype-card {
  text-align: center;
}

.archetype-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin: 0 0 16px;
  border-radius: 22px;
  background: var(--cream);
}

.archetype-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 300ms ease;
}

.archetype-image:hover img {
  transform: scale(1.06) rotate(-1deg);
}

.archetype-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.archetype-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.archetype-copy h3 {
  font-size: clamp(24px, 2vw, 34px);
}

/* About */

.about-deck-inner {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.about-copy {
  max-width: 560px;
}

.about-copy p {
  margin: 0 0 22px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.45;
  color: var(--muted);
}

.about-image {
  overflow: hidden;
  border-radius: 32px;
  margin: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.principle {
  padding: 12px 18px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle:nth-child(1) {
  background: var(--cream);
}

.principle:nth-child(2) {
  background: var(--peach);
}

.principle:nth-child(3) {
  background: var(--green);
}

.principle span {
  opacity: 0.78;
}

/* Feature */

.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 110px);
}

.feature-image {
  overflow: hidden;
  margin: 0;
  border-radius: 32px;
  box-shadow: 0 24px 80px rgba(23, 20, 18, 0.14);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-copy p {
  max-width: 500px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  color: var(--muted);
}

/* Signup */

.signup-inner {
  max-width: 820px;
  text-align: center;
}

.signup .eyebrow::before {
  display: none;
}

.signup p {
  max-width: 560px;
  margin: 26px auto 0;
  font-size: 20px;
  color: var(--muted);
}

.ml-embedded form {
  gap: 10px;
  margin: 0 auto;
  padding: 8px;
  background: rgba(255, 255, 255, 0.22);
}

input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  color: var(--ink);
}

input::placeholder {
  color: rgba(23, 20, 18, 0.45);
}

button {
  padding: 14px 22px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

button:hover {
  background: var(--bg);
  color: var(--ink);
  outline: 1px solid var(--ink);
}

/* Footer */

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 28px;
  color: var(--muted);
  font-size: 14px;
}

/* Responsive */

@media (max-width: 920px) {

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-visual {
    justify-content: stretch;
  }

  .hero-carousel {
    width: 100%;
    max-width: none;
    border-radius: 24px;
  }

  .statement-inner,
  .feature-inner,
  .about-deck-inner {
    grid-template-columns: 1fr;
  }

  .statement-inner {
    gap: 0px;
  }

  .about-deck {
    padding-bottom: 0;
  }

  .archetypes-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --page-padding: 20px;
  }

  .site-header {
    position: absolute;
  }

  h1 {
    font-size: 52px;
    line-height: 0.92;
  }

  h2 {
    font-size: 42px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero-carousel {
    aspect-ratio: 1 / 1.08;
  }

  .archetypes-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .statement p {
    font-size: 18px;
    line-height: 1.4;
  }

  h2 {
    line-height: 0.95;
  }

  .about-principles {
    display: block;
    text-align: center;
  }

  .principle {
    margin: 20px 0;
  }

  form {
    flex-direction: column;
    border-radius: 28px;
  }

  input {
    min-height: 48px;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
  }
}
