/* ============================================
   POSH PEONY — Lifestyle & Style Influencer
   Color palette derived from blush pink peony
   ============================================ */

:root {
  /* Core palette */
  --cream:       #FAF7F4;
  --cream-warm:  #F5F0EB;
  --blush:       #E8B4BC;
  --blush-light: #F5DDE1;
  --blush-faint: #FBF0F2;
  --rose:        #D4919C;
  --gold:        #C4A265;
  --gold-light:  #D4B97A;
  --charcoal:    #2E2528;
  --warm-gray:   #6B5E62;
  --soft-gray:   #9E9295;
  --divider:     #E8E0DD;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 10vw, 8rem);
  --container:   min(90%, 680px);
}

/* ---- Reset & Base ---- */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.accent {
  color: var(--rose);
}

/* ---- Section Labels ---- */

.section-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 0.75rem;
}

section h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

/* ---- Nav ---- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 244, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease, border-color 0.4s ease;
}

.nav.visible {
  transform: translateY(0);
  opacity: 1;
  border-bottom-color: var(--divider);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 860px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--charcoal);
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--rose);
}

@media (min-width: 640px) {
  .nav-links {
    display: flex;
  }
}

/* ---- Hero ---- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-peony {
  width: clamp(160px, 40vw, 240px);
  aspect-ratio: 1;
  margin-bottom: 2rem;
  opacity: 0;
  transform: scale(0.9);
  animation: peonyIn 1.2s ease-out 0.2s forwards;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--blush-light);
  box-shadow: 0 12px 40px rgba(216, 145, 156, 0.2);
}

.peony-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-content {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease-out 0.6s forwards;
}

.hero-pre {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--soft-gray);
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 12vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--blush);
  margin: 1.25rem auto;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--warm-gray);
  margin-bottom: 0.4rem;
}

.hero-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-gray);
}

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: fadeIn 0.6s ease-out 1.4s forwards;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blush), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ---- About ---- */

.about {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.about-photo {
  width: clamp(180px, 40vw, 260px);
  aspect-ratio: 1;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--blush-light);
  box-shadow: 0 12px 40px rgba(216, 145, 156, 0.2);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
}

.about-content p:last-child {
  margin-bottom: 0;
}

.about-content em {
  font-style: italic;
  color: var(--charcoal);
}

/* ---- Services ---- */

.services {
  padding: var(--section-pad) 0;
  background: var(--blush-faint);
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  border: 1px solid var(--divider);
  border-radius: 12px;
  padding: 2rem 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--blush);
  box-shadow: 0 8px 30px rgba(216, 145, 156, 0.1);
  transform: translateY(-3px);
}

.service-icon {
  width: 32px;
  height: 32px;
  color: var(--rose);
  margin-bottom: 1rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  line-height: 1.6;
}

/* ---- Gallery ---- */

.gallery {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.gallery-note {
  font-size: 0.9rem;
  color: var(--soft-gray);
  margin-bottom: 0.25rem;
}

.gallery-note a {
  color: var(--rose);
  border-bottom: 1px solid var(--blush-light);
  transition: border-color 0.3s ease;
}

.gallery-note a:hover {
  border-color: var(--rose);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(216, 145, 156, 0.15);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ---- Style Section ---- */

.style-section {
  padding: var(--section-pad) 0;
  background: var(--blush-faint);
}

.style-section .gallery-item {
  aspect-ratio: 3 / 4;
}

.style-section .gallery-item img {
  object-position: center 20%;
}

/* ---- Pom Section ---- */

.pom {
  padding: var(--section-pad) 0;
  background: var(--blush-faint);
}

.pom-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.pom-icon {
  width: 48px;
  height: 48px;
  color: var(--blush);
  margin: 0 auto 1.25rem;
}

.pom-icon svg {
  width: 100%;
  height: 100%;
}

.pom-card h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.pom-card p {
  font-size: 1rem;
  color: var(--warm-gray);
  max-width: 480px;
  margin: 0 auto;
}

.pom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.pom-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pom-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s ease;
}

.pom-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(216, 145, 156, 0.15);
}

.pom-photo:hover img {
  transform: scale(1.05);
}

/* ---- Connect ---- */

.connect {
  padding: var(--section-pad) 0;
  background: var(--cream);
  text-align: center;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--divider);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.social-link:hover {
  border-color: var(--blush);
  color: var(--rose);
  background: var(--blush-faint);
}

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.connect-cta p {
  font-size: 0.95rem;
  color: var(--warm-gray);
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--charcoal);
  border-radius: 100px;
  color: var(--charcoal);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover {
  background: var(--charcoal);
  color: var(--cream);
}

/* ---- Footer ---- */

.footer {
  padding: 3rem 0;
  text-align: center;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-brand .accent {
  color: var(--blush);
}

.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

/* ---- Service Pages ---- */

.service-hero {
  padding: clamp(6rem, 15vw, 10rem) 0 var(--section-pad);
  text-align: center;
  background: var(--blush-faint);
}

.service-hero-icon {
  width: 48px;
  height: 48px;
  color: var(--rose);
  margin: 0 auto 1.5rem;
}

.service-hero-icon svg {
  width: 100%;
  height: 100%;
}

.service-hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

.service-hero-tagline {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--warm-gray);
}

.service-body {
  padding: var(--section-pad) 0;
  background: var(--cream);
}

.service-body p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
  max-width: 600px;
}

.service-body h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--charcoal);
}

.service-includes {
  list-style: none;
  max-width: 600px;
  margin-bottom: 1rem;
}

.service-includes li {
  font-size: 1rem;
  color: var(--warm-gray);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--divider);
  padding-left: 1.5rem;
  position: relative;
}

.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blush);
}

.service-cta {
  padding: var(--section-pad) 0;
  text-align: center;
  background: var(--blush-faint);
}

.service-cta p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
}

.service-back {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-top: 1.5rem;
  transition: color 0.3s ease;
}

.service-back:hover {
  color: var(--charcoal);
}

/* ---- Animations ---- */

@keyframes peonyIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */

/* Tablet+ */
@media (min-width: 640px) {
  :root {
    --container: min(85%, 720px);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card {
    text-align: center;
  }

  .service-icon {
    margin: 0 auto 1rem;
  }

  .pom-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --container: min(80%, 860px);
  }

  .hero-peony {
    width: 220px;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .service-card {
    padding: 2.5rem 2rem;
  }

  .service-card h3 {
    font-size: 1.4rem;
  }

  .about-content {
    max-width: 600px;
  }
}
