@media screen and (max-width: 335px) {
  #top .utility-bar .utility-inner {padding-inline: 6px;}
}
/* The phone opener keeps its headline, camera signal and complete Wisconsin render. */
@media screen and (max-width: 680px), screen and (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  .hero-v24.has-wi-neon {
    --wi-mobile-frame: min(103vw, 54svh, 410px);
  }
  .hero-v24 .hero-inner {min-height: 0; padding-block: clamp(14px, 3svh, 24px) 8px;}
  .hero-v24 .hero-copy {
    --signal-height: clamp(92px, 26vw, 125px);
    --signal-clearance: clamp(65px, 17vw, 83px);
  }
  .hero-v24 .hero-copy > .eyebrow {margin-bottom: 9px;}
  .hero-v24 .hero-copy .hero-headline {
    font-size: clamp(43px, 12.7vw, 65px);
    margin-bottom: 8px;
  }
  .hero-v24 .hero-copy > p:not(.eyebrow) {
    font-size: 15px; line-height: 1.45; margin-bottom: 14px;
  }
  .hero-v24 .hero-copy > .hero-financing {
    display: grid; grid-template-columns: minmax(min-content, auto) minmax(0, 1fr); align-items: center;
    width: 100%; max-width: 450px; min-height: 44px;
    margin: 0 auto 10px; gap: 10px; padding: 7px 12px;
  }
  .hero-v24 .hero-financing strong {font-size: clamp(18px, 4.8vw, 23px); white-space: normal;}
  .hero-v24 .hero-financing span {line-height: 1.3; text-wrap: balance;}
  .hero-v24 .hero-copy .hero-actions {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px; align-items: stretch; max-width: 450px; margin-inline: auto; padding: 0;
  }
  .hero-v24 .hero-actions .button {
    width: 100%; min-width: 0; min-height: 46px; padding: 10px 8px;
    font-size: clamp(15px, 4vw, 18px); white-space: normal;
  }
}
@media screen and (min-width: 480px) and (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  #top .utility-bar .utility-inner {
    grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto; gap: 8px;
  }
  #top .utility-bar .utility-inner > span {display: block; white-space: normal;}
  #top .utility-bar .utility-away {white-space: normal;}
  #top .utility-bar .utility-connect {
    grid-area: 1 / 2; width: auto; grid-template-columns: repeat(7, 44px); box-shadow: none;
  }
  .hero-v24.has-wi-neon {
    --wi-mobile-frame: clamp(150px, min(36vw, 52svh), 225px);
    padding-bottom: 0;
  }
  .hero-v24.has-wi-neon .hero-copy {
    width: 100%; max-width: none; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    --signal-width: 100%; --signal-height: clamp(72px, 12vw, 101px);
    --signal-clearance: clamp(50px, 8vw, 70px);
  }
  .hero-v24.has-wi-neon .wi-neon {
    top: 12px; right: calc(24% - var(--wi-mobile-frame) / 2); bottom: auto; left: auto;
    width: var(--wi-mobile-frame); transform: none; margin: 0;
  }
  .hero-v24 .hero-copy > .eyebrow, .hero-v24 .hero-copy > .headline-cadence {justify-content: center;}
  .hero-v24 .hero-copy .headline-window {text-align: center;}
  .hero-v24 .hero-copy .hero-headline {font-size: clamp(34px, 6.5vw, 51px);}
  .hero-v24 .hero-copy > p:not(.eyebrow), .hero-v24 .hero-copy > .hero-financing, .hero-v24 .hero-copy .hero-actions {grid-column: 1 / -1;}
  .hero-v24 .hero-copy > p:not(.eyebrow) {max-width: 68ch; margin-inline: auto; text-align: center;}
  .hero-v24 .hero-inner {padding-bottom: 18px;}
  .hero-v24 .hero-copy > .hero-financing {text-align: center;}
}

/* Social reel, contact-sheet selector and their supporting links. The camera reads its
   actual frame size with ResizeObserver, so the existing pan still lands on each print. */
