/* ============================================================
   Backstage unisex — ink & skin
   ink #0b0a09 · smoke #171512 · bone #ece5dc · ash #948c82 · red-ink #d6263c
   ============================================================ */

:root {
  --ink: #0b0a09;
  --smoke: #171512;
  --bone: #ece5dc;
  --ash: #948c82;
  --red-ink: #d6263c;
  --hairline: rgba(236, 229, 220, 0.14);
  --hairline-soft: rgba(236, 229, 220, 0.07);

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-script: "Caveat", cursive;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --section-gap: clamp(4.5rem, 9vw, 8.5rem);
  --max-w: 78rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* decorative glows/scripts must never create sideways scroll */
  overflow-x: hidden;
  overflow-x: clip;
}

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--red-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}

/* ---------- shared ---------- */

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ash);
  margin: 0 0 1.1rem;
}

.section-head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
}

/* dim red glow behind headings */
.hero-title::before,
.section-head h2::before,
.service-body h3::before,
.price-body h3::before {
  content: "";
  position: absolute;
  inset: -45% -18%;
  background: radial-gradient(ellipse at 32% 58%, rgba(214, 38, 60, 0.20), transparent 68%);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}

.service-body h3,
.price-body h3 { position: relative; }
.service-body h3::before,
.price-body h3::before { inset: -60% -25%; opacity: 0.7; }

section { margin-top: var(--section-gap); }

/* red handwritten annotations — the studio's own red-ink words */
.script-note {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--red-ink);
  pointer-events: none;
  user-select: none;
  display: inline-block;
}

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.7rem;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--red-ink);
  color: #fff;
}
.btn-primary:hover { background: #b91d31; }

.btn-ghost {
  border-color: var(--hairline);
  color: var(--bone);
}
.btn-ghost:hover { border-color: var(--bone); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 10, 9, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline-soft);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.8rem var(--pad-x);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  object-fit: cover;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand-name em {
  font-style: italic;
  font-size: 0.8em;
  color: var(--ash);
}

.site-nav {
  display: flex;
  gap: 1.8rem;
  margin-left: auto;
}

.site-nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ash);
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--bone); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.lang-toggle {
  background: none;
  border: none;
  padding: 0.3rem 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ash);
}
.lang-toggle .lang-opt.is-active { color: var(--bone); }
.lang-toggle .lang-sep { opacity: 0.5; padding: 0 0.15rem; }

.header-phone {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--bone);
  white-space: nowrap;
}
.header-phone:hover { color: var(--red-ink); }

.nav-burger {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 1.4rem;
  height: 1px;
  background: var(--bone);
  margin: 5px 0;
  transition: transform 0.25s ease;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  margin-top: 0;
  overflow: hidden;
}

/* the needle line — a hairline running down the page like a spine tattoo */
.needle-line {
  position: absolute;
  top: 0;
  bottom: -20rem;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0,
    var(--hairline) 8rem,
    var(--hairline) 85%,
    transparent 100%
  );
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) var(--pad-x) 0;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  font-weight: 300;
  letter-spacing: 0.005em;
  position: relative;
}

.hero-script {
  position: absolute;
  right: clamp(0rem, 4vw, 4rem);
  bottom: -1.9rem;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  transform: rotate(-7deg);
}

.hero-lead {
  max-width: 34rem;
  margin: 2.2rem 0 0;
  font-size: 1.05rem;
  color: var(--ash);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.hero-proof {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin: 3.2rem 0 0;
  padding: 1.6rem 0 2.5rem;
  border-top: 1px solid var(--hairline-soft);
}

.hero-proof li { display: grid; gap: 0.15rem; }

.proof-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}
.proof-num .star { color: var(--red-ink); font-size: 1.05rem; }

.proof-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}

.hero-photo {
  margin: 0;
  position: relative;
  align-self: stretch;
  min-height: 24rem;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.02);
  -webkit-mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 78%, transparent 100%);
}

.photo-tag {
  position: absolute;
  left: -0.6rem;
  bottom: 3rem;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ---------- services ---------- */

.service-panels {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-panel {
  background: var(--smoke);
  border: 1px solid var(--hairline-soft);
  display: grid;
  grid-template-rows: auto 1fr;
}

.service-photo {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
  transition: transform 0.6s ease;
}
.service-panel:hover .service-photo img { transform: scale(1.03); }

.service-body {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.service-body h3 {
  font-size: 2rem;
  font-weight: 400;
}

.service-price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red-ink);
}
.service-price span {
  font-size: 0.95rem;
  color: var(--ash);
  font-family: var(--font-body);
}

.service-desc {
  margin: 0;
  color: var(--ash);
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.service-list li {
  padding-left: 1.3rem;
  position: relative;
  font-size: 0.95rem;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.7rem;
  height: 1px;
  background: var(--red-ink);
}

.service-body .btn { margin-top: auto; }

/* piercing price list */
.price-block {
  max-width: var(--max-w);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: stretch;
}

.price-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  background: var(--smoke);
}

.price-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9);
}

