/* Lisa Vecchio personal brand site
   Brand guidelines v1.0: watermelon #FF3366, near-black #111118,
   white #FFFFFF, blush #FFF0F3. DM Sans only. No gradients. */

:root {
  --watermelon: #FF3366;
  --ink: #111118;
  --white: #FFFFFF;
  --blush: #FFF0F3;
  --border: #E6E6EB;
  --gray: #494952;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  transition: background-color 0.9s ease;
}

/* Sections let the body color breathe through (JS morphs body bg) */
body.bg-morph .section { background: transparent; }
body.bg-morph .section-ink, body.bg-morph .cta-band { background: var(--ink); }

/* Hand-drawn circle around a hero word */
.circled { position: relative; display: inline-block; }
.circled svg {
  position: absolute; left: -6%; top: -14%; width: 112%; height: 132%;
  overflow: visible; pointer-events: none;
}
.circled path {
  fill: none; stroke: var(--white); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 900; stroke-dashoffset: 900;
  animation: circle-draw 1.1s ease-out 0.9s forwards;
}
@keyframes circle-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .circled path { animation: none; stroke-dashoffset: 0; }
  body { transition: none; }
}

/* Parallax layer */
.hero-photo img, .head-photo img { will-change: transform; }

h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

a { color: var(--watermelon); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.nav-logo {
  font-weight: 700; font-size: 1.15rem; color: var(--watermelon);
  letter-spacing: -0.02em;
}
.nav-logo:hover { text-decoration: none; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--watermelon); text-decoration: none; }
.nav-links a.active { color: var(--watermelon); }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--ink); border-radius: 2px;
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; width: 100%; flex-direction: column;
    align-items: flex-start; gap: 18px; padding: 16px 0 8px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; }
}

.btn {
  display: inline-block;
  background: var(--watermelon); color: var(--white);
  padding: 12px 24px; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; text-decoration: none; color: var(--white); }
.btn-outline {
  background: transparent; color: var(--watermelon);
  border: 2px solid var(--watermelon);
}
.btn-outline:hover { background: var(--watermelon); color: var(--white); }

/* Hero */
.hero { background: var(--ink); color: var(--white); padding: 88px 0; }
.hero .container { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.hero-text { flex: 1 1 480px; }
.hero-text h1 { color: var(--white); margin-bottom: 20px; }
.hero-text h1 .accent { color: var(--watermelon); }
.hero-text p { font-size: 1.15rem; color: #E4E4EA; max-width: 560px; margin-bottom: 28px; }
.hero-photo { flex: 0 1 320px; }
.hero-photo img {
  width: 100%; border-radius: 12px; display: block;
  background: var(--blush); min-height: 380px; object-fit: cover;
}
.hero-eyebrow {
  color: var(--watermelon); font-weight: 700; font-size: 0.9rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px;
}
.hero-award {
  display: inline-block; margin-top: 24px; padding: 8px 18px;
  border: 1px solid rgba(255, 51, 102, 0.5); border-radius: 100px;
  color: #E4E4EA; font-size: 0.9rem; font-weight: 500;
}

/* Dark page header (subpages) */
.page-head { background: var(--ink); color: var(--white); padding: 64px 0; }
.page-head h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 12px; }
.page-head p { color: #E4E4EA; font-size: 1.1rem; max-width: 640px; }

/* Page header with photo (split layout, like homepage hero) */
.page-head-img { padding: 72px 0; }
.page-head-img .container {
  display: flex; align-items: center; gap: 56px; flex-wrap: wrap;
}
.page-head-img .head-text { flex: 1 1 460px; }
.page-head-img .head-photo { flex: 0 1 340px; }
.page-head-img .head-photo img {
  width: 100%; max-height: 360px; object-fit: cover;
  border-radius: 12px; display: block; object-position: center 25%;
}

/* Marquee ticker */
.marquee { background: var(--watermelon); overflow: hidden; padding: 16px 0; }
.marquee-track {
  display: flex; gap: 56px; width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track span {
  color: var(--white); font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.01em; white-space: nowrap;
}
.marquee-track .sep { color: var(--ink); }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
.step { position: relative; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--watermelon); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--gray); font-size: 0.93rem; }

/* Card icons */
.card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blush); color: var(--watermelon);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; flex-shrink: 0;
}
.card-icon svg { width: 24px; height: 24px; }
.card-icon { position: relative; }
.card-icon img { position: absolute; width: 26px; height: 26px; border-radius: 6px; }

