.language-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  border-radius: 999px;
  background: var(--sand-2);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}
.language-switch-desktop {
  position: fixed;
  z-index: 110;
  top: 20px;
  right: 24px;
}
.language-switch-mobile { display: none; }
.language-switch button {
  min-width: 44px;
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}
.language-switch button[aria-pressed="true"] { background: var(--black); color: var(--yellow); }
.language-switch button:focus-visible { outline: 3px solid #775d00; outline-offset: 2px; }
html[lang="en"] .branch-head > div, html[lang="en"] .account-node > div { min-width: 0; }
html[lang="en"] .account-node h5 { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
.language-switch-desktop { display: none; }
.language-switch-mobile { display: inline-flex; margin-left: auto; }
.mobile-topbar .topbar-button { display: none; }
}
@media (max-width: 520px) {
.language-switch button { min-height: 36px; padding-inline: 8px; }
}
@media (max-width: 1100px) {
html[lang="en"] .sonder-case-grid { margin-right: 0; }
}
@media (max-width: 520px) {
html[lang="en"] .track-switch-inner { flex-wrap: wrap; gap: 10px; }
html[lang="en"] .track-buttons { width: 100%; }
html[lang="en"] .track-buttons button { flex: 1; min-height: 44px; }
}
html[lang="en"] .inline-capability:not(:hover):not(:focus-within):not(.is-expanded) .capability-popover {
  display: none;
}
.ip-method, .ip-proof-grid, .compact-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ip-method h3 { font-size: clamp(20px, 2vw, 28px); margin: 16px 0; }
.ip-method p, .ip-case-lead p { font-size: 16px; line-height: 1.75; }
.ip-method article > span { font-size: 11px; letter-spacing: .08em; opacity: .65; }
.ip-activation .section-heading { max-width: 900px; margin-bottom: 48px; }
.ip-case-lead { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.ip-case-lead h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.2; margin-bottom: 24px; }
.ip-results { display: flex; gap: 40px; padding: 28px 0; flex-wrap: wrap; }
.ip-results div { display: grid; gap: 8px; }
.ip-results strong { color: var(--yellow); font-size: clamp(48px, 6vw, 80px); line-height: 1; letter-spacing: -.055em; }
.ip-results span { font-size: 13px; }
.ip-context { opacity: .7; }
.ip-editorial { margin: 0; }
.ip-editorial img { width: 100%; height: 380px; object-fit: cover; border-radius: 16px; }
.ip-editorial figcaption { font-size: 11px; line-height: 1.5; opacity: .65; margin-top: 12px; }
.ip-editorial a { text-decoration: underline; }
.ip-method { margin: 48px 0; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2); }
.brand-evidence { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.brand-evidence summary { cursor: pointer; font-size: 17px; padding-bottom: 20px; }
.ip-proof-grid figure, .compact-template-grid figure { margin: 0; min-width: 0; }
.ip-proof-grid img { width: 100%; height: 290px; object-fit: contain; background: #222; border-radius: 12px; }
.ip-proof-grid figcaption { font-size: 13px; margin-top: 12px; }
.compact-template-grid { margin-top: 28px; }
.compact-template-grid img { width: 100%; height: 240px; object-fit: cover; object-position: top; border-radius: 12px; }
.compact-template-grid figcaption { font-size: 12px; line-height: 1.6; margin-top: 12px; }
#education .skill-level { font-size: 26px; margin: 20px 0; }
#education h3 { font-size: 22px; line-height: 1.35; }
#education p { line-height: 1.7; }
@media (max-width: 800px) {
.ip-method { grid-template-columns: 1fr; gap: 12px; }
.ip-case-lead { grid-template-columns: 1fr; gap: 28px; }
.ip-editorial img { height: 280px; }
.ip-proof-grid { grid-template-columns: 1fr; }
.compact-template-grid { gap: 10px; }
.compact-template-grid img { height: 180px; }
.ip-results { gap: 28px; }
}
.ip-case-lead, .ip-method, .brand-evidence, .compact-template-grid { margin-left: var(--section-rail-offset); }
@media (max-width: 1100px) {
.ip-case-lead, .ip-method, .brand-evidence, .compact-template-grid { margin-left: 0; }
}
.ip-editorial.ip-event-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.ip-case-lead {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  background: linear-gradient(110deg, rgba(12,12,16,.88), rgba(12,12,16,.72)), url('../images/events/ip-event-blurred-v1.webp') center / cover no-repeat;
}
.ip-case-lead .ip-context { opacity: .85; }
.overview-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.overview-title-row h2 span { color: #6b6a60; }
.overview-card { display: flex; flex-direction: column; min-width: 0; color: #151513; background: #f7f4ec; border-radius: 14px; overflow: hidden; text-decoration: none; border: 1px solid rgba(20,20,18,.1); transition: transform .22s ease, box-shadow .22s ease; }
.overview-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px rgba(30,30,20,.12); }
.overview-card:focus-visible { outline: 3px solid #151513; outline-offset: 5px; }
.overview-visual { position: relative; isolation: isolate; aspect-ratio: 1.35; overflow: hidden; background: #292b28; color: #fff; }
.overview-visual::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.38), transparent 45%, rgba(0,0,0,.6)); }
.overview-visual img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.overview-card:hover .overview-visual img { transform: scale(1.04); }
.overview-category { position: absolute; left: 18px; top: 18px; font-size: 10px; letter-spacing: .09em; font-weight: 700; }
.overview-visual-note { position: absolute; left: 18px; bottom: 18px; font-size: 11px; letter-spacing: .12em; font-weight: 700; }
.overview-ip-visual { background: linear-gradient(135deg, rgba(17,19,23,.75),rgba(17,19,23,.4)), url('../images/events/ip-event-blurred-v1.webp') center / cover; }
.overview-ip-mark { position: absolute; inset: 25% 18px 22%; display: flex; flex-direction: column; justify-content: center; font-size: clamp(28px,3.2vw,52px); font-weight: 900; line-height: .95; letter-spacing: -.05em; color: var(--yellow); }
.overview-ip-mark span { align-self: flex-end; line-height: .65; padding-right: 16px; }
.overview-card-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.overview-kicker { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; }
.overview-arrow { display: grid; place-items: center; flex: 0 0 30px; height: 30px; background: var(--yellow); border-radius: 50%; font-size: 20px; }
.overview-card-link { margin-top: auto; padding-top: 16px; border-top: 1px solid #dcdacf; font-size: 12px; font-weight: 700; }
#royal-canin-case { scroll-margin-top: 40px; }
.ip-gallery { margin: 48px 0 0 var(--section-rail-offset); }
.ip-gallery-heading { margin-bottom: 26px; }
.ip-gallery-heading h3 { font-size: clamp(24px, 2.5vw, 38px); margin: 18px 0 12px; letter-spacing: -.03em; }
.ip-gallery-heading p { font-size: 14px; line-height: 1.6; opacity: .7; }
.ip-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.ip-gallery-grid figure { margin: 0; min-width: 0; background: #1d1d1b; border: 1px solid rgba(255,255,255,.13); border-radius: 16px; overflow: hidden; }
.ip-gallery-grid a { display: flex; height: clamp(280px, 30vw, 440px); align-items: center; justify-content: center; padding: 16px; background: #111210; transition: background .2s; }
.ip-gallery-grid a:hover { background: #30312b; }
.ip-gallery-grid a:focus-visible { outline: 3px solid var(--yellow); outline-offset: -4px; }
.ip-gallery-grid img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.ip-gallery-grid figcaption { padding: 24px 20px; }
.ip-gallery-step { font-size: 10px; letter-spacing: .1em; opacity: .65; }
.ip-gallery-grid h4 { font-size: 18px; line-height: 1.45; margin: 14px 0 24px; }
.ip-gallery-metric { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; color: var(--yellow); font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.04em; }
.ip-gallery-metric small { color: #deded5; font-size: 12px; font-weight: 400; letter-spacing: 0; }
@media (max-width: 1100px) {
.ip-gallery { margin-left: 0; }
}
@media (max-width: 800px) {
.ip-gallery-grid { grid-template-columns: 1fr; }
.ip-gallery-grid a { height: 400px; }
}
@media (max-width: 1100px) {
.overview-title-row { align-items: flex-start; flex-direction: column; gap: 20px; }
}
@media (max-width: 800px) {
.overview-visual { aspect-ratio: 1.65; }
.overview-ip-mark { font-size: 48px; }
.overview-card-body { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
.overview-card, .overview-visual img { transition: none; }
.overview-card:hover, .overview-card:hover .overview-visual img { transform: none; }
}
.ip-gallery-navigation { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 24px 0 8px; }
.ip-gallery-navigation > span { font-size: 12px; opacity: .65; }
.ip-gallery-navigation > div { display: flex; gap: 10px; align-items: center; }
.ip-gallery-position { font-size: 12px; font-variant-numeric: tabular-nums; margin-right: 12px; }
.ip-gallery-navigation .ai-gallery-arrow { position: static; width: 44px; height: 44px; font-size: 24px; }
.ip-gallery .ip-gallery-grid { position: relative; display: grid; grid-template-columns: none; grid-auto-columns: minmax(280px, 62%); grid-auto-flow: column; gap: 28px; padding: 32px 19% 40px; scroll-padding-inline: 19%; overflow-x: auto; scroll-snap-type: x mandatory; touch-action: auto; }
.ip-gallery .ai-video-card { min-height: 0; grid-template-rows: auto 1fr; transform: rotate(var(--gallery-rotate)) scale(.94); opacity: .65; transition: transform .3s ease, opacity .3s ease, border-color .3s ease; }
.ip-gallery .ai-video-card.is-active, .ip-gallery .ai-video-card:focus-within, .ip-gallery .ai-video-card:hover { transform: rotate(0) scale(1); opacity: 1; }
.ip-gallery .ai-video-card::before { color: var(--yellow); border-color: rgba(255,255,19,.4); background: #202016; }
.ip-gallery .ip-gallery-grid a { height: clamp(340px,36vw,500px); padding: 18px; cursor: zoom-in; }
.ip-gallery .ip-gallery-grid figcaption { padding: 22px 28px; }
.ip-gallery .ip-gallery-grid h4 { margin-bottom: 18px; }
.creative-process { border-top: 1px solid rgba(255,255,255,.2); margin-top: 40px; }
.creative-process summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; padding: 26px 0; cursor: pointer; font-size: clamp(18px,2vw,26px); }
.creative-process summary::-webkit-details-marker { display: none; }
.creative-process summary > span:last-child { color: var(--yellow); transition: transform .2s; }
.creative-process[open] summary > span:last-child { transform: rotate(45deg); }
.restored-template-strip { overflow-x: auto; mask-image: none; scrollbar-width: thin; scroll-snap-type: x mandatory; touch-action: auto; margin-right: 0; }
.restored-template-strip .xiye-marquee-track { animation: none; width: max-content; padding: 20px 20px 30px 0; }
.restored-template-strip .xiye-template-tile { scroll-snap-align: start; }
.restored-template-strip a { display: block; cursor: zoom-in; }
.evidence-dialog { position: fixed; inset: 0; width: min(94vw,1100px); height: 92dvh; max-width: none; max-height: none; margin: auto; padding: 48px 24px 24px; border: 1px solid #555; border-radius: 18px; background: #131313; color: #eee; }
.evidence-dialog::backdrop { background: rgba(0,0,0,.85); backdrop-filter: blur(10px); }
.evidence-dialog[open] { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.evidence-dialog > img { min-height: 0; height: 100%; width: 100%; object-fit: contain; }
.evidence-dialog > p { margin: 0; font-size: 13px; }
.evidence-close { position: absolute; top: 8px; right: 14px; width: 36px; height: 36px; font-size: 28px; border: 0; border-radius: 50%; background: var(--yellow); color: #111; cursor: pointer; }
.skill-evidence-link { width: fit-content; color: #111; font-size: 13px; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding: 6px 0; }
.skill-evidence-link:hover { background: var(--yellow); }
.skill-evidence-link:focus-visible { outline: 2px solid #111; outline-offset: 5px; }
body:has(.evidence-dialog[open]) { overflow: hidden; }
@media(max-width:800px) {
.ip-gallery .ip-gallery-grid { grid-auto-columns: 88%; padding: 24px 6% 32px; gap: 16px; scroll-padding-inline: 6%; }
.ip-gallery .ip-gallery-grid a { height: 380px; }
.ip-gallery-navigation { align-items: flex-start; }
.ip-gallery-navigation > span { max-width: 145px; line-height: 1.5; }
.ip-gallery-navigation .ai-gallery-arrow { width: 38px; height: 38px; }
.ip-gallery-position { margin-right: 0; }
}
@media(prefers-reduced-motion:reduce) {
.ip-gallery .ai-video-card { transform: none; transition: none; opacity: 1; }
}
.reveal-ready { opacity: 1; }
.motion-control { position: fixed; right: 20px; bottom: 18px; z-index: 120; padding: 10px 15px; border: 1px solid #777; border-radius: 100px; background: #191919; color: #f5f3e8; font-size: 12px; box-shadow: 0 4px 20px #0003; cursor: pointer; }
.motion-paused-label { display: none; }
.motion-paused .motion-running-label { display: none; }
.motion-paused .motion-paused-label { display: inline; }
.motion-control:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.method-deliverables { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid #ffffff24; }
.method-deliverables dt { font-size: 11px; color: var(--yellow); margin-bottom: 8px; }
.method-deliverables dd { margin: 0 0 18px; font-size: 14px; line-height: 1.7; color: #d0d0c9; }
#education .education-application { font-size: 14px; line-height: 1.7; border-top: 1px solid #0002; padding-top: 20px; color: #545448; }
.sonder-metric-grid article { animation: metric-light 7s ease-in-out infinite; }
.sonder-metric-grid article:nth-child(2) { animation-delay: -1.7s; }
.sonder-metric-grid article:nth-child(3) { animation-delay: -3.4s; }
.sonder-metric-grid article:nth-child(4) { animation-delay: -5.1s; }
.royal-path li { animation: path-card-light 12s ease-in-out infinite; }
.royal-path li:nth-child(2) { animation-delay: -9.6s; }
.royal-path li:nth-child(3) { animation-delay: -7.2s; }
.royal-path li:nth-child(4) { animation-delay: -4.8s; }
.royal-path li:nth-child(5) { animation-delay: -2.4s; }
.ip-case-lead { background-size: 120% 120%; animation: scene-drift 24s ease-in-out infinite alternate; }
.ip-results strong { animation: metric-ink 8s ease-in-out infinite; }
.ip-results > div:nth-child(2) strong { animation-delay: -2.7s; }
.ip-results > div:nth-child(3) strong { animation-delay: -5.4s; }
.ip-method article { padding: 20px 16px; border-radius: 12px; transition: background 1s, box-shadow 1s; }
.ip-method .auto-emphasis { background: #ffffff08; box-shadow: inset 0 2px var(--yellow); }
.flow-node { animation: path-card-light 10s ease-in-out infinite; }
.flow-node:nth-child(2n) { animation-delay: -5s; }
#education .skill-title .icon-box { animation: icon-breathe 6s ease-in-out infinite; }
.aheadform-frame-card { animation: ambient-card-glow 8s ease-in-out infinite; }
.cta-panel::before { animation: cta-ambient 18s ease-in-out infinite alternate; }
.restored-template-strip { scroll-snap-type: none; scroll-behavior: auto; }
section:not(.motion-in-view) *, footer:not(.motion-in-view) * { animation-play-state: paused; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
@keyframes orbit-turn { to { transform: rotate(360deg); } }
@keyframes path-travel { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -150; } }
@keyframes ambient-card-glow { 0%,100% { box-shadow: 0 0 0 1px #ffff1300; } 50% { box-shadow: 0 0 24px #ffff1325,inset 0 0 0 1px #ffff1344; } }
@keyframes metric-light { 0%,70%,100% { border-color: #ffffff22; } 20%,40% { border-color: #ffff1366; } }
@keyframes path-card-light { 0%,55%,100% { box-shadow: inset 0 2px #ffff1300; } 20%,35% { box-shadow: inset 0 2px #ffff1399; } }
@keyframes scene-drift { from { background-position: 40% 45%; } to { background-position: 60% 55%; } }
@keyframes metric-ink { 0%,70%,100% { text-shadow: 0 0 0 #ffff1300; } 30% { text-shadow: 0 0 22px #ffff1345; } }
@keyframes icon-breathe { 0%,100% { box-shadow: 0 0 0 0 #ffff1300; } 50% { box-shadow: 0 0 0 6px #ffff1325; } }
@keyframes cta-ambient { from { translate: -3% 2%; scale: 1; } to { translate: 4% -3%; scale: 1.08; } }
@media(max-width:800px) {
.motion-control { bottom: 12px; right: 12px; font-size: 11px; }
.ip-method article { padding: 20px 0; }
}
@media(prefers-reduced-motion:reduce) {
*, *::before, *::after { animation: none !important; scroll-behavior: auto !important; }
}
#education .skill-card { animation: education-light 12s ease-in-out infinite; }
#education .skill-card:nth-child(2) { animation-delay: -4s; }
#education .skill-card:nth-child(3) { animation-delay: -8s; }
@keyframes education-light { 0%,60%,100% { box-shadow: inset 0 3px #ffff1300; } 20%,35% { box-shadow: inset 0 3px #ffff13aa; } }
@media(prefers-reduced-motion:reduce) {
#education .skill-card { animation: none; }
}
.ip-case-lead { border-radius: var(--radius); }
.ip-method article { border-radius: var(--radius); }

/* Four marketing milestones use the reference timeline cards and typography. */
#about.restored-story { min-height: 0; }
.restored-story .timeline-stage { min-height: 1640px; margin-top: 64px; }
.restored-story .timeline-line { height: 1480px; }
.restored-story .story-step-1 { top: 60px; left: 12%; }
.restored-story .story-step-2 { top: 440px; right: 8%; }
.restored-story .story-step-3 { top: 820px; left: 6%; }
.restored-story .story-step-4 { top: 1200px; right: 4%; }
.story-discipline { font-size: 11px; letter-spacing: .08em; margin-bottom: 14px; }
.timeline-meta > .thumb-avatar { display: block; width: 50px; height: 50px; overflow: hidden; border-radius: 50%; }
.timeline-meta > .thumb-avatar img { width: 100%; height: 100%; object-fit: cover; }
#skills .skill-card.auto-emphasis { background: rgba(202,198,179,.7); }
/* New IP evidence keeps its approved compact content and private blurred backdrop. */
.ip-case-lead { border-radius: var(--radius); }
/* Keep native template proportions; the anchor is only an image-preview affordance. */
.restored-template-strip .xiye-template-tile { margin: 0; grid-template-columns: minmax(0,1fr); }
.restored-template-strip .xiye-template-tile > a { display: block; min-width: 0; width: 100%; }
.restored-template-strip .xiye-template-tile img { max-width: 100%; }
@media(max-width:1100px) {
 .restored-story .timeline-stage { min-height: 0; margin-left: 0; margin-top: 42px; }
 .restored-story .timeline-card { inset: auto; }
}
/* Restored reference sections; each evidence group remains visible. */
.evidence-subheading { margin-top: 48px; margin-bottom: 24px; }
#case-index .track-buttons a { display: inline-flex; align-items: center; min-height: 44px; padding: 12px 20px; border: 1px solid #ffffff38; border-radius: var(--radius); font-size: 14px; font-weight: 900; }
#case-index .track-buttons a:hover,#case-index .track-buttons a:focus-visible { background: var(--yellow); color: #000; }
#case-index .track-buttons { flex-wrap: wrap; }
#social-video-review .ai-video-card.is-active { opacity: 1; }
@media(max-width:600px) { #case-index .track-switch-inner { flex-wrap: wrap; } }
/* Supporting IP evidence stays accessible with less editorial emphasis. */
.supporting-ip-evidence { padding-top: 40px; padding-bottom: 48px; }
.supporting-ip-evidence .section-heading h2,.supporting-ip-evidence .sonder-case-intro h3 { font-size: clamp(30px,3vw,46px); }
.supporting-ip-evidence .account-hub h4 { font-size: clamp(26px,2.5vw,38px); }
.supporting-ip-evidence .testimonial-row { margin-top: 28px; }
.hero-projects small,.rail-stats small { line-height: 1.3; }
/* Xiye internship case: scene-led creative explanations alongside original footage. */
#xiye-templates .xiye-video-grid {grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:18px;}
#xiye-templates .xiye-video-tile {display:grid;grid-template-columns:44% minmax(0,1fr);min-height:270px;align-items:center;box-shadow:none;}
#xiye-templates .xiye-video-tile.featured {grid-row:auto;}
#xiye-templates .xiye-video-tile video {display:block;width:100%;height:270px;min-height:0;object-fit:contain;background:#060708;}
#xiye-templates .xiye-concept-copy {padding:18px 12px;}
#xiye-templates .xiye-concept-copy h4 {font-size:17px;line-height:1.25;margin:0 0 13px;color:#fff;}
#xiye-templates .xiye-concept-copy span {position:static;display:block;min-height:0;padding:6px 8px;border-radius:12px;font-size:10px;line-height:1.5;text-transform:none;color:#d5e4e7;background:#233238;backdrop-filter:none;}
#xiye-templates .xiye-concept-copy p {font-size:12px;line-height:1.8;font-weight:400;color:#bec7c9;margin:14px 0 0;}
#xiye-templates .xiye-workflow {grid-template-columns:repeat(3,minmax(0,1fr));}
#xiye-templates .xiye-workflow-step h3 {font-size:22px;line-height:1.2;}
#xiye-templates .xiye-workflow-step h4 {font-size:12px;font-weight:400;line-height:1.5;color:#d1d9d9;margin:0 0 15px;}
@media(max-width:1450px) {#xiye-templates .xiye-video-grid {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px) {#xiye-templates .xiye-video-grid,#xiye-templates .xiye-workflow {grid-template-columns:1fr;}#xiye-templates .xiye-video-tile video {height:300px;}}
#xiye-templates .xiye-motion-desk {display:block;}
#xiye-templates .xiye-motion-head {margin-bottom:24px;max-width:720px;}
#xiye-templates .xiye-head h2 {font-size:clamp(40px,4.2vw,68px);line-height:1.05;letter-spacing:-.05em;}
#xiye-templates .xiye-head h2 em {color:var(--yellow);font-style:normal;}
#xiye-templates .xiye-sprint-copy h3 {font-size:clamp(28px,2.8vw,44px);line-height:1.2;}
/* The outer strip owns scrolling on every breakpoint; JS provides the seamless loop. */
.restored-template-strip {scroll-snap-type:none;scrollbar-width:none;}
.restored-template-strip::-webkit-scrollbar {display:none;}
.restored-template-strip .xiye-marquee-track {overflow:visible;width:max-content;scroll-snap-type:none;animation:none;}
/* Contextual source galleries: full images, never cropped evidence. */
.flow-has-evidence.evidence-open {z-index:20;background:#191c1b;border-color:#d6db3c;}
.flow-evidence-trigger {justify-self:start;border:0;border-bottom:1px solid #727637;background:none;color:var(--yellow);font:inherit;font-size:12px;padding:6px 0;cursor:pointer;}
.flow-evidence-trigger:focus-visible {outline:2px solid var(--yellow);outline-offset:4px;}
.flow-evidence-panel {position:absolute;top:calc(100% - 1px);left:-1px;width:min(620px,60vw);padding:20px;background:#111615;border:1px solid #737a43;border-radius:10px;box-shadow:0 24px 70px #000b;color:#eef1e7;}
.flow-event .flow-evidence-panel,.flow-review .flow-evidence-panel {left:auto;right:-1px;}
.flow-ugc .flow-evidence-panel,.flow-review .flow-evidence-panel {top:auto;bottom:calc(100% - 1px);}
.flow-evidence-heading {display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin-bottom:16px;}
.flow-evidence-heading strong {font-size:17px;line-height:1.4;}.flow-evidence-heading small {font-size:11px;color:#a6b19d;}
.flow-evidence-images {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.flow-review .flow-evidence-images {grid-template-columns:repeat(2,minmax(0,1fr));}
.flow-evidence-images figure {margin:0;min-width:0;}
.flow-evidence-images a {display:block;border-radius:6px;overflow:hidden;background:#070909;cursor:zoom-in;}
.flow-evidence-images img {display:block;width:100%;height:210px;object-fit:contain;}
.flow-evidence-images figcaption {font-size:11px;line-height:1.6;color:#d2d9cd;margin-top:9px;}
.flow-node .flow-evidence-note {font-size:11px;line-height:1.6;margin:14px 0 8px;color:#aab7a5;}
.flow-evidence-results {font-size:12px;color:var(--yellow);}
@media(max-width:1100px) {
 .flow-node .flow-evidence-panel {position:static;width:100%;grid-column:1/-1;margin-top:8px;box-shadow:none;}
 .flow-evidence-trigger {grid-column:1/-1;}
}
@media(max-width:600px) {
 .flow-evidence-panel {padding:14px;}.flow-evidence-heading {display:block;}.flow-evidence-heading small {display:block;margin-top:5px;}
 .flow-evidence-images,.flow-review .flow-evidence-images {grid-template-columns:1fr;}.flow-evidence-images img {height:260px;}
}
/* Explicitly illustrative coupon analysis; separate from actual project results. */
#flow-evidence-review.coupon-dashboard {width:min(680px,65vw);max-height:72vh;overflow:auto;overscroll-behavior:contain;background:linear-gradient(145deg,#18201d,#0c1110);border-color:#818840;scrollbar-width:thin;}
.coupon-dash-head {display:flex;align-items:center;justify-content:space-between;gap:16px;}
.coupon-dash-head div > span {font-size:9px;letter-spacing:.12em;color:#a3af9f;}
.coupon-dash-head h5 {font-size:23px;line-height:1.25;margin:7px 0 0;color:#f5f8ec;}
.coupon-dash-head > b {font-size:10px;white-space:nowrap;border:1px solid #a1a44b;border-radius:20px;padding:7px 10px;background:#ffff1314;color:#f4f763;}
.flow-node .coupon-demo-note {font-size:10px;line-height:1.6;color:#9eab9d;margin:12px 0 16px;}
.coupon-kpis {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.coupon-kpis > div {padding:14px;background:#ffffff05;border:1px solid #344037;border-radius:8px;display:flex;flex-direction:column;gap:8px;}
.coupon-kpis span {font-size:11px;color:#c0cbbc;}.coupon-kpis strong {font-size:32px;line-height:1;font-weight:800;color:#f4ff58;letter-spacing:-.04em;}.coupon-kpis small {font-size:17px;}.coupon-kpis em {font-size:10px;font-style:normal;color:#99a697;line-height:1.4;}
.coupon-chart-grid {display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px;}
.coupon-chart {border:1px solid #303c32;border-radius:8px;padding:14px;background:#0a100d;}
.coupon-dashboard h6 {font-size:12px;line-height:1.4;color:#f0f4e7;margin:0;}
.flow-node .coupon-chart > p {font-size:9px;color:#8b9b8a;margin:6px 0 16px;line-height:1.4;}
.coupon-budget-row {margin:12px 0;}.coupon-budget-row > div {display:flex;justify-content:space-between;gap:8px;font-size:10px;color:#bac9b8;margin-bottom:7px;}.coupon-budget-row b {font-weight:500;color:#e6eddc;}
.coupon-budget-row > i {display:block;height:5px;background:#293129;border-radius:5px;overflow:hidden;}.coupon-budget-row em {display:block;width:var(--fill);height:100%;background:#d9ef68;border-radius:5px;}
.coupon-budget-total {display:flex;justify-content:space-between;gap:12px;padding-top:10px;border-top:1px solid #28332a;margin-top:15px;font-size:10px;color:#9aab98;}.coupon-budget-total strong {color:#e8f3ca;font-size:12px;}
.coupon-funnel {list-style:none;padding:0;margin:0;display:grid;gap:9px;}.coupon-funnel li {position:relative;isolation:isolate;display:flex;justify-content:space-between;padding:8px 9px;border:1px solid #344336;border-radius:5px;color:#d9e5d2;font-size:11px;overflow:hidden;}.coupon-funnel li:before {content:'';position:absolute;inset:0 auto 0 0;width:var(--fill);background:#829e412e;z-index:-1;}.coupon-funnel b {color:#f1f6e7;}
.coupon-channel {margin-top:14px;padding:14px;border:1px solid #303c32;border-radius:8px;}.coupon-channel > div {display:flex;justify-content:space-between;gap:12px;align-items:baseline;}.coupon-channel > div > span {font-size:9px;color:#9aab98;}.coupon-channel table {width:100%;border-collapse:collapse;margin-top:10px;font-size:11px;font-variant-numeric:tabular-nums;}.coupon-channel th,.coupon-channel td {padding:8px 4px;text-align:right;border-bottom:1px solid #253027;color:#bdcbb6;}.coupon-channel th:first-child {text-align:left;}.coupon-channel th {font-weight:500;}.coupon-channel thead th {font-size:9px;color:#7f947c;}.coupon-channel td b {color:#edff6c;font-weight:700;}.coupon-channel tbody tr:last-child > * {border-bottom:0;}
.coupon-takeaway {display:flex;gap:12px;align-items:start;margin:14px 0;padding:12px;background:#d7f25e0b;border-left:2px solid #d8e96a;}.coupon-takeaway > span {font-size:10px;white-space:nowrap;color:#d7ea7c;}.flow-node .coupon-takeaway p {font-size:10px;line-height:1.7;margin:0;color:#b3c1ab;}
@media(max-width:1100px) {#flow-evidence-review.coupon-dashboard {width:100%;max-height:none;overflow:visible;}}
@media(max-width:600px) {.coupon-dash-head {align-items:start;flex-wrap:wrap;}.coupon-dash-head h5 {font-size:20px;}.coupon-kpis {gap:6px;}.coupon-kpis > div {padding:10px 7px;}.coupon-kpis strong {font-size:25px;}.coupon-kpis span {font-size:10px;}.coupon-chart-grid {grid-template-columns:1fr;}.coupon-channel > div {display:block;}.coupon-channel > div > span {display:block;margin-top:5px;}.coupon-takeaway {display:block;}.flow-node .coupon-takeaway p {margin-top:7px;}}
/* Compact, bilingual project navigation; three choices share one balanced row. */
#case-index .track-switch-inner {display:grid;grid-template-columns:150px minmax(0,1fr);gap:24px;width:calc(100% - var(--section-rail-offset));padding:18px 20px;border:1px solid #373c35;border-radius:14px;background:linear-gradient(110deg,#1b201b,#141715);}
#case-index .track-switch-label {display:block;min-height:0;padding:0;white-space:normal;font-size:14px;letter-spacing:.02em;color:#f2f4e9;font-weight:700;text-transform:none;}
#case-index .case-index-intro p {margin:7px 0 0;font-size:11px;line-height:1.5;color:#919b8d;}
#case-index .track-buttons {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:8px;}
#case-index .track-buttons a {display:flex;align-items:center;gap:9px;min-height:56px;padding:12px;border:1px solid #3b4436;border-radius:9px;font-size:13px;font-weight:700;line-height:1.35;color:#dce3d5;background:#ffffff03;text-decoration:none;transition:background .18s,color .18s,border-color .18s;}
#case-index .case-index-number {font-size:10px;font-weight:500;opacity:.5;flex:none;font-variant-numeric:tabular-nums;}
#case-index .track-buttons a > span:nth-child(2) {flex:1;}
#case-index .track-buttons i {font-size:16px;font-style:normal;color:#a7b797;flex:none;}
#case-index .track-buttons a:hover,#case-index .track-buttons a[aria-current="location"] {background:var(--yellow);color:#101408;border-color:var(--yellow);}
#case-index .track-buttons a:hover i,#case-index .track-buttons a[aria-current="location"] i {color:#101408;}
#case-index .track-buttons a:focus-visible {outline:2px solid var(--yellow);outline-offset:4px;background:#303b25;color:#fff;}
@media(max-width:1250px) {#case-index .track-switch-inner {grid-template-columns:1fr;gap:15px;}#case-index .case-index-intro {display:flex;align-items:baseline;justify-content:space-between;gap:10px;}#case-index .case-index-intro p {margin:0;}}
@media(max-width:1100px) {#case-index .track-switch-inner {margin-left:0;width:100%;}}
@media(max-width:600px) {#case-index .track-switch-inner {padding:16px;gap:14px;}#case-index .track-buttons {grid-template-columns:1fr;}#case-index .track-buttons a {min-height:48px;padding:12px 14px;font-size:14px;}#case-index .track-switch-label {font-size:13px;}}
/* Editorial case selector: readable type, restrained surfaces and clear hierarchy. */
#case-index .track-switch-inner {display:block;padding:28px;border:1px solid #41433e;border-radius:12px;background:#181a18;}
#case-index .case-index-intro {display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:22px;}
#case-index .track-switch-label {font-size:21px;font-weight:700;letter-spacing:0;color:#fafbf5;}
#case-index .case-index-intro p {font-size:14px;line-height:1.5;margin:0;color:#a8ada4;}
#case-index .track-buttons {grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
#case-index .track-buttons a {min-height:94px;padding:22px 20px;border:1px solid #4a4e44;border-radius:7px;background:#21241f;font-size:clamp(20px,1.7vw,27px);font-weight:700;line-height:1.3;letter-spacing:-.025em;gap:12px;}
#case-index .case-index-number {display:none;}
#case-index .track-buttons a > span:nth-child(2) {white-space:normal;}
#case-index .track-buttons i {font-size:24px;color:#afb8a3;font-weight:400;}
#case-index .track-buttons a:hover {background:#30362a;border-color:#c7d587;color:#fff;}
#case-index .track-buttons a:hover i {color:var(--yellow);}
#case-index .track-buttons a[aria-current="location"] {background:var(--yellow);border-color:var(--yellow);color:#0b1005;}
#case-index .track-buttons a[aria-current="location"] i {color:#0b1005;}
#case-index .track-buttons a:focus-visible {outline:2px solid var(--yellow);outline-offset:4px;}
@media(max-width:1250px) {#case-index .track-switch-inner {padding:24px;}#case-index .track-buttons {gap:10px;}#case-index .track-buttons a {font-size:21px;padding:20px 16px;}}
@media(max-width:700px) {#case-index .track-switch-inner {padding:20px;}#case-index .case-index-intro {display:block;margin-bottom:18px;}#case-index .track-switch-label {font-size:20px;}#case-index .case-index-intro p {margin-top:7px;font-size:13px;}#case-index .track-buttons {grid-template-columns:1fr;gap:10px;}#case-index .track-buttons a {min-height:70px;font-size:22px;padding:18px 20px;}}
/* Keep the personal introduction readable while the career timeline animates. */
#about.restored-story .section-heading {opacity:1!important;transform:none!important;}
#about .intro-results-copy {font-size:clamp(16px,1.4vw,20px);line-height:1.8;max-width:760px;}

/* Evidence images retain their source proportions instead of filling a crop. */
.sonder-case-detail .sonder-case-media {
  display: block;
  align-self: start;
  min-width: 0;
  min-height: 0;
  height: auto;
  background: #101010;
  cursor: zoom-in;
}
.sonder-case-detail .sonder-case-media::after { display: none; }
.sonder-case-detail .sonder-case-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: none;
}
.sonder-image-zoom {
  display: block;
  padding: 12px 16px;
  color: var(--yellow);
  font-size: 14px;
  line-height: 1.4;
  text-align: right;
  background: #161616;
}
.sonder-case-detail .sonder-case-media:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

/* Face masks match each cover's coordinates and scale with background-size: cover. */
#domestic-projects .face-privacy-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  background: rgba(80, 80, 80, .18);
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
#domestic-projects .case-c-card .face-privacy-mask {
  -webkit-mask-image: url('../images/cases/offline-face-mask.svg');
  mask-image: url('../images/cases/offline-face-mask.svg');
}
#domestic-projects .case-d-card .face-privacy-mask {
  -webkit-mask-image: url('../images/cases/creative-face-mask.svg');
  mask-image: url('../images/cases/creative-face-mask.svg');
}

/* Editorial opening: a clear reading column, portrait, and aligned proof points. */
#home { background: radial-gradient(ellipse at 78% 28%,#f2eedb 0,transparent 48%),#d8d3c2; }
#home .hero-logo { top:15vh; left:49%; right:auto; font-size:clamp(100px,17vw,300px); line-height:.85; letter-spacing:-.065em; color:#eeef70; }
#home .hero-nav { top:30px; left:5.5%; right:160px; bottom:auto; min-height:50px; justify-content:flex-start; gap:24px; border:0; border-bottom:1px solid #23251c33; padding:0 0 18px; font-size:13px; }
#home .hero-nav a:nth-of-type(4) { margin-left:0; }
#home .hero-nav span { opacity:.25; }
#home .hero-person { top:22vh; left:75%; width:57vw; max-width:1100px; height:65vh; aspect-ratio:auto; background-position:center bottom; filter:drop-shadow(0 20px 35px #514d3620); }
#home .hero-title { top:19vh; left:28%; width:45%; max-width:740px; }
.hero-role-label { display:block; font-size:12px; font-weight:800; letter-spacing:.16em; margin-bottom:24px; color:#555644; }
#home .hero-title h1 { color:#181b16; font-size:clamp(58px,6.1vw,108px); line-height:.94; letter-spacing:-.065em; text-shadow:none; -webkit-text-stroke:0; margin:0 0 24px; }
#home .hero-title h1::after { content:""; display:block; width:64px; height:5px; margin-top:25px; background:#a4a51f; }
#home .hero-greeting { position:relative; inset:auto; width:100%; max-width:420px; padding:0; border:0; border-radius:0; background:none; box-shadow:none; backdrop-filter:none; transform:none!important; margin:0 0 28px; }
#home .hero-greeting::before { display:none; }
#home .hero-greeting span { font-size:14px; letter-spacing:.03em; margin-bottom:8px; }
#home .hero-greeting p { font-size:clamp(15px,1.25vw,20px); line-height:1.65; color:#525447; }
#home .hero-actions { justify-content:flex-start; gap:10px; flex-wrap:wrap; }
#home .hero-actions a { min-width:115px; min-height:48px; padding:12px 20px; border-radius:6px; font-size:15px; border:1px solid #21251e; background:transparent; color:#21251e; box-shadow:none; transform:none; transition:background .2s,color .2s; }
#home .hero-actions a:first-child { background:#20251c; color:#ffff36; }
#home .hero-actions a:hover { background:#ffff36; color:#171a14; }
#home .hero-projects,#home .hero-years { top:auto; bottom:5vh; min-height:90px; height:90px; border:0; border-top:1px solid #22251b40; border-radius:0; background:transparent; color:#24271d; box-shadow:none; backdrop-filter:none; padding:16px 0 0; }
#home .hero-projects { left:5.5%; width:230px; min-width:0; gap:4px 18px; grid-template-columns:50px 1fr; }
#home .hero-years { left:calc(5.5% + 260px); width:210px; min-width:0; grid-template-columns:50px 1fr; gap:18px; text-align:left; }
#home .hero-projects .metric-mark,#home .hero-years strong { font-size:46px; color:#252a1c; line-height:1; }
#home .hero-projects strong,#home .hero-projects small,#home .hero-years small { font-size:14px; font-weight:600; line-height:1.4; }
#home .hero-bullets { top:auto; bottom:5vh; right:5.5%; width:32%; min-width:0; display:flex; flex-wrap:wrap; gap:8px 16px; padding:16px 0 0; border:0; border-top:1px solid #22251b40; border-radius:0; background:none; box-shadow:none; color:#34382a; }
#home .hero-bullets li { font-size:12px; }
#home .hero-bullets span { width:7px;height:7px;background:#858b38; }
@media(max-width:1100px) {
 #home { min-height:1080px; padding:30px; }
 #home .hero-nav { display:flex; position:absolute; top:90px; left:6%; right:6%; gap:18px; flex-wrap:wrap; }
 #home .hero-logo { position:absolute; top:180px; left:50%; font-size:150px; }
 #home .hero-title { position:relative; top:auto; left:auto; width:55%; margin:150px 0 0; transform:none; }
 #home .hero-person { top:270px; left:79%; width:65%; height:550px; }
 #home .hero-title h1 {font-size:clamp(58px,8vw,84px);}
 #home .hero-projects,#home .hero-years {display:grid;position:absolute;bottom:120px;}
 #home .hero-bullets {display:flex;position:absolute;bottom:35px;left:6%;width:88%;}
 #home .hero-left,#home .hero-right {display:none;}
}
@media(max-width:600px) {
 #home {min-height:1230px;padding:24px;}
 #home .hero-nav {top:80px;gap:12px;font-size:10px;}
 #home .hero-nav span {display:none;}
 #home .hero-title {width:100%;margin-top:125px;}
 #home .hero-title h1 {font-size:64px;}
 .hero-role-label {font-size:10px;letter-spacing:.09em;}
 #home .hero-greeting {max-width:340px;}
 #home .hero-actions a {min-width:0;padding:12px 14px;font-size:13px;}
 #home .hero-logo {top:640px;left:6%;font-size:115px;}
 #home .hero-person {top:655px;left:50%;width:100%;height:340px;}
 #home .hero-projects,#home .hero-years {bottom:120px;width:42%;height:86px;min-height:86px;gap:10px;grid-template-columns:36px 1fr;}
 #home .hero-projects {left:6%;} #home .hero-years {left:53%;}
 #home .hero-projects .metric-mark,#home .hero-years strong {font-size:34px;}
 #home .hero-projects strong,#home .hero-projects small,#home .hero-years small {font-size:12px;}
}
@media(min-width:1101px) and (max-height:780px) {
 #home .hero-title {top:17vh;} #home .hero-title h1 {font-size:clamp(54px,5.2vw,82px);margin-bottom:14px;}
 #home .hero-title h1::after {margin-top:15px;}
 .hero-role-label {margin-bottom:15px;}
 #home .hero-greeting {margin-bottom:18px;} #home .hero-greeting p {font-size:15px;}
 #home .hero-projects,#home .hero-years,#home .hero-bullets {bottom:3vh;}
}
@media(min-width:1101px) { #home .hero-logo {font-size:12vw;} }
@media(max-width:1100px) {
 #home {display:block;}
 #home .hero-person {position:absolute;transform:translateX(-50%);}
 #home .hero-title {bottom:auto;right:auto;}
}
@media(max-width:600px) {
 #home .hero-nav {top:110px;}
 #home .hero-title {margin-top:155px;}
 #home .hero-logo {font-size:90px;}
}
#home .hero-actions {display:flex;}
@media(max-width:600px) {#home .hero-logo {font-size:18vw;left:6%;}}
@media(max-width:600px) {
 #home {min-height:1320px;}
 #home .hero-person {top:730px;}
 #home .hero-logo {top:675px;}
}
/* Distinct consulting case opening, separated from Sonder campaign results. */
#royal-canin-case { margin-top:100px; padding-top:0; border-top:0; scroll-margin-top:30px; }
#royal-canin-case .royal-analysis-shell { border-top:5px solid #df162b; border-radius:12px; overflow:hidden; }
#royal-canin-case .royal-analysis-header { padding:38px 30px; background:#eeeae0; color:#201f1d; display:grid; grid-template-columns:1fr 1.2fr; align-items:start; gap:40px; }
#royal-canin-case .royal-analysis-header .label { color:#ad1021; border-color:#ad102150; background:transparent; font-size:12px; line-height:1.6; }
#royal-canin-case .royal-analysis-header h3 {color:#211d1e;font-size:clamp(36px,3.9vw,64px);line-height:1.04;letter-spacing:-.04em;margin-top:22px;}
#royal-canin-case .royal-analysis-header > p { color:#56504e; font-size:clamp(16px,1.2vw,19px); line-height:1.9; font-weight:400; margin:0; }
.royal-consulting-brief { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); background:#eeeae0; padding:0 30px 32px; gap:24px; }
.royal-consulting-brief article {border-top:1px solid #b7aaa6;padding-top:20px;}
.royal-consulting-brief small {color:#ad1021;font-size:11px;font-weight:800;letter-spacing:.06em;}
.royal-consulting-brief h4 {color:#211d1e;font-size:21px;line-height:1.4;margin:12px 0 8px;}
.royal-consulting-brief p {color:#68615e;font-size:14px;line-height:1.75;margin:0;}
#royal-canin-case .royal-column-title {color:#ff9fa9;border-color:#d3364650;}
#royal-canin-case .royal-path-panel .royal-column-title {color:#a51123;}
#royal-canin-case .royal-transfer-list strong {color:#ff9fa9;}
#royal-canin-case .royal-kpi-grid span {border-color:#d3364640;}
@media(max-width:900px) {
 #royal-canin-case {margin-top:64px;}
 #royal-canin-case .royal-analysis-header {grid-template-columns:1fr;gap:24px;padding:28px 22px;}
 .royal-consulting-brief {grid-template-columns:1fr;padding:0 22px 28px;gap:20px;}
}

.royal-demo-film {margin:0;padding:30px;background:#171717;border-bottom:1px solid #333;}
.royal-demo-film figcaption {display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:22px;}
.royal-demo-film small {color:#ff9fa9;font-size:12px;font-weight:700;letter-spacing:.06em;}
.royal-demo-film h4 {color:#f7f5ef;font-size:clamp(22px,2vw,32px);line-height:1.4;margin:12px 0 8px;}
.royal-demo-film p {color:#bdbbb5;font-size:15px;line-height:1.7;margin:0;}
.royal-demo-film figcaption > span {color:#ffb6bd;border:1px solid #7c3c44;border-radius:30px;padding:8px 13px;white-space:nowrap;font-size:12px;}
.royal-demo-film video {display:block;width:100%;height:auto;aspect-ratio:16/9;border-radius:10px;background:#f3f1ec;}
@media(max-width:600px){.royal-demo-film {padding:20px 14px;}.royal-demo-film figcaption{display:block;}.royal-demo-film figcaption > span{display:inline-block;margin-top:14px;}}

#royal-commerce-frame{display:block;border:0;width:100%;height:1230px;background:#f3f1ed;border-radius:10px}.royal-demo-film figcaption>a{display:inline-block;white-space:nowrap;color:#ffb6bd;font-size:14px;padding:10px 14px;border:1px solid #713c45;border-radius:6px}.royal-film-toggle{margin-top:20px;border-top:1px solid #464044;padding-top:18px}.royal-film-toggle summary{cursor:pointer;font-size:16px;color:#eee;padding:8px 0 20px}.royal-demo-film video{aspect-ratio:4/3}.royal-film-toggle:not([open]) video{display:none}

.royal-demo-film video{aspect-ratio:16/9;}

.growth-marquee {
  margin-top: 48px;
  margin-left: var(--section-rail-offset);
  margin-right: calc(var(--pad) * -1);
  overflow: hidden;
  padding-bottom: 8px;
}
.growth-marquee-track {
  display: flex;
  width: max-content;
  animation: growth-marquee-scroll 42s linear infinite;
}
.growth-marquee-group {
  display: grid;
  grid-auto-columns: minmax(340px, 390px);
  grid-auto-flow: column;
  gap: 30px;
  padding-right: 30px;
}
.growth-marquee:hover .growth-marquee-track,
.growth-marquee:focus-within .growth-marquee-track {
  animation-play-state: paused;
}
@keyframes growth-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 1100px) {
  .growth-marquee { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .growth-marquee-track { animation: none; }
}