@media (max-width: 800px), (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  #social-content, #services.capabilities-v25 { padding-block: clamp(28px, 6vw, 44px); }
  #social-content .production-spreads { margin-bottom: 0; }
  #social-content .section-heading, #services .capabilities-heading { gap: 12px; margin-bottom: 18px; }
  #social-content .section-heading h2, #services .capabilities-heading h2 { font-size: clamp(34px, 8.5vw, 48px); line-height: 1.04; }
  #social-content .section-heading > p, #services .capabilities-heading > p { font-size: 15px; line-height: 1.47; }
  #social-content .section-heading .section-kicker, #services .capabilities-heading .section-kicker { margin-bottom: 10px; }

  #social-content .reel-service.cut-enhanced .reel-stage {
    display: grid; grid-template-columns: minmax(0, .76fr) minmax(0, 1fr); align-content: center;
    align-items: center; gap: 12px 8px; min-height: 0; padding: 18px clamp(12px, 4vw, 22px) 12px;
  }
  #social-content .cut-enhanced .reel-direction {
    position: static; grid-area: 1 / 1; max-width: none; min-width: 0; overflow-wrap: break-word;
  }
  #social-content .cut-enhanced .reel-direction > span { display: block; line-height: 1.4; }
  #social-content .cut-enhanced .reel-direction strong { font-size: clamp(31px, 7.8vw, 50px); line-height: .99; margin: 6px 0 12px; }
  #social-content .cut-enhanced .reel-direction strong br { display: initial; }
  #social-content .cut-enhanced .reel-direction i { display: block; width: min(44px, 75%); }
  #social-content .cut-enhanced .reel-direction small { display: none; }
  #social-content .cut-enhanced .phone-device {
    position: relative; inset: auto; grid-area: 1 / 2; justify-self: center; translate: none;
    width: min(100%, clamp(128px, min(40vw, 21svh), 184px)); padding: 5px; border-radius: 26px;
  }
  #social-content .phone-screen { border-radius: 21px; }
  #social-content .phone-caption { left: 9px; right: 7px; bottom: 19px; }
  #social-content .phone-caption strong { font-size: clamp(22px, 5.5vw, 29px); margin: 4px 0 5px; }
  #social-content .phone-timeline { bottom: 10px; left: 10px; right: 10px; }
  #social-content .cut-enhanced .reel-stage > .cut-story { position: static; grid-column: 1 / -1; min-width: 0; }
  #social-content .reel-stage > .cut-story .cut-steps { gap: 6px; }
  #social-content .reel-stage > .cut-story button { min-height: 48px; height: 100%; padding: 5px 3px; }
  #social-content .reel-stage > .cut-story strong { font-size: 16px; }
  #social-content .priority-copy { padding: 18px clamp(14px, 4vw, 24px) 12px; }
  #social-content .priority-label { margin-bottom: 8px; }
  #social-content .priority-copy h3 { font-size: clamp(32px, 8vw, 42px); line-height: 1.02; margin-bottom: 10px; }
  #social-content .priority-copy > p:not(.priority-label) { margin-bottom: 10px; font-size: 15px; line-height: 1.45; }
  #social-content .social-primary { min-height: 44px; margin-top: 0; padding-block: 10px; }
  #social-content .section-social { margin-block: 14px 0; }
  #social-content .section-social .social-kicker { margin-bottom: 5px; }
  #social-content .section-social .social-dock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 6px; }
  #social-content .section-social .social-tile { min-height: 44px; padding: 3px 0; gap: 4px; }
  #social-content .priority-copy > .social-detail-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 3px; }

  #services [data-contact-sheet] { margin-top: 0; }
  #services [data-contact-sheet].is-enhanced { --pj-height: clamp(182px, min(58vw, 30svh), 350px); }
  #services [data-contact-sheet] .service-deck-copy { padding: 16px clamp(14px, 4.2vw, 26px) 18px; }
  #services [data-contact-sheet] .service-deck-copy > .service-deck-kicker { margin-bottom: 7px; }
  #services [data-contact-sheet] .service-deck-copy > h3 { font-size: clamp(31px, 8vw, 44px); }
  #services [data-contact-sheet] .service-deck-description { font-size: 15px; line-height: 1.43; margin: 9px 0; }
  #services [data-contact-sheet] .service-deck-details { padding-top: 6px; margin-bottom: 12px; }
  #services [data-contact-sheet] .service-deck-link { min-height: 44px; padding-block: 9px; }
  #services .fit-strip { padding-top: 21px; }
  #services .fit-strip > p { font-size: clamp(27px, 7vw, 36px); margin-bottom: 8px; }
  #services .fit-strip nav { gap: 0 16px; margin-bottom: 5px; }
  #services .fit-strip nav a { display: inline-flex; align-items: center; min-height: 44px; }
  #services .process-brief { padding-top: 14px; }
  #services .process-brief p { line-height: 1.5; }
  #services .process-brief > a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 5px; }
}
@media (max-width: 350px) {
  #social-content .section-social .social-dock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 560px) and (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  #social-content .production-spreads .reel-service.cut-enhanced { grid-template-columns: minmax(0, .95fr) minmax(0, 1fr); }
  #social-content .cut-enhanced .reel-direction strong { font-size: 30px; }
  #social-content .cut-enhanced .reel-direction > span { font-size: 9px; }
  #social-content .reel-service.cut-enhanced {
    grid-template-areas: "reel label" "reel title" "reel body" "reel action" "social social" "detail detail";
    grid-template-rows: auto auto auto 1fr auto auto; column-gap: 14px;
  }
  #social-content .cut-enhanced .reel-stage { grid-area: reel; }
  #social-content .cut-enhanced .priority-copy { display: contents; }
  #social-content .cut-enhanced .priority-label { grid-area: label; padding: 15px 12px 0 0; }
  #social-content .cut-enhanced .priority-copy h3 { grid-area: title; padding-right: 12px; }
  #social-content .cut-enhanced .priority-copy > p:not(.priority-label) { grid-area: body; padding-right: 12px; }
  #social-content .cut-enhanced .social-primary { grid-area: action; place-self: start; margin-bottom: 15px; }
  #social-content .cut-enhanced .section-social { grid-area: social; padding: 0 14px; }
  #social-content .cut-enhanced .social-detail-link { grid-area: detail; justify-self: start; margin-inline: 14px; }
  #social-content .section-social .social-dock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #services [data-contact-sheet].is-enhanced { --pj-columns: 45% minmax(0, 1fr); --service-tabs: 4; }
  #services [data-contact-sheet] .service-deck-panel { grid-template-columns: var(--pj-columns); grid-template-rows: auto; min-height: 0; }
  #services [data-contact-sheet] .pj-camera { inset: 0 auto 0 0; width: 45%; height: auto; border-right: 1px solid #38413b; }
  #services [data-contact-sheet] .service-deck-choice { min-height: 44px; padding: 5px 3px; }
  #services [data-contact-sheet] .service-deck-copy > h3 { font-size: clamp(30px, 4.3vw, 38px); }
}
@media (min-width: 700px) and (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  #social-content .section-social .social-dock { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Website Directions: reserve space for the tallest card's actual copy. */
@media (max-width: 760px), (max-width: 960px) and (max-height: 500px) {
  #website-directions .directions-heading { gap: 10px; margin-bottom: 12px; }
  #website-directions .directions-heading > p { font-size: 15px; line-height: 1.45; }
  #website-directions [data-direction-deck].is-ready .direction-grid { padding-block: 13px 24px; }
  #website-directions [data-direction-deck].is-ready .direction-card { min-height: 0; }
  #website-directions [data-direction-deck].is-ready .direction-image { aspect-ratio: 2.25; }
  #website-directions [data-direction-deck].is-ready .direction-copy { padding: clamp(14px, 3.8vw, 22px); }
  #website-directions [data-direction-deck].is-ready .direction-copy h3 { font-size: clamp(30px, 7.9vw, 39px); }
  #website-directions [data-direction-deck].is-ready .direction-copy .direction-tier { margin-bottom: 6px; }
  #website-directions [data-direction-deck].is-ready .direction-copy > p:not(.direction-tier) { font-size: 14px; line-height: 1.44; margin-block: 8px; }
  #website-directions [data-direction-deck].is-ready .direction-includes { gap: 3px; margin-bottom: 11px; }
  #website-directions [data-direction-deck].is-ready .direction-copy > .button { min-height: 44px; padding-block: 8px; }
  #website-directions .directions-foundation { margin-top: 16px; line-height: 1.5; }
  #website-directions .proof-next { margin-top: 18px; gap: 12px 16px; }
  #website-directions .proof-next .text-link { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (min-width: 520px) and (max-width: 960px) and (max-height: 500px) {
  #website-directions [data-direction-deck].is-ready { --card-width: 84%; --wing: 48%; --depth: .86; --tilt: 6deg; --drop: 8px; }
  #website-directions [data-direction-deck].is-ready .direction-card { grid-template: auto / 35% minmax(0,1fr); }
  #website-directions [data-direction-deck].is-ready .direction-image { position: relative; inset: auto; z-index: 0; align-self: stretch; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; }
  #website-directions [data-direction-deck].is-ready .direction-image::after { background: linear-gradient(0deg,#061008a1,transparent 52%); }
  #website-directions [data-direction-deck].is-ready .direction-image img { position: absolute; inset: 0; }
  #website-directions [data-direction-deck].is-ready .direction-copy { width: 100%; padding: 12px 15px; }
  #website-directions [data-direction-deck].is-ready .direction-copy h3 { font-size: clamp(29px, 4.7vw, 36px); }
  #website-directions [data-direction-deck].is-ready .direction-image > span { left: 10px; right: 10px; bottom: 10px; font-size: 8px; }
}
/* The rail controller measures each editorial card and owns its sticky travel.
   Size the art against that stable stage, independently of toolbar motion. */
@media (max-width: 680px) {
  #field-notes .note-belt-heading { align-items: start; gap: 10px; }
  #field-notes .note-belt-heading h2 { font-size: clamp(34px, 9vw, 44px); line-height: 1; }
  #field-notes .note-belt-heading .section-kicker { margin-bottom: 8px; }
  #field-notes .note-belt-heading > .button { min-height: 44px; padding-block: 8px; }
  #field-notes .orbit-enabled .resource-card:is([data-note-layout="cover"],[data-note-layout="panorama"]) { --card-w: min(490px, 85vw); --card-h: min(615px, calc(var(--notes-height) * .76)); }
  #field-notes .orbit-enabled .resource-card[data-note-layout="postcard"] { --card-w: min(440px, 84vw); --card-h: min(590px, calc(var(--notes-height) * .76)); }
  #field-notes .orbit-enabled .resource-card[data-note-layout="question"][data-note-art="search"] { --card-h: min(585px, calc(var(--notes-height) * .72)); }
  #field-notes .orbit-enabled .resource-card[data-note-layout="checklist"] { --card-h: min(530px, calc(var(--notes-height) * .70)); }
  #field-notes .orbit-enabled .resource-card[data-note-art="care-hero"] { --card-h: min(595px, calc(var(--notes-height) * .78)); }
}
@media (max-width: 680px), (max-width: 960px) and (max-height: 500px) {
  #field-notes .note-belt:not(.orbit-enabled) .resource-card[data-note-layout] { --inset: clamp(16px, 4vw, 21px); }
  #field-notes .note-belt:not(.orbit-enabled) .resource-card:is([data-note-layout="cover"],[data-note-layout="postcard"],[data-note-layout="panorama"]) > img { height: clamp(104px, 26svh, 154px); }
}

/* Homepage FAQ and directory. Let questions and long link names define their row height. */
@media (max-width: 800px), (max-width: 960px) and (max-height: 540px) and (orientation: landscape) {
  #faq.rundown { padding-block: clamp(28px, 6vw, 44px) !important; }
  #faq .faq-grid { gap: clamp(16px, 3.5vw, 27px); }
  #faq .rundown-intro .section-kicker { margin-bottom: 8px; }
  #faq .rundown-intro h2 { font-size: clamp(36px, 9vw, 52px); line-height: 1; margin-bottom: 10px; }
  #faq .rundown-intro > p:not(.section-kicker) { margin-bottom: 6px; line-height: 1.48; }
  #faq .rundown-intro .text-link { min-height: 44px; margin: 4px 6px 0 0; padding: 8px 12px; font-size: 16px; }
  #faq .faq-list summary {
    min-height: 52px; padding: 11px 12px !important; grid-template-columns: minmax(0, 1fr) 47px !important;
    gap: 8px; font-size: clamp(20px, 5vw, 25px); line-height: 1.18;
  }
  #faq .faq-list summary > span { width: 47px; height: 30px; }
  #faq .faq-list details > p { padding: 1px 13px 14px !important; font-size: 16px !important; line-height: 1.5 !important; }

  body .skunk-footer { padding-top: 20px; }
  .skunk-footer .footer-directory.footer-unified { row-gap: 16px; padding-bottom: 17px; }
  .skunk-footer .footer-nav-pair > nav > h3 { margin-bottom: 7px; }
  .skunk-footer .footer-nav-pair > nav > a { display: flex; align-items: center; min-height: 30px; padding-block: 3px; line-height: 1.28; }
  .skunk-footer .footer-nav-pair .footer-utility-links { padding-top: 8px; margin-top: 6px; gap: 4px 10px; }
  .skunk-footer .footer-nav-pair .footer-nav-action { min-height: 44px; }
  .skunk-footer .footer-signature { padding-top: 10px; }
  .skunk-footer .footer-connect h3 { margin-bottom: 10px; }
  .skunk-footer .footer-connect .social-dock { margin-bottom: 6px; }
  .skunk-footer .footer-contact-lines { gap: 0; }
  .skunk-footer .footer-contact-lines > a { display: flex !important; align-items: center; min-height: 44px; line-height: 1.4; }
  .skunk-footer .footer-connect .footer-location { margin: 6px 0 0; max-width: 100%; line-height: 1.45; }
  .skunk-footer .footer-crew .footer-sighting { min-height: 44px; padding-block: 9px; }
  .skunk-footer .footer-bottom { gap: 5px 16px; padding-top: 12px; }
  .skunk-footer .footer-legal a { display: inline-flex; min-height: 44px; align-items: center; }
}
@media (max-width: 520px) {
  .skunk-footer .footer-unified > .footer-connect { padding-top: 14px; }
  .skunk-footer .footer-bottom { padding-bottom: 52px; }
  .skunk-footer .footer-unified .footer-connect .social-dock {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px !important;
  }
  .skunk-footer .footer-unified .footer-connect .social-tile { min-height: 44px; padding: 3px 0; gap: 6px; }
  .skunk-footer .footer-unified .footer-crew { margin-top: 15px; padding-top: 14px; gap: 9px; }
}
@media (min-width: 350px) and (max-width: 520px) {
  .skunk-footer .footer-unified .footer-connect .social-dock { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Each card's sticky layer keeps the artwork inside its own bounds.
   A finite scroll interval takes it across the aperture and back. */
#field-notes .note-belt.phone-rail { overflow: clip !important; }
#field-notes .phone-rail-slots .belt-track {
  position:relative; top:0; width:100%; height:100%; overflow:visible; perspective:none; isolation:auto;
}
#field-notes .phone-rail-slots .belt-set {
  position:relative; inset:auto; width:100%; height:100%; transform-style:flat;
}
#field-notes .phone-slot {
  position:absolute; left:0; width:100%; overflow:clip; pointer-events:none;
}
#field-notes .phone-slot-zone { position:relative; width:100%; height:100%; transform-origin:0 0; }
#field-notes .phone-slot-pin {
  position:sticky; top:var(--notes-top); width:100%; height:var(--notes-height); transform-origin:0 0;
}
#field-notes .phone-rail-slots .resource-card[data-note-layout] {
  left:50%; top:50%; transform:translate(-50%,-50%) !important; will-change:auto;
  backface-visibility:visible; pointer-events:auto;
}

.site-header.has-reading-line::after { content: none; }
.site-reading-progress {
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .1s linear;
  will-change: transform;
  pointer-events: none;
}

/* The outer card and its article link stay in the rail while its distant
   miniature site releases the layers allocated during a previous visit. */
#field-notes .phone-rail [data-tour-distant]:not(:focus-within) .care-mini-window,
#field-notes .phone-rail [data-tour-distant][data-care-finale]:not(:focus-within) .care-showcase {
  display: none;
}
#field-notes .phone-rail [data-tour-distant]:not(:focus-within) :is(.care-scene, .care-laser) {
  visibility: hidden;
}