.price-body {
  background: var(--smoke);
  border: 1px solid var(--hairline-soft);
  padding: clamp(1.5rem, 3vw, 2.6rem);
}

.price-body h3 {
  font-size: 2rem;
  margin-bottom: 1.4rem;
}

.price-group + .price-group { margin-top: 1.4rem; }

.price-group h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red-ink);
  margin: 0 0 0.6rem;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.price-list li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.price-list span {
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.price-list i {
  flex: 1;
  border-bottom: 1px dotted rgba(236, 229, 220, 0.25);
  transform: translateY(-0.25rem);
}

.price-list b {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.price-note {
  margin: 1.6rem 0 0;
  font-size: 0.82rem;
  color: var(--ash);
}

/* studio facts band */
.studio-facts {
  list-style: none;
  max-width: var(--max-w);
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.studio-facts li {
  border-top: 1px solid var(--hairline);
  padding-top: 1.3rem;
}

.studio-facts h4 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.studio-facts p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ash);
}

/* ---------- works ---------- */

.works-script {
  position: absolute;
  right: -4.5rem;
  top: -1.6rem;
  font-size: 2.4rem;
  transform: rotate(6deg);
}

.works-grid {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 var(--pad-x);
  columns: 3;
  column-gap: 1.1rem;
}

.works-grid figure {
  margin: 0 0 1.1rem;
  break-inside: avoid;
  overflow: hidden;
  background: var(--smoke);
}

.works-grid img {
  width: 100%;
  filter: saturate(0.9);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.works-grid figure:hover img {
  transform: scale(1.025);
  filter: saturate(1);
}

.works-more {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding: 0 var(--pad-x);
  text-align: center;
}

/* ---------- reviews ---------- */

.reviews-layout {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.google-badge {
  border: 1px solid var(--hairline);
  padding: 2.2rem 2rem;
  text-align: center;
  position: sticky;
  top: 6rem;
}

.badge-score {
  margin: 0;
  font-family: var(--font-display);
  font-size: 4.4rem;
  font-weight: 300;
  line-height: 1;
}

.badge-stars {
  margin: 0.6rem 0 0.2rem;
  color: var(--red-ink);
  letter-spacing: 0.25em;
  font-size: 1.05rem;
}

.badge-count {
  margin: 0;
  color: var(--ash);
  font-size: 0.88rem;
}

.badge-link {
  display: inline-block;
  margin-top: 1.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  text-decoration: none;
  border-bottom: 1px solid var(--red-ink);
  padding-bottom: 0.25rem;
}
.badge-link:hover { color: var(--red-ink); }

.review-cards { display: grid; gap: 1.2rem; }

.review-card {
  margin: 0;
  background: var(--smoke);
  border: 1px solid var(--hairline-soft);
  padding: 1.8rem 2rem;
  position: relative;
  cursor: pointer;
  transition: opacity 0.45s ease, filter 0.45s ease, border-color 0.45s ease;
}

/* text stays above the flowers */
.review-card > * { position: relative; z-index: 1; }

.review-card.is-focused { border-color: rgba(214, 38, 60, 0.45); }

.review-cards.has-focus .review-card:not(.is-focused) {
  opacity: 0.32;
  filter: saturate(0.5);
}

/* ---- lilies (shared: reviews + call modal) ---- */
.flowers {
  pointer-events: none;
  overflow: visible;
}

.review-flowers {
  position: absolute;
  right: 0.4rem;
  bottom: 0;
  width: clamp(90px, 26%, 150px);
  height: auto;
  z-index: 0;
}

.flowers .stem {
  fill: none;
  stroke: var(--red-ink);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0.7;
  stroke-dasharray: var(--len) var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 0.9s ease;
  transition-delay: 0s;
}
.flowers-open .stem {
  stroke-dashoffset: 0;
  transition-delay: var(--sd);
}

.flowers .lily {
  opacity: 0;
  transition: opacity 0.35s ease;
  transition-delay: 0s;
}
.flowers-open .lily {
  opacity: 1;
  transition-delay: var(--fd);
}

.flowers .lpetal {
  fill: rgba(214, 38, 60, 0.14);
  stroke: var(--red-ink);
  stroke-width: 0.7;
  transform: rotate(0deg) scale(0.22);
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: transform 0.7s cubic-bezier(0.34, 1.4, 0.64, 1);
  transition-delay: 0s;
}
.flowers-open .lpetal {
  transform: rotate(var(--a)) scale(var(--sz));
  transition-delay: var(--pd);
}

.flowers .stamen {
  stroke: var(--red-ink);
  stroke-width: 0.55;
  opacity: 0;
  transition: opacity 0.4s ease 0s;
}
.flowers .anther {
  fill: var(--red-ink);
  opacity: 0;
  transition: opacity 0.4s ease 0s;
}
.flowers-open .stamen,
.flowers-open .anther {
  opacity: 0.75;
  transition-delay: var(--sd2);
}

.flowers .pollen {
  fill: rgba(224, 74, 94, 0.55);
  opacity: 0;
}
.flowers-open .pollen {
  animation: pollenRise var(--pdur) ease-out var(--pdel) infinite;
}

@keyframes pollenRise {
  0% { opacity: 0; transform: translate(0, 0); }
  25% { opacity: 0.55; }
  100% { opacity: 0; transform: translate(var(--dx), -30px); }
}

.review-text {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.5;
}

.review-card footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.8rem;
}

.review-card cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
}

.review-tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ---------- contacts ---------- */

.contacts-layout {
  max-width: var(--max-w);
  margin: 3rem auto 0;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
}

.contact-info dl { margin: 0 0 2.2rem; }

.contact-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hairline-soft);
}

