body[data-ydp-design] { padding-bottom: env(safe-area-inset-bottom); }
[data-ydp-design] .wrap { width: min(100% - 48px, 1480px); max-width: 1480px; margin-inline: auto; }
[data-ydp-design] .heroCopy { min-width: 0; }
[data-ydp-design] .heroCopy h1 { font-size: clamp(2rem, 4.2vw, 4.5rem); line-height: 1.16; word-break: keep-all; overflow-wrap: anywhere; }
[data-ydp-design] .heroShot img { object-position: center; }
[data-ydp-design] .ydp-intro { align-items: center; }
[data-ydp-design] .ydp-admin { border-inline-start: 2px solid currentColor; padding-inline-start: 1em; }
[data-ydp-variant="1"] .ydp-intro img { order: -1; }
[data-ydp-variant="2"] .ydp-intro img { border-radius: 5px 30px; }
[data-ydp-variant="3"] .ydp-intro { gap: clamp(1rem, 3vw, 3rem); }
[data-ydp-design] .processCard img { object-fit: contain; background: #182331; }
[data-ydp-design] .experience .wrap { display: block; }
[data-ydp-design] .experience p { color: #e4ddd1; }
[data-ydp-design] .experience p.eyebrow { color: #f2cf90; }
[data-ydp-design] .experience h2, [data-ydp-design] .experience h3 { color: inherit; }
[data-ydp-design] .experience figure, [data-ydp-design] .experience h3 { margin: 0; }
[data-ydp-design] .experience .section { background: transparent; border: 0; }
.ydp-stats { display: grid; grid-template-columns: 2fr 1.35fr 1fr 1fr; gap: .6rem; padding-block: 1.5rem; }
.ydp-stats > div { background: #172637; color: #fff; border-radius: .5rem; padding: clamp(.8rem, 2vw, 1.6rem); }
.ydp-stats .ydp-big { background: #111c29; color: #fff5df; border: 1px solid #ae894c; }
.ydp-stats h2, .ydp-stats h3, .ydp-stats p { color: inherit; font-size: 1rem; margin: 0; }
.ydp-stats strong { font-size: clamp(1.1rem, 2.5vw, 2.4rem); line-height: 1.2; font-variant-numeric: tabular-nums; }
.ydp-stats .ydp-big strong { font-size: clamp(2.3rem, 5vw, 4.7rem); color: #f1d195; }
.ydp-stats .ydp-annual strong { color: #f1d195; }
.ydp-gallery { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .75rem; margin-top: 1.25rem; }
.ydp-gallery a { display: grid; position: relative; align-items: end; isolation: isolate; overflow: hidden; border-radius: .6rem; aspect-ratio: 3/2; color: #fff; background: #182331; }
.ydp-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.ydp-gallery span { background: linear-gradient(transparent,#0a101bea 80%); padding: 1rem .6rem .4rem; font-size: clamp(.76rem, 1.2vw, 1rem); }
.ydp-related nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.ydp-related a { border: 1px solid currentColor; border-radius: .25rem; padding: .45rem .7rem; }
#ydp-gallery-view { max-width: min(94vw, 950px); width: auto; margin: auto; padding: .75rem; color: #fff; background: #172637; border: 0; border-radius: .5rem; }
#ydp-gallery-view::backdrop { background: #0b111ac9; }
#ydp-gallery-view img { width: auto; max-width: 100%; max-height: 72vh; object-fit: contain; }
#ydp-gallery-view button { display: block; margin: 0 0 .5rem auto; padding: .5rem .9rem; cursor: pointer; }
@media (max-width: 700px) {
  body[data-ydp-design] { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  [data-ydp-design] .wrap { width: calc(100% - 32px); }
  [data-ydp-design] .heroCopy h1 { font-size: clamp(1.85rem, 7.6vw, 2.55rem); }
  .ydp-stats { grid-template-columns: 1fr 1fr; }
  .ydp-stats .ydp-big { grid-column: 1 / -1; }
  .ydp-stats .ydp-annual { grid-column: 1 / -1; }
  .ydp-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
}
