/* =============================================================
   Emily Howe — Howe I Live My Life
   Light cream theme (cream / sage / terracotta / blush).
   Edit tokens below.
   ============================================================= */
:root {
  --bg: #fbf5ea;        /* cream base */
  --bg-warm: #fdf0dd;   /* warmer cream */
  --ink: #3a2f26;       /* warm charcoal text */
  --ink-soft: #8a7b6b;  /* muted taupe */
  --sage: #9caf88;      /* sage green */
  --terracotta: #c9764f;/* warm terracotta */
  --blush: #f4a6c0;     /* soft blush */
  --line: rgba(58, 47, 38, 0.12);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; } /* Lenis handles smooth scroll */

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.85em; }

/* Soft grain */
.grain { position: fixed; inset: 0; z-index: 9999; pointer-events: none; }
.grain::after {
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.025;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 56px);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(251, 245, 234, 0.8);
  backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.01em; }
.nav__mark { color: var(--blush); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); font-size: 0.92rem; }
.nav__links a { color: var(--ink-soft); transition: color 0.25s; font-weight: 500; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  padding: 8px 18px; border-radius: 999px;
  background: linear-gradient(120deg, var(--blush), var(--terracotta));
  color: #fff !important; font-weight: 600;
  box-shadow: 0 6px 18px rgba(244, 166, 192, 0.35);
}
.nav__cta:hover { filter: brightness(1.04); }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 0 24px; overflow: hidden;
  background:
    radial-gradient(120% 80% at 15% 15%, rgba(244,166,192,0.28), transparent 55%),
    radial-gradient(110% 80% at 85% 20%, rgba(156,175,136,0.26), transparent 55%),
    radial-gradient(120% 90% at 50% 100%, rgba(201,118,79,0.24), transparent 60%),
    var(--bg-warm);
}
/* Floating gradient orbs — shared by hero + beliefs */
.orb { position: absolute; border-radius: 50%; filter: blur(44px); opacity: 0.55; will-change: transform; }
.orb--blush { background: radial-gradient(circle at 50% 50%, rgba(244,166,192,0.9), transparent 70%); }
.orb--sage { background: radial-gradient(circle at 50% 50%, rgba(156,175,136,0.85), transparent 70%); }
.orb--terracotta { background: radial-gradient(circle at 50% 50%, rgba(201,118,79,0.8), transparent 70%); }
@keyframes float1 { from { transform: translate(-4%, -3%) scale(1); } to { transform: translate(6%, 5%) scale(1.12); } }
@keyframes float2 { from { transform: translate(3%, 4%) scale(1.05); } to { transform: translate(-5%, -4%) scale(0.95); } }
@keyframes float3 { from { transform: translate(-3%, 2%) scale(1); } to { transform: translate(4%, -4%) scale(1.1); } }

.hero__orbs { position: absolute; inset: 0; z-index: 1; }
.hero__orbs .orb { width: 46vmax; height: 46vmax; }
.hero__orbs .orb--blush { top: -12%; left: -8%; animation: float1 18s ease-in-out infinite alternate; }
.hero__orbs .orb--sage { bottom: -16%; right: -10%; animation: float2 22s ease-in-out infinite alternate; }
.hero__orbs .orb--terracotta { top: 28%; left: 54%; width: 34vmax; height: 34vmax; opacity: 0.4; animation: float3 26s ease-in-out infinite alternate; }

.hero__inner { position: relative; z-index: 2; max-width: 900px; }
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.35em; font-size: 0.72rem;
  color: var(--ink-soft); margin-bottom: 26px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.8rem, 9vw, 7rem); line-height: 0.98; letter-spacing: -0.02em;
  color: var(--ink);
}
.hero__title em { color: #d98a4f; font-style: italic; }
.hero__sub {
  margin: 28px auto 0; max-width: 560px;
  color: #6f6153; font-size: clamp(1rem, 2.2vw, 1.2rem);
}
.hero__cta { margin-top: 40px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-cue {
  display: inline-flex; flex-direction: column; align-items: center; gap: 12px;
  margin-top: 54px; font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft);
}
.scroll-cue__dot {
  width: 22px; height: 36px; border: 1px solid rgba(58,47,38,0.3); border-radius: 999px; position: relative;
}
.scroll-cue__dot::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 4px; background: var(--blush);
  animation: cue 1.6s ease-in-out infinite;
}
@keyframes cue { 0%,100% { opacity: 0; transform: translate(-50%, 0);} 40% {opacity:1;} 80% { transform: translate(-50%, 12px); opacity: 0;} }