.contact-row dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  padding-top: 0.25rem;
}

.contact-row dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.contact-row dd a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.contact-row dd a:hover {
  color: var(--red-ink);
  border-bottom-color: var(--red-ink);
}

.contact-map {
  min-height: 24rem;
  border: 1px solid var(--hairline-soft);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  border: 0;
  display: block;
  filter: invert(0.92) hue-rotate(180deg) grayscale(0.25) contrast(0.9);
}

/* ---------- call confirmation modal ---------- */

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  scroll-margin-top: 40vh; /* land with the button mid-screen, below the sticky header */
}

/* short red pulse to point at the call button after arriving */
.call-open.is-pulsing {
  animation: callPulse 0.9s ease-out 2;
}

@keyframes callPulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 38, 60, 0.55); }
  100% { box-shadow: 0 0 0 18px rgba(214, 38, 60, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .call-open.is-pulsing { animation: none; }
}

.call-modal[hidden] { display: none; }

.call-modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(11, 10, 9, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.call-modal.is-open { opacity: 1; }

.call-dialog {
  position: relative;
  background: var(--smoke);
  border: 1px solid var(--hairline);
  padding: 2.8rem clamp(2rem, 7vw, 4.5rem) 3rem;
  max-width: 34rem;
  text-align: center;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.call-modal.is-open .call-dialog { transform: none; }

.call-dialog > *:not(.modal-flowers) {
  position: relative;
  z-index: 1;
}

.call-dialog .eyebrow { margin-bottom: 0.7rem; }

.call-dialog h3 {
  font-size: 1.9rem;
  font-weight: 400;
}

.call-phone {
  margin: 0.7rem 0 0.2rem;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red-ink);
}

.call-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ash);
}

.call-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.call-close {
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  background: none;
  border: none;
  color: var(--ash);
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem;
}
.call-close:hover { color: var(--red-ink); }

/* lilies on both sides of the dialog */
.modal-flowers {
  position: absolute;
  bottom: -2px;
  width: clamp(80px, 24%, 130px);
  height: auto;
  z-index: 0;
}
.modal-flowers-left { left: -1rem; transform: scaleX(-1); }
.modal-flowers-right { right: -1rem; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: var(--section-gap);
  border-top: 1px solid var(--hairline-soft);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2.5rem var(--pad-x) 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1.5rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ash);
}

.footer-copy { margin-left: auto !important; }

/* ---------- red-ink vines (scroll bloom) ---------- */

.vines {
  position: fixed;
  top: 0;
  height: 100vh;
  width: clamp(54px, 6.5vw, 110px);
  z-index: 30;
  pointer-events: none;
  opacity: 0.9;
}

.vines-left { left: 0; }
.vines-right { right: 0; }

.vines svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.vine-path {
  fill: none;
  stroke: var(--red-ink);
  stroke-width: 1.4;
  stroke-linecap: round;
}

/* buds */
.bud { opacity: 0; transition: opacity 0.6s ease; }
.bud.budding { opacity: 1; }

.bud .leaf {
  fill: none;
  stroke: var(--red-ink);
  stroke-width: 0.9;
  opacity: 0;
  transition: opacity 0.7s ease 0.15s;
}
.bud.budding .leaf { opacity: 0.85; }

