/*
  Title font: Cy Grotesk V3 Wide. It's a paid font, so it isn't loaded from a CDN.
  Once you have the licensed web font files, put them in a fonts/ folder and
  uncomment this block. Until then, Archivo Expanded (loaded in index.html) is used.

@font-face {
  font-family: "Cy Grotesk V3 Wide";
  src: url("fonts/CyGroteskV3-WideBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
*/

:root {
  /* Brand palette */
  --sky: #b2c6e7;
  --blue: #4a69a0;
  --cream: #f2f0e4;
  --white: #ffffff;
  --grey: #f2f2f2;

  /* Supporting shades */
  --navy: #2d446a;
  --navy-deep: #22335a;
  --mist: #dce5f5;
  --ink-soft: #4b5b78;

  --radius: 28px;
  --font-title: "Cy Grotesk V3 Wide", "Archivo", system-ui, sans-serif;
  --font-body: "Open Sauce Sans", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  letter-spacing: 0.01em;
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

/* The wide, heavy, uppercase title style from the deck */
h1,
.kicker,
.logo {
  font-family: var(--font-title);
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--blue);
}

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

.section { padding: clamp(72px, 10vw, 120px) 0; }
.section--white { background: var(--white); }

.kicker {
  display: block;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 18px;
}
.kicker--icon { display: flex; align-items: center; gap: 14px; }
.kicker--icon svg { width: 0.95em; height: 0.95em; flex: none; }

.intro { max-width: 860px; color: var(--ink-soft); font-size: 1.1rem; }
.rule { border: 0; border-top: 2px solid var(--blue); margin: 48px 0; }

