/* ============================================================
   single-service.html (360 booth) — design-01 language, own grid.
   Like services/location, this page breaks from the fixed 1200px
   canvas: responsive sections capped at 1200px, all classes
   spin- prefixed to stay clear of canvas rules. Anatomy is its
   own: full-bleed video hero, count-up number band, a dark
   chapter player ("Anatomy of a spin"), hover-expanding arch
   event panels, one oversized pull quote, animated FAQ.
   Motion: load choreography (spin-rise), shared .fade-in
   observer (script.js), chapter autoplay + count-ups in
   single-service.js. All motion respects reduced motion.
   ============================================================ */

.spin-wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(22px, 4vw, 48px); }

.spin-eyebrow {
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--powder);
}
.spin-h2 {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08;
  text-transform: uppercase; letter-spacing: .02em;
}
.spin-h2 em { font-style: italic; text-transform: none; letter-spacing: 0; }
.spin-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 17px 36px; background: var(--paleblue); text-decoration: none;
  border: 0; cursor: pointer;
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--slate);
  transition: background .45s, color .45s, transform .45s;
}
.spin-btn:hover { background: var(--powder); color: var(--cream); }
.spin-btn:focus-visible { outline: 2px solid var(--powder); outline-offset: 3px; }
.spin-ghost {
  font-family: var(--font-sub); font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cream); text-decoration: none;
  border-bottom: 1px solid var(--paleblue); padding-bottom: 6px;
  transition: color .3s, border-color .3s;
}
.spin-ghost:hover { color: var(--paleblue); }

/* scroll reveal (rides the shared .fade-in observer in script.js) */
.spin-main .fade-in { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.spin-main .fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- hero: full-bleed video, centered copy ---------- */
.spin-hero {
  position: relative; overflow: hidden;
  min-height: 560px; height: min(88vh, 820px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--slate);
}
.spin-hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.spin-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,58,85,.38) 0%, rgba(43,58,85,.44) 55%, rgba(43,58,85,.66) 100%);
}
.spin-hero-copy { position: relative; padding: 96px 22px; max-width: 900px; }
@keyframes spin-rise { to { opacity: 1; transform: none; } }
.spin-rise { opacity: 0; transform: translateY(26px); animation: spin-rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.spin-hero .spin-eyebrow { display: block; margin-bottom: 28px; color: var(--paleblue); animation-delay: .05s; }
.spin-h1 {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(52px, 7.4vw, 104px); line-height: .98;
  text-transform: uppercase; letter-spacing: .02em; color: var(--cream);
}
.spin-h1 .spin-line { display: block; }
.spin-h1 .spin-line:nth-child(1) { animation-delay: .14s; }
.spin-h1 .spin-line:nth-child(2) { animation-delay: .26s; }
.spin-h1 em { font-style: italic; text-transform: none; letter-spacing: 0; color: var(--paleblue); }
.spin-lede {
  max-width: 54ch; margin: 26px auto 0; font-size: 16px; line-height: 1.75;
  color: rgba(247, 248, 245, .82); animation-delay: .4s;
}
.spin-hero-actions {
  margin-top: 36px; display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap; animation-delay: .52s;
}

/* ---------- the spin, by the numbers (count-ups) ---------- */
.spin-numbers { background: var(--cream); padding: clamp(56px, 7vw, 92px) 0; }
.spin-numbers .spin-eyebrow { display: block; text-align: center; margin-bottom: clamp(34px, 4vw, 52px); }
.spin-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 52px); }
.spin-num { border-left: 1px solid rgba(43, 58, 85, .25); padding-left: 18px; }
.spin-num b {
  display: block; font-family: var(--font-display); font-weight: 200;
  font-size: clamp(40px, 4.4vw, 64px); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.spin-num span {
  display: block; margin-top: 10px; font-family: var(--font-sub); font-size: 10.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--powder);
}

/* ---------- anatomy of a spin: dark chapter player ---------- */
.spin-film { background: var(--slate); color: var(--cream); padding: clamp(72px, 9vw, 120px) 0; scroll-margin-top: 84px; }
.spin-film .spin-eyebrow { color: var(--paleblue); }
.spin-film-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 60px); }
.spin-film-head .spin-eyebrow { display: block; margin-bottom: 18px; }
.spin-film-head p { margin-top: 18px; font-size: 15px; line-height: 1.75; color: rgba(247, 248, 245, .72); }