.bud .budcore {
  fill: var(--red-ink);
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: transform 0.7s ease;
}
.bud.bloomed .budcore { transform: scale(0); }

.bud .petals {
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(0.34, 1.45, 0.64, 1);
}
.bud.bloomed .petals { transform: scale(1); }

.bud .petal {
  fill: rgba(214, 38, 60, 0.28);
  stroke: var(--red-ink);
  stroke-width: 0.8;
}

.bud .budcenter {
  fill: var(--red-ink);
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.6s ease 0.35s;
}
.bud.bloomed .budcenter { transform: scale(1); }

/* petal rain */
.petal-rain {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  overflow: hidden;
}

.petal-fall {
  position: absolute;
  top: -6vh;
  left: var(--x);
  width: var(--s);
  height: calc(var(--s) * 1.2);
  background: radial-gradient(circle at 30% 30%, #e04a5e, #b31d31);
  border-radius: 85% 0 85% 0;
  opacity: 0.85;
  transform: rotate(20deg);
  animation: petalFall var(--d) linear var(--delay) forwards;
  will-change: transform;
}

@keyframes petalFall {
  0% { transform: translate(0, 0) rotate(20deg); }
  50% { transform: translate(calc(var(--drift) * 0.45), 55vh) rotate(calc(var(--rot) * 0.55)); }
  100% { transform: translate(var(--drift), 120vh) rotate(var(--rot)); }
}

/* swirl flight: in from the left, one big loop, out the right */
.petal-swirl {
  top: 0;
  left: 0;
  offset-rotate: auto 45deg;
  offset-distance: 0%;
  opacity: 0;
  animation:
    petalSwirl var(--d) linear var(--delay) forwards,
    petalSpin var(--d) linear var(--delay) forwards;
}

/* start and end are off-screen, so opacity stays constant — no pop-in/out */
@keyframes petalSwirl {
  0% { offset-distance: 0%; opacity: 0.9; }
  100% { offset-distance: 100%; opacity: 0.9; }
}

@keyframes petalSpin {
  from { transform: translate(var(--jx), var(--jy)) rotate(0deg); }
  to { transform: translate(var(--jx), var(--jy)) rotate(var(--rot)); }
}

@media (max-width: 900px) {
  .vines { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bud, .bud .leaf, .bud .budcore, .bud .petals, .bud .budcenter { transition: none; }
  .petal-fall { animation: none; display: none; }
  .flowers .stem,
  .flowers .lily,
  .flowers .lpetal,
  .flowers .stamen,
  .flowers .anther { transition: none; }
  .flowers-open .pollen { animation: none; }
  .call-modal, .call-dialog { transition: none; }
}

/* ---------- lightbox ---------- */

.works-grid img,
.service-photo img,
.price-photo img,
.hero-photo img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(11, 10, 9, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}

.lightbox.is-open { opacity: 1; }

.lightbox img {
  max-width: min(94vw, 64rem);
  max-height: 84vh;
  object-fit: contain;
  border: 1px solid var(--hairline-soft);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox figcaption {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--ash);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  background: none;
  border: none;
  color: var(--bone);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.4rem;
}
.lightbox-close:hover { color: var(--red-ink); }

body.lightbox-open { overflow: hidden; }

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-photo img, .works-grid img { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { min-height: 0; max-height: 30rem; }
  .hero-photo img { -webkit-mask-image: none; mask-image: none; }
  .needle-line { display: none; }

  .service-panels { grid-template-columns: 1fr; }
  .studio-facts { grid-template-columns: 1fr; }
  .price-block { grid-template-columns: 1fr; }
  .price-photo { max-height: 26rem; }
  .works-grid { columns: 2; }
  .works-script { right: 0; top: -2.2rem; }

  .reviews-layout,
  .contacts-layout { grid-template-columns: 1fr; }
  .google-badge { position: static; }

  .site-nav {
    position: fixed;
    inset: 3.9rem 0 auto 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11, 10, 9, 0.97);
    border-bottom: 1px solid var(--hairline);
    padding: 0.5rem 0 1rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 40;
  }
  .site-nav.is-open { transform: none; }
  .site-nav a { padding: 0.9rem var(--pad-x); }

  .nav-burger { display: block; }
  .header-phone { display: none; }
}

@media (max-width: 540px) {
  .works-grid { columns: 1; }
  .hero-script { bottom: -2.2rem; right: 0; }
  .hero-lead { margin-top: 3.4rem; }
  .contact-row { grid-template-columns: 1fr; gap: 0.2rem; }
}
