/* =========================================================
   Service page template (content creation, podcast, events,
   membership). Generated by tools/build_services.py
   ========================================================= */

.sv-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sv-sec { padding: 120px 0; position: relative; }
.sv-head { text-align: center; max-width: 740px; margin: 0 auto 54px; }
.sv-head h2, .sv-h2 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.sv-head h2 em, .sv-h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; color: var(--accent); letter-spacing: -.01em; }
.sv-head p, .sv-lead { margin-top: 16px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.sv-head .sec-top { text-align: left; }

/* Pill CTA */
.pill-cta { display: inline-flex; align-items: center; gap: 16px; padding: 7px 7px 7px 24px; border-radius: 100px; background: #fff; color: #111; font-weight: 600; font-size: 15px; transition: background .35s, color .35s; }
.pill-cta .c { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: background .35s, transform .35s; }
.pill-cta .c svg { width: 14px; height: 14px; }
.pill-cta:hover { background: var(--accent); color: #fff; }
.pill-cta:hover .c { background: #111; transform: rotate(-45deg); }

/* ---------- Hero: centered copy + curved 3D gallery (infinite) ---------- */
.sv-hero { --R: 820px; --P: 620px; --cw: 330px; --ch: 450px;
  position: relative; overflow: hidden; text-align: center; padding: 150px 0 0;
  background: radial-gradient(ellipse 60% 45% at 50% 62%, rgba(203,54,15,.16), transparent 70%), var(--bg); }
.sv-hero .inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; padding: 0 20px; will-change: transform, opacity; }
.sv-crumb { font-size: 11px; text-transform: uppercase; letter-spacing: .25em; color: var(--muted); margin-bottom: 24px; }
.sv-crumb span { color: var(--accent); }
.sv-hero h1 { font-size: clamp(42px, 5.4vw, 84px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; max-width: 1050px; }
.sv-hero h1 .l1 { display: block; font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.05; }
.sv-sub { max-width: 560px; margin: 20px auto 30px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* The camera sits inside a ring of photos: side photos are closer, so they look bigger and turned */
.sv-ring-wrap { position: relative; z-index: 1; height: calc(var(--ch) * .95); margin-top: -10px; perspective: var(--P); perspective-origin: 50% 50%; }
/* Edge fade drawn on top (a CSS mask here would flatten the 3D perspective in Safari) */
.sv-ring-wrap::before, .sv-ring-wrap::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 20%; z-index: 2; pointer-events: none; }
.sv-ring-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg) 10%, transparent); }
.sv-ring-wrap::after { right: 0; background: linear-gradient(270deg, var(--bg) 10%, transparent); }
.sv-ring-tilt, .sv-ring { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.sv-ring { animation: ringSpin 80s linear infinite; }
.sv-ring-wrap:hover .sv-ring { animation-play-state: paused; }
@keyframes ringSpin { to { transform: rotateY(-360deg); } }
.rc { position: absolute; width: var(--cw); height: var(--ch); margin: calc(var(--ch) / -2) 0 0 calc(var(--cw) / -2); border-radius: 24px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  transform: rotateY(var(--a)) translateZ(calc(var(--R) * -1)); background: var(--card); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.rc img { width: 100%; height: 100%; object-fit: cover; }

.sv-hl { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1100px; margin: 10px auto 0; padding-bottom: 80px; text-align: center; }
.sv-hl div { padding: 18px 34px 8px; }
.sv-hl div + div { border-left: 1px solid var(--line); }
.sv-hl h3 { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.sv-hl p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 10px; }

/* ---------- Bento ---------- */
.bento4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bcard { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 400px; padding: 30px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.bcard.wide { grid-column: span 2; }
.bcard .ph { position: absolute; inset: 0; overflow: hidden; }
.bcard .ph img { width: 100%; height: 120%; object-fit: cover; transition: scale 1.2s cubic-bezier(.2,.7,.2,1); }
.bcard:hover .ph img { scale: 1.05; }
.bcard.img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.82)); }
.bcard.accent { background: var(--accent); border-color: var(--accent); }
.bcard.accent p { color: rgba(255,255,255,.85); }
.bcard .txt { position: relative; z-index: 2; }
.bcard .ico { position: absolute; top: 28px; left: 30px; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--accent); }
.bcard.accent .ico { color: #fff; }
.bcard h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.bcard p { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 380px; }

/* ---------- Stats (image cards with big numbers) ---------- */
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.scard { position: relative; overflow: hidden; height: 460px; border-radius: 16px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; background: var(--card); }
.scard .ph { position: absolute; inset: 0; overflow: hidden; }
.scard .ph img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(.35) brightness(.7); transition: filter .8s; }
.scard:hover .ph img { filter: none; }
.scard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85)); }
.scard > div { position: relative; z-index: 2; }
.scard .num { font-family: var(--serif); font-size: clamp(64px, 6vw, 100px); line-height: .9; }
.scard .num sup { font-size: .35em; vertical-align: top; color: var(--accent); margin: 0 3px; }
.scard p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Banner with floating cards ---------- */
.banner { position: relative; overflow: hidden; border-radius: 20px; min-height: 580px; display: flex; align-items: flex-end; padding: 34px; }
.banner .ph { position: absolute; inset: 0; overflow: hidden; }
.banner .ph img { width: 100%; height: 120%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55)); }
.banner-title { position: absolute; z-index: 2; top: 34px; left: 34px; right: 34px; font-size: clamp(34px, 4vw, 56px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.banner-title em { font-family: var(--serif); font-weight: 400; color: var(--accent); }
.bcards { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.bc { padding: 22px 22px 24px; border-radius: 14px; background: rgba(17,17,18,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.1); }
.bc .eb { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--accent); }
.bc h3 { font-size: 18px; font-weight: 600; margin-top: 6px; line-height: 1.25; }
.bc p { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ---------- Radial features ---------- */
.radial { display: grid; grid-template-columns: 1fr 1.05fr 1fr; gap: 50px; align-items: center; }
.radial ul { list-style: none; display: grid; gap: 54px; }
.radial .left { text-align: right; }
.radial h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.radial p { font-size: 14px; color: var(--muted); margin-top: 8px; }
.radial li { transition: transform .5s; }
.radial .left li:hover { transform: translateX(-8px); }
.radial .right li:hover { transform: translateX(8px); }
.radial .center { position: relative; height: 600px; border-radius: 300px 300px 16px 16px; overflow: hidden; }
.radial .center img { width: 100%; height: 120%; object-fit: cover; }

/* ---------- Accent band ---------- */
.sv-band { background: var(--accent); padding: 0; overflow: hidden; }
.band-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; min-height: 680px; }
.band-media { position: relative; overflow: hidden; }
.band-media img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; }
.band-body { padding: 100px 0 100px 70px; max-width: 640px; }
.band-body .sv-h2 em { color: #111; }
.band-body .sv-lead { color: rgba(255,255,255,.85); }
.band-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.band-cards div { padding: 22px 22px 24px; border-radius: 14px; background: rgba(0,0,0,.2); border: 1px solid rgba(255,255,255,.18); transition: background .4s, transform .4s; }
.band-cards div:hover { background: rgba(0,0,0,.35); transform: translateY(-4px); }
.band-cards div::before { content: ""; display: block; height: 2px; background: rgba(255,255,255,.45); margin-bottom: 18px; }
.band-cards h3 { font-size: 18px; font-weight: 600; }
.band-cards p { font-size: 13px; color: rgba(255,255,255,.82); margin-top: 6px; }

/* ---------- Pricing: rows + sticky photo ---------- */
.pricing { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: start; }
.prow { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 14px 28px; align-items: center; padding: 26px 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; transition: border-color .4s, transform .4s, background .4s; }
.prow:hover { border-color: rgba(203,54,15,.6); transform: translateX(6px); background: #1e1e1f; }
.prow .eb { font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--accent); }
.prow h3 { font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 2px; }
.prow p { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 440px; }
.prow .meta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--dim); }
.prow .meta svg { width: 13px; height: 13px; stroke: var(--dim); }
.prow .right { text-align: right; }
.prow .price { font-family: var(--serif); font-size: 48px; line-height: 1; white-space: nowrap; }
.prow .price.q { font-size: 30px; }
.prow .btn { margin-top: 14px; }
.p-photo { position: sticky; top: 100px; height: calc(100vh - 140px); max-height: 640px; border-radius: 16px; overflow: hidden; }
.p-photo img { width: 100%; height: 100%; object-fit: cover; }
.p-photo .tag { position: absolute; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 100px; background: rgba(17,17,18,.6); backdrop-filter: blur(8px); font-size: 12px; }
.sv-note { margin-top: 18px; padding: 20px 24px; border-left: 2px solid var(--accent); background: rgba(203,54,15,.08); font-size: 14px; line-height: 1.7; color: var(--muted); }
.sv-note strong { color: #fff; }

/* ---------- Events pricing (tiers x services) ---------- */
.ev-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.seg { display: inline-flex; padding: 4px; border-radius: 100px; background: var(--card); border: 1px solid var(--line); }
.seg button { padding: 10px 20px; border-radius: 100px; border: 0; background: none; color: var(--muted); font: 500 14px var(--sans); cursor: pointer; transition: background .3s, color .3s; white-space: nowrap; }
.seg button.on { background: var(--accent); color: #fff; }
.ev-tierdesc { font-size: 14px; color: var(--muted); margin-bottom: 28px; min-height: 22px; }
.ev-tierdesc b { color: #fff; font-weight: 500; }
.ev-set { display: none; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ev-set.on { display: grid; animation: evIn .5s cubic-bezier(.2,.7,.2,1); }
@keyframes evIn { from { opacity: 0; transform: translateY(16px); } }
.ev-card { display: flex; flex-direction: column; padding: 28px 26px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .4s, transform .4s; }
.ev-card:hover { border-color: rgba(203,54,15,.6); transform: translateY(-6px); }
.ev-card.top { background: linear-gradient(160deg, rgba(203,54,15,.22), var(--card) 55%); border-color: rgba(203,54,15,.45); }
.ev-card .dur { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.ev-card h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; margin-top: 8px; }
.ev-card .price { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--accent); margin: 22px 0; }
.ev-card .price sup { font-size: .38em; vertical-align: top; position: relative; top: .3em; }
.ev-card ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.ev-card li { display: flex; gap: 10px; }
.ev-card li::before { content: "✓"; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-size: 11px; }
.ev-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Contact ---------- */
.sv-contact { background: var(--bg-mid); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.c-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; margin-top: 44px; }
.c-cards h3 { font-size: 17px; font-weight: 600; }
.c-cards p { font-size: 13px; color: var(--dim); margin: 6px 0 10px; }
.c-cards a, .c-cards span { font-family: var(--serif); font-size: 21px; word-break: break-word; }
.c-cards a:hover { color: var(--accent); }
.c-form { padding: 34px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.c-form h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.c-form > p { font-size: 14px; color: var(--muted); margin: 10px 0 26px; }
.c-steps { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.c-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.04); font-size: 14px; }
.c-steps b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; font-family: var(--serif); font-weight: 400; font-style: italic; }
.c-form .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.c-form .actions a.tel { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--accent); }

/* ---------- Final CTA with floating photos ---------- */
.sv-cta { position: relative; overflow: hidden; padding: 200px 0 210px; text-align: center; }
.sv-cta .inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; padding: 0 20px; }
.rating { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 13px; color: var(--muted); }
.rating .avatars { display: flex; }
.rating .avatars img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); margin-left: -10px; }
.rating .avatars img:first-child { margin-left: 0; }
.rating b { color: #fff; }
.rating .stars { font-size: 12px; }
.sv-cta h2 { font-size: clamp(42px, 5.6vw, 80px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.sv-cta h2 span { display: block; font-family: var(--serif); font-weight: 400; color: var(--accent); letter-spacing: -.01em; }
.sv-cta .inner > p { font-size: 16px; color: var(--muted); margin: 22px auto 32px; max-width: 520px; }
.sv-cta .call { display: block; margin-top: 18px; font-size: 14px; color: var(--muted); }
.sv-cta .call a { color: #fff; border-bottom: 1px solid var(--accent); }
.fl { position: absolute; z-index: 1; width: 170px; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.5); will-change: transform; }
.fl img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .sv-hero { --R: 600px; --P: 460px; --cw: 250px; --ch: 340px; }
  .radial { grid-template-columns: 1fr 1fr; }
  .radial .center { grid-column: span 2; order: -1; height: 460px; }
  .radial .left { text-align: left; }
  .band-grid { grid-template-columns: 1fr; }
  .band-media { height: 420px; }
  .band-body { padding: 70px 24px 80px; max-width: none; }
  .pricing { grid-template-columns: 1fr; }
  .p-photo { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .fl:nth-child(n+6) { display: none; }
}

@media (max-width: 700px) {
  .sv-wrap { padding: 0 16px; }
  .sv-sec { padding: 80px 0; }
  .sv-head { margin-bottom: 36px; }
  .sv-hero { --R: 400px; --P: 300px; --cw: 170px; --ch: 235px; padding-top: 120px; }
  .sv-hero h1 { font-size: clamp(36px, 10.5vw, 52px); }
  .sv-sub { font-size: 15px; }
  .sv-ring-wrap::before, .sv-ring-wrap::after { width: 12%; }
  .rc { border-radius: 14px; }
  .sv-hl { grid-template-columns: 1fr; text-align: left; padding: 0 16px 60px; }
  .sv-hl div { padding: 16px 0; }
  .sv-hl div + div { border-left: 0; border-top: 1px solid var(--line); }
  .bento4, .stats3 { grid-template-columns: 1fr; }
  .bcard.wide { grid-column: auto; }
  .bcard { min-height: 300px; padding: 24px; }
  .scard { height: 340px; }
  .banner { min-height: 0; padding: 120px 14px 14px; border-radius: 16px; }
  .banner-title { top: 22px; left: 18px; right: 18px; }
  .radial { grid-template-columns: 1fr; gap: 36px; }
  .radial .center { grid-column: auto; height: 380px; }
  .radial ul { gap: 30px; }
  .band-media { height: 300px; }
  .band-body { padding: 60px 16px 70px; }
  .band-cards { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr; padding: 22px; }
  .prow:hover { transform: none; }
  .prow .right { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
  .prow .btn { margin-top: 0; }
  .ev-controls { flex-direction: column; align-items: stretch; }
  .seg { overflow-x: auto; scrollbar-width: none; }
  .seg button { flex: 1; padding: 10px 14px; font-size: 13px; }
  .ev-set { grid-template-columns: 1fr; }
  .c-cards { grid-template-columns: 1fr; gap: 22px; }
  .c-form { padding: 24px; }
  .sv-cta { padding: 200px 0 210px; }
  .fl { width: 92px; border-radius: 12px; }
  /* Mobile: only four photos, pinned to the corners so they never cover the text */
  .fl:nth-child(2), .fl:nth-child(5), .fl:nth-child(7), .fl:nth-child(8) { display: none; }
  .fl:nth-child(1), .fl:nth-child(4) { top: 28px !important; }
  .fl:nth-child(3), .fl:nth-child(6) { top: auto !important; bottom: 28px; }
  .fl:nth-child(1), .fl:nth-child(3) { left: 4% !important; }
  .fl:nth-child(4), .fl:nth-child(6) { left: auto !important; right: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .sv-ring { animation: none; }
}