/* ===================== BELIEFS / MANIFESTO ===================== */
.beliefs {
  position: relative; overflow: hidden;
  padding: clamp(90px, 16vw, 200px) clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, var(--bg), var(--bg-warm));
}
.beliefs__orbs { position: absolute; inset: 0; z-index: 0; }
.beliefs__orbs .orb { width: 42vmax; height: 42vmax; opacity: 0.4; }
.beliefs__orbs .orb--sage { top: -16%; left: -12%; animation: float2 24s ease-in-out infinite alternate; }
.beliefs__orbs .orb--blush { bottom: -18%; right: -10%; animation: float1 20s ease-in-out infinite alternate; }
.beliefs__inner {
  position: relative; z-index: 2; max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; gap: clamp(24px, 4vw, 48px); text-align: center;
}
.beliefs__line {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.55rem, 5vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink);
}
.beliefs__line em { color: var(--terracotta); font-style: italic; }

/* ===================== SHARED SECTIONS ===================== */
.section__eyebrow {
  text-transform: uppercase; letter-spacing: 0.32em; font-size: 0.72rem;
  color: #cf7fa0; margin-bottom: 18px;
}
.section__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.8rem, 4.5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.02em;
  max-width: 20ch; color: var(--ink);
}
.section__head { max-width: var(--max); margin: 0 auto clamp(40px, 6vw, 72px); padding: 0 clamp(20px, 5vw, 56px); }
.section__lead { margin-top: 22px; max-width: 56ch; color: #6f6153; font-size: 1.08rem; line-height: 1.6; }

/* WHO THIS IS FOR */
.foryou {
  padding: clamp(80px, 13vw, 160px) clamp(20px, 5vw, 56px);
  background: linear-gradient(180deg, var(--bg), var(--bg-warm));
}
.foryou__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.foryou__title { max-width: 24ch; margin: 0 auto; }
.foryou__lines {
  list-style: none; margin: clamp(30px, 5vw, 52px) auto 0; max-width: 620px;
  display: flex; flex-direction: column; gap: 14px;
}
.foryou__lines li {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.15rem, 3vw, 1.6rem); line-height: 1.35; color: var(--ink);
}
.foryou__lines li:last-child { color: var(--terracotta); }
.foryou__note {
  margin: clamp(32px, 5vw, 52px) auto 0; max-width: 54ch;
  color: #6f6153; font-size: 1.08rem; line-height: 1.6;
}

/* ABOUT */
.about {
  max-width: var(--max); margin: 0 auto; padding: clamp(90px, 14vw, 180px) clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center;
}
.about__media { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(58,47,38,0.10); }
.about__media img { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 4 / 5; }
.about__body { margin-top: 22px; color: #6f6153; font-size: 1.05rem; line-height: 1.6; max-width: 52ch; }
.about__quote {
  margin-top: 30px; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.3; color: var(--ink);
  border-left: 3px solid var(--terracotta); padding-left: 18px; max-width: 30ch;
}
.about__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.about__tags li {
  padding: 7px 15px; border-radius: 999px; font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--ink); background: rgba(156,175,136,0.16); border: 1px solid rgba(156,175,136,0.4);
}

