/* Jessica Unger — media strategist. Palette and type lifted from the CV:
   white ground, bold black Helvetica-style headlines, thin black rules,
   soft blurred peach / pink / lilac gradient blobs. */

:root {
  --ink: #111111;
  --muted: #555555;
  --paper: #ffffff;
  --rule: rgba(17, 17, 17, 0.85);
  --rule-light: rgba(17, 17, 17, 0.15);
  --apricot: #f6a96c;
  --peach: #f9c99b;
  --pink: #ee6fa8;
  --coral: #f0875c;
  --lilac: #c7a5e8;
  --violet: #b39ce4;
  --max: 1080px;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  font-size: 100%;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  scroll-padding-top: 3.4rem;
}

@media (max-width: 600px) {
  html { scroll-padding-top: 5.6rem; }
}

body {
  font-family: "Helvetica Neue", Helvetica, Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
  position: relative;
  z-index: 1;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem var(--pad);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-light);
}

.nav-name {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.05rem;
  white-space: nowrap;
}

.nav nav {
  display: flex;
  gap: clamp(0.9rem, 3vw, 2rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.nav nav a:hover,
.nav nav a.active { border-color: var(--pink); }

/* section dot navigation */

.dots {
  position: fixed;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 20;
}

.dots a {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.22);
  transition: background 0.25s ease, transform 0.25s ease;
}

.dots a:hover { background: rgba(17, 17, 17, 0.5); }

.dots a.active {
  background: var(--ink);
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .dots { display: none; }
}

@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }
  .nav nav { justify-content: center; gap: 1rem; }
  .nav nav a { font-size: 0.85rem; }
}

/* ---------- gradient blobs ---------- */

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.blob-hero-left {
  top: -18%; left: -12%;
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(closest-side, var(--peach) 0%, var(--pink) 55%, transparent 75%);
  opacity: 0.6;
}

.blob-hero-right {
  top: -22%; right: -14%;
  width: 52vw; height: 52vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(closest-side, var(--apricot) 0%, var(--coral) 45%, var(--pink) 70%, transparent 82%);
  opacity: 0.55;
}

.blob-results {
  bottom: -12%; right: -16%;
  width: 44vw; height: 44vw;
  max-width: 560px; max-height: 560px;
  background: radial-gradient(closest-side, var(--lilac) 0%, var(--violet) 55%, transparent 78%);
  opacity: 0.4;
}

.blob-contact-left {
  bottom: -30%; left: -10%;
  width: 48vw; height: 48vw;
  max-width: 620px; max-height: 620px;
  background: radial-gradient(closest-side, var(--lilac) 0%, var(--pink) 60%, transparent 80%);
  opacity: 0.5;
}

.blob-contact-right {
  bottom: -34%; right: -8%;
  width: 44vw; height: 44vw;
  max-width: 560px; max-height: 560px;
  background: radial-gradient(closest-side, var(--peach) 0%, var(--apricot) 55%, transparent 78%);
  opacity: 0.55;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 3.4rem);
  min-height: calc(100svh - 3.4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vh, 4rem) 0;
  text-align: center;
  scroll-snap-align: start;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(3.2rem, 12vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 1.6rem;
}

.tagline {
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  line-height: 1.45;
  max-width: 44ch;
  margin: 0 auto 2.2rem;
}

.hero-cta { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  transition: transform 0.15s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); }

/* ---------- sections ---------- */

.section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 3.4rem);
  min-height: calc(100svh - 3.4rem);
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 9vh, 6rem) 0;
  scroll-snap-align: start;
}

.section .wrap { width: 100%; }

.section h2 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  border-top: 1.5px solid var(--rule);
  padding-top: 1.1rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

/* work with me */

.audience { margin-bottom: clamp(2.4rem, 6vw, 4rem); }
.audience:last-child { margin-bottom: 0; }

.audience h3 {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.audience-intro {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 1.6rem;
}

.offers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 720px) {
  .offers { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.offer {
  border-top: 1px solid var(--rule-light);
  padding-top: 1rem;
}

.offer h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.offer p { font-size: 0.95rem; color: var(--muted); }

/* results */

.results { list-style: none; }

.results li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule-light);
}

@media (min-width: 720px) {
  .results li { grid-template-columns: 220px 1fr; }
}

.results strong {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.results span { color: var(--muted); font-size: 0.98rem; }

.ticker {
  margin-top: clamp(2.2rem, 5vw, 3.4rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 45s linear infinite;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-set {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-right: clamp(2rem, 5vw, 3.5rem);
}

.ticker img {
  width: auto;
  filter: grayscale(1) contrast(0.85);
  opacity: 0.55;
  mix-blend-mode: multiply;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.ticker img:hover { filter: grayscale(0); opacity: 1; }

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

/* writing */

.latest-post {
  display: block;
  text-decoration: none;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  max-width: 640px;
  margin-bottom: 2rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  background: rgba(255, 255, 255, 0.7);
}

.latest-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -18px rgba(238, 111, 168, 0.8);
}

.latest-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--coral), var(--pink), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.latest-title {
  display: block;
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.latest-date {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.subscribe { max-width: 640px; }

.subscribe iframe {
  display: block;
  border: 1px solid var(--rule-light);
  border-radius: 14px;
  background: #fff;
}

.sub-note { margin-top: 0.8rem; font-size: 0.9rem; }
.sub-note a { color: var(--ink); }

/* contact */

.section-contact { text-align: center; padding-bottom: clamp(5rem, 14vh, 9rem); }

.section-contact h2 { border-top: none; padding-top: 0; font-size: clamp(2.6rem, 8vw, 5rem); }

.contact-line { color: var(--muted); margin-bottom: 1.6rem; }

.contact-email a {
  font-size: clamp(1.3rem, 4.5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid;
  border-image: linear-gradient(90deg, var(--apricot), var(--pink), var(--violet)) 1;
  padding-bottom: 0.15rem;
}

.contact-links { margin-top: 1.6rem; color: var(--muted); }
.contact-links a { color: var(--ink); font-weight: 600; }
.contact-links .dot { margin: 0 0.6rem; }

/* footer */

.footer {
  border-top: 1px solid var(--rule-light);
  padding: 1.6rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .latest-post { transition: none; }
  .blob { transform: none !important; }
  .ticker-track {
    animation: none;
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
  }
  .ticker-set[aria-hidden="true"] { display: none; }
  .ticker { -webkit-mask-image: none; mask-image: none; }
}
