/* ==========================================================================
   Pallavi Yoga - shared styles
   Palette: Primary Purple #A16AE8 | Accent Orange #F1821D | Soft Lavender #D2C7FF
   ========================================================================== */

:root {
  --purple: #A16AE8;
  --purple-dark: #7C4BC4;
  --purple-deep: #3D2A5E;
  --orange: #F1821D;
  --orange-dark: #D96F10;
  --lavender: #D2C7FF;
  --lavender-soft: #EDE6FF;
  --lavender-line: #DCCFF7;
  --ink: #2C2440;
  --body-text: #55506B;
  --muted: #8B85A3;
  --white: #FFFFFF;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(161, 106, 232, 0.10);
  --shadow-card: 0 6px 18px rgba(61, 42, 94, 0.07);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --container: 1120px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.45rem; }

p + p { margin-top: 1em; }

a { color: var(--purple-dark); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--purple);
  color: var(--white);
}

.btn-primary:hover { background: var(--purple-dark); }

.btn-secondary {
  background: transparent;
  color: var(--purple-dark);
  border-color: var(--purple);
}

.btn-secondary:hover {
  background: var(--lavender-soft);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover { background: var(--orange-dark); }

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lavender-line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img { width: 46px; height: auto; }

.brand span {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.brand span em {
  font-style: italic;
  color: var(--purple);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--body-text);
  text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.site-nav a:not(.btn):hover { color: var(--purple-dark); }

.site-nav a[aria-current="page"] {
  color: var(--purple-dark);
  border-bottom-color: var(--orange);
}

.nav-cta { padding: 10px 22px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 12px 11px;
  background: none;
  border: 1px solid var(--lavender-line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--lavender-line);
    box-shadow: var(--shadow-soft);
    padding: 10px 24px 20px;
  }

  .site-nav.open { display: flex; }

  .site-nav a:not(.btn) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--lavender-line);
    font-size: 1.05rem;
  }

  .site-nav a[aria-current="page"] { border-bottom-color: var(--orange); }

  .nav-cta { margin-top: 16px; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 90px 0; }

.section-soft { background: var(--lavender-soft); }

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-head .eyebrow { margin-bottom: 14px; }

.section-head p { margin-top: 14px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(210, 199, 255, 0.7), transparent 65%),
    radial-gradient(700px 420px at 5% 90%, rgba(241, 130, 29, 0.1), transparent 60%),
    linear-gradient(180deg, #F5F0FF 0%, var(--white) 100%);
  padding: 96px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 56px;
}

.hero h1 { margin: 18px 0 20px; }

.hero .lead {
  font-size: 1.2rem;
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--white) 0%, var(--lavender-soft) 55%, var(--lavender) 130%);
  box-shadow: var(--shadow-soft);
}

.hero-art img { width: 62%; height: auto; }

.page-hero {
  background:
    radial-gradient(800px 380px at 80% 0%, rgba(210, 199, 255, 0.65), transparent 65%),
    linear-gradient(180deg, #F5F0FF 0%, var(--white) 100%);
  padding: 80px 0 64px;
  text-align: center;
}

.page-hero h1 { margin: 16px 0 14px; }

.page-hero p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.15rem;
}

@media (max-width: 880px) {
  .hero { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 280px; }
  .section { padding: 64px 0; }
}

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--lavender-line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.card h3 { margin-bottom: 10px; }

.card .card-note {
  margin-top: 14px;
  font-weight: 700;
  color: var(--purple-dark);
}

.card-number {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 10px;
}

/* Chips (yoga styles, keywords) */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.chip {
  background: var(--white);
  border: 1px solid var(--lavender);
  color: var(--purple-deep);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
}

/* Checklist (who I help) */

.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  background: var(--white);
  border: 1px solid var(--lavender-line);
  border-radius: var(--radius-sm);
  padding: 14px 18px 14px 46px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--purple);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center / contain no-repeat;
}

@media (max-width: 720px) {
  .check-list { grid-template-columns: 1fr; }
}

/* Testimonials */

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.testimonial-card .quote-mark {
  font-family: var(--font-head);
  font-size: 3rem;
  line-height: 1;
  color: var(--lavender);
}

.testimonial-card blockquote {
  border: none;
  font-size: 1.05rem;
  flex-grow: 1;
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 800;
  color: var(--ink);
}

.testimonial-card cite small {
  display: block;
  font-weight: 600;
  color: var(--muted);
}

/* Placeholder tiles (gallery, media) */

.placeholder-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 1.5px dashed var(--lavender);
  background: linear-gradient(160deg, var(--lavender-soft) 0%, #FDFCFF 100%);
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  padding: 20px;
}

.placeholder-tile img.tile-mark {
  width: 46px;
  opacity: 0.5;
}

/* Instagram band */

.insta-band {
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-dark) 100%);
  border-radius: var(--radius);
  color: var(--white);
  padding: 56px 40px;
  text-align: center;
}

.insta-band h2 { color: var(--white); }

.insta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 460px;
  margin: 12px auto 26px;
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--lavender-line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-grid .full { grid-column: 1 / -1; }

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

.field label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 16px;
  border: 1.5px solid var(--lavender-line);
  border-radius: var(--radius-sm);
  background: #FDFCFF;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple);
}

.field textarea { resize: vertical; min-height: 130px; }

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--purple-deep);
  color: #CFC6E8;
  padding: 70px 0 0;
  margin-top: 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
}