/* Sections */
.section { padding: 60px 0; }
.section-blush { background: #FFE2E9; }
.section-ink { background: var(--ink); }
.section-ink h2 { color: var(--white); }
.section-ink > .container > p { color: #EDEDF2; }
.section-ink .card { background: #1B1B24; border-color: #2C2C38; }
.section-ink .card h3 { color: var(--white); }
.section-ink .card p { color: #EDEDF2; }
.section-ink .card:hover { border-color: var(--watermelon); box-shadow: none; }
.section-eyebrow {
  color: var(--watermelon); font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; padding: 32px;
  transition: border-color 0.15s ease;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--watermelon); }
.card h3 { color: var(--ink); }
.card p { color: var(--gray); font-size: 0.98rem; flex-grow: 1; }
.card .card-link { margin-top: 20px; font-weight: 700; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 32px; }
.stat { border-left: 3px solid var(--watermelon); padding-left: 20px; }
.stat .num { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.stat .label { color: var(--gray); font-size: 0.95rem; margin-top: 4px; }

/* Logo strip (text chips until official logo files are added) */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.chip {
  border: 1px solid var(--border); border-radius: 100px;
  padding: 8px 20px; font-weight: 500; font-size: 0.95rem; color: var(--gray);
  background: var(--white);
  display: inline-flex; align-items: center; gap: 8px;
}
.chip img { width: 18px; height: 18px; border-radius: 3px; }

/* Flight path (career journey) */
.flightpath { position: relative; margin-top: 56px; }
.fp-line {
  position: absolute; top: 0; left: 4%; width: 92%; height: 56px; z-index: 0;
}
.fp-line path {
  fill: none; stroke: var(--watermelon); stroke-width: 2.5;
  stroke-dasharray: 8 9; stroke-linecap: round;
  animation: fp-dash 26s linear infinite;
}
@keyframes fp-dash { to { stroke-dashoffset: -680; } }
@media (prefers-reduced-motion: reduce) { .fp-line path { animation: none; } }
.fp-stops { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; z-index: 1; }
.fp-stop { text-align: center; }
.fp-flag {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--watermelon);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(17, 17, 24, 0.08);
}
.fp-stop h3 { font-size: 1.1rem; margin-bottom: 2px; }
.fp-stop .years { color: var(--watermelon); font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 8px; }
.fp-stop p { color: var(--gray); font-size: 0.9rem; max-width: 230px; margin: 0 auto; }
@media (max-width: 760px) {
  .fp-line { display: none; }
  .fp-stops { grid-template-columns: 1fr; gap: 36px; }
}

/* Journey strip (three continents) */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 32px; }
.journey-stop {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; position: relative;
}
.journey-stop .flag { font-size: 2rem; display: block; margin-bottom: 12px; }
.journey-stop h3 { margin-bottom: 2px; }
.journey-stop .years { color: var(--watermelon); font-weight: 700; font-size: 0.9rem; }
.journey-stop p { color: var(--gray); font-size: 0.95rem; margin-top: 10px; }

/* Timeline */
.timeline { position: relative; margin-top: 40px; padding-left: 36px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 3px; background: var(--border); border-radius: 2px;
}
.tl-progress {
  position: absolute; left: 7px; top: 8px; width: 3px; height: 0;
  max-height: calc(100% - 16px);
  background: var(--watermelon); border-radius: 2px; z-index: 1;
}
.tl-entry { position: relative; padding-bottom: 48px; transition: transform 0.2s ease; }
.tl-entry:hover { transform: translateX(8px); }
.tl-entry:last-child { padding-bottom: 0; }
.tl-entry::before {
  content: ""; position: absolute; left: -36px; top: 6px;
  width: 17px; height: 17px; border-radius: 50%;
  background: var(--white); border: 4px solid var(--border);
  transition: border-color 0.4s ease, transform 0.4s ease;
  z-index: 2;
}
.tl-entry.visible::before { border-color: var(--watermelon); transform: scale(1.15); }

/* Ghost year behind each entry */
.tl-year {
  position: absolute; right: 0; top: -18px;
  font-size: clamp(3.5rem, 9vw, 6.5rem); font-weight: 700;
  letter-spacing: -0.04em; line-height: 1;
  color: var(--blush); user-select: none; pointer-events: none;
  z-index: -1;
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.journey-stop:nth-child(2).reveal { transition-delay: 0.12s; }
.journey-stop:nth-child(3).reveal { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Hover lift */
.journey-stop, .card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.journey-stop:hover, .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 17, 24, 0.08);
  border-color: var(--watermelon);
}
.pill { transition: background 0.15s ease, color 0.15s ease; }
.pill:hover { background: var(--watermelon); color: var(--white); }
.tl-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.tl-head img {
  height: 32px; width: auto; max-width: 120px; object-fit: contain; display: block;
}
.tl-head h3 { font-size: 1.4rem; margin: 0; }
.tl-meta { color: var(--gray); font-size: 0.9rem; margin-top: 6px; }
.tl-meta .loc { color: var(--ink); font-weight: 500; }
.tl-role { color: var(--watermelon); font-weight: 700; margin: 6px 0 10px; }
.tl-entry > p.tl-summary { color: var(--gray); font-size: 0.98rem; max-width: 680px; }

/* Metric pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pill {
  background: var(--blush); color: var(--ink); border-radius: 100px;
  padding: 6px 16px; font-size: 0.88rem; font-weight: 500;
}
.pill strong { font-weight: 700; }

/* Pull quote / callout */
.callout {
  background: var(--blush); border-radius: 12px; padding: 32px;
  font-size: 1.15rem; font-weight: 500; color: var(--ink); margin: 32px 0;
}

/* Entrance choreography (page load) */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.hero-text > *, .head-text > * {
  animation: rise-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
}
.hero-text > *:nth-child(1), .head-text > *:nth-child(1) { animation-delay: 0.05s; }
.hero-text > *:nth-child(2), .head-text > *:nth-child(2) { animation-delay: 0.16s; }
.hero-text > *:nth-child(3), .head-text > *:nth-child(3) { animation-delay: 0.27s; }
.hero-text > *:nth-child(4), .head-text > *:nth-child(4) { animation-delay: 0.38s; }
.hero-text > *:nth-child(5), .head-text > *:nth-child(5) { animation-delay: 0.49s; }
.hero-photo, .head-photo { animation: rise-in 0.8s cubic-bezier(0.2, 0.7, 0.3, 1) 0.3s backwards; }
@media (prefers-reduced-motion: reduce) {
  .hero-text > *, .head-text > *, .hero-photo, .head-photo { animation: none; }
}

/* Kinetic ghost type strip */
.ghost-strip { overflow: hidden; padding: 34px 0; background: var(--white); }
.ghost-track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.ghost-track span {
  font-size: clamp(3rem, 7vw, 5.2rem); font-weight: 700;
  letter-spacing: -0.02em; white-space: nowrap; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px var(--watermelon);
}
.ghost-track .sep { -webkit-text-stroke: 0; color: var(--watermelon); }
@media (prefers-reduced-motion: reduce) { .ghost-track { animation: none; } }

/* Reactive service rows */
.value { transition: transform 0.2s ease; }
.value .v-num {
  color: transparent; -webkit-text-stroke: 2px var(--watermelon);
  transition: color 0.2s ease;
}
.value:hover { transform: translateY(-4px); }
.value:hover .v-num { color: var(--watermelon); }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--watermelon); z-index: 200;
}

