/* ==========================================================
   Passe La Fete — site styles
   COLORS: change these five lines to match the brand colors.
   ========================================================== */
:root {
  --coral: #fb441f;      /* Michelle's signature coral: big headings and accents */
  --fig: #2e2826;        /* warm charcoal: main text, dark sections, footer */
  --berry: #c4361a;      /* slightly deeper coral for buttons and links, so white text stays readable */
  --berry-dark: #a12b13; /* button hover */
  --blush: #fde6df;      /* soft coral-tinted section background */
  --porcelain: #f6f5f4;  /* page background (light warm gray) */
  --sage: #1e6e6a;       /* Gulf teal: small accents (guest counts, notes) */
  --teal: #1e5f5b;       /* Gulf teal, deep: About section, reviews, footer */

  --ink-soft: #5f5753;
  --line: #e5dad6;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Nunito", system-ui, sans-serif;
  --wrap: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--fig);
  background: var(--porcelain);
}
img { max-width: 100%; display: block; }
a { color: var(--berry); text-underline-offset: 3px; }
a:hover { color: var(--berry-dark); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 10; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--porcelain); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; flex-wrap: wrap; }
.brand { font-family: var(--display); font-size: 1.6rem; color: var(--fig); text-decoration: none; }
.brand small { display: block; font-family: var(--body); font-size: .8rem; color: var(--ink-soft); margin-top: -.15rem; }
.nav { display: flex; gap: .25rem 1.25rem; flex-wrap: wrap; align-items: center; }
.nav a { color: var(--fig); text-decoration: none; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--berry); }
.nav .btn { padding: .55rem 1.1rem; border: 0; color: #fff; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; background: var(--berry); color: #fff; text-decoration: none;
  font-weight: 600; padding: .85rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--body); font-size: 1rem;
}
.btn:hover { background: var(--berry-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--fig); box-shadow: inset 0 0 0 2px var(--fig); }
.btn.ghost:hover { background: var(--fig); color: #fff; }

/* ---------- hero with guest scale ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 3rem; }
.hero p.lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 46ch; }
.hero .actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }

.scale { margin-top: clamp(3rem, 7vw, 5rem); }
.scale-track { position: relative; height: 4px; background: var(--line); border-radius: 4px; margin: 0 .5rem; }
.scale-track::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--sage), var(--berry)); border-radius: 4px; transform-origin: left; animation: fill 1.4s .3s ease-out both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scale-stops { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.scale-stops li { position: relative; padding-top: 1.6rem; padding-right: 1rem; }
.scale-stops li::before { content: ""; position: absolute; top: -10px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--porcelain); border: 3px solid var(--fig); }
.scale-stops .count { font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; display: block; }
.scale-stops .what { font-weight: 600; display: block; margin-top: .35rem; }
.scale-stops .eg { color: var(--ink-soft); font-size: .95rem; }

/* ---------- sections ---------- */
section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.tint { background: var(--blush); }
.dark { background: var(--teal); color: #f1f7f6; }
.dark a { color: #ffc4b5; }
.section-intro { max-width: 40rem; margin-bottom: 2.5rem; }

/* steps (a real sequence, so numbered) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); counter-reset: step; }
.steps li { counter-increment: step; border-top: 2px solid var(--fig); padding-top: 1rem; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 2.25rem; line-height: 1; display: block; margin-bottom: .5rem; color: var(--berry); }
.steps h3 { font-size: 1.25rem; font-family: var(--body); font-weight: 700; }

/* occasions list on home */
.occasions { columns: 2 16rem; column-gap: 3rem; padding: 0; list-style: none; margin: 0 0 2rem; font-size: 1.15rem; }
.occasions li { break-inside: avoid; padding: .6rem 0; border-bottom: 1px solid var(--line); }

/* split layout */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); align-items: center; }

/* photo slot (swap for real photos) */
.photo { aspect-ratio: 4 / 5; background: var(--blush); border-radius: 180px 180px 8px 8px; display: grid; place-items: end start; padding: 1.25rem; color: var(--ink-soft); font-size: .9rem; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 3 / 2; border-radius: 8px; }

/* service blocks */
.service { display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(12rem, 1fr) 2fr; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service .size { color: var(--sage); font-weight: 700; margin: .25rem 0 0; }
.service ul { padding-left: 1.1rem; margin: 0 0 1rem; }
@media (max-width: 40rem) { .service { grid-template-columns: 1fr; } }

/* bakery menu */
.menu { display: grid; gap: 0 3rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); }
.item { display: grid; grid-template-columns: 1fr auto; gap: .25rem 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.item h3 { font-size: 1.3rem; margin: 0; }
.item .price { font-weight: 700; white-space: nowrap; }
.item p { grid-column: 1 / -1; margin: 0; color: var(--ink-soft); font-size: .98rem; }
.item .btn { grid-column: 1 / -1; justify-self: start; margin-top: .6rem; padding: .55rem 1.1rem; font-size: .95rem; }

.notice { border-left: 4px solid var(--sage); padding: .75rem 1rem; background: #fff; font-size: .95rem; max-width: 46rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.1rem; }
details p { margin: .75rem 0 0; }

/* form */
.form { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); max-width: 48rem; }
.form .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: .3rem; font-size: .95rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--fig); background: #fff;
  border: 1.5px solid #c9bdb8; border-radius: 8px; padding: .7rem .8rem;
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--berry); outline: none; box-shadow: 0 0 0 3px rgba(196,54,26,.2); }
.form-status { grid-column: 1 / -1; font-weight: 600; min-height: 1.5em; margin: 0; }
.hp { position: absolute; left: -5000px; }