.spin-stage { position: relative; overflow: hidden; }
.spin-stage-media { position: relative; aspect-ratio: 16 / 7.6; }
.spin-stage-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.spin-stage-media img.is-live { opacity: 1; }
.spin-stage-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(60px, 6vw, 90px) clamp(22px, 3vw, 40px) clamp(20px, 2.4vw, 30px);
  background: linear-gradient(180deg, rgba(43,58,85,0) 0%, rgba(43,58,85,.78) 100%);
  pointer-events: none;
  /* all captions share one grid cell so the crossfade never reflows */
  display: grid; align-items: end;
}
.spin-stage-caption p {
  grid-area: 1 / 1; margin: 0; max-width: 62ch;
  font-family: var(--font-display); font-style: italic; font-weight: 200;
  font-size: clamp(18px, 2vw, 26px); line-height: 1.4; color: var(--cream);
  opacity: 0; transition: opacity .8s ease;
}
.spin-stage-caption p.is-live { opacity: 1; }

.spin-chapters { margin-top: clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 30px); }
.spin-chap {
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
  color: rgba(247, 248, 245, .62); transition: color .35s;
}
.spin-chap:hover { color: var(--cream); }
.spin-chap:focus-visible { outline: 2px solid var(--paleblue); outline-offset: 4px; }
.spin-chap.is-live { color: var(--cream); }
.spin-chap-track { display: block; height: 2px; background: rgba(247, 248, 245, .22); overflow: hidden; }
.spin-chap-fill { display: block; height: 100%; width: 0; background: var(--paleblue); }
.spin-chap.is-live .spin-chap-fill.is-run { width: 100%; transition: width var(--spin-dur, 5s) linear; }
.spin-chap-num {
  display: block; margin-top: 16px;
  font-family: var(--font-display); font-style: italic; font-weight: 200;
  font-size: 22px; color: var(--paleblue);
}
.spin-chap-name {
  display: block; margin-top: 8px; font-family: var(--font-sub);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
}
.spin-chap-sub { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: rgba(247, 248, 245, .55); }
.spin-chap.is-live .spin-chap-sub { color: rgba(247, 248, 245, .75); }

/* ---------- where it plays: hover-expanding arch panels ---------- */
.spin-events { background: var(--cream); padding: clamp(72px, 9vw, 120px) 0; }
.spin-evt-head { text-align: center; max-width: 640px; margin: 0 auto clamp(44px, 5vw, 68px); }
.spin-evt-head .spin-eyebrow { display: block; margin-bottom: 18px; }
.spin-evt-head p { margin-top: 18px; font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--slate) 78%, var(--cream)); }
.spin-panels { display: flex; gap: clamp(14px, 1.8vw, 24px); align-items: stretch; }
.spin-panel {
  position: relative; overflow: hidden; cursor: pointer;
  flex: 1; min-width: 0; height: clamp(440px, 46vw, 560px);
  border-radius: 999px 999px 0 0;
  transition: flex .75s cubic-bezier(.2,.7,.2,1);
}
.spin-panel.is-open { flex: 2.1; }
.spin-panel > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.spin-panel:hover > img { transform: scale(1.04); }
.spin-panel-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,58,85,.05) 40%, rgba(43,58,85,.74) 100%);
}
.spin-panel-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 32px); color: var(--cream); }
.spin-panel-body h3 {
  font-family: var(--font-sub); font-weight: 400; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
}
.spin-panel-more {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.7,.2,1) .1s;
}
.spin-panel.is-open .spin-panel-more { grid-template-rows: 1fr; }
.spin-panel-more > div { min-height: 0; overflow: hidden; }
.spin-panel-more p {
  margin-top: 12px; font-size: 14px; line-height: 1.7; max-width: 44ch;
  color: rgba(247, 248, 245, .85);
  opacity: 0; transition: opacity .5s ease;
}
.spin-panel.is-open .spin-panel-more p { opacity: 1; transition-delay: .25s; }
.spin-panel-more .spin-btn { margin-top: 18px; padding: 14px 26px; opacity: 0; transition: opacity .5s ease; }
.spin-panel.is-open .spin-panel-more .spin-btn { opacity: 1; transition-delay: .3s; }

/* ---------- one oversized pull quote ---------- */

/* ---------- faq: centered single column ---------- */
.spin-faq { background: var(--linen); padding: clamp(64px, 8vw, 110px) 0; }
.spin-faq-head { text-align: center; max-width: 560px; margin: 0 auto clamp(36px, 4vw, 52px); }
.spin-faq-head .spin-eyebrow { display: block; margin-bottom: 18px; }
.spin-faq-head p { margin-top: 18px; font-size: 15px; line-height: 1.75; color: color-mix(in srgb, var(--slate) 78%, var(--linen)); }
.spin-faqs { max-width: 760px; margin: 0 auto; }
.spin-faqs .faq-q { font-size: 15px; }
/* animated open: grid-rows collapse, overriding the global display toggle */
.spin-faqs .faq-a {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1);
}
.spin-faqs .faq-item.open .faq-a { grid-template-rows: 1fr; }
.spin-faqs .faq-a p {
  min-height: 0; padding: 0; font-size: 14.5px; line-height: 1.75;
  color: color-mix(in srgb, var(--slate) 80%, var(--linen));
}
.spin-faqs .faq-item.open .faq-a p { padding-bottom: 18px; }


