/* Photo-led product sections (photo hero, photo card grid, app showcase, credits) and the Devotion theme.
   Loaded only on pages that use these blocks. Header and footer are not touched. */

/* ---------- Devotion theme: type and palette ---------- */
body:has(.theme-devotion) { --dv-ivory: #fff9f0; --dv-saffron: #e85b0b; --dv-maroon: #542a20; --dv-navy: #09243a; --dv-beige: #f4e9dc;
  --dv-serif: "Playfair Display", Georgia, serif; --dv-sans: "DM Sans", system-ui, sans-serif; scroll-behavior: smooth; }
html:has(.theme-devotion) { scroll-behavior: smooth; }
body:has(.theme-devotion) main { background: var(--dv-ivory); color: #3b302b; }
body:has(.theme-devotion) main :is(p, li, a, button, input, select, textarea, span, small, b, summary) { font-family: var(--dv-sans); }
body:has(.theme-devotion) main :is(h1, h2, .sv-title, .pp-show-copy h3, .pp-pb-card h3, .sv-contact-big, .sv-contact-h, .pp-cta h2) {
  font-family: var(--dv-serif); font-weight: 600; letter-spacing: -.01em; color: var(--dv-navy); }
body:has(.theme-devotion) .sv-title { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; }
body:has(.theme-devotion) .sv-title::after { content: ""; display: block; width: 64px; height: 2px; margin: 18px auto 0; background: linear-gradient(90deg, transparent, var(--dv-saffron), transparent); }
body:has(.theme-devotion) .sv-intro { background: none; padding: 0; max-width: 620px; margin: 14px auto 44px; color: #6b5a50; font-size: 1.05rem; line-height: 1.7; }
body:has(.theme-devotion) .sv-sec { padding: 96px 0; }

/* ---------- Photo hero ---------- */
.lay-photo { position: relative; overflow: hidden; min-height: 680px; display: flex; align-items: center; padding: 90px 0 80px; background: var(--pd); color: #fff; isolation: isolate; }
.pp-photo-bg { position: absolute; inset: 0; margin: 0; z-index: -2; }
.pp-photo-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; transform: scale(1.06); animation: dvKen 18s ease-out both; }
.lay-photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(9, 36, 58, .94) 0%, rgba(84, 42, 32, .86) 38%, rgba(84, 42, 32, .35) 70%, rgba(232, 91, 11, .18) 100%),
              radial-gradient(700px 420px at 78% 40%, rgba(255, 186, 92, .35), transparent 65%); }
.lay-photo .pp-hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; width: 100%; }
.lay-photo .pp-eyebrow { color: #ffb36b; letter-spacing: .22em; font-size: .74rem; font-weight: 700; text-transform: uppercase; }
.lay-photo h1 { margin: 14px 0 18px; font: 600 clamp(2.4rem, 5vw, 4.1rem)/1.04 var(--dv-serif, Georgia), serif; color: #fff !important; text-wrap: balance; }
.lay-photo .pp-lead { max-width: 540px; color: rgba(255, 255, 255, .86); font-size: 1.08rem; line-height: 1.75; }
.lay-photo .pp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.lay-photo .pp-btn { background: var(--pa); color: #fff; padding: 15px 30px; border-radius: 999px; box-shadow: 0 14px 30px rgba(232, 91, 11, .45); transition: transform .25s, box-shadow .25s; }
.lay-photo .pp-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(232, 91, 11, .55); }
.lay-photo .pp-btn-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .45); padding: 14px 26px; border-radius: 999px; text-decoration: none; font-weight: 600; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); transition: background .25s, border-color .25s; }
.lay-photo .pp-btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.pp-highlights { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.pp-highlights li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .92); }
.pp-highlights li::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: rgba(232, 91, 11, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3L15 6.5' fill='none' stroke='%23ffb36b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 179, 107, .5); }
.pp-photo-phones { position: relative; height: 560px; }
.pp-photo-phones img { position: absolute; width: 270px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; box-shadow: 0 40px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .12); }
.pp-photo-phones .ph0 { right: 150px; top: 10px; z-index: 2; animation: dvFloat 7s ease-in-out infinite; }
.pp-photo-phones .ph1 { right: 0; top: 70px; transform: rotate(7deg) scale(.88); opacity: .92; animation: dvFloat2 8s ease-in-out infinite; }
@keyframes dvKen { from { transform: scale(1.14); } to { transform: scale(1.04); } }
@keyframes dvFloat { 50% { transform: translateY(-14px); } }
@keyframes dvFloat2 { 0%, 100% { transform: rotate(7deg) scale(.88); } 50% { transform: rotate(5deg) scale(.88) translateY(10px); } }

