/* Your House v3: Bermuda cottages, brand colours from the logo, playful but tidy.
   Loaded after the kit; everything page-specific lives here. */
:root {
  --nav: 88px;
  --yh-navy: #16213f; --yh-ink: #16213f;
  --yh-blue: #1f7fd6; --yh-blue-d: #1a68b3;
  --yh-green: #2f9e44; --yh-green-d: #165a27;
  --yh-purple: #7a3fd1;
  --yh-gold: #f5c242; --yh-gold-d: #d9a521;
  --yh-cream: #fff8ec; --yh-sky: #e3f2fb; --yh-pink: #fde7ec; --yh-lilac: #efe7fb; --yh-goldbg: #ffe9a8;
  --yh-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --yh-hand: "Caveat", "Comic Sans MS", cursive;
  --yh-r: 22px;
}
@media (max-width: 639px) { :root { --nav: 68px; } }
html { scroll-padding-top: calc(var(--nav) + 8px); }
body { background: var(--yh-cream); color: var(--yh-ink); }

/* ------------------------------------------------------------ type */
main h2, footer h2 { font-family: var(--yh-display); font-weight: 800; letter-spacing: -.022em; line-height: 1; color: var(--yh-navy);
  font-size: clamp(38px, 5vw, 68px); margin: 0; }
main h3 { font-family: var(--yh-display); font-weight: 750; letter-spacing: -.02em; color: var(--yh-navy); }
.scribble { font-family: var(--yh-hand); font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); line-height: 1; color: var(--yh-purple);
  margin: 0 0 8px; transform: rotate(-3deg); transform-origin: left center; display: inline-block; }
.yh-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.yh-head__lead { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.5; margin: 16px 0 0; max-width: 46ch; color: var(--yh-ink); }

/* ------------------------------------------------------------ header */
.nav .nav__logo img { display: block; height: 64px; width: auto; }
.nav .nav__links { margin-left: var(--s-5); }
@media (min-width: 1024px) and (max-width: 1279px) { .nav .nav__links { margin-left: 0; } .nav .nav__logo img { height: 52px; } .nav .nav__link { font-size: 14px; } }
@media (max-width: 639px) { .nav .nav__logo img { height: 48px; } }

/* ------------------------------------------------------------ buttons: gold, chunky, they press */
html .btn.btn--primary { background: var(--yh-gold); color: var(--yh-navy); border: 2px solid var(--yh-navy); border-radius: 14px; font-weight: 800;
  box-shadow: 0 4px 0 var(--yh-navy); transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
html .btn.btn--primary:hover { background: #ffcd52; transform: translateY(-2px); box-shadow: 0 6px 0 var(--yh-navy); }
html .btn.btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--yh-navy); }
html .btn.btn--secondary { font-weight: 700; }

/* ------------------------------------------------------------ hero */
.yh-hero { position: relative; overflow: hidden; min-height: 100svh; padding-top: var(--nav) !important; padding-bottom: 0 !important;
  display: flex !important; flex-direction: column; justify-content: center; background: var(--yh-cream); height: auto !important; }
.yh-hero > .wrap { height: auto !important; display: block; flex: 1 0 auto; display: flex; align-items: center; padding-block: clamp(24px, 4vh, 56px) 24px; }
.yh-hero__grid { width: 100%; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; position: relative; z-index: 2; }
.yh-hero__sun { position: absolute; width: 560px; height: 560px; right: -160px; top: -140px; border-radius: 50%; background: var(--yh-gold); opacity: .22; z-index: 0; }
.yh-hero h1 { font-family: var(--yh-display); font-size: clamp(46px, 6.4vw, 100px); line-height: .98; font-weight: 800; letter-spacing: -.028em;
  color: var(--yh-navy); margin: 22px 0 0; }
