/* =========================================================
   Kristy Vuong, Marketing Portfolio
   Aesthetic: soft, feminine, coquette / "clean girl", celestial &
   moonlit, golden-hour warmth. Romantic serif + soft rounded sans.
   (Derived from the Aesthetic notes in kristyinfo.md)
   ========================================================= */

:root {
  /* warm ivory / golden-hour base */
  --cream:        #FCF7F1;
  --cream-deep:   #F5EBDF;
  /* coquette blush + lilac */
  --blush:        #F2D7DB;
  --blush-deep:   #E2AEB7;
  --lilac:        #E0D6EF;
  --lilac-deep:   #C4B4E1;
  /* muted champagne gold accent */
  --gold:         #C2A36B;
  --gold-deep:    #A6824A;
  /* soft plum/mauve ink */
  --plum:         #5C4E59;
  --plum-deep:    #3E3340;
  --rose-text:    #936E78;
  --white:        #FFFDFB;

  --shadow-soft:  0 18px 50px -22px rgba(120, 86, 100, 0.45);
  --shadow-card:  0 14px 40px -20px rgba(120, 86, 100, 0.40);
  --radius:       22px;
  --maxw:         1120px;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Quicksand', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--plum);
  background:
    radial-gradient(1200px 600px at 80% -5%, var(--blush) 0%, transparent 55%),
    radial-gradient(900px 500px at 0% 10%, var(--lilac) 0%, transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* film-grain overlay for the soft, analog texture */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--plum-deep); font-weight: 600; margin: 0; }

a { color: inherit; }

section { padding: 92px 24px; max-width: var(--maxw); margin: 0 auto; }

.center { text-align: center; }

/* ---------- shared bits ---------- */
.eyebrow, .section-eyebrow {
  font-family: var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.section-eyebrow.center { display: block; }

.section-title {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.08;
  margin-bottom: 12px;
}
.section-sub { max-width: 620px; margin: 0 auto 38px; color: var(--rose-text); }
.section-eyebrow.center + .section-title { margin-top: 0; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blush-deep), var(--lilac-deep));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -20px rgba(180, 120, 150, 0.6); }
.btn--ghost {
  background: rgba(255,255,255,0.55);
  color: var(--plum-deep);
  border: 1px solid var(--blush-deep);
}
.btn--ghost:hover { transform: translateY(-2px); background: rgba(255,255,255,0.85); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 54px);
  background: rgba(252, 247, 241, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(194, 163, 107, 0.18);
}
.nav__brand { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; text-decoration: none; color: var(--plum-deep); }
.nav__links { display: flex; gap: 26px; align-items: center; }
.nav__links a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--plum); transition: color 0.15s; }
.nav__links a:hover { color: var(--gold-deep); }
.nav__cta {
  background: var(--plum-deep);
  color: var(--white) !important;
  padding: 9px 18px;
  border-radius: 999px;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 80px;
  position: relative;
}
.hero__sparkle { position: absolute; font-family: var(--serif); color: var(--gold); opacity: 0.5; font-size: 1.4rem; letter-spacing: 0.3em; }
.hero__sparkle--1 { top: 30px; right: 10%; }
.hero__sparkle--2 { bottom: 40px; left: 4%; }
.hero__name {
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.5px;
  margin: 6px 0 18px;
  background: linear-gradient(120deg, var(--plum-deep) 0%, var(--rose-text) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline { font-size: 1.18rem; max-width: 480px; color: var(--plum); }
.hero__tagline em { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold-deep); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 30px 0 38px; }
.hero__stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--serif); font-size: 2rem; color: var(--plum-deep); line-height: 1; }
.hero__stats span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose-text); margin-top: 4px; }

/* ---------- photo frames (image placeholders) ---------- */
.photo-frame {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(242,215,219,0.85), rgba(224,214,239,0.85));
  border: 1.5px dashed rgba(166, 130, 74, 0.45);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame__hint {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-align: center;
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  line-height: 1.8;
  opacity: 0.85;
}
.photo-frame--portrait { aspect-ratio: 3 / 4; }
.photo-frame--square   { aspect-ratio: 1 / 1; }
.photo-frame--tall     { aspect-ratio: 3 / 4; }
.hero__photo .photo-frame { transform: rotate(1.5deg); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 54px; align-items: center; }
.about__text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; margin-bottom: 18px; }
.about__text p { margin: 0 0 16px; }
.about__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 0; }
.about__chips li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--lilac-deep);
  color: var(--plum-deep);
}

