/* PetitiourAya homepage redesign */
:root {
  --cream: #f8f1e7;
  --ivory: #fffaf4;
  --beige: #e9dccb;
  --sand: #d2beaa;
  --chocolate: #4a2b1d;
  --chocolate-deep: #2f1a12;
  --burgundy: #7a2d32;
  --burgundy-soft: #a14a50;
  --text: #3b2b23;
  --muted: #725d51;
  --line: rgba(74, 43, 29, 0.12);
  --shadow: 0 18px 45px rgba(54, 28, 18, 0.12);
  --shadow-soft: 0 10px 25px rgba(54, 28, 18, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(161, 74, 80, 0.08), transparent 28%),
    radial-gradient(circle at right top, rgba(74, 43, 29, 0.06), transparent 24%),
    linear-gradient(180deg, #fdf8f1 0%, #f7efe5 36%, #f3e7d8 100%);
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 1000;
  background: var(--chocolate-deep);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(16px);
  background: rgba(253, 248, 241, 0.82);
  border-bottom: 1px solid rgba(74, 43, 29, 0.08);
}

.navbar {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--chocolate-deep);
}

.brand strong {
  font-size: 1.08rem;
  letter-spacing: 0.18em;
}

.brand span {
  font-size: 0.84rem;
  color: var(--muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.96rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: rgba(122, 45, 50, 0.09);
  color: var(--burgundy);
  transform: translateY(-1px);
}

.nav-cta {
  background: var(--chocolate-deep);
  color: white !important;
  box-shadow: 0 12px 25px rgba(47, 26, 18, 0.2);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--burgundy);
}

main {
  overflow: clip;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5.5rem 1.25rem;
}

.hero {
  padding-top: 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(122, 45, 50, 0.08);
  color: var(--burgundy);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.hero h1,
.section-title,
.story-title,
.final-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--chocolate-deep);
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.55rem);
  line-height: 0.95;
  margin-top: 1.05rem;
  max-width: 10ch;
}

.hero p {
  margin: 1.3rem 0 0;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.8;
  color: var(--muted);
  max-width: 58ch;
}

.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--chocolate-deep), var(--burgundy));
  color: white;
  box-shadow: 0 16px 28px rgba(74, 43, 29, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  color: var(--chocolate-deep);
  border: 1px solid rgba(74, 43, 29, 0.14);
}

.btn-tertiary {
  background: transparent;
  border: 1px solid rgba(74, 43, 29, 0.18);
  color: var(--chocolate-deep);
}

.hero-media {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 236, 223, 0.94));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: auto auto 0 -10%;
  width: 55%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122, 45, 50, 0.15), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}

.hero-image {
  border-radius: calc(var(--radius-xl) - 10px);
  overflow: hidden;
  aspect-ratio: 1 / 1.04;
  background: #fff;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 0.9rem;
}

.badge {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(74, 43, 29, 0.08);
  padding: 0.85rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(74, 43, 29, 0.05);
}

.badge strong {
  display: block;
  color: var(--chocolate-deep);
  font-size: 0.96rem;
  margin-bottom: 0.2rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.section-title,
.story-title,
.final-title {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.05;
}

.section-copy {
  max-width: 70ch;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

.story-card,
.promise-card,
.reason-card,
.collection-card,
.footer-card {
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(74, 43, 29, 0.08);
  box-shadow: var(--shadow-soft);
}

.story-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: center;
}

.story-media,
.story-copy,
.final-visual,
.final-copy {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.story-media img,
.final-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(247, 236, 223, 0.92));
  border: 1px solid rgba(74, 43, 29, 0.08);
  box-shadow: var(--shadow-soft);
}

.story-copy p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.88;
  color: var(--muted);
  margin: 0 0 1rem;
  white-space: pre-line;
}

.highlight-line {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--burgundy);
  background: rgba(122, 45, 50, 0.07);
  border-radius: 0 18px 18px 0;
  color: var(--chocolate-deep);
  font-weight: 600;
}

