/* ─── Reset & Base ──────────────────────────────────────────────────────────── */

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

:root {
  --bg:           #FDFCF9;
  --text:         #1C1C1E;
  --text-muted:   #1C1C1E;
  --text-faint:   #565656;
  --border:       #d0d0d0;

  --lavender:     #B49FE8;
  --peach:        #F5A878;
  --mint:         #7ECFBA;
  --sky:          #7AB8E8;
  --yellow:       #F5CC55;
  --rose:         #F09898;

  --font-serif:   'Fraunces', serif;
  --font-sans:    'Manrope', system-ui, sans-serif;

  --max-w:        1200px;
  --gutter:       clamp(24px, 5vw, 80px);
  --section-gap:  clamp(80px, 12vw, 100px);

  --radius-sm:    8px;
  --radius-md:    16px;
  --radius-lg:    24px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
}

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

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

/* ─── Utility ───────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section-label {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 32px;
}

/* ─── Nav ───────────────────────────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gutter);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}

.nav-logo:hover { opacity: 0.7; }

.nav-logo-img {
  height: 48px;
  width: 48px;
  display: block;
  background: #ffffff;
  border-radius: 50%;
  padding: 6px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ─── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 80svh;
  display: flex;
  align-items: center;
  padding: 120px 0 var(--gutter) var(--section-gap);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
}

.hero-eyebrow {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8B5CF6;
  margin-bottom: 20px;
}

.hero-name {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
  white-space: nowrap;
  margin-bottom: clamp(32px, 5vw, 40px);
}

.hero-name em {
  font-style: italic;
  color: var(--text-muted);
}

/* Letter-by-letter spring entrance */
@keyframes hero-letter-in {
  from {
    opacity: 0;
    transform: translateX(-80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-name-letter {
  display: inline-block;
  animation: hero-letter-in 550ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  .hero-name-letter {
    animation: none;
  }
}

.hero-tagline {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 48px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--yellow);
  border: 1.5px solid #8C6A00;
  border-radius: 100px;
  padding: 13px 28px;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease-out);
}

.hero-cta:hover {
  background: #E8B830;
  border-color: #8C6A00;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(140, 106, 0, 0.35);
}

.hero-cta:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}

.hero-cta:hover .arrow {
  transform: translateY(2px);
}

/* Decorative blobs — fixed full-page background */
.page-blobs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes blob-drift-a {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -40px) scale(1.06); }
}

@keyframes blob-drift-b {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-25px, 35px) scale(1.04); }
}

@keyframes blob-drift-c {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(20px, 30px) scale(1.07); }
}

@keyframes blob-drift-d {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, -20px) scale(1.05); }
}

.blob-1 {
  width: clamp(400px, 55vw, 750px);
  height: clamp(400px, 55vw, 750px);
  background: var(--lavender);
  top: -15%;
  right: -8%;
  animation-name: blob-drift-a;
  animation-duration: 14s;
}

.blob-2 {
  width: clamp(280px, 38vw, 520px);
  height: clamp(280px, 38vw, 520px);
  background: var(--peach);
  bottom: 10%;
  right: 15%;
  animation-name: blob-drift-b;
  animation-duration: 18s;
  animation-delay: -4s;
}

.blob-3 {
  width: clamp(220px, 28vw, 380px);
  height: clamp(220px, 28vw, 380px);
  background: var(--mint);
  top: 40%;
  left: -5%;
  animation-name: blob-drift-c;
  animation-duration: 16s;
  animation-delay: -8s;
}

.blob-4 {
  width: clamp(180px, 22vw, 300px);
  height: clamp(180px, 22vw, 300px);
  background: var(--yellow);
  bottom: 30%;
  left: 30%;
  animation-name: blob-drift-d;
  animation-duration: 20s;
  animation-delay: -12s;
}

/* ─── About ─────────────────────────────────────────────────────────────────── */

.about {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about-photo {
  position: sticky;
  top: 100px;
}

.about-headshot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  box-shadow: 0 8px 40px rgba(28, 28, 30, 0.12);
}

.about-body p {
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.about-cta {
  font-size: clamp(15px, 1.5vw, 17px) !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  margin-bottom: 32px !important;
}

.about-body p a {
  color: #8B5CF6;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}

.about-body p a:hover { opacity: 0.7; }

.about-cta a {
  color: #8B5CF6;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.2s;
}

.about-cta a:hover { opacity: 0.7; }

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-faint);
  background: transparent;
  border: 1px solid var(--text-faint);
  border-radius: 100px;
  padding: 6px 14px;
}