/* ---------- by the numbers ---------- */
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.stat-card {
  background: rgba(255, 253, 251, 0.7);
  border: 1px solid rgba(194, 163, 107, 0.25);
  border-radius: var(--radius);
  padding: 34px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease;
}
.stat-card:hover { transform: translateY(-4px); }
.stat-card__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(120deg, var(--blush-deep), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card__label { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--rose-text); }

/* ---------- featured work / reels ---------- */
.reel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.reel-card {
  background: rgba(255, 253, 251, 0.78);
  border: 1px solid rgba(194, 163, 107, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}
.reel-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -22px rgba(150, 100, 130, 0.5); }
.reel-card.is-top { border-color: var(--gold); }

.reel-ribbon {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
}

.reel-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  background: linear-gradient(150deg, var(--lilac) 0%, var(--blush) 100%);
  overflow: hidden;
}
.reel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-thumb__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gold-deep);
  font-family: var(--serif);
  letter-spacing: 0.12em;
  text-align: center;
  padding: 16px;
}
.reel-thumb__play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.reel-thumb__play::after {
  content: "";
  display: block;
  margin-left: 4px;
  border-left: 16px solid var(--blush-deep);
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.reel-views-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(62, 51, 64, 0.78);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.reel-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.reel-caption { margin: 0; font-size: 0.96rem; color: var(--plum); flex: 1; }
.reel-metrics { display: flex; flex-wrap: wrap; gap: 8px; }
.reel-metric {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(224, 214, 239, 0.6);
  color: var(--plum-deep);
  border: 1px solid var(--lilac-deep);
}
.reel-metric--views { background: rgba(242, 215, 219, 0.7); border-color: var(--blush-deep); }
.reel-watch {
  margin-top: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--gold-deep);
  transition: gap 0.15s;
}
.reel-watch:hover { color: var(--plum-deep); }

/* ---------- gallery strip ---------- */
.gallery__strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.gallery__strip .photo-frame:nth-child(odd) { transform: rotate(-1.5deg); }
.gallery__strip .photo-frame:nth-child(even) { transform: rotate(1.5deg); }

/* ---------- experience timeline ---------- */
.timeline { max-width: 820px; margin: 0 auto; position: relative; padding-left: 26px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--blush-deep), var(--lilac-deep));
}
.timeline__item { position: relative; padding: 0 0 36px 26px; }
.timeline__item::before {
  content: "✦";
  position: absolute;
  left: -25px; top: 0;
  color: var(--gold);
  font-size: 0.9rem;
}
.timeline__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.timeline__head h3 { font-size: 1.35rem; }
.timeline__date { font-size: 0.82rem; color: var(--rose-text); white-space: nowrap; }
.timeline__org { margin: 2px 0 10px; font-weight: 600; color: var(--gold-deep); }
.timeline__item ul { margin: 0; padding-left: 18px; }
.timeline__item li { margin-bottom: 6px; }
.education {
  max-width: 820px;
  margin: 14px auto 0;
  padding: 22px 26px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--lilac-deep);
  border-radius: var(--radius);
  text-align: center;
}
.education p { margin: 4px 0; }

/* ---------- skills ---------- */
.skills__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.skills__col {
  background: rgba(255, 253, 251, 0.6);
  border: 1px solid rgba(194, 163, 107, 0.22);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.skills__col h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--gold-deep); }
.skills__col p { margin: 0; color: var(--plum); }

/* ---------- contact ---------- */
.contact { padding-top: 40px; }
.contact__inner {
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(242,215,219,0.7), transparent 70%),
    rgba(255, 253, 251, 0.65);
  border: 1px solid rgba(194, 163, 107, 0.25);
  border-radius: 34px;
  padding: 64px 30px;
  box-shadow: var(--shadow-card);
}
.contact__links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer {
  text-align: center;
  padding: 38px 24px 54px;
  color: var(--rose-text);
  font-size: 0.88rem;
}

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 36px; }
  .hero__photo { max-width: 360px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { max-width: 360px; margin: 0 auto; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .skills__grid { grid-template-columns: 1fr; }
  .gallery__strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  section { padding: 64px 18px; }
  .nav__links { gap: 14px; }
  .nav__links a:not(.nav__cta) { display: none; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 20px; }
}