/* footer */
.site-footer { background: var(--teal); color: #e3eeec; padding: 3rem 0 2rem; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-footer .brand { color: #fff; }
.site-footer .fine { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: #c6dcd9; }

@media (max-width: 40rem) {
  .scale-stops { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .scale-track { display: none; }
  .scale-stops li::before { top: 0; }
  .scale-stops li { padding-top: 1.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scale-track::after { animation: none; }
}
@media (max-width: 40rem) { .hero h1 br { display: none; } }
.site-footer .fine { max-width: none; }

/* ---------- scale stops link to slideshows ---------- */
.scale-stops a { color: inherit; text-decoration: none; display: block; }
.scale-stops a:hover .what { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.rule-top { border-top: 1px solid var(--line); }

/* ---------- slideshows ---------- */
.shows { display: grid; gap: 3rem 2.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 48rem) { .shows { grid-template-columns: 1fr; } }
.show { scroll-margin-top: 1.5rem; min-width: 0; }
.show-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; }
.show-head h3 { margin: 0; }
.show-head .size { color: var(--sage); font-weight: 700; white-space: nowrap; }
.slides {
  list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 10px;
  scrollbar-width: none; background: var(--porcelain);
}
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.slide img, .slide-photo { width: 100%; height: 100%; object-fit: cover; }
.slide-photo { display: grid; place-items: end start; padding: 1.25rem; background: #f8d4c9; color: var(--ink-soft); font-size: .9rem; }
.slide-review { margin: 0; height: 100%; padding: clamp(1.5rem, 4vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; background: var(--teal); color: #f1f7f6; }
.slide-review p { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.3; margin: 0 0 1rem; }
.slide-review footer { font-size: .95rem; color: #cfe3e0; }
.show-controls { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; }
.show-controls button {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 2px solid var(--fig); background: transparent;
  color: var(--fig); font-size: 1.5rem; line-height: 1; cursor: pointer; display: grid; place-items: center; padding-bottom: 3px;
}
.show-controls button:hover { background: var(--fig); color: #fff; }
.dots { display: flex; gap: .45rem; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #dcbcb1; }
.dots i.on { background: var(--berry); width: 22px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .slides { scroll-behavior: auto; } }
.slide-review p { font-size: clamp(1.15rem, 2vw, 1.4rem); }
.slide-review footer a { color: #ffc4b5; display: block; margin-top: .4rem; }
.review { margin: 1.5rem 0 0; padding: 1.5rem 1.75rem; background: var(--blush); border-radius: 10px; scroll-margin-top: 1.5rem; }
.review p { font-size: 1.05rem; }
.review footer { font-weight: 700; color: var(--fig); }
/* tall photos: shown whole, over a soft blurred copy of themselves */
.slide-fit { position: relative; height: 100%; display: grid; place-items: center; overflow: hidden; background: var(--teal); }
.slide-fit::before { content: ""; position: absolute; inset: -30px; background: var(--bg) center / cover; filter: blur(22px) brightness(.75); }
.slide-fit img { position: relative; height: 100%; width: auto; max-width: 100%; object-fit: contain; }

/* signature coral on large type only (it's too light for small paragraph text) */
h1 { color: var(--coral); }
.scale-stops .count, .steps li::before { color: var(--coral); }
.slide-review p::first-letter { color: #ff8a6e; }

/* Gulf teal touches */
.steps li { border-top-color: var(--sage); }
.scale-stops li::before { border-color: var(--sage); }
.btn.ghost { color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); }
.btn.ghost:hover { background: var(--teal); color: #fff; }
.show-controls button { border-color: var(--teal); color: var(--teal); }
.show-controls button:hover { background: var(--teal); color: #fff; }
.tint-teal { background: #e3efed; }

/* About: chef photo with a round personal photo tucked in the corner */
.about-photos { position: relative; max-width: 30rem; }
.about-photos .photo { padding: 0; }
.about-photos .inset { position: absolute; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; right: -5%; bottom: -6%; border: 6px solid var(--teal); }
@media (max-width: 40rem) { .about-photos .inset { right: 0; bottom: -4%; width: 38%; } }
.slide-fit img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; }

/* five-star line under the hero buttons */
.rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; margin-top: 1.25rem; color: var(--fig); text-decoration: none; font-weight: 500; }
.rating .stars { color: var(--coral); font-size: 1.2rem; letter-spacing: .1em; }
.rating .rating-link { color: var(--berry); text-decoration: underline; text-underline-offset: 3px; }
.rating:hover .rating-link { color: var(--berry-dark); }
.form .span2 { grid-column: span 2; }
@media (max-width: 48rem) { .form .span2 { grid-column: 1 / -1; } }

/* Business name in a soft French script */
.brand { font-family: "Parisienne", "Gloock", cursive; font-size: 2.35rem; line-height: 1.05; letter-spacing: 0; }
.brand small { font-size: .8rem; margin-top: .15rem; }
.site-footer .brand { font-size: 2.1rem; }
@media (max-width: 40rem) { .brand { font-size: 2rem; } }
.site-header .wrap { padding-top: .6rem; padding-bottom: .5rem; }
.site-header .brand { font-size: 2.7rem; }
@media (max-width: 40rem) { .site-header .brand { font-size: 2.3rem; } }

/* Logo from Michelle's car decal */
.brand .logo { display: block; height: 72px; width: auto; }
.brand small { margin-top: .2rem; }
.logo-footer { display: block; height: 64px; width: auto; margin-bottom: .75rem; }
@media (max-width: 40rem) { .brand .logo { height: 56px; } }

/* Softer type to sit with the brush-script logo */
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
.scale-stops .count { font-weight: 600; font-size: clamp(2.3rem, 4.4vw, 3.4rem); }
.steps li::before { font-family: var(--display); font-weight: 600; font-size: 2.6rem; }
.slide-review p { font-weight: 600; font-style: italic; font-size: clamp(1.3rem, 2.3vw, 1.6rem); }
.item h3, .show-head h3 { font-size: 1.55rem; }
h1, h2, h3, .scale-stops .count, .steps li::before { font-variant-numeric: lining-nums; }

.slide { position: relative; }
.slide-caption { position: absolute; left: .75rem; bottom: .75rem; right: .75rem; width: fit-content; max-width: calc(100% - 1.5rem); background: rgba(30,95,91,.88); color: #fff; font-size: .85rem; padding: .35rem .65rem; border-radius: 6px; }

/* Service labels with some pop */
.scale-stops .what { color: var(--sage); font-size: 1.15rem; font-weight: 700; }
.scale-stops a:hover .what { color: var(--berry); }
.show-head h3 { color: var(--berry); font-weight: 700; font-size: 1.75rem; }
.service h2 { color: var(--berry); }

/* About section: Michelle's own story */
.dark .split { align-items: start; }
.dark h2 { color: #fff; }
.signoff { font-family: var(--display); font-style: italic; font-weight: 600; font-size: 1.6rem; line-height: 1.25; color: #ffd9cf; margin-top: 1.5rem; }
@media (min-width: 48rem) { .dark .about-photos { position: sticky; top: 2rem; } }

/* Slideshow helper: jump between photos and reviews */
.hint { color: var(--ink-soft); font-size: .98rem; }
.show-mid { display: flex; flex-direction: column; align-items: center; gap: .45rem; }
.jump { background: var(--berry); color: #fff; border: 0; border-radius: 999px; padding: .4rem .95rem; font: 600 .9rem var(--body); cursor: pointer; }
.jump:hover { background: var(--berry-dark); }
/* About: short version with full story tucked away */
.story { border-top: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); padding: .9rem 0; margin: 1.25rem 0; }
.story summary { color: #ffd9cf; font-weight: 700; cursor: pointer; }
.story[open] summary { margin-bottom: .75rem; }
.about-cta { margin-top: .5rem; background: #fff; color: var(--teal); }
.about-cta:hover { background: var(--blush); color: var(--teal); }
.show-controls .jump { width: auto; height: auto; display: inline-block; border: 0; border-radius: 999px; background: var(--berry); color: #fff; font: 600 .9rem var(--body); padding: .45rem 1rem; line-height: 1.2; white-space: nowrap; }
.show-controls .jump:hover { background: var(--berry-dark); color: #fff; }
.dark .about-cta { background: #fff; color: var(--teal); }
.dark .about-cta:hover { background: var(--blush); color: var(--teal); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.show { scroll-margin-top: 1rem; }

/* Highlighted words in reviews, for skim readers */
.slide-review p::first-letter { color: inherit; }
.slide-review .hl { color: #ffc2b2; font-weight: 700; }
.review .hl { color: var(--berry); font-weight: 800; }
.slide-review .hl { color: #ffb8a5; }

/* Reviews page */
.review-grid { columns: 2 22rem; column-gap: 1.5rem; }
.review-grid .review { break-inside: avoid; margin: 0 0 1.5rem; background: #fff; }
.tint .review-grid .review { background: var(--porcelain); }
.review-group { padding: clamp(2.5rem, 6vw, 4rem) 0; }
.review-group h2 { color: var(--berry); }
.review-jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.review-jump a { text-decoration: none; border: 1.5px solid var(--sage); color: var(--sage); border-radius: 999px; padding: .35rem .9rem; font-weight: 600; font-size: .92rem; }
.review-jump a:hover { background: var(--sage); color: #fff; }
.stars-inline { color: var(--coral); letter-spacing: .1em; }
.review-group { scroll-margin-top: .5rem; }

.menu-group { font-size: 1.6rem; color: var(--coral-deep, #C4361A); margin: 2rem 0 .25rem; }
.menu-note { margin: 0 0 .5rem; color: var(--ink-soft); max-width: 46rem; }
