/* ─── Variables ───────────────────────────────────────────────────────────── */
:root {
  --cream:        #FFF5F0;
  --cream-dark:   #FAE8DF;
  --peach:        #F4A595;
  --peach-light:  #F9C9BC;
  --pink:         #F9D5D5;
  --blush:        #FDEAE6;
  --text:         #1A1410;
  --text-mid:     #4A3B35;
  --text-muted:   #8C7B74;
  --rule:         #D9C5BD;
  --rule-strong:  #B8A09A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease-spring:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out:     cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  --max-w:   1200px;
  --gutter:  clamp(1.5rem, 5vw, 5rem);
}

/* ─── Reset ───────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a { color: inherit; text-decoration: none; }

/* ─── Shared utilities ────────────────────────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.thin-rule {
  width: 3rem;
  height: 1px;
  background: var(--rule-strong);
  margin: 0.35rem auto;
}

/* Section dividers — wipe in from left on scroll */
.section-rule {
  width: 100%;
  height: 1px;
  background: var(--rule);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.75s var(--ease-out) 0.15s;
}

.section-rule.is-visible {
  transform: scaleX(1);
}

/* ─── Scroll reveal ───────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity  0.75s var(--ease-spring),
    transform 0.75s var(--ease-spring);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.18s; }
.reveal.delay-3 { transition-delay: 0.28s; }

/* ─── Hero entrance (JS adds .hero-loaded to <body>) ─────────────────────── */
.hero__name-first,
.hero__name-last,
.hero__sub,
.hero__photo-wrap {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity  0.95s var(--ease-spring),
    transform 0.95s var(--ease-spring);
}

body.hero-loaded .hero__name-first { opacity: 1; transform: translateY(0); }
body.hero-loaded .hero__name-last  { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
body.hero-loaded .hero__sub        { opacity: 1; transform: translateY(0); transition-delay: 0.32s; }
body.hero-loaded .hero__photo-wrap { opacity: 1; transform: translateY(0); transition-delay: 0.52s; }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  padding: var(--gutter);
  padding-top: clamp(2rem, 7vh, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-md);
  align-items: start;
  flex: 1;
  margin-bottom: var(--space-lg);
}

.hero__text {
  padding-top: clamp(1rem, 4vh, 3rem);
}

.hero__name {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
}

.hero__name-first {
  font-size: clamp(5rem, 18vw, 14rem);
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero__name-last {
  font-size: clamp(4rem, 14vw, 11rem);
  letter-spacing: -0.025em;
  color: var(--peach);
}

.hero__sub {
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  color: var(--text-mid);
  letter-spacing: 0.04em;
}

/* Photo column — pushed down for editorial asymmetry */
.hero__photo-wrap {
  margin-top: 6rem;
}

.hero__photo {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  filter: contrast(1.03) saturate(0.9);
  /* Parallax translateY applied inline by JS */
  will-change: transform;
}

.hero__photo-caption {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── TICKER ──────────────────────────────────────────────────────────────── */
.ticker {
  padding: 0.9rem 0;
  overflow: hidden;
  background: var(--blush);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.ticker__track {
  display: flex;
  overflow: hidden;
}

.ticker__inner {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  color: var(--text-mid);
  letter-spacing: 0.03em;
  animation: ticker-scroll 45s linear infinite;
  /* gap between original span and its clone */
  padding-right: 2rem;
}

.ticker__sep {
  color: var(--peach);
  font-style: normal;
  opacity: 0.85;
}

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

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

/* ─── ABOUT ───────────────────────────────────────────────────────────────── */
.about {
  padding: var(--space-xl) var(--gutter);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  max-width: var(--max-w);
  margin: 0 auto;
}

.pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
  line-height: 1.35;
  color: var(--text);
  padding-left: var(--space-md);
  border-left: 2px solid var(--peach);
  quotes: none;
}

.about__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about__photo {
  width: 260px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  filter: contrast(1.03) saturate(0.9);
  align-self: flex-start;
}

.about__bio {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  max-width: 44ch;
}

/* ─── INTERESTS ───────────────────────────────────────────────────────────── */
.interests {
  padding: 0 var(--gutter);
}

.interests__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-xl) 0;
}

.interests__header {
  margin-bottom: var(--space-lg);
}

.interest-row {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--space-lg);
  align-items: center;
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  overflow: hidden;
}

/* Giant faint number — fades from 0 to 0.5 when row reveals */
.interest-row__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.5rem, 10vw, 8rem);
  color: var(--pink);
  opacity: 0;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -0.04em;
  transform: translateX(-0.4rem);
  transition: opacity 0.65s var(--ease-spring) 0.3s;
}

.interest-row.is-visible .interest-row__num {
  opacity: 0.55;
}

.interest-row__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: var(--text);
  transition: color 0.3s var(--ease-out);
}

.interest-row:hover .interest-row__title {
  color: var(--peach);
}

.interest-row__desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 54ch;
}

/* ─── AMBITION ────────────────────────────────────────────────────────────── */
.ambition {
  padding: var(--space-xl) var(--gutter);
  text-align: center;
}

.ambition__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.ambition__rules {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.ambition__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.ambition__body {
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--text-mid);
  max-width: 50ch;
}

/* ─── CONTACT ─────────────────────────────────────────────────────────────── */
.contact {
  padding: var(--space-xl) var(--gutter);
}

.contact__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact__headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.contact__sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.contact__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--text);
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--text);
  transition:
    background 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    color 0.25s var(--ease-out);
}

.contact__btn:hover {
  background: var(--peach);
  border-color: var(--peach);
  color: var(--text);
}

.btn-icon {
  width: 13px;
  height: 13px;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.footer {
  padding: var(--space-lg) var(--gutter);
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer__text {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .hero__photo-wrap {
    margin-top: 2.5rem;
    max-width: 280px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .interest-row {
    grid-template-columns: 3.5rem 1fr;
    gap: var(--space-md);
  }

  .interest-row__num {
    font-size: 4rem;
  }
}

@media (max-width: 600px) {
  .hero__name-first { font-size: clamp(4rem, 23vw, 6rem); }
  .hero__name-last  { font-size: clamp(3.2rem, 18vw, 5rem); }

  .interest-row {
    grid-template-columns: 2.5rem 1fr;
    gap: var(--space-sm);
  }

  .interest-row__num {
    font-size: 3rem;
  }

  .ambition__headline { font-size: clamp(2.5rem, 13vw, 4rem); }
  .about__photo { width: 180px; }
}

/* ─── Reduced motion ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .section-rule,
  .hero__name-first,
  .hero__name-last,
  .hero__sub,
  .hero__photo-wrap {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .interest-row__num {
    opacity: 0.55 !important;
    transition: none !important;
  }

  .ticker__inner {
    animation: none !important;
  }
}