.yh-hero__lead { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.55; max-width: 36ch; margin: 26px 0 0; }
.yh-hero__hours { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; margin: 18px 0 0; }
.yh-hero__week { display: block; font-weight: 500; }
.yh-hero .btn-row { margin-top: 30px; }
.yh-pill { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 16px; border-radius: 999px; background: #fff;
  border: 2px solid var(--yh-navy); font-weight: 700; font-size: 14px; box-shadow: 3px 3px 0 var(--yh-navy); }
.yh-pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yh-green); flex: none; }

.nw { white-space: nowrap; }
.hl { position: relative; display: inline-block; white-space: nowrap; isolation: isolate; }
.hl--blue { color: var(--yh-blue); } .hl--green { color: var(--yh-green); } .hl--purple { color: var(--yh-purple); }
.hl__line { position: absolute; left: 0; right: 0; bottom: -.14em; width: 100%; height: .2em; overflow: visible; z-index: -1; }
.hl__line path { fill: none; stroke: var(--yh-gold); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260;
  animation: yh-draw .9s cubic-bezier(.6,.1,.2,1) .1s forwards; }
.hl--green .hl__line path { animation-delay: .35s; } .hl--purple .hl__line path { animation-delay: .6s; }

/* the photograph in a house: gabled roof, navy outline, gold shadow */
.yh-hero__art { position: relative; padding: 24px 24px 40px 16px; }
.house-frame { position: relative; transition: transform .4s ease;
  filter: drop-shadow(3px 0 0 var(--yh-navy)) drop-shadow(-3px 0 0 var(--yh-navy)) drop-shadow(0 3px 0 var(--yh-navy)) drop-shadow(0 -3px 0 var(--yh-navy)) drop-shadow(14px 14px 0 var(--yh-gold)); }
.house-frame__clip { clip-path: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%); background: var(--yh-navy); }
.house-frame__clip img { display: block; width: 100%; aspect-ratio: 4 / 4.1; object-fit: cover; object-position: 50% 30%; }
.house-frame--small .house-frame__clip img { aspect-ratio: 1; }

.sticker { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: #fff; color: var(--yh-navy); font-weight: 800; font-size: 15px; white-space: nowrap; border: 2px solid var(--yh-navy);
  box-shadow: 4px 4px 0 var(--yh-navy); z-index: 3; animation: yh-bob 5s ease-in-out 3; }