/* Squiggle accent */
.squig { display: block; width: 110px; height: 12px; margin: 4px 0 8px; }
.squig path { stroke: var(--watermelon); stroke-width: 3; fill: none; stroke-linecap: round; }

/* Quote avatars (initials until photos are added to images/people/) */
.quote-attrib { display: flex; align-items: center; gap: 12px; }
.feature-quote .quote-attrib { justify-content: center; text-align: left; }
.q-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--watermelon); color: var(--white);
  font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.q-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Timeline meta icon */
.tl-meta svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; color: var(--watermelon); }

/* Publication favicons in link items */
.li-icon { position: relative; }
.li-icon img { position: absolute; width: 20px; height: 20px; border-radius: 4px; }

/* Testimonials */
.feature-quote {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.feature-quote .qmark {
  color: var(--watermelon); font-size: 4rem; font-weight: 700; line-height: 0.5;
  display: block; margin-bottom: 20px;
}
.feature-quote blockquote {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 500;
  letter-spacing: -0.01em; line-height: 1.45; color: var(--ink);
}
.feature-quote .quote-attrib { margin-top: 24px; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.quote-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 28px; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(17, 17, 24, 0.08);
  border-color: var(--watermelon);
}
.quote-card .qmark { color: var(--watermelon); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.quote-card blockquote { color: var(--ink); font-size: 0.98rem; margin: 10px 0 0; flex-grow: 1; }
.quote-attrib { margin-top: 18px; font-size: 0.85rem; color: var(--gray); }
.quote-attrib strong { color: var(--ink); display: block; font-size: 0.92rem; }

/* Link lists (podcasts, op-eds) */
.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 24px; }
.link-item {
  border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px;
  color: var(--ink); font-weight: 500; font-size: 0.95rem;
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
}
.link-item:hover { border-color: var(--watermelon); text-decoration: none; color: var(--watermelon); transform: translateY(-2px); }
.link-item .li-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--blush); color: var(--watermelon);
  display: flex; align-items: center; justify-content: center;
}
.link-item .li-icon svg { width: 18px; height: 18px; }
.link-item .li-text span { display: block; color: var(--gray); font-weight: 400; font-size: 0.85rem; margin-top: 2px; }