.collection-grid,
.promise-grid,
.reason-grid,
.gallery-grid {
  display: grid;
  gap: 1.2rem;
}

.collection-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collection-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 340px;
}

.collection-image {
  min-height: 100%;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-content {
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0 0 0.55rem;
}

.collection-content h3,
.promise-card h4,
.reason-card h4,
.gallery-item h4,
.footer-title {
  margin: 0;
  color: var(--chocolate-deep);
}

.collection-content h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.collection-content p,
.promise-card p,
.reason-card p,
.gallery-item p,
.footer-card p,
.contact-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.2rem 0 1.5rem;
}

.filter-chip {
  border: 1px solid rgba(74, 43, 29, 0.14);
  background: rgba(255, 255, 255, 0.75);
  color: var(--chocolate-deep);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
}

.filter-chip[aria-pressed="true"] {
  background: var(--chocolate-deep);
  color: white;
}

.gallery-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 10px;
}

.gallery-item {
  grid-column: span 4;
  grid-row: span 34;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(74, 43, 29, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.gallery-item.tall {
  grid-row: span 42;
}

.gallery-item.wide {
  grid-column: span 8;
  grid-row: span 38;
}

.gallery-media {
  flex: 1;
  min-height: 0;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-meta {
  padding: 1rem 1rem 1.15rem;
}

.gallery-category {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.45rem;
}

.gallery-meta h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.promise-grid,
.reason-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promise-card,
.reason-card {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.promise-icon,
.reason-index {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(122, 45, 50, 0.09);
  color: var(--burgundy);
  font-weight: 600;
  margin-bottom: 0.95rem;
}

.promise-card h4,
.reason-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

.reason-card {
  min-height: 220px;
}

.final-slab {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
  align-items: stretch;
}

.final-copy {
  padding: 2rem;
  background: linear-gradient(145deg, rgba(255, 250, 244, 0.98), rgba(243, 228, 209, 0.92));
  border: 1px solid rgba(74, 43, 29, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.final-copy p {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.05rem;
  margin: 1rem 0 0;
  white-space: pre-line;
}

.final-visual {
  min-height: 420px;
  box-shadow: var(--shadow);
}

.footer {
  padding: 0 1.25rem 2rem;
}

.footer-card {
  max-width: var(--max);
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: grid;
  gap: 1.2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: start;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--burgundy);
}

.footer-bottom {
  padding-top: 1rem;
  border-top: 1px solid rgba(74, 43, 29, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-note strong {
  color: var(--chocolate-deep);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(28, 16, 11, 0.72);
}

.lightbox[aria-hidden="false"] {
  display: flex;
}

.lightbox-panel {
  width: min(980px, 100%);
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(243, 230, 216, 0.98));
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
}

.lightbox-image {
  background: #fff;
  min-height: 0;
}

.lightbox-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 82vh;
}

.lightbox-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
}

.lightbox-close {
  align-self: flex-end;
  border: 0;
  background: rgba(47, 26, 18, 0.08);
  color: var(--chocolate-deep);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox-copy h3 {
  margin: 0 0 0.4rem;
  font-size: 1.8rem;
  color: var(--chocolate-deep);
}

.lightbox-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.lightbox-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lightbox-tags span {
  background: rgba(122, 45, 50, 0.08);
  color: var(--burgundy);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .story-layout,
  .final-slab,
  .footer-top,
  .lightbox-panel {
    grid-template-columns: 1fr;
  }

  .collection-grid,
  .promise-grid,
  .reason-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .collection-card {
    grid-template-columns: 1fr;
  }

  .hero-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item,
  .gallery-item.wide {
    grid-column: span 6;
    grid-row: span 34;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4rem 1rem;
  }

  .navbar {
    padding-inline: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-badges,
  .collection-grid,
  .promise-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1 !important;
    grid-row: auto;
    min-height: 0;
  }

  .gallery-media {
    aspect-ratio: 1 / 1;
  }

  .lightbox-panel {
    max-height: 92vh;
  }

  .lightbox-image img {
    max-height: 52vh;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