/* ─── Testimonials — Stacked Peek ────────────────────────────────────────────── */

.testimonials {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--border);
}

.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.testimonials-header .section-label {
  margin-bottom: 0;
}

.peek-counter {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.04em;
}

.testimonials-peek-stack {
  position: relative;
  height: 340px;
  margin-bottom: 40px;
}

.testimonial-peek-card {
  position: absolute;
  inset: 0;
  background: var(--card-tint);
  border-radius: var(--radius-lg);
  padding: 40px 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s var(--ease-out), opacity 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  cursor: pointer;
}

.testimonial-peek-card::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 0.7;
  color: rgba(28, 28, 30, 0.15);
  display: block;
  margin-bottom: 12px;
}

.testimonial-card-quote {
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--text);
  flex: 1;
}

.testimonial-card-author {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 20px;
  border-top: 1px solid rgba(28, 28, 30, 0.1);
}

.testimonial-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-card-role {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-faint);
}

.peek-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.peek-btn {
  height: 44px;
  border-radius: 100px;
  border: 1.5px solid var(--text-faint);
  background: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 0 20px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.peek-btn:hover {
  background: var(--lavender);
  border-color: var(--lavender);
  color: var(--text);
  transform: scale(1.04);
}

.peek-btn--next {
  background: var(--lavender);
  color: var(--text);
  border-color: var(--lavender);
}

.peek-btn--next:hover {
  background: var(--peach);
  border-color: var(--peach);
  color: var(--text);
}

/* ─── Work ──────────────────────────────────────────────────────────────────── */

.work {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--border);
}

.work-heading {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: clamp(48px, 7vw, 80px);
  max-width: 1200px;
}

/* Single column work grid */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 48px;
}

/* ─── Work Card ─────────────────────────────────────────────────────────────── */

.work-card-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s var(--ease-out);
}

.work-card:hover .work-card-img {
  transform: scale(1.03);
}

.work-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px -12px rgba(28, 28, 30, 0.12);
}

/* First and last cards span 2 columns for visual rhythm */
.work-card--large {
  grid-column: span 1;
}

.work-card-image {
  position: relative;
  aspect-ratio: 12 / 9;
  background: linear-gradient(135deg, var(--card-bg, #f0f0f0), var(--card-bg2, #e0e0e0));
  overflow: hidden;
}

.work-card-placeholder {
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 30, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.work-card-overlay span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: white;
  transform: translateY(8px);
  transition: transform 0.35s var(--ease-out);
}

.work-card:hover .work-card-overlay {
  opacity: 1;
}

.work-card:hover .work-card-overlay span {
  transform: translateY(0);
}

.work-card:hover .work-card-placeholder {
  opacity: 0.4;
  transform: scale(1.05);
}

.work-card-meta {
  padding: 24px 28px 28px;
}

.work-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff;
  color: var(--text);
  border: 1px solid rgba(28, 28, 30, 0.2);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  z-index: 2;
}

.work-card-category {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 10px;
}

.work-card-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.5vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.work-card-desc {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-muted);
}


/* ─── Contact ───────────────────────────────────────────────────────────────── */

.contact {
  padding-block: var(--section-gap);
  border-top: 1px solid var(--border);
}

.contact-inner {
  /* layout handled by parent .container */
}

.contact-heading {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 1200px;
}

.contact-heading em {
  font-style: italic;
  color: var(--text-muted);
}

.contact-body {
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 48px;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.contact-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1.5px solid var(--text-faint);
  border-radius: 999px;
  padding: 10px 24px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.contact-btn:hover {
  background: var(--lavender);
  border-color: var(--lavender);
  color: var(--text);
}

/* ─── Footer ────────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  padding-block: 28px;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer span {
  font-size: 12px;
  color: var(--text-faint);
  font-weight: 400;
}

/* ─── Responsive ────────────────────────────────────────────────────────────── */

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

  .about-heading h2 {
    position: static;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 600px) {
  .nav-links {
    gap: 20px;
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-card--large {
    grid-column: span 1;
  }

  .work-card--large .work-card-image {
    aspect-ratio: 16 / 9;
  }

  .footer .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ─── Focus styles (accessibility) ──────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 4px;
  border-radius: 4px;
}
