/* Tighter rhythm for the harness variants (Dan, 2026-11-20: "a lot of space
   and scrolling in the remaining sections, so tighten those up"). Overrides
   the original page's generous section padding and gaps. */
main > section:not(.hero) { padding-top: clamp(48px, 7vh, 96px); padding-bottom: clamp(48px, 7vh, 96px); }
main > section.fb:not(.hero),
main > section.bd:not(.hero),
main > section.org:not(.hero),
main > section.ap:not(.hero),
main > section.tm:not(.hero),
main > section:is(.ud, .care, .apps):not(.hero) { padding-top: clamp(30px, 4.5vh, 60px); padding-bottom: clamp(30px, 4.5vh, 60px); }
main > section.how:not(.hero) { padding-top: clamp(36px, 5vh, 70px); padding-bottom: clamp(36px, 5vh, 70px); }
.yours { row-gap: clamp(14px, 2.4vh, 30px); }
.yours .call { margin-top: 0; }
.store .store-head, .breath-head { margin-top: 0; }
main > section.breath:not(.hero) { padding-top: clamp(30px, 4vh, 56px); padding-bottom: clamp(30px, 4vh, 56px); }

/* the footer is the old hero: the world, the four struck lines, the doors */
.hero-foot { min-height: min(max(640px, 72vh), 820px); margin-top: clamp(20px, 3vh, 40px); }
.hero-foot .hero-text { margin-top: clamp(20px, 4vw, 70px); }
.hero-foot .terms { margin-top: 1.4em; font: var(--text-sm)/1.5 var(--body); color: var(--ink-3); }
.hero-foot .terms a { color: var(--ink-2); }

/* what we care about: each picture above its words */
.care-back { justify-content: flex-start; }
.care-back img { order: -1; margin: -1.3em -1.3em 0.9em; width: calc(100% + 2.6em); }
.care-card, .care-in { min-height: 450px; }
.care-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px) { .care-grid { grid-template-columns: 1fr; } }

/* underdogs: the picture beside the words, the "less" list stacked */
.ud-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(20px, 3vw, 50px); align-items: center; }
.ud .ud-stage { margin: 0; max-width: none; }
.ud .ud-words { text-align: left; }
.ud .ud-words .et-ask { margin: 0 0 0.5em; }
.ud .ud-cap { margin: 0; text-align: left; font: 600 var(--head-lg)/1.08 var(--display); }
.ud-list { list-style: none; margin: 1.1em 0 0; padding: 0; display: grid; gap: 0.45em; }
.ud .ud-less { position: static; font: 500 var(--text-lg)/1.3 var(--display); color: var(--ink-2); }
.ud .ud-less b { display: inline-block; min-width: 3.4em; }

/* apps: frosted glass cards that lift off the page */
.app-card, .br-win, .sh-btn {
  background: color-mix(in srgb, var(--ink) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 16%, transparent);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 14px 34px color-mix(in srgb, black 30%, transparent), inset 0 1px 0 color-mix(in srgb, var(--ink) 14%, transparent);
}

/* craft the place: the heading beside the painting */
.yours { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); grid-template-areas: "lede world" "call call" "letter letter"; align-items: center; }
.yours .yours-lede { text-align: left; justify-self: start; }
.yours .yours-head { max-width: 12ch; margin: 0; }
.yours .yours-sub { max-width: 24ch; margin-left: 0; }
.yours .yours-art { width: 100%; }

@media (max-width: 760px) {
  .ud-grid { grid-template-columns: 1fr; }
  .yours { grid-template-columns: 1fr; grid-template-areas: "head" "sub" "world" "call" "letter"; }
}

/* small helpers: twelve cards, four across, three even rows */
.apps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .apps-grid { grid-template-columns: 1fr; } }