/* THE MESSY ACTION METHOD */
.method {
  padding: clamp(70px, 11vw, 130px) 0;
  background: linear-gradient(180deg, var(--bg-warm), var(--bg));
}
.phases {
  list-style: none; counter-reset: none;
  max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.phase {
  position: relative; padding: 34px 28px 30px; border-radius: 22px;
  border: 1px solid var(--line); background: #fffaf1;
  box-shadow: 0 10px 30px rgba(58,47,38,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.phase:hover { transform: translateY(-6px); border-color: rgba(156,175,136,0.55); box-shadow: 0 20px 44px rgba(156,175,136,0.18); }
.phase__num { font-family: var(--font-display); font-size: 1.4rem; color: var(--terracotta); }
.phase h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; margin: 12px 0 10px; color: var(--ink); }
.phase p { color: #6f6153; font-size: 0.96rem; line-height: 1.5; }

/* WORK WITH ME */
.work {
  max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 44px); align-items: start;
}
.work__h { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-bottom: 18px; }
.work__list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.work__list li { position: relative; padding-left: 28px; color: #5f5347; font-size: 1.02rem; line-height: 1.4; }
.work__list li::before {
  content: "✦"; position: absolute; left: 0; top: 1px; color: var(--terracotta); font-size: 0.9rem;
}
.work__fit { display: flex; flex-direction: column; gap: 18px; }
.fit {
  padding: 26px 26px; border-radius: 20px; border: 1px solid var(--line); background: #fffaf1;
  box-shadow: 0 10px 30px rgba(58,47,38,0.05);
}
.fit h4 { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; color: var(--ink); margin-bottom: 12px; }
.fit ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fit li { position: relative; padding-left: 24px; color: #6f6153; font-size: 0.96rem; line-height: 1.4; }
.fit--yes li::before { content: "→"; position: absolute; left: 0; color: var(--sage); font-weight: 700; }
.fit--no li::before { content: "–"; position: absolute; left: 2px; color: #b7a690; font-weight: 700; }
.work__cta { text-align: center; margin-top: clamp(40px, 6vw, 64px); }
.work__note { margin-top: 16px; color: var(--ink-soft); font-size: 0.9rem; }

/* WRITING (Substack) */
.writing { padding: clamp(20px, 4vw, 40px) 0 clamp(50px, 9vw, 100px); }
.writing[hidden] { display: none; }
.posts {
  max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.post-card {
  display: flex; flex-direction: column; gap: 10px; padding: 28px 26px;
  border-radius: 20px; border: 1px solid var(--line); background: #fffaf1;
  box-shadow: 0 10px 30px rgba(58, 47, 38, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.post-card:hover {
  transform: translateY(-5px); border-color: rgba(244, 166, 192, 0.45);
  box-shadow: 0 20px 44px rgba(244, 166, 192, 0.16);
}
.post-date { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #b08d5b; }
.post-title { font-family: var(--font-display); font-weight: 500; font-size: 1.25rem; line-height: 1.25; color: var(--ink); }
.post-excerpt { color: #6f6153; font-size: 0.95rem; flex: 1 1 auto; }
.post-more { margin-top: 6px; color: #d98a4f; font-weight: 600; font-size: 0.9rem; }
.writing__cta { text-align: center; margin-top: 38px; }

/* YOUTUBE */
.youtube { padding: clamp(20px, 4vw, 40px) 0 clamp(40px, 8vw, 90px); }
.youtube[hidden] { display: none; }
.yt-grid {
  max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.yt-card { display: block; transition: transform 0.35s var(--ease); }
.yt-card:hover { transform: translateY(-5px); }
.yt-thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 34px rgba(58, 47, 38, 0.12); background: #eadfce;
}
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.yt-card:hover .yt-thumb img { transform: scale(1.05); }
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25);
  display: grid; place-items: center; transition: background 0.25s, transform 0.25s var(--ease);
}
.yt-play::after {
  content: ""; margin-left: 3px;
  border-style: solid; border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #d98a4f;
}
.yt-card:hover .yt-play { background: #fff; transform: translate(-50%, -50%) scale(1.08); }
.yt-title {
  display: block; margin-top: 14px; font-family: var(--font-display); font-weight: 500;
  font-size: 1.08rem; color: var(--ink); line-height: 1.3;
}

/* OFFERINGS */
.offerings { padding: clamp(60px, 10vw, 120px) 0; background: linear-gradient(180deg, var(--bg), var(--bg-warm)); }
.cards {
  max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.card {
  padding: 34px 30px; border-radius: 22px;
  border: 1px solid var(--line); background: #fffaf1;
  box-shadow: 0 10px 30px rgba(58,47,38,0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(244,166,192,0.5); box-shadow: 0 20px 44px rgba(244,166,192,0.18); }
.card__icon { font-size: 1.4rem; color: var(--blush); }
.card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; margin: 16px 0 12px; }
.card p { color: #6f6153; font-size: 0.98rem; }
.card__link { display: inline-block; margin-top: 20px; color: #d98a4f; font-weight: 600; }
.card__link:hover { text-decoration: underline; }

/* VOICES */
.voices { padding: clamp(60px, 10vw, 120px) 0; }
.quotes {
  max-width: var(--max); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px;
}
.quotes blockquote {
  padding: 30px 28px; border-radius: 22px;
  border: 1px solid var(--line); background: #fffaf1;
  box-shadow: 0 10px 30px rgba(58,47,38,0.05);
}
.quotes p { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.quotes cite { display: block; margin-top: 18px; color: #cf7fa0; font-style: normal; font-size: 0.85rem; letter-spacing: 0.05em; }

/* CONNECT */
.connect {
  position: relative; padding: clamp(110px, 18vw, 220px) 24px; text-align: center; overflow: hidden;
  background:
    radial-gradient(90% 70% at 50% 35%, rgba(244,166,192,0.28), transparent 60%),
    radial-gradient(80% 70% at 15% 90%, rgba(156,175,136,0.22), transparent 60%),
    radial-gradient(80% 70% at 85% 90%, rgba(201,118,79,0.22), transparent 60%),
    var(--bg-warm);
}
.connect__aura { position: absolute; inset: 0; }
.connect__inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.connect__title {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--ink); text-shadow: 0 2px 26px rgba(255,255,255,0.7);
}
.connect__sub { margin: 24px auto 0; max-width: 480px; color: #6f6153; font-size: 1.1rem; }
/* Signup form */
.signup { margin: 42px auto 0; max-width: 500px; }
.signup__label {
  display: block; text-align: center; font-size: 0.95rem; color: #6f6153; margin-bottom: 16px;
}
.signup__row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 10px; border-radius: 999px; background: #fffdf8;
  border: 1px solid rgba(58, 47, 38, 0.14);
  box-shadow: 0 16px 36px rgba(58, 47, 38, 0.10);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.signup__row:focus-within {
  border-color: rgba(244, 166, 192, 0.65);
  box-shadow: 0 16px 40px rgba(244, 166, 192, 0.22);
}
.signup__input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  padding: 14px 16px; font-family: inherit; font-size: 1rem; color: var(--ink);
}
.signup__input::placeholder { color: #b0a291; }
.signup__btn {
  flex: 0 0 auto; padding: 14px 28px; white-space: nowrap; box-shadow: none;
}
.signup__msg { min-height: 1.3em; margin-top: 14px; text-align: center; font-size: 0.9rem; color: #6f6153; }
.signup__msg[data-state="ok"] { color: #4a8f5b; }
.signup__msg[data-state="err"] { color: #cf6a6a; }

@media (max-width: 460px) {
  .signup__row { flex-direction: column; padding: 10px; border-radius: 20px; }
  .signup__input { width: 100%; text-align: center; }
  .signup__btn { width: 100%; }
}

.connect__actions { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { padding: 15px 30px; border-radius: 999px; font-weight: 600; transition: transform 0.25s var(--ease), filter 0.25s; }
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: linear-gradient(120deg, var(--blush), var(--terracotta)); color: #fff; box-shadow: 0 10px 26px rgba(244,166,192,0.4); }
.btn--primary:hover { filter: brightness(1.05); }
.btn--ghost { border: 1px solid rgba(58,47,38,0.28); color: var(--ink); }
.btn--ghost:hover { border-color: var(--blush); }

/* FOOTER */
.footer {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 30px clamp(20px, 5vw, 56px); border-top: 1px solid var(--line);
  color: var(--ink-soft); font-size: 0.85rem; background: var(--bg-warm);
}
.footer__tag { font-family: var(--font-display); font-style: italic; color: var(--ink); }

/* ===================== REVEAL ===================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .about { grid-template-columns: 1fr; }
  .cards, .quotes, .yt-grid, .posts { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr 1fr; }
  .work { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: min(320px, 90%); text-align: center; }
}

@media (max-width: 560px) {
  .phases { grid-template-columns: 1fr; }
}

/* ===================== ACCESSIBILITY ===================== */
@media (prefers-reduced-motion: reduce) {
  .orb, .scroll-cue__dot::after { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