svg { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  font: 700 1rem var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(34, 51, 90, 0.6);
}
.btn--small { padding: 9px 20px; font-size: 0.9rem; }
.btn--ghost,
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover,
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--dark { background: var(--navy); border-color: var(--navy); }
.btn--light { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--sky); border-color: var(--sky); color: var(--navy-deep); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 240, 228, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.is-scrolled { border-bottom-color: rgba(74, 105, 160, 0.25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-size: 1.15rem; text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav__links a:not(.btn):hover { color: var(--blue); }
.nav__toggle { display: none; }

/* Hero */
.hero { padding: 24px 0 0; overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; min-height: calc(100vh - 76px); max-height: 900px; }
.hero__copy { position: relative; z-index: 2; padding-bottom: clamp(48px, 9vh, 110px); }
.hero h1 {
  font-size: clamp(1.9rem, 8.6vw, 6.4rem);
  line-height: 0.92;
  margin-bottom: 24px;
  width: 125%;
}
.lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 700; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero__role { font-size: 0.95rem; letter-spacing: 0.04em; margin: 0; }

.hero__visual { position: relative; align-self: end; }
.hero__photo { width: 100%; max-width: 560px; margin-left: auto; }
.hero__matcha {
  position: absolute;
  width: 19%;
  left: 31%;
  top: 53%;
  transform: rotate(8deg);
  filter: drop-shadow(0 0 0 #fff) drop-shadow(3px 3px 0 #fff) drop-shadow(-3px -3px 0 #fff);
  animation: bob 5s ease-in-out infinite;
}
.bubble {
  position: absolute;
  top: 2%;
  left: 2%;
  padding: 24px 40px;
  background: var(--white);
  border: 4px solid #111;
  border-radius: 50% 48% 52% 46% / 55% 50% 50% 45%;
  font: 900 clamp(1.1rem, 2vw, 1.7rem) var(--font-title);
  font-stretch: 125%;
  color: #111;
  transform: rotate(-6deg);
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -26px;
  left: 30%;
  width: 26px;
  height: 30px;
  background: var(--white);
  border: 4px solid #111;
  border-top: 0;
  border-right: 0;
  transform: skewX(-25deg);
  border-radius: 0 0 0 4px;
}

@keyframes bob {
  0%, 100% { transform: rotate(8deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-8px); }
}

/* Who I work with */
.pills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pill {
  position: relative;
  padding: 40px 48px 48px;
  border: 2px solid var(--blue);
  border-radius: 80px;
  min-height: 220px;
  overflow: hidden;
}
.pill p { max-width: 82%; margin: 0; }
.pill__icon { position: absolute; right: 28px; bottom: 18px; width: 84px; height: 84px; color: var(--blue); }
.pill--grey { background: var(--grey); }
.pill--mist { background: var(--mist); }
.pill--sky { background: var(--sky); }
.pill--blue { background: var(--blue); color: var(--white); border-color: var(--navy-deep); }
.pill--blue .pill__icon { color: var(--sky); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px 80px; }
.benefit svg { width: 72px; height: 72px; color: var(--blue); margin-bottom: 14px; }
.benefit p { color: var(--ink-soft); margin: 0; }
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 64px;
  padding: 22px 32px;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--navy-deep);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}
.banner:hover { background: var(--navy-deep); }

/* How we'll work */
.subhead { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 6px; }
.sub-intro { color: var(--ink-soft); max-width: 720px; }
.prism {
  list-style: none;
  padding: 0;
  margin: 40px 0 72px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.prism li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border: 2px solid var(--blue);
  border-radius: 22px;
  transition: transform 0.25s;
}
.prism li:hover { transform: translateY(-6px); }
.prism li:nth-child(1) { background: var(--grey); }
.prism li:nth-child(2) { background: var(--mist); }
.prism li:nth-child(3) { background: var(--sky); }
.prism li:nth-child(4) { background: var(--blue); color: var(--white); }
.prism li:nth-child(5) { background: var(--navy-deep); color: var(--white); border-color: #111; }
.prism__letter { font: 900 2.6rem/1 var(--font-title); font-stretch: 125%; margin-bottom: 10px; }
.prism strong { text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.prism li span:last-child { font-size: 0.98rem; opacity: 0.9; }

.human-design { display: grid; grid-template-columns: 1fr 260px; gap: 64px; align-items: center; }
.human-design__tag { font-weight: 700; margin-bottom: 6px; }
.human-design p:last-child { color: var(--ink-soft); margin: 0; }
.prism-mark { width: 100%; color: var(--blue); stroke-width: 5; }

/* Services */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.plan {
  display: flex;
  flex-direction: column;
  padding: 56px 36px 40px;
  border: 2px solid var(--blue);
  border-radius: 64px;
  text-align: center;
}
.plan h3 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
.plan__meta { font-weight: 700; }
.plan__receive { font-weight: 700; margin: 8px 0 6px; }
.plan ul { text-align: left; padding-left: 1.2em; margin: 0 0 32px; flex: 1; }
.plan li { margin-bottom: 6px; }
.plan .btn { align-self: center; }
.plan--grey { background: var(--grey); }
.plan--sky { background: var(--sky); color: var(--navy-deep); }
.plan--blue { background: var(--blue); color: var(--white); border-color: #111; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.about h2 { font-size: clamp(1.3rem, 2vw, 1.5rem); }
.about__lead { font-size: 1.15rem; font-weight: 500; }
.about__photo,
.contact__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 64px;
}
.about__photo { object-position: 50% 12%; background: #d8dee6; }
.stats { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: center; color: var(--blue); }
.stats svg { width: 56px; height: 56px; margin: 0 auto 8px; }
.stats strong { display: block; font-size: 1.25rem; }
.stats span { display: block; font-size: 0.9rem; font-weight: 700; line-height: 1.35; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.contact__copy h3.kicker { margin-top: 48px; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.contact__copy > p { max-width: 520px; }
.contact__copy .btn { margin: 8px 0 18px; }
.contact__note { color: var(--ink-soft); }
.contact__email { font-weight: 700; font-size: 1.2rem; }
.contact__email:hover { color: var(--blue); }
.contact__photo { object-position: 60% 50%; }

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); padding: 36px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .logo { color: var(--white); font-size: 1rem; }
.footer p { margin: 0; font-size: 0.9rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1080px) {
  .nav__links { gap: 20px; }
  .prism { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero h1 { width: auto; }
  .hero__copy { padding: 24px 0 8px; }
  .hero__visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .pills,
  .benefits,
  .plans,
  .about,
  .contact,
  .human-design { grid-template-columns: 1fr; }
  .about,
  .contact { gap: 48px; }
  .about__photo,
  .contact__photo { max-width: 480px; margin-inline: auto; }
  .prism-mark { max-width: 220px; }
}

@media (max-width: 760px) {
  .nav__toggle {
    display: grid;
    gap: 6px;
    padding: 10px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav__toggle span { display: block; width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform 0.25s; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 20px 24px;
    background: var(--cream);
    border-bottom: 1px solid rgba(74, 105, 160, 0.25);
    display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a:not(.btn) { padding: 12px 0; font-size: 1.1rem; }
  .nav__links .btn { margin-top: 8px; }
  .logo { font-size: 1rem; }
  .pill { border-radius: 48px; padding: 32px 28px 96px; }
  .pill p { max-width: none; }
  .pill__icon { width: 64px; height: 64px; }
  .banner { border-radius: 28px; }
  .prism { grid-template-columns: 1fr 1fr; }
  .prism li:last-child { grid-column: span 2; }
  .plan { border-radius: 44px; padding: 44px 24px 32px; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .about__photo,
  .contact__photo { border-radius: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