.sticker span { font-size: 20px; line-height: 1; }
.sticker--music { top: 26%; left: -4%; background: #e3f0ff; }
.sticker--art { top: 52%; right: -2%; background: #fde7ec; animation-delay: -1.6s; }
.sticker--sport { bottom: 7%; left: 8%; background: #e4f6e8; animation-delay: -3.2s; }
.scribble--hero { position: absolute; right: 2%; top: -2%; color: var(--yh-purple); font-size: clamp(26px, 2.4vw, 34px); transform: rotate(-6deg); z-index: 3; }
.doodle-arrow { position: absolute; width: 74px; height: 44px; right: 30%; top: 100%; fill: none; stroke: var(--yh-purple); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1) rotate(-14deg); }

/* a street of Bermuda cottages along the foot of the hero */
.street { position: relative; z-index: 1; display: block; width: 100%; height: clamp(84px, 9vw, 142px); margin-top: auto; }
.street .win { transition: fill .3s ease; }
.yh-hero:hover .street .win { fill: var(--yh-gold); }

/* ------------------------------------------------------------ marquee */
.marquee { position: relative; background: var(--yh-navy); color: #fff; overflow: hidden; padding: 18px 0; border-bottom: 4px solid var(--yh-gold); }
.marquee__track { display: flex; width: max-content; animation: yh-marquee 34s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.marquee li { font-family: var(--yh-display); font-size: clamp(20px, 2.2vw, 30px); font-weight: 800; letter-spacing: -.02em; padding-inline: 28px; white-space: nowrap; display: flex; align-items: center; }
.marquee li::after { content: "✦"; color: var(--yh-gold); font-size: .8em; margin-left: 56px; }
.marquee li:nth-child(3n+2) { color: var(--yh-gold); }
.marquee::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 120px; z-index: 1; pointer-events: none; background: linear-gradient(to right, rgba(22,33,63,0), var(--yh-navy) 55%); }
.marquee__pause { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--yh-gold); background: var(--yh-navy); color: var(--yh-gold); display: grid; place-items: center; cursor: pointer; }
.marquee__pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.marquee__pause .i-play { display: none; fill: currentColor; stroke: none; }
.marquee.is-paused .i-pause { display: none; } .marquee.is-paused .i-play { display: block; }
.marquee__pause:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* ------------------------------------------------------------ sections: colour blocks with wave tops */
main > .section.yh-sec { position: relative; height: auto !important; min-height: 0 !important; padding-block: clamp(96px, 10vw, 140px) clamp(72px, 8vw, 120px) !important; }
main > .section.yh-sec > .wrap { height: auto !important; }
main > .section.yh-sec > .wrap:is(.yh-visit, .yh-vision, .yh-voice) { display: grid !important; }
.yh-sec--sky { background: var(--yh-sky); } .yh-sec--pink { background: var(--yh-pink); } .yh-sec--cream { background: var(--yh-cream); }
.yh-sec--gold { background: var(--yh-goldbg); } .yh-sec--lilac { background: var(--yh-lilac); }
.yh-sec::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 40px; background: inherit; pointer-events: none;
  -webkit-mask: radial-gradient(28px 22px at 50% 0, #0000 98%, #000) 0 0 / 56px 40px repeat-x; mask: radial-gradient(28px 22px at 50% 0, #0000 98%, #000) 0 0 / 56px 40px repeat-x;
  transform: translateY(-39px); }
#programs::before { display: none; }

/* ------------------------------------------------------------ programmes: six cottages */
.street-grid { list-style: none; margin: 0; padding: 70px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 88px 32px; }
.cottage { position: relative; }
.cottage__roof { position: absolute; left: -12px; right: -12px; bottom: calc(100% - 3px); width: calc(100% + 24px); height: 64px; overflow: visible; }
.cottage__roof .r-fill { fill: #fff; }
.cottage__roof .r-steps line { stroke: #cfd8e3; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.cottage__roof .r-edge { fill: none; stroke: var(--yh-navy); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cottage__body { position: relative; height: 100%; background: var(--c); border: 3px solid var(--yh-navy); border-radius: 0 0 18px 18px;
  padding: 26px 24px 26px; box-shadow: 8px 8px 0 var(--yh-navy); transition: transform .25s cubic-bezier(.3,1.5,.5,1), box-shadow .25s ease; }
.cottage:hover .cottage__body { transform: translateY(-6px); box-shadow: 10px 14px 0 var(--yh-navy); }
.cottage__window { display: grid; place-items: center; width: 64px; height: 64px; border: 3px solid var(--yh-navy); border-radius: 10px; background: #fff;
  font-size: 32px; position: relative; transition: background-color .25s ease, transform .3s cubic-bezier(.3,1.7,.5,1); }
.cottage__window::before, .cottage__window::after { content: ""; position: absolute; top: -3px; bottom: -3px; width: 14px; background: var(--yh-navy); border-radius: 3px; }
.cottage__window::before { right: 100%; margin-right: 4px; } .cottage__window::after { left: 100%; margin-left: 4px; }
.cottage__window { margin-left: 18px; }
.cottage:hover .cottage__window { background: var(--yh-gold); transform: rotate(-6deg) scale(1.06); }
.cottage h3 { font-size: 24px; margin: 22px 0 6px; line-height: 1.1; }
.cottage p { margin: 0; font-size: 16px; line-height: 1.5; }

.polaroids { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(64px, 7vw, 96px); padding-inline: 10px; }
.polaroid { margin: 0; background: #fff; padding: 12px 12px 6px; border: 2px solid var(--yh-navy); box-shadow: 6px 6px 0 rgba(22,33,63,.18);
  transform: rotate(var(--r)); transition: transform .25s cubic-bezier(.3,1.5,.5,1); position: relative; }
.polaroid::before { content: ""; position: absolute; top: -14px; left: 50%; width: 84px; height: 26px; transform: translateX(-50%) rotate(-3deg);
  background: rgba(245,194,66,.75); border: 1px solid rgba(22,33,63,.15); }
.polaroid:hover { transform: rotate(0) scale(1.04); z-index: 1; }
.polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { font-family: var(--yh-hand); font-weight: 700; font-size: 26px; text-align: center; padding: 6px 0 2px; color: var(--yh-navy); }

/* ------------------------------------------------------------ hours: the hanging sign */
.yh-visit { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.yh-visit__sign { display: grid; justify-items: center; gap: 28px; }
.hang-sign { position: relative; container-type: inline-size; margin-top: 90px; width: min(100%, 380px); aspect-ratio: 1.7; border: 4px solid var(--yh-navy); border-radius: 20px;
  background: #fff; display: grid; place-items: center; box-shadow: 10px 10px 0 var(--yh-navy); transform-origin: 50% -90px; transform: rotate(-3deg);
  animation: yh-swing 3.2s ease-in-out 2; }
.hang-sign::before, .hang-sign::after { content: ""; position: absolute; bottom: 100%; width: 4px; height: 96px; background: var(--yh-navy); }
.hang-sign::before { left: 22%; transform: rotate(16deg); transform-origin: bottom; } .hang-sign::after { right: 22%; transform: rotate(-16deg); transform-origin: bottom; }
.yh-visit__sign:hover .hang-sign { animation: yh-swing 1.4s ease-in-out 1; }
.hang-sign span { font-family: var(--yh-display); font-weight: 800; font-size: 25cqw; letter-spacing: -.04em; line-height: 1; }
.hang-sign__open { color: var(--yh-green-d); display: none; } .hang-sign__closed { color: #c2334d; }
html.yh-open .hang-sign__open { display: block; } html.yh-open .hang-sign__closed { display: none; }
.yh-visit__status { margin: 0; font-size: 20px; text-align: center; }
.yh-hours { margin: 32px 0 0; display: grid; gap: 0; max-width: 560px; }
.yh-hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 2px dashed rgba(22,33,63,.25); font-size: 18px; }
.yh-hours dt { font-weight: 700; } .yh-hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.yh-hours > div.is-today { background: #fff; padding-inline: 14px; border-radius: 12px; border-bottom-color: transparent; box-shadow: 4px 4px 0 var(--yh-navy); border: 2px solid var(--yh-navy); }
.yh-hours > div.is-today dt::after { content: "today"; font-family: var(--yh-hand); font-size: 22px; color: var(--yh-purple); margin-left: 10px; }
.yh-contact { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.yh-contact__item { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: #fff;
  border: 2px solid var(--yh-navy); color: var(--yh-navy); font-weight: 700; text-decoration: none; box-shadow: 3px 3px 0 var(--yh-navy);
  transition: transform .15s ease, box-shadow .15s ease; overflow-wrap: anywhere; }
.yh-contact__item:hover { transform: translateY(-2px); box-shadow: 4px 5px 0 var(--yh-navy); }

.yh-status { font-weight: 800; color: var(--yh-navy); }
html.yh-open .yh-status { color: var(--yh-green-d); }
.yh-live { margin-top: .4em; width: 10px; height: 10px; border-radius: 50%; background: #9aa1b0; flex: none; }
html.yh-open .yh-live { background: var(--yh-green); animation: yh-ping 2s 4; }
.yh-hero__hours .yh-status { display: block; } .yh-hero__hours .yh-status:empty { display: none; }

/* ------------------------------------------------------------ membership: tear-off tickets */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.ticket { position: relative; display: flex; flex-direction: column; background: var(--c); border: 3px solid var(--yh-navy); border-radius: 22px; padding: 28px 28px 24px;
  box-shadow: 8px 8px 0 var(--yh-navy); transition: transform .25s cubic-bezier(.3,1.5,.5,1), box-shadow .25s ease;
}.ticket::before, .ticket::after { content: ""; position: absolute; top: var(--notch, 58%); width: 30px; height: 30px; border-radius: 50%;
  background: var(--yh-cream); border: 3px solid var(--yh-navy); transform: translateY(-50%); }
.ticket::before { left: -18px; clip-path: inset(0 0 0 50%); } .ticket::after { right: -18px; clip-path: inset(0 50% 0 0); }
.ticket:hover { transform: translateY(-6px) rotate(-1deg); }
.ticket--star { transform: rotate(-2deg) translateY(-10px); }
.ticket--star:hover { transform: rotate(-3deg) translateY(-16px); }
.ticket__plan { margin: 0; font-family: var(--yh-hand); font-weight: 700; font-size: 34px; line-height: 1; }
.ticket__price { margin: 14px 0 0; font-family: var(--yh-display); font-weight: 800; font-size: clamp(64px, 6vw, 88px); line-height: .9; letter-spacing: -.05em; }
.ticket__cur { font-size: .45em; vertical-align: .75em; margin-right: 2px; }
.ticket__per { display: block; font-family: var(--font-text); font-size: 16px; font-weight: 700; letter-spacing: 0; margin-top: 10px; }
.ticket__note { margin: 0; padding-top: 26px; margin-top: 26px; border-top: 3px dashed var(--yh-navy); font-size: 17px; line-height: 1.45; flex: 1; }
.ticket__cta { margin-top: 18px; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; color: var(--yh-navy);
  text-decoration: none; border-bottom: 3px solid var(--yh-navy); }
.ticket__cta span { transition: transform .2s ease; } .ticket__cta:hover span { transform: translateX(5px); }
.yh-join-line { margin: 48px 0 0; font-size: 18px; text-align: center; }
.yh-join-line a { color: var(--yh-navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--yh-gold); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* ------------------------------------------------------------ event: poster + form */
.event { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: stretch; }
.poster { position: relative; overflow: hidden; background: var(--yh-navy); color: #fff; border-radius: 26px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 12px 12px 0 var(--yh-purple); display: flex; flex-direction: column; gap: 24px; }
.poster__kicker { margin: 0; font-family: var(--yh-hand); font-size: 30px; color: var(--yh-gold); }
.poster__title { margin: 0; font-family: var(--yh-display); font-weight: 800; font-size: clamp(64px, 8vw, 120px); line-height: .86; letter-spacing: -.05em; text-transform: uppercase; position: relative; z-index: 1; }
.poster__when { display: flex; gap: 20px; align-items: center; position: relative; z-index: 1; }
.poster__when p { margin: 0; font-size: 17px; line-height: 1.5; }
.poster__cal { flex: none; width: 92px; border-radius: 14px; overflow: hidden; background: #fff; color: var(--yh-navy); text-align: center; border: 3px solid var(--yh-gold); }
.poster__cal span { display: block; font-size: 13px; font-weight: 800; padding: 4px 0; } .poster__cal span:first-child { background: var(--yh-gold); }
.poster__cal strong { display: block; font-family: var(--yh-display); font-size: 42px; line-height: 1; }
.poster__q { position: absolute; right: 24px; top: 8px; font-family: var(--yh-display); font-weight: 800; font-size: 230px; line-height: 1; color: var(--yh-gold); opacity: .16; transform: rotate(12deg); pointer-events: none; }
.countdown { position: relative; z-index: 1; margin-top: auto; }
.countdown__label { margin: 0 0 10px; font-weight: 700; color: var(--yh-gold); }
.countdown__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.countdown__grid span { display: grid; justify-items: center; background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.2); border-radius: 14px; padding: 10px 4px; font-size: 13px; font-weight: 600; }
.countdown__grid b { font-family: var(--yh-display); font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.05; font-variant-numeric: tabular-nums; }
.event__form { align-self: start; background: #fff; border: 3px solid var(--yh-navy); border-radius: 26px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 12px 12px 0 var(--yh-navy); }
.event__form .form, .bubble .form { grid-template-columns: minmax(0, 1fr) !important; }
.event__form .form > *, .bubble .form > * { grid-column: 1 / -1 !important; }
.event__past-title { font-family: var(--yh-display); font-weight: 800; font-size: 32px; margin: 0 0 10px; }

/* ------------------------------------------------------------ vision */
.yh-vision { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 32px; }
.yh-vision__copy { grid-column: 1 / -1; max-width: 980px; }
.yh-vision h2 { font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; }
.v-word { position: relative; display: inline-block; padding: 0 .12em; border-radius: .2em; }
.v1 { background: #bcdcf7; } .v2 { background: #bfe8cf; } .v3 { background: #ffe08a; } .v4 { background: #f9c6d0; }
.v-word { transform: rotate(-1.5deg); } .v2, .v4 { transform: rotate(1.5deg); }
.pillars { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-self: start; }
.pillar { background: #fff; border: 3px solid var(--yh-navy); border-radius: 20px; padding: 24px; box-shadow: 6px 6px 0 var(--c); position: relative;
  transition: transform .25s cubic-bezier(.3,1.5,.5,1); }
.pillar:hover { transform: translateY(-5px); }
.pillar__n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c); border: 2px solid var(--yh-navy);
  font-family: var(--yh-display); font-weight: 800; font-size: 18px; }
.pillar h3 { font-size: 24px; margin: 16px 0 8px; hyphens: none; word-break: normal; overflow-wrap: normal; }
.pillar p { margin: 0; font-size: 16px; line-height: 1.5; }
.founder { grid-column: 1 / -1; display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; max-width: 900px; }
.founder p { font-size: clamp(19px, 1.6vw, 24px) !important; }
.founder p { margin: 0; font-size: 18px; line-height: 1.55; }
.house-frame--small { max-width: 360px; }

/* ------------------------------------------------------------ suggestions: a speech bubble */
.yh-voice { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.yh-voice__big { font-size: clamp(90px, 10vw, 150px); line-height: 1; margin: 24px 0 0; transform: rotate(-8deg); display: inline-block; }
.bubble { position: relative; background: #fff; border: 3px solid var(--yh-navy); border-radius: 32px; padding: clamp(24px, 3.5vw, 44px); box-shadow: 12px 12px 0 var(--yh-purple); }
.bubble::before { content: ""; position: absolute; left: -26px; top: 64px; width: 44px; height: 40px; background: #fff; border-left: 3px solid var(--yh-navy); border-bottom: 3px solid var(--yh-navy);
  transform: skewY(-30deg) rotate(45deg); border-radius: 0 0 0 6px; }

/* form fields: rounder and friendlier */
main .form input, main .form textarea { border: 2px solid var(--yh-navy); border-radius: 12px; background: #fff; font-size: 16px; }
main .form input:focus-visible, main .form textarea:focus-visible { outline: 3px solid var(--yh-gold); outline-offset: 2px; }
main .form label { font-weight: 700; }
main .form .btn--primary { min-width: 240px; }
main .form__status { font-weight: 700; }

/* ------------------------------------------------------------ footer */
footer.yh-footer { position: relative; height: auto !important; min-height: 0 !important; background: var(--yh-navy) !important; color: #fff;
  margin-top: 0; padding: 72px 0 32px !important; overflow: visible; overflow-x: clip; }
#suggestions { padding-bottom: clamp(140px, 13vw, 190px) !important; }
footer.yh-footer > .wrap { height: auto !important; display: block; }
.yh-footer__wave { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; display: block; }
.yh-footer__wave .w1 { fill: var(--yh-gold); } .yh-footer__wave .w2 { fill: var(--yh-navy); }
.yh-join { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  background: var(--yh-gold); color: var(--yh-navy); border-radius: 28px; padding: clamp(28px, 4vw, 56px); box-shadow: 10px 10px 0 #0b1226; }
.yh-join h2 { color: var(--yh-navy); font-size: clamp(36px, 4.5vw, 64px); }
.yh-join p { margin: 12px 0 0; font-size: 18px; font-weight: 500; max-width: 40ch; }
html .btn.btn--primary.yh-join__btn { padding-inline: 28px; }
.yh-join__sticker { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff;
  border: 3px solid var(--yh-navy); font-size: 26px; box-shadow: 3px 3px 0 var(--yh-navy); animation: yh-bob 4.5s ease-in-out 3; pointer-events: none; }
.yh-join__sticker.s1 { top: -24px; left: 8%; } .yh-join__sticker.s2 { top: -20px; right: 30%; animation-delay: -1.2s; }
.yh-join__sticker.s3 { bottom: -22px; right: 6%; animation-delay: -2.4s; } .yh-join__sticker.s4 { bottom: -24px; left: 38%; animation-delay: -3.4s; }
.yh-footer__name { margin: clamp(48px, 7vw, 96px) 0 0 !important; font: 800 clamp(64px, 15.5vw, 236px)/1 var(--yh-display) !important; letter-spacing: -.055em;
  white-space: nowrap; color: #fff; text-align: center; user-select: none; overflow: visible !important; }
.yh-footer__name span { display: inline-block; transition: transform .3s cubic-bezier(.3,1.7,.5,1); }
.yh-footer__name span:hover { transform: translateY(-14px) rotate(-6deg); }
.yh-footer__name span:nth-child(4n+1) { color: #5fd16f; } .yh-footer__name span:nth-child(4n+2) { color: #5fb4ff; }
.yh-footer__name span:nth-child(4n+3) { color: #b896ff; } .yh-footer__name span:nth-child(4n+4) { color: var(--yh-gold); }
.yh-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; margin-top: clamp(48px, 6vw, 80px); padding-top: 40px; border-top: 2px dashed rgba(255,255,255,.18); }
.yh-footer__logo { display: inline-block; background: #fff; border-radius: 20px; padding: 12px 16px; box-shadow: 5px 5px 0 var(--yh-gold); transition: transform .2s ease; }
.yh-footer__logo:hover { transform: rotate(-3deg) scale(1.04); }
.yh-footer__logo img { display: block; height: 84px; width: auto; }
.yh-footer__brand p { margin: 20px 0 0; color: rgba(255,255,255,.82); max-width: 30ch; line-height: 1.55; }
footer.yh-footer .yh-footer__col h3 { color: var(--yh-gold) !important; font: 800 15px/1.2 var(--font-text); margin: 0 0 16px; }
.yh-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.yh-footer__col a { color: #fff; text-decoration: none; background: linear-gradient(var(--yh-gold), var(--yh-gold)) 0 100% / 0 2px no-repeat;
  transition: background-size .25s ease; padding-bottom: 2px; overflow-wrap: anywhere; }
.yh-footer__col a:hover { background-size: 100% 2px; }
.yh-footer__hours li { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.88); font-variant-numeric: tabular-nums; }
.yh-footer__hours li span:first-child { color: rgba(255,255,255,.7); }
footer.yh-footer .yh-footer__legal { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; color: rgba(255,255,255,.75); }
footer.yh-footer .yh-footer__legal > * { margin: 0; }
footer.yh-footer .yh-footer__legal a.credits { color: rgba(255,255,255,.75); min-height: 44px; display: inline-flex; align-items: center; }
footer.yh-footer .yh-footer__legal > .yh-top { margin-left: auto; display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%;
  background: var(--yh-gold); color: var(--yh-navy); box-shadow: 0 4px 0 var(--yh-gold-d); transition: transform .2s ease; }
.yh-top svg { width: 20px; height: 20px; }
.yh-top:hover { transform: translateY(-4px); }
.yh-top:focus-visible, .yh-footer a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* confetti on a real send */
.confetti { position: fixed; top: 0; left: 0; width: 10px; height: 14px; z-index: 100; pointer-events: none; border-radius: 2px; }

/* ------------------------------------------------------------ tablet */
@media (max-width: 1023px) {
  .yh-hero { min-height: auto; }
  .yh-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .yh-hero__art { max-width: 540px; margin-inline: auto; width: 100%; }
  .yh-hero__sun { display: none; }
  .street-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .polaroids { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .polaroid figcaption { font-size: 20px; }
  .yh-visit, .event, .yh-voice { grid-template-columns: minmax(0, 1fr); }
  .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .ticket { padding: 24px 20px; } .ticket__price { font-size: 56px; }
  .founder { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
  main > .section.yh-sec > .wrap.yh-vision { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .yh-vision > * { grid-column: 1 / -1 !important; }
  .bubble::before { display: none; }
  .yh-voice__big { display: none; }
  .yh-footer__grid { grid-template-columns: 1fr 1fr; } .yh-footer__brand { grid-column: 1 / -1; }
}
/* ------------------------------------------------------------ phone */
@media (max-width: 639px) {
  .yh-hero h1 { font-size: clamp(42px, 12.5vw, 60px); }
  .yh-pill { font-size: 12px; padding: 6px 12px; gap: 8px; }
  .yh-hero .btn-row .btn { width: 100%; justify-content: center; }
  .yh-hero__art { padding: 20px 12px 36px 8px; }
  .sticker { font-size: 13px; padding: 8px 12px; } .sticker span { font-size: 16px; }
  .sticker--music { left: 0; } .sticker--art { right: 0; }
  .scribble--hero { right: 0; top: -6%; font-size: 24px; }
  .doodle-arrow { width: 52px; height: 32px; }
  .street-grid { grid-template-columns: minmax(0, 1fr); gap: 84px; padding-top: 64px; }
  .cottage__body { padding: 22px 20px; }
  .polaroids { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .polaroid figcaption { font-size: 22px; }
  .hang-sign { width: min(100%, 300px); margin-top: 80px; }
  .yh-hours > div { font-size: 16px; }
  .tickets { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ticket--star { transform: none; } .ticket__price { font-size: 72px; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .yh-vision h2 { font-size: clamp(34px, 9.6vw, 48px); }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .house-frame--small { max-width: 260px; }
  .countdown__grid span { font-size: 12px; }
  .poster__q { display: none; }
  main .form .btn--primary { width: 100%; min-width: 0; }
  .yh-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .yh-join { padding: 32px 24px 40px; }
  html .btn.btn--primary.yh-join__btn { width: 100%; justify-content: center; }
  .yh-join__sticker { width: 44px; height: 44px; font-size: 20px; } .yh-join__sticker.s2 { right: 12%; }
  .yh-footer__name { font-size: clamp(56px, 18vw, 96px) !important; }
  footer.yh-footer { padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important; }
}

/* ------------------------------------------------------------ keyframes */
@keyframes yh-draw { to { stroke-dashoffset: 0; } }
@keyframes yh-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes yh-marquee { to { transform: translateX(-50%); } }
@keyframes yh-swing { 0%, 100% { transform: rotate(-3deg); } 30% { transform: rotate(4deg); } 65% { transform: rotate(-2deg); } }
@keyframes yh-ping { 0% { box-shadow: 0 0 0 0 rgba(47,158,68,.5); } 70% { box-shadow: 0 0 0 10px rgba(47,158,68,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,68,0); } }

@media (prefers-reduced-motion: reduce) {
  .hl__line path { animation: none; stroke-dashoffset: 0; }
  .sticker, .yh-join__sticker, .hang-sign, .yh-live, .marquee__track { animation: none !important; }
  .marquee__track { flex-wrap: wrap; width: auto; } .marquee ul[aria-hidden] { display: none; } .marquee__pause { display: none; }
  .cottage:hover .cottage__body, .polaroid:hover, .ticket:hover, .pillar:hover, .yh-footer__name span:hover { transform: none; }
}