/* ---------- hero price chip ---------- */
.spin-hero-chip {
  margin-top: 22px; font-family: var(--font-sub); font-size: 10.5px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 248, 245, .85);
  animation-delay: .64s;
}
.spin-hero-chip a { color: var(--paleblue); }

/* ---------- what's included ---------- */
.spin-included { background: var(--linen); padding: clamp(64px, 8vw, 104px) 0; }
.spin-inc-head { text-align: center; max-width: 620px; margin: 0 auto clamp(36px, 4vw, 54px); }
.spin-inc-head .spin-eyebrow { display: block; margin-bottom: 18px; }
.spin-inc-list { list-style: none; max-width: 760px; margin: 0 auto; border-top: 1px solid rgba(43, 58, 85, .18); }
.spin-inc-list li {
  display: grid; grid-template-columns: 240px 1fr; gap: 8px 32px;
  padding: 20px 10px; border-bottom: 1px solid rgba(43, 58, 85, .18);
}
.spin-inc-list b {
  font-family: var(--font-sub); font-weight: 400; font-size: 12px;
  letter-spacing: .18em; text-transform: uppercase;
}
.spin-inc-list span { font-size: 14.5px; line-height: 1.7; color: color-mix(in srgb, var(--slate) 78%, var(--linen)); }
.spin-inc-note { margin-top: 26px; text-align: center; font-size: 13.5px; color: color-mix(in srgb, var(--slate) 70%, var(--linen)); }
.spin-inc-note a { color: var(--slate); }

/* ---------- occasion panel cross-link ---------- */
.spin-panel-link {
  display: inline-block; margin-top: 14px; font-family: var(--font-sub);
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--paleblue); text-decoration: none;
  border-bottom: 1px solid var(--paleblue); padding-bottom: 4px;
}
.spin-panel-link:hover { color: var(--cream); border-color: var(--cream); }

/* ---------- reviews ---------- */
.spin-reviews { background: var(--butter); padding: clamp(64px, 8vw, 104px) 0; }
.spin-rev-head { text-align: center; max-width: 620px; margin: 0 auto clamp(36px, 4vw, 54px); }
.spin-rev-head .spin-eyebrow { display: block; margin-bottom: 18px; }
.spin-rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 34px); }
.spin-review {
  margin: 0; background: var(--cream); border: 1px solid rgba(43, 58, 85, .12);
  padding: clamp(26px, 2.6vw, 36px); display: flex; flex-direction: column;
}
.spin-stars { color: var(--powder); font-size: 12px; letter-spacing: .34em; }
.spin-review blockquote {
  margin: 18px 0 24px; font-family: var(--font-display); font-style: italic;
  font-weight: 200; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45;
}
.spin-review figcaption {
  margin-top: auto; font-family: var(--font-sub); font-size: 11px;
  letter-spacing: .2em; text-transform: uppercase;
}
.spin-review figcaption span { display: block; margin-top: 6px; color: var(--powder); }

/* ---------- mobile + motion safety ---------- */
@media (max-width: 900px) {
  .spin-rev-grid { grid-template-columns: 1fr; }
  .spin-inc-list li { grid-template-columns: 1fr; }
  .spin-hero { height: auto; min-height: 78vh; }
  .spin-nums { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .spin-stage-media { aspect-ratio: 4 / 3.4; }
  .spin-chapters { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .spin-panels { flex-direction: column; }
  .spin-panel, .spin-panel.is-open { flex: none; height: 420px; }
  /* every panel reads open on mobile: no hover to reveal the copy */
  .spin-panel .spin-panel-more { grid-template-rows: 1fr; }
  .spin-panel .spin-panel-more p,
  .spin-panel .spin-panel-more .spin-btn { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .spin-rise { animation: none; opacity: 1; transform: none; }
  .spin-main .fade-in { transition: none; opacity: 1; transform: none; }
  .spin-stage-media img, .spin-stage-caption p, .spin-panel,
  .spin-panel > img, .spin-panel-more, .spin-panel-more p,
  .spin-panel-more .spin-btn, .spin-chap-fill { transition: none; }
  .spin-chap.is-live .spin-chap-fill.is-run { width: 100%; transition: none; }
}
