@view-transition { navigation: auto; }

/* Friends of Sunset Dunes in-depth — Figma 924:24042.
   Page bg #4a7f8a, cream ink #f7f1d9, 800px content column. Same three-step
   spacing scale as the Yes on K page:
     --sd-major  between sections                     80 / 56 mobile
     --sd-block  between elements inside a section    40 / 28
     --sd-tight  a heading and its body, paired lines 20 / 16 */

/* standalone page only — this sheet stays loaded on /portfolio/ after the overlay closes */
body:has(> .sd-page) { margin: 0; font-family: "Host Grotesk", sans-serif; color: #f7f1d9; background: #4a7f8a; -webkit-font-smoothing: antialiased; }

.sd-page {
  --sd-major: 80px; --sd-block: 40px; --sd-tight: 20px;
  --sd-ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  position: relative; font-family: "Host Grotesk", sans-serif; -webkit-font-smoothing: antialiased;
  background: #4a7f8a; color: #f7f1d9; min-height: 100vh; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; gap: var(--sd-block);
  padding: 0 0 120px; overflow-x: clip;
}
.sd-page p { margin: 0; }

/* close button floats over the masthead video (same spot as the other case studies) and
   stays there as the page scrolls */
.sd-header { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); z-index: 50; max-width: 1280px; width: 100%; height: 100px; display: flex; justify-content: flex-end; align-items: center; padding-right: 40px; /* 40 from the edge, like the other case studies */ box-sizing: border-box; pointer-events: none; }
.sd-close { pointer-events: auto; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #ffffff; border: 1.838px solid rgba(0,0,0,0.1); border-radius: 16px; box-shadow: 0 14.703px 58.811px -4px rgba(0,0,0,0.1); overflow: hidden; text-decoration: none; flex-shrink: 0; transition: opacity 0.15s ease; }
.sd-close:hover { opacity: 0.7; }

/* ── type ramp ───────────────────────────────────────────────────────── */
.sd-b { font-weight: 700; }
.sd-title { margin: 0; font-size: 45px; font-weight: 700; line-height: 1.2; text-align: center; }
.sd-subhead { margin: 0; font-size: 35px; font-weight: 700; line-height: 1.2; }
.sd-body { font-size: 30px; font-weight: 300; line-height: 1.4; text-align: center; }
.sd-large { font-size: 35px; font-weight: 400; line-height: 1.4; text-align: center; }
.sd-page .sd-b { font-weight: 700; }   /* wins over the ramp weights above */

/* ── masthead: 1296 × 729 video, logo 124px down (977:25636) ─────────── */
.sd-masthead { position: relative; width: 100%; aspect-ratio: 1296 / 729; max-height: 729px; overflow: hidden; background: #4a7f8a; }
/* a tiny blurred copy of the first frame shows instantly, then the poster, then the video */
.sd-masthead::before {
  content: ""; position: absolute; inset: -20px;
  background: url("data:image/webp;base64,UklGRrIAAABXRUJQVlA4IKYAAAAwBQCdASogABIAPu1kqE2ppaOiMAgBMB2JQArAXv4DE32MAhzHOOhETlrNlVWAcMROQAD945rSnxpDrAroaM9q8+ayg7Uz4K87bP3c7rrbARw2EUV62ku63O9jDyn64TCF8HsZJPRv05pk7tpWZheSPAmkkd9adREwrFM3Al609oI/YaXiM/rv0wXX4Ayx9rGzr8o4C3d25cFW6he3+qxVG7X1Q8wA") 50% 50% / cover no-repeat; filter: blur(14px);
}
.sd-masthead__poster img, .sd-masthead__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-masthead__video { opacity: 0; transition: opacity 0.6s ease; }
.sd-masthead__video.is-playing { opacity: 1; }
.sd-logo { position: absolute; z-index: 1; top: 17.01%; /* 124 / 729 */ left: 0; right: 0; margin: 0; display: flex; justify-content: center; line-height: 0; }
.sd-logo img { display: block; width: 802px; max-width: calc(100% - 32px); height: auto; }

.sd-content { width: 100%; max-width: 800px; display: flex; flex-direction: column; gap: var(--sd-major); }

/* ── intro + results (480 + 40 + 280) ───────────────────────────────── */
.sd-intro { display: flex; gap: var(--sd-block); align-items: flex-start; }
/* lead: Bold 30 headline line, then Light 22 body (Figma 1071:28169 / 1071:28170) */
.sd-intro__lead { flex: 0 1 480px; display: flex; flex-direction: column; gap: var(--sd-tight); font-size: 22px; font-weight: 300; line-height: 1.4; }
.sd-intro__lead .sd-b { font-size: 30px; }
.sd-results { flex: 0 0 280px; min-width: 0; font-size: 22px; font-weight: 300; line-height: 1.4; }
.sd-results p { margin-bottom: 10px; }
.sd-results p:last-child { margin-bottom: 0; }

/* ── brand and rebrand ───────────────────────────────────────────────── */
.sd-brand { display: flex; flex-direction: column; align-items: center; gap: var(--sd-major); }

/* plovers divider: the Yes on K marquee, moving right the way they face */
.sd-plovers { width: 100vw; overflow: hidden; }
.sd-plovers__track { display: flex; width: max-content; animation: sd-plovers 50s linear infinite; }
.sd-plovers__set { display: flex; gap: 50px; padding-right: 50px; flex: 0 0 auto; }
.sd-plovers__set img { display: block; width: 225.5px; height: 203.258px; flex: 0 0 auto; }
@keyframes sd-plovers { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* text beside a phone: 468 text + 30 + 302 phone, vertically centred */
.sd-split { width: 100%; display: flex; align-items: center; justify-content: center; gap: 30px; }
.sd-split__text { flex: 0 1 468px; min-width: 0; display: flex; flex-direction: column; gap: var(--sd-tight); font-size: 22px; font-weight: 300; line-height: 1.4; }
.sd-split__phone { display: block; flex: 0 0 auto; width: 302px; height: auto; }
/* the second video row is 1100 wide: phone, phone, 436 text */
.sd-split--wide { width: 1100px; max-width: calc(100vw - 32px); align-self: center; }
.sd-split--wide .sd-split__text { flex-basis: 436px; }

.sd-voice { width: 868px; max-width: calc(100vw - 32px); }

/* ── the city's source for park news ─────────────────────────────────── */
.sd-news { display: flex; flex-direction: column; align-items: center; gap: var(--sd-block); }
.sd-news__intro { display: flex; flex-direction: column; gap: var(--sd-tight); }

/* ═══ Social posts feed (1082:32933, sections 1081:31189) ═════════════
   Static (phones, reduced motion, no JS): the five groups stack in the box.
   .is-scrub (desktop, sunset-dunes.js): the box pins mid-screen while the page
   scrolls through the groups — rows slide sideways, titles and copy roll like a
   ticker, the box height follows the content, and the nav dot tracks progress. */
.sd-feed { width: 1202px; max-width: calc(100vw - 32px); align-self: center; color: #000; }
.sd-feed__box {
  box-sizing: border-box; width: 100%;
  background: #b9dae4; border-radius: 30px; padding: 20px;
  display: flex; align-items: center; gap: 57px;
}
.sd-feed__content { flex: 1 1 1080px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.sd-feed__sec { display: flex; flex-direction: column; align-items: center; gap: var(--sd-block); }
.sd-feed__title { margin: 0; font-size: 35px; font-weight: 700; line-height: 1.4; text-align: center; }
.sd-feed__row { width: 1000px; max-width: 100%; display: flex; justify-content: center; align-items: var(--align, flex-end); gap: var(--gap, 35px); }
.sd-feed__body { width: 788px; max-width: 100%; display: flex; flex-direction: column; gap: var(--sd-block); font-size: 30px; font-weight: 300; line-height: 1.4; text-align: center; }

.sd-feed__nav { position: relative; flex: 0 0 25px; display: flex; flex-direction: column; gap: 12.43px; }
.sd-feed__nav button { width: 24.9px; height: 24.9px; padding: 0; border: 0; border-radius: 50%; background: #00652f; cursor: pointer; }
.sd-feed__nav button:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.sd-feed__dot { position: absolute; left: 8.4px; top: 8.4px; width: 8.1px; height: 8.1px; border-radius: 50%; background: #d34b00; pointer-events: none; will-change: transform; }
.sd-feed:not(.is-scrub) .sd-feed__nav { display: none; }

/* desktop scrub mode — geometry is set inline by sunset-dunes.js */
.sd-feed.is-scrub { position: relative; max-width: none; /* zoom does the fitting (sunset-dunes.js) */ }
.sd-feed.is-scrub .sd-feed__box { position: sticky; }
.sd-feed.is-scrub .sd-feed__content { flex: 0 0 1080px; display: block; position: relative; overflow-x: clip; }
.sd-feed.is-scrub .sd-feed__sec { display: block; position: absolute; inset: 0; pointer-events: none; }
.sd-feed.is-scrub .sd-feed__sec.is-current { pointer-events: auto; }
.sd-feed.is-scrub .sd-feed__title,
.sd-feed.is-scrub .sd-feed__row,
.sd-feed.is-scrub .sd-feed__body { position: absolute; left: 0; right: 0; margin: 0 auto; will-change: transform, opacity; }
.sd-feed.is-scrub .sd-feed__title,
.sd-feed.is-scrub .sd-feed__body { transform-origin: 50% 50%; backface-visibility: hidden; }
.sd-feed.is-scrub .sd-feed__content { perspective: 900px; }

/* ── one post: media (single image, carousel or reel) + engagement row ─
   --u scales everything from the Figma 223.8px post. */
.sd-post { --u: 1; flex: 0 0 auto; width: calc(223.8px * var(--u)); display: flex; flex-direction: column; }
/* no touch-action here: a swipe that starts on a card has to be able to scroll the row */
.sd-post__media { position: relative; width: 100%; aspect-ratio: var(--ar, 4 / 5); overflow: hidden; background: #fff; }

.sd-post__media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0.5px #000; pointer-events: none; z-index: 3; }
.sd-car__track { display: flex; height: 100%; transition: transform 0.45s cubic-bezier(0.22, 0.68, 0, 1); will-change: transform; }
.sd-car__track.is-dragging { transition: none; }
.sd-car__track img, .sd-post__media video { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; }
.sd-post__media > video { position: absolute; inset: 0; background: #000; }

/* Instagram carousel chrome (Figma 1082:32945) */
.sd-car__count {
  position: absolute; z-index: 2; top: calc(20px * var(--u)); right: calc(13.68px * var(--u));
  padding: calc(3.33px * var(--u)) calc(6.67px * var(--u)); border-radius: 999px;
  background: rgba(38, 38, 38, 0.95); -webkit-backdrop-filter: blur(18.75px); backdrop-filter: blur(18.75px);
  font: 400 calc(9.17px * var(--u)) / calc(13.33px * var(--u)) var(--sd-ui); color: #fff; white-space: nowrap; pointer-events: none;
}
.sd-car__dots {
  position: absolute; z-index: 2; left: 50%; bottom: calc(8.7px * var(--u)); transform: translateX(-50%);
  display: flex; align-items: center; gap: calc(3px * var(--u)); padding: calc(3.75px * var(--u));
  border-radius: calc(18px * var(--u)); background: #424242; pointer-events: none;
}
.sd-car__dots i { display: block; width: calc(4.5px * var(--u)); height: calc(4.5px * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: transform 0.25s ease, background-color 0.25s ease; }
.sd-car__dots i.is-on { background: #fff; }
.sd-car__dots i.is-s1 { transform: scale(0.667); }
.sd-car__dots i.is-s2 { transform: scale(0.333); }
.sd-car__dots i[hidden] { display: none; }
.sd-car__arrow {
  position: absolute; z-index: 2; top: 50%; width: calc(22px * var(--u)); height: calc(22px * var(--u)); margin-top: calc(-11px * var(--u));
  display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.85); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); cursor: pointer;
  opacity: 0; transition: opacity 0.2s ease;
}
.sd-car__arrow svg { width: 52%; height: 52%; }
.sd-car__arrow--prev { left: calc(8px * var(--u)); }
.sd-car__arrow--next { right: calc(8px * var(--u)); }
.sd-post__media:hover .sd-car__arrow:not([hidden]), .sd-car__arrow:focus-visible { opacity: 1; }
.sd-car__arrow::after { content: ""; position: absolute; inset: -8px; }   /* bigger tap target */
/* touch screens can't hover, and a tap opens the Instagram tooltip — keep the arrows showing */
@media (hover: none) { .sd-car__arrow:not([hidden]) { opacity: 0.9; } }
.sd-post__media { cursor: pointer; }
.sd-post__media:focus-visible { outline: 2px solid #f29a21; outline-offset: 2px; }
.sd-car__arrow[hidden] { display: none; }

/* engagement row (Figma 1081:31189): likes, comments, sends and views together, centred */
.sd-ufi {
  height: calc(36.4px * var(--u)); display: flex; align-items: center; justify-content: center; gap: calc(11.19px * var(--u));
  font: 600 calc(9.79px * var(--u)) / calc(12.59px * var(--u)) var(--sd-ui); letter-spacing: calc(-0.105px * var(--u)); color: #0c1014;
}
.sd-ufi span { display: inline-flex; align-items: center; gap: calc(2.8px * var(--u)); white-space: nowrap; }
.sd-ufi svg { display: block; width: calc(16.78px * var(--u)); height: calc(16.78px * var(--u)); flex: 0 0 auto; }
.sd-ufi .sd-ufi__views svg { width: calc(17.8px * var(--u)); height: calc(12.82px * var(--u)); }

/* ═══ Phone with the Instagram Reels UI (Figma 1071:29547) ═════════════
   Built by sunset-dunes.js at the Figma size (301.8 × 577.9); zoom scales it. */
.sd-phone { --pz: 1; zoom: var(--pz); position: relative; flex: 0 0 auto; width: 301.8px; height: 577.9px; margin: 0; }
.sd-phone__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; }
.sd-phone__screen { position: absolute; left: 33.02px; top: 31.2px; width: 236.96px; height: 513.1px; border-radius: 11px; overflow: hidden; background: #000; color: #fff; font-family: var(--sd-ui); cursor: pointer; }
.sd-reel { position: absolute; left: 0; right: 0; top: 0; height: 467.6px; background: #000; }
.sd-reel video, .sd-reel__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sd-reel__scrim-top { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(180deg, rgba(0,0,0,0.35) 1%, rgba(0,0,0,0.14) 49.5%, rgba(0,0,0,0) 99%); }
.sd-reel__scrim-bottom { position: absolute; left: 0; right: 0; top: 300.8px; height: 166.8px; background: linear-gradient(0deg, rgba(0,0,0,0.45) 1%, rgba(0,0,0,0.18) 49.5%, rgba(0,0,0,0) 99%); }
.sd-reel__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 1.264px; background: rgba(255,255,255,0.35); }
.sd-reel__progress i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.sd-reel__actions { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 7.583px; padding: 10.11px 7.583px; filter: drop-shadow(0 0 1.896px rgba(0,0,0,0.3)); }
.sd-reel__actions span { display: flex; flex-direction: column; align-items: center; gap: 2.528px; font-size: 6.95px; font-weight: 600; letter-spacing: 0.139px; line-height: 1.2; }
.sd-reel__actions svg { display: block; width: 20.22px; height: 20.22px; }
.sd-reel__me { position: absolute; left: 0; top: 382.3px; display: flex; align-items: center; padding: 2.528px 10.11px 2.528px 7.583px; }
.sd-reel__me img { width: 17.69px; height: 17.69px; border-radius: 50%; box-shadow: 0 0 0 0.316px #0c1014; display: block; }
.sd-reel__me b { padding-left: 5.055px; font-size: 8.21px; font-weight: 600; letter-spacing: 0.082px; }
.sd-reel__me svg { width: 10.11px; height: 10.11px; display: block; }
.sd-reel__cap { position: absolute; left: 0; top: 405.04px; width: 201.57px; box-sizing: border-box; padding: 2.528px 10.11px; display: flex; flex-direction: column; gap: 5.055px; }
/* caption: two lines at most, then "…" (like the Reels UI), in the 25.9px Figma box */
.sd-reel__desc { height: 25.9px; }
.sd-reel__cap p {
  overflow: hidden; font-size: 8.215px; letter-spacing: 0.164px; line-height: 1.2;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; text-overflow: ellipsis;
}
.sd-reel__liked { display: flex; align-items: center; gap: 2.528px; padding: 2.528px 0; font-size: 6.951px; letter-spacing: 0.21px; white-space: nowrap; }
.sd-reel__liked b { font-weight: 600; letter-spacing: 0.139px; }
.sd-reel__likers { position: relative; flex: 0 0 auto; width: 20.85px; height: 7.583px; }
.sd-reel__likers img { position: absolute; top: 0; width: 7.583px; height: 7.583px; border-radius: 50%; object-fit: cover; }
.sd-phone__status { position: absolute; left: 0; right: 0; top: 0; height: 34.12px; font-size: 10.74px; font-weight: 600; }
.sd-phone__time { position: absolute; left: 0; width: 84.7px; top: 11.6px; text-align: center; line-height: 13.9px; }
.sd-phone__levels { position: absolute; right: 0; top: 0; width: 84.7px; height: 34.12px; }
.sd-phone__levels svg { position: absolute; display: block; }
.sd-phone__battery { position: absolute; left: 43.7px; top: 14.53px; width: 15.8px; height: 8.2px; box-sizing: border-box; border: 0.632px solid rgba(255,255,255,0.35); border-radius: 2.7px; }
.sd-phone__battery::after { content: ""; position: absolute; left: 0.63px; top: 0.63px; right: 0.63px; bottom: 0.63px; background: #fff; border-radius: 1.6px; }
.sd-phone__nav { position: absolute; left: 0; right: 0; top: 34.12px; height: 25.28px; }
.sd-phone__nav svg { position: absolute; top: 5.06px; width: 15.165px; height: 15.165px; display: block; }
.sd-phone__nav b { position: absolute; left: 0; right: 0; top: 7.27px; text-align: center; font-size: 9.48px; font-weight: 700; line-height: 1.2; }
.sd-phone__tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 45.5px; background: #000; }
.sd-phone__tabs > div { display: flex; justify-content: center; height: 32.23px; }
.sd-phone__tabs > div > span { width: 47.39px; display: flex; justify-content: center; padding-top: 5.055px; box-sizing: border-box; }
.sd-phone__tabs svg { width: 15.165px; height: 15.165px; display: block; }
.sd-phone__tabs img { width: 13.9px; height: 13.9px; border-radius: 50%; object-fit: cover; margin-top: 0.63px; display: block; }
.sd-phone__home { position: absolute; left: 50%; bottom: 5.06px; width: 87.83px; height: 3.16px; margin-left: -43.9px; border-radius: 63px; background: #fff; }

/* ── paused video: dark layer, play button, Instagram / TikTok links ─── */
.sd-paused {
  position: absolute; inset: 0; z-index: 4; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: rgba(0, 0, 0, 0.55); opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0.2s;
}
.sd-paused.is-shown { opacity: 1; visibility: visible; }
.sd-paused__play { width: 56px; height: 56px; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35)); }
.sd-paused__play svg { display: block; width: 100%; height: 100%; }
.sd-paused__links { display: flex; gap: 8px; }
.sd-paused__links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.14);
  color: #fff; font: 600 11px/1 var(--sd-ui); text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease;
}
.sd-paused__links a:hover { background: rgba(255, 255, 255, 0.28); }
.sd-paused__links svg { display: block; width: 15px; height: 15px; }
.sd-post .sd-paused__play { width: calc(44px * var(--u)); height: calc(44px * var(--u)); }
.sd-phone__screen:focus-visible { outline: 2px solid #f29a21; outline-offset: 2px; }

/* "Open in Instagram" tooltip (Figma 1098:35610): its point sits just above the click */
.sd-igtip {
  position: fixed; z-index: 45; width: 152px; height: 40.08px;
  color: #fff; text-decoration: none; font: 400 16px/1.6 "Host Grotesk", sans-serif;
  opacity: 0; transform: translateY(4px) scale(0.96); transform-origin: var(--tip-x, 76px) 100%;
  transition: opacity 0.15s ease, transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sd-igtip[hidden] { display: none; }
.sd-igtip.is-shown { opacity: 1; transform: none; }
.sd-igtip__box { display: flex; align-items: center; justify-content: center; height: 29.95px; border-radius: 10px; background: #000; white-space: nowrap; }
.sd-igtip__point { position: absolute; top: 29.45px; left: calc(var(--tip-x, 76px) - 7.14px); display: block; }
.sd-igtip:hover .sd-igtip__box { text-decoration: underline; text-underline-position: from-font; }
.sd-igtip:focus-visible { outline: none; }
.sd-igtip:focus-visible .sd-igtip__box { box-shadow: 0 0 0 2px #f29a21; }

/* one sound button for the page, shown while a video with sound is on screen */
.sd-mute {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px -6px rgba(0, 0, 0, 0.4);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.sd-mute.is-shown { opacity: 1; visibility: visible; transform: none; }
.sd-mute:hover { background: rgba(0, 0, 0, 0.75); }
.sd-mute:focus-visible { outline: 2px solid #f29a21; outline-offset: 3px; }
.sd-mute svg { width: 24px; height: 24px; display: block; }

/* ── pivoting to video ───────────────────────────────────────────────── */
.sd-video { display: flex; flex-direction: column; align-items: center; gap: var(--sd-block); }

/* ── between desktop and phone ───────────────────────────────────────── */
@media (max-width: 1180px) {
  .sd-split--wide { flex-wrap: wrap; width: 100%; max-width: 100%; }
  .sd-split--wide .sd-split__text { flex: 1 1 100%; order: -1; }
}
@media (max-width: 920px) {
  .sd-voice { width: 100%; }
}

/* ── phones ──────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .sd-page { --sd-major: 56px; --sd-block: 28px; --sd-tight: 16px; padding: 0 0 72px; }
  .sd-header { top: 0; height: 64px; padding-right: 16px; }
  .sd-masthead { aspect-ratio: 4 / 5; max-height: none; }
  .sd-masthead::before { background-image: url("data:image/webp;base64,UklGRqoAAABXRUJQVlA4IJ4AAADwBACdASoUABkAPu1kqE2ppaOiMAgBMB2JYwC3yf/gNoGAm58qiArh48xVwhU1m2AA/tRm/g6jW+DkUwRCgnv1/xu7c17OdFjspt+dC74GTDkPSMZa04EQwqkVeEZM2fvbJcgyvA564zsufRPr3GFl+iwmnx6ZDIKvecoHMssMe2SZoY+gs0Xf5ylG6Itd78h2s8FewyZByfmJcAAAAA=="); }
  .sd-logo { top: 76px; }
  .sd-content { padding: 0 16px; box-sizing: border-box; }

  .sd-title { font-size: 30px; }
  .sd-subhead { font-size: 26px; }
  .sd-body { font-size: 22px; }
  .sd-large { font-size: 24px; }
  .sd-split__text, .sd-results { font-size: 19px; }

  .sd-intro { flex-direction: column; }
  .sd-intro__lead { flex: 1 1 auto; font-size: 19px; }
  .sd-intro__lead .sd-b { font-size: 24px; }
  .sd-results { flex: 1 1 auto; }

  .sd-plovers__set { gap: 30px; padding-right: 30px; }
  .sd-plovers__set img { width: 135px; height: 122px; }

  .sd-split { flex-direction: column; gap: var(--sd-block); }
  .sd-split__text { flex: 1 1 auto; width: 100%; }
  .sd-split__phone { width: 260px; }
  .sd-phone { --pz: 0.86; }
  /* the two update phones stack at the same size as the first, so their play
     button and Instagram / TikTok links stay a comfortable tap size */
  .sd-split--wide { flex-direction: column; flex-wrap: nowrap; }

  .sd-feed { max-width: calc(100vw - 32px); }
  .sd-feed__box { border-radius: 20px; padding: 28px 0; }
  /* the groups stack, each set off by a hairline, with a steady rhythm inside */
  .sd-feed__content { gap: 28px; }
  .sd-feed__sec { gap: var(--sd-tight); }
  .sd-feed__sec + .sd-feed__sec { border-top: 1px solid rgba(0, 0, 0, 0.14); padding-top: 28px; }
  .sd-feed__title { font-size: 24px; padding: 0 16px; }
  .sd-feed__body { font-size: 19px; gap: var(--sd-tight); padding: 0 16px; box-sizing: border-box; }
  .sd-feed__row {
    width: 100%; justify-content: flex-start; align-items: flex-end; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 0 16px; box-sizing: border-box;
    scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  }
  .sd-feed__row::-webkit-scrollbar { display: none; }
  /* every card the same width; videos keep their own shape */
  .sd-feed__row .sd-post { --u: 0.94 !important; scroll-snap-align: start; }
  .sd-mute { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .sd-plovers__track { animation: none; }
  .sd-car__track { transition: none; }
}