/* ---------- Language pills ---------- */
.pp-opts.style-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.pp-opts.style-pills li { flex-direction: row; align-items: center; gap: 10px; padding: 9px 18px 9px 9px; border-radius: 999px; border: 1px solid #ecdcc9; background: #fff; box-shadow: 0 2px 0 #f3e6d6; cursor: default; transition: transform .25s, border-color .25s, box-shadow .25s; }
.pp-opts.style-pills li::before { content: ""; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--dv-beige, #f4e9dc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e85b0b' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c3 3 3 15 0 18M12 3c-3 3-3 15 0 18'/%3E%3C/svg%3E") center/18px no-repeat; transition: transform .5s; }
.pp-opts.style-pills li:hover { transform: translateY(-4px); border-color: var(--pa); box-shadow: 0 14px 28px rgba(232, 91, 11, .14); }
.pp-opts.style-pills li:hover::before { transform: rotate(180deg); }
.pp-opts.style-pills b { font: 600 1rem var(--dv-sans, inherit); color: var(--dv-navy, #09243a); }
.pp-opts.style-pills span { font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.pp-opts-sec:has(.style-pills) { padding-bottom: 40px; }

/* ---------- Photo card grid: feature bento ---------- */
.pp-pb { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.style-features .pp-pb { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; grid-auto-flow: dense; }
.pp-pb-card { position: relative; overflow: hidden; border-radius: 26px; background: var(--dv-maroon, #542a20); color: #fff; isolation: isolate; display: flex; align-items: flex-end; }
.pp-pb-card.size-wide { grid-column: span 2; }
.pp-pb-card.size-big { grid-column: span 2; grid-row: span 2; }
.pp-pb-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.pp-pb-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(9, 36, 58, 0) 20%, rgba(9, 36, 58, .55) 55%, rgba(30, 14, 10, .92) 100%); transition: opacity .4s; }
.pp-pb-card.size-big::before { background: linear-gradient(160deg, rgba(232, 91, 11, .55) 0%, rgba(232, 91, 11, .82) 45%, rgba(130, 40, 8, .96) 100%); }
.pp-pb-card:hover .pp-pb-photo { transform: scale(1.07); }
.pp-pb-copy { position: relative; padding: 24px 26px; max-width: 100%; }
.size-normal .pp-pb-copy { padding-right: 26px; }
.pp-pb-eyebrow { display: inline-block; margin-bottom: 8px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); font-size: .68rem !important; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pp-pb-card h3 { margin: 0 0 6px; font-size: 1.55rem !important; line-height: 1.12; color: #fff !important; }
.pp-pb-card p { margin: 0; font-size: .88rem; line-height: 1.55; color: rgba(255, 255, 255, .84); }
.pp-pb-card.size-big h3 { font-size: clamp(2rem, 3vw, 2.6rem) !important; }
.pp-pb-card.size-big .pp-pb-copy { max-width: 60%; padding: 34px; }
.pp-pb-card.size-big p { font-size: .98rem; }
.pp-pb-card.size-wide .pp-pb-copy { max-width: 62%; }
.pp-pb-shot { position: absolute; z-index: 1; width: 112px; aspect-ratio: 9 / 16; object-fit: cover; object-position: top; border-radius: 16px; top: 20px; right: 20px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .2); transform: rotate(4deg); transition: transform .5s cubic-bezier(.34, 1.4, .64, 1); }
.size-normal .pp-pb-shot { width: 56px; top: 16px; right: 16px; border-radius: 9px; }
.size-wide .pp-pb-shot { width: 118px; top: 22px; right: 28px; }
.size-big .pp-pb-shot { width: 210px; top: 30px; right: 30px; border-radius: 26px; transform: rotate(5deg); }
.pp-pb-card:hover .pp-pb-shot { transform: rotate(0) translateY(-6px) scale(1.04); }
.pp-pb-days { display: grid; grid-template-columns: repeat(21, 1fr); gap: 4px; margin: 20px 0 8px; max-width: 360px; }
.pp-pb-days i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.pp-pb-days i.is-done { background: #fff; }
.pp-pb-days i.is-today { background: #ffd08a; box-shadow: 0 0 0 3px rgba(255, 208, 138, .4); animation: dvPulse 1.8s ease-in-out infinite; }
.pp-pb-daylabel { font-size: .85rem !important; }
.pp-pb-daylabel b { font-weight: 700; color: #fff; }
@keyframes dvPulse { 50% { box-shadow: 0 0 0 7px rgba(255, 208, 138, 0); } }

/* ---------- Photo card grid: audience cards ---------- */
.style-audience { background: var(--dv-beige, #f4e9dc); }
.style-audience .pp-pb { grid-template-columns: repeat(4, 1fr); }
.style-audience .pp-pb-card { aspect-ratio: 3 / 4.2; border-radius: 22px; }
.style-audience .pp-pb-card::before { background: linear-gradient(180deg, rgba(9, 36, 58, .05) 30%, rgba(9, 36, 58, .82) 78%, rgba(9, 36, 58, .96) 100%); }
.style-audience .pp-pb-eyebrow { position: absolute; top: -12px; left: 24px; transform: translateY(-100%); background: none; backdrop-filter: none; padding: 0; font: 600 2.6rem/1 var(--dv-serif, Georgia) !important; letter-spacing: 0; color: rgba(255, 255, 255, .9); }
.style-audience .pp-pb-copy { padding: 26px 24px 28px; }
.style-audience .pp-pb-copy::after { content: ""; display: block; width: 36px; height: 2px; margin-top: 16px; background: var(--dv-saffron, #e85b0b); transition: width .4s; }
.style-audience .pp-pb-card:hover .pp-pb-copy::after { width: 90px; }
.style-audience .pp-pb-card { transition: transform .4s, box-shadow .4s; }
.style-audience .pp-pb-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(84, 42, 32, .25); }

/* ---------- App showcase ---------- */
.pp-show-sec { scroll-margin-top: 100px; }
.pp-show { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.pp-show-media { position: relative; padding: 46px 30px 30px; border-radius: 34px; background: radial-gradient(500px 340px at 50% 30%, rgba(232, 91, 11, .45), transparent 70%), linear-gradient(160deg, #542a20, #2a120c 70%); overflow: hidden; }
.pp-show-media::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 6l8 14h16l-8 14 8 14H48l-8 14-8-14H16l8-14-8-14h16z' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E"); }
.pp-show-stage { position: relative; height: 520px; }
.pp-show-screen { position: absolute; left: 50%; top: 0; width: 262px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; box-shadow: 0 36px 70px rgba(0, 0, 0, .5); translate: -50% 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .6s, filter .6s; opacity: 0; transform: scale(.7); }
.pp-show-screen[data-depth="0"] { z-index: 3; opacity: 1; transform: none; animation: dvFloat 7s ease-in-out infinite; }
.pp-show-screen[data-depth="1"] { z-index: 2; opacity: .85; transform: translateX(150px) rotate(8deg) scale(.82); filter: brightness(.8); }
.pp-show-screen[data-depth="2"] { z-index: 1; opacity: .6; transform: translateX(-150px) rotate(-8deg) scale(.78); filter: brightness(.65); }
.pp-show-screen:not([data-depth]).is-front { opacity: 1; transform: none; z-index: 3; }
.pp-show-thumbs { position: relative; display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.pp-show-thumbs button { width: 40px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .25s, border-color .25s, transform .25s; }
.pp-show-thumbs button img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.pp-show-thumbs button:hover { opacity: .9; transform: translateY(-3px); }
.pp-show-thumbs button[aria-pressed="true"] { opacity: 1; border-color: #ffb36b; }
.pp-show-copy .pp-eyebrow { color: var(--dv-saffron, var(--pa)); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.pp-show-copy h3 { margin: 10px 0 16px; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; }
.pp-show-text { font-size: 1.04rem; line-height: 1.75; color: #5a4a42; }
.pp-show-points { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.pp-show-points li { position: relative; padding-left: 28px; font-size: .92rem; line-height: 1.5; color: #3b302b; }
.pp-show-points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--dv-saffron, var(--pa)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3L15 6.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.pp-show-metrics { list-style: none; display: flex; gap: 0; margin: 28px 0 6px; padding: 0; border-block: 1px solid #ead9c6; }
.pp-show-metrics li { flex: 1; padding: 18px 0; }
.pp-show-metrics li + li { padding-left: 22px; border-left: 1px solid #ead9c6; }
.pp-show-metrics strong { display: block; font: 600 2.2rem/1 var(--dv-serif, Georgia), serif; color: var(--dv-maroon, var(--pd)); }
.pp-show-metrics span { font-size: .8rem; color: #7b6a60; }
.pp-show-note { margin: 8px 0 26px; font-size: .74rem; color: #9b8a80; }
.pp-play { display: inline-flex; align-items: center; gap: 12px; padding: 11px 24px 11px 18px; border-radius: 14px; background: #111; color: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.pp-play:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0, 0, 0, .25); }
.pp-play svg { width: 26px; height: 26px; }
.pp-play span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.pp-play small { font-size: .66rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }

/* ---------- Devotion overrides for shared sections ---------- */
/* Process timeline */
body:has(.theme-devotion) .pp-steps-sec { background: #fff; }
body:has(.theme-devotion) .pp-steps { margin-top: 50px; gap: 30px; }
body:has(.theme-devotion) .pp-steps::before { top: 36px; height: 1px; background: linear-gradient(90deg, transparent, #e8c9a8 12%, #e8c9a8 88%, transparent); opacity: 1; }
body:has(.theme-devotion) .pp-steps span { width: 72px; height: 72px; border-radius: 50%; transform: none; background: #fff; color: var(--dv-saffron); font: 600 1.6rem var(--dv-serif); border: 1px solid #f0d6bb; box-shadow: 0 0 0 10px #fff, 0 14px 30px rgba(232, 91, 11, .14); transition: background .35s, color .35s, transform .35s; }
body:has(.theme-devotion) .pp-steps li:hover span { background: var(--dv-saffron); color: #fff; transform: translateY(-4px); }
body:has(.theme-devotion) .pp-steps h3 { font: 600 1.4rem var(--dv-serif); color: var(--dv-navy); }
body:has(.theme-devotion) .pp-steps p { color: #6b5a50; opacity: 1; }

/* FAQ */
body:has(.theme-devotion) .sv-faq { max-width: 820px; margin-inline: auto; }
body:has(.theme-devotion) .sv-faq details { background: none; border: 0; border-bottom: 1px solid #ead9c6; border-radius: 0; margin: 0; interpolate-size: allow-keywords; }
body:has(.theme-devotion) .sv-faq details:first-of-type { border-top: 1px solid #ead9c6; }
body:has(.theme-devotion) .sv-faq summary { padding: 24px 56px 24px 0; font: 600 1.08rem var(--dv-sans); color: var(--dv-navy); transition: color .25s; }
body:has(.theme-devotion) .sv-faq summary:hover { color: var(--dv-saffron); }
body:has(.theme-devotion) .sv-faq summary::after { content: ""; top: 50%; right: 6px; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--dv-beige) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 4v12M4 10h12' stroke='%23e85b0b' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s, background-color .35s; }
body:has(.theme-devotion) .sv-faq details[open] summary::after { transform: rotate(135deg); background-color: #fde2cf; }
body:has(.theme-devotion) .sv-faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s ease, content-visibility .4s allow-discrete; }
body:has(.theme-devotion) .sv-faq details[open]::details-content { block-size: auto; }
body:has(.theme-devotion) .sv-faq details > :not(summary) { padding: 0 56px 22px 0; color: #5a4a42; line-height: 1.75; }
body:has(.theme-devotion) .sv-faq details[open] > :not(summary) { animation: dvFade .45s ease both; }
@keyframes dvFade { from { opacity: 0; transform: translateY(-6px); } }

/* CTA: full-width saffron band with a faint temple-arch pattern */
body:has(.theme-devotion) .pp-cta-sec { padding: 0; }
body:has(.theme-devotion) .pp-cta-sec > .wrap { max-width: none; padding: 0; }
body:has(.theme-devotion) .pp-cta { border-radius: 0; padding: 90px max(24px, calc((100vw - 1180px) / 2)); justify-content: space-between;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M20 120V70c0-22 18-40 40-40s40 18 40 40v50'/%3E%3Cpath d='M34 120V74c0-14 12-26 26-26s26 12 26 26v46'/%3E%3Cpath d='M60 8l5 10H55z'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(110deg, #e85b0b 0%, #d4480a 50%, #9c3412 100%); }
body:has(.theme-devotion) .pp-cta::before { border-color: rgba(255, 255, 255, .12); width: 420px; height: 420px; right: -120px; top: -160px; }
body:has(.theme-devotion) .pp-cta h2 { color: #fff !important; font-size: clamp(2rem, 3.6vw, 3rem); max-width: 680px; }
body:has(.theme-devotion) .pp-cta p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; }
body:has(.theme-devotion) .pp-cta .pp-btn-inv { padding: 15px 30px; border-radius: 999px; color: var(--dv-saffron); font-weight: 700; transition: transform .25s, box-shadow .25s; }
body:has(.theme-devotion) .pp-cta .pp-btn-inv:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .2); }
body:has(.theme-devotion) .pp-cta .pp-btn-line { padding: 14px 28px; border-radius: 999px; transition: background .25s; }
body:has(.theme-devotion) .pp-cta .pp-btn-line:hover { background: rgba(255, 255, 255, .14); }

/* Contact: editorial split with a photograph */
body:has(.theme-devotion) #contact { background: var(--dv-ivory); }
body:has(.theme-devotion) .sv-contact { align-items: start; gap: 64px; }
body:has(.theme-devotion) .sv-contact-h { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 500; margin: 0; }
body:has(.theme-devotion) .sv-contact-big { font-size: clamp(2.6rem, 5.4vw, 4.4rem); color: var(--dv-saffron) !important; font-style: italic; margin: 4px 0 20px; }
body:has(.theme-devotion) .sv-contact > div > p:not(.sv-contact-h) { font-size: 1.04rem; line-height: 1.75; color: #5a4a42; max-width: 460px; }
.sv-contact-photo { margin: 30px 0 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 30px 60px rgba(84, 42, 32, .18); }
.sv-contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s; }
.sv-contact-photo:hover img { transform: scale(1.05); }
body:has(.theme-devotion) .sv-form { border-radius: 28px; padding: 40px; background: #fff; border: 1px solid #f0e2d1; box-shadow: 0 40px 80px rgba(84, 42, 32, .12); }
body:has(.theme-devotion) .sv-form h3 { font: 600 1.9rem var(--dv-serif); color: var(--dv-navy); }
body:has(.theme-devotion) .sv-form :is(input:not([type=hidden]), select, textarea) { border: 1px solid #e6d6c4; border-radius: 14px; padding: 14px 16px; background: #fffdf9; transition: border-color .25s, box-shadow .25s; }
body:has(.theme-devotion) .sv-form :is(input, select, textarea):focus { outline: none; border-color: var(--dv-saffron); box-shadow: 0 0 0 4px rgba(232, 91, 11, .12); }
body:has(.theme-devotion) .sv-form button[type=submit] { width: 100%; padding: 16px; border-radius: 14px; background: var(--dv-saffron); font-weight: 700; transition: background .25s, transform .25s; }
body:has(.theme-devotion) .sv-form button[type=submit]:hover { background: #c94c08; transform: translateY(-2px); }

/* Photo credits */
.pp-credits { padding: 22px 0 30px; background: var(--dv-ivory, #fafafa); }
.pp-credits p { margin: 0; font-size: .7rem; line-height: 1.7; color: #9b8a80; }
.pp-credits a { color: inherit; }
.pp-credits-note { display: block; margin-top: 4px; }

/* Reveal on scroll */
@supports (animation-timeline: view()) {
  .pp-pb-card, .pp-show-media, .pp-show-copy, .sv-contact-photo, .pp-opts.style-pills li { animation: dvRise linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
}
@keyframes dvRise { from { opacity: 0; transform: translateY(36px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .style-features .pp-pb { grid-template-columns: repeat(2, 1fr); }
  .pp-pb-card.size-big { grid-row: span 2; }
  .style-audience .pp-pb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-show { gap: 40px; }
  .pp-show-screen[data-depth="1"] { transform: translateX(110px) rotate(8deg) scale(.8); }
  .pp-show-screen[data-depth="2"] { transform: translateX(-110px) rotate(-8deg) scale(.76); }
}
@media (max-width: 900px) {
  .lay-photo { min-height: 0; padding: 70px 0 60px; }
  .lay-photo .pp-hero-grid, .pp-show { grid-template-columns: 1fr; }
  .lay-photo::before { background: linear-gradient(180deg, rgba(9, 36, 58, .9), rgba(84, 42, 32, .88) 60%, rgba(84, 42, 32, .95)); }
  .pp-photo-phones { height: 420px; max-width: 420px; margin: 10px auto 0; width: 100%; }
  .pp-photo-phones img { width: 210px; }
  .pp-photo-phones .ph0 { right: auto; left: calc(50% - 160px); }
  .pp-photo-phones .ph1 { right: calc(50% - 175px); }
  body:has(.theme-devotion) .sv-sec { padding: 70px 0; }
  body:has(.theme-devotion) .pp-steps { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  body:has(.theme-devotion) .pp-steps::before { display: block; top: 0; bottom: 0; left: 36px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, transparent, #e8c9a8 8%, #e8c9a8 92%, transparent); }
  body:has(.theme-devotion) .pp-steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; text-align: left; padding: 16px 0; }
  body:has(.theme-devotion) .pp-steps span { grid-row: span 2; margin: 0; }
  body:has(.theme-devotion) .pp-steps h3 { align-self: end; margin-top: 8px; }
  body:has(.theme-devotion) .pp-cta { padding: 64px 24px; }
  body:has(.theme-devotion) .sv-contact { gap: 40px; }
}
@media (max-width: 640px) {
  .style-features .pp-pb { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .pp-pb-card, .pp-pb-card.size-wide, .pp-pb-card.size-big { grid-column: auto; grid-row: auto; min-height: 320px; }
  .pp-pb-card.size-big { min-height: 520px; }
  .pp-pb-card.size-big .pp-pb-copy, .pp-pb-card.size-wide .pp-pb-copy { max-width: 100%; padding: 26px; }
  .size-big .pp-pb-shot { width: 150px; }
  .pp-pb-copy { padding-right: 26px; }
  .size-normal .pp-pb-copy, .size-wide .pp-pb-copy { padding-top: 150px; }
  .style-audience .pp-pb { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .style-audience .pp-pb-card h3 { overflow-wrap: anywhere; hyphens: auto; }
  .style-audience .pp-pb-card { aspect-ratio: 3 / 4.6; min-height: 0; }
  .style-audience .pp-pb-copy { padding: 18px 16px 20px; }
  .style-audience .pp-pb-card h3 { font-size: 1.25rem !important; }
  .style-audience .pp-pb-card p { font-size: .78rem; }
  .style-audience .pp-pb-eyebrow { font-size: 2rem !important; left: 16px; }
  .pp-show-media { padding: 30px 12px 20px; }
  .pp-show-stage { height: 420px; }
  .pp-show-screen { width: 210px; }
  .pp-show-screen[data-depth="1"] { transform: translateX(80px) rotate(8deg) scale(.78); }
  .pp-show-screen[data-depth="2"] { transform: translateX(-80px) rotate(-8deg) scale(.74); }
  .pp-show-points { grid-template-columns: 1fr; }
  .pp-show-metrics strong { font-size: 1.8rem; }
  .pp-highlights { gap: 12px; }
  .pp-opts.style-pills { gap: 10px; }
  .pp-opts.style-pills li { padding: 8px 16px 8px 8px; }
  body:has(.theme-devotion) .sv-form { padding: 26px 20px; }
  body:has(.theme-devotion) .pp-cta .pp-actions { width: 100%; }
  body:has(.theme-devotion) .pp-cta .pp-actions a { flex: 1; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-photo-bg img, .pp-photo-phones img, .pp-show-screen, .pp-pb-days i, .pp-pb-card, .pp-show-media, .pp-show-copy, .sv-contact-photo, .pp-opts.style-pills li { animation: none !important; }
  .pp-pb-photo, .pp-pb-shot, .pp-show-screen { transition: none; }
}

/* ===== Type refresh: Playfair Display headings + DM Sans text, lining figures, tuned scale ===== */
body:has(.theme-devotion) main { font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
body:has(.theme-devotion) main :is(h1, h2, h3, .sv-title, .sv-contact-big, .sv-contact-h, strong) { font-variant-numeric: lining-nums; }
body:has(.theme-devotion) main :is(p, li) { font-size: 1rem; }
body:has(.theme-devotion) .sv-title { font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.02em; line-height: 1.15; }
body:has(.theme-devotion) .sv-intro { font-size: 1.06rem; color: #5f4f46; }
.lay-photo h1 { font-weight: 600 !important; font-size: clamp(2.3rem, 4.4vw, 3.7rem) !important; line-height: 1.1 !important; letter-spacing: -.02em; }
.lay-photo .pp-lead { font-size: 1.1rem !important; }
.lay-photo .pp-eyebrow, .pp-show-copy .pp-eyebrow { font-family: var(--dv-sans) !important; letter-spacing: .18em; }
.pp-highlights li { font-size: .95rem !important; font-weight: 500; }

/* Cards */
.pp-pb-card h3 { font-weight: 600; font-size: 1.4rem !important; letter-spacing: -.01em; }
.pp-pb-card.size-big h3 { font-size: clamp(1.9rem, 2.8vw, 2.4rem) !important; }
.pp-pb-card p { font-size: .9rem !important; line-height: 1.6; }
.pp-pb-eyebrow { font-family: var(--dv-sans) !important; }
.style-audience .pp-pb-eyebrow { font: italic 500 2.4rem/1 var(--dv-serif) !important; }
.style-audience .pp-pb-card h3 { font-size: 1.3rem !important; }

/* Showcase */
.pp-show-copy h3 { font-weight: 700; letter-spacing: -.02em; }
.pp-show-text { font-size: 1.06rem !important; }
.pp-show-points li { font-size: .95rem !important; }
.pp-show-metrics strong { font-weight: 600; font-size: 2.1rem; }
.pp-show-metrics span { font-size: .82rem !important; }

/* Language pills */
.pp-opts.style-pills b { font-family: var(--dv-sans) !important; font-weight: 600; }
.pp-opts.style-pills span { font-family: var(--dv-sans) !important; font-weight: 600; }

/* Process: italic serif numerals in the markers, readable step text */
body:has(.theme-devotion) .pp-steps span { font: italic 500 1.5rem var(--dv-serif) !important; }
body:has(.theme-devotion) .pp-steps h3 { font: 600 1.25rem var(--dv-serif) !important; margin-top: 4px; }
body:has(.theme-devotion) .pp-steps p { font-size: .95rem !important; }

/* FAQ, CTA, contact */
body:has(.theme-devotion) .sv-faq summary { font-size: 1.06rem !important; font-weight: 600; }
body:has(.theme-devotion) .sv-faq details > :not(summary) { font-size: 1rem; }
body:has(.theme-devotion) .pp-cta h2 { font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
body:has(.theme-devotion) .sv-contact-h { font-weight: 500 !important; }
body:has(.theme-devotion) .sv-contact-big { font-weight: 600 !important; font-style: italic; line-height: 1.05; }
body:has(.theme-devotion) .sv-form h3 { font-weight: 600; font-size: 1.7rem; }
body:has(.theme-devotion) .sv-form :is(input, select, textarea, button) { font-family: var(--dv-sans) !important; font-size: .95rem; }
@media (max-width: 640px) {
  body:has(.theme-devotion) main :is(p, li) { font-size: .95rem; }
  .pp-pb-card h3 { font-size: 1.3rem !important; }
  .style-audience .pp-pb-card h3 { font-size: 1.05rem !important; }
  .style-audience .pp-pb-card p { font-size: .78rem !important; }
}