/* Editorial values list (no boxes) */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px 56px; margin-top: 44px; }
.value .v-num {
  font-size: 2.8rem; font-weight: 700; color: var(--watermelon);
  letter-spacing: -0.03em; line-height: 1;
}
.value h3 { margin-top: 12px; margin-bottom: 6px; }
.value p { color: var(--gray); font-size: 0.95rem; }

/* Borderless quote tiles */
.quotes .quote-card { border: none; background: var(--blush); }
.quotes .quote-card:hover { border: none; box-shadow: 0 12px 28px rgba(17, 17, 24, 0.08); }

/* Credential rows (dark, no boxes) */
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px 48px; margin-top: 44px; }
.cred { display: flex; gap: 18px; align-items: flex-start; }
.cred .card-icon { margin-bottom: 0; }
.cred h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 4px; }
.cred p { color: #E4E4EA; font-size: 0.92rem; }

/* Photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 32px; }
.photo-grid figure { margin: 0; }
.photo-grid figure:nth-child(odd) img { transform: rotate(-1.3deg); }
.photo-grid figure:nth-child(even) img { transform: rotate(1.1deg); }
.photo-grid img { transition: transform 0.25s ease; }
.photo-grid figure:hover img { transform: rotate(0) scale(1.02); }
.photo-grid img {
  width: 100%; border-radius: 12px; background: var(--blush);
  height: 280px; object-fit: cover; display: block;
}
.photo-grid figcaption { font-size: 0.85rem; color: var(--gray); margin-top: 8px; font-weight: 500; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); padding: 64px 0; text-align: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #E4E4EA; max-width: 520px; margin: 0 auto 28px; }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.footer p { color: var(--gray); font-size: 0.9rem; }
.footer .footer-icons { display: flex; gap: 16px; }
.footer .footer-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--watermelon);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.footer .footer-icons a:hover {
  background: var(--watermelon); color: var(--white);
  border-color: var(--watermelon); text-decoration: none;
}
.footer .footer-icons svg { width: 18px; height: 18px; display: block; }

@media (max-width: 640px) {
  .hero { padding: 56px 0; }
  .section { padding: 40px 0; }
  .nav-links { gap: 16px; }
}