@media (max-width: 980px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img { width: 44px; }

.footer-brand span {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--white);
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer ul { list-style: none; }

.site-footer li { margin-bottom: 10px; }

.site-footer a {
  color: #CFC6E8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover { color: var(--white); }

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.newsletter-form input::placeholder { color: #A99CCB; }

.newsletter-form button {
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  font-family: var(--font-body);
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter-form button:hover { background: var(--orange-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Photos: hero, cards, gallery, banner
   -------------------------------------------------------------------------- */

.hero-photo {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.hero-photo .photo-frame {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(61, 42, 94, 0.28);
  animation: float-soft 7s ease-in-out infinite;
}

.hero-photo .photo-frame img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.logo-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  animation: float-soft 7s ease-in-out infinite reverse;
}

.logo-badge img { width: 62%; height: auto; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 880px) {
  .hero-photo { max-width: 300px; }
  .hero-photo .photo-frame img { height: 380px; }
  .logo-badge { width: 84px; height: 84px; bottom: -18px; left: -18px; }
}

/* Gallery photo cards */

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--lavender-soft);
  box-shadow: var(--shadow-card);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(44, 36, 64, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.photo-card .photo-label {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.photo-card:hover img,
.photo-card:focus-visible img { transform: scale(1.07); }

.photo-card:hover::after,
.photo-card:focus-visible::after { opacity: 1; }

.photo-card:hover .photo-label,
.photo-card:focus-visible .photo-label { opacity: 1; transform: none; }

.photo-grid-landscape .photo-card { aspect-ratio: 4 / 3; }
.photo-grid-portrait .photo-card { aspect-ratio: 3 / 4; }

/* Wide scenic banner with slow drift */

.photo-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: clamp(240px, 42vw, 460px);
  box-shadow: var(--shadow-soft);
}

.photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: ken-burns 22s ease-in-out infinite alternate;
}

.photo-banner figcaption {
  position: absolute;
  left: 24px;
  bottom: 20px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  font-weight: 600;
  text-shadow: 0 2px 14px rgba(44, 36, 64, 0.6);
}

@keyframes ken-burns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

/* Card photo headers (classes page) */

.card-photo {
  margin: -30px -30px 22px;
  height: 200px;
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-photo img { transform: scale(1.06); }

/* About portrait */

.about-photo {
  position: relative;
  margin: 0 auto;
  max-width: 440px;
}

.about-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 28px;
  background: linear-gradient(150deg, var(--lavender) 0%, rgba(241, 130, 29, 0.35) 100%);
  z-index: 0;
}

.about-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(61, 42, 94, 0.22);
}

.about-layout {
  align-items: center;
  gap: 56px;
}

/* --------------------------------------------------------------------------
   Photo marquee (home)
   -------------------------------------------------------------------------- */

.marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}

.marquee-track img {
  height: 210px;
  width: auto;
  display: block;
  transition: transform 0.5s ease;
}

.marquee-track a:hover img { transform: scale(1.05); }

@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .marquee-track img { height: 140px; }
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 30px;
  background: rgba(30, 23, 46, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox.open { display: flex; animation: lightbox-in 0.3s ease; }

.lightbox img {
  max-width: min(1080px, 100%);
  max-height: 78vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox .lightbox-caption {
  color: var(--lavender);
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); transform: rotate(90deg); }

@keyframes lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Extra motion polish
   -------------------------------------------------------------------------- */

/* Animated underline on nav links */
.site-nav a:not(.btn) {
  position: relative;
  border-bottom: none;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Page hero entrance */
.page-hero .container > * {
  animation: fade-up 0.8s ease both;
}

.page-hero .container > *:nth-child(2) { animation-delay: 0.12s; }
.page-hero .container > *:nth-child(3) { animation-delay: 0.24s; }

.hero-grid > div:first-child > * { animation: fade-up 0.8s ease both; }
.hero-grid > div:first-child > *:nth-child(2) { animation-delay: 0.1s; }
.hero-grid > div:first-child > *:nth-child(3) { animation-delay: 0.2s; }
.hero-grid > div:first-child > *:nth-child(4) { animation-delay: 0.3s; }

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Gently animated gradient on the Instagram band */
.insta-band {
  background: linear-gradient(120deg, var(--purple) 0%, var(--purple-dark) 40%, #8A55D6 70%, var(--purple) 100%);
  background-size: 220% 220%;
  animation: gradient-drift 14s ease-in-out infinite;
}

@keyframes gradient-drift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Buttons get a soft lift + glow */
.btn-primary:hover { box-shadow: 0 10px 26px rgba(161, 106, 232, 0.45); }
.btn-orange:hover { box-shadow: 0 10px 26px rgba(241, 130, 29, 0.4); }

@media (max-width: 1080px) {
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a:not(.btn) { border-bottom: 1px solid var(--lavender-line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--orange); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
  .photo-frame, .logo-badge, .photo-banner img, .marquee-track, .insta-band {
    animation: none;
  }
  .page-hero .container > *, .hero-grid > div:first-child > * { animation: none; }
  .photo-card img, .card-photo img, .marquee-track img { transition: none; }
  .photo-card:hover img, .card:hover .card-photo img { transform: none; }
  .marquee { overflow-x: auto; -webkit-mask: none; mask: none; }
}
