/* Homepage (late September 2026): Taylor's own redesign, osv-redesign/index.html,
   built into the site. Rolling Middle Tennessee hills and the village painting in
   the hero, picture doors, arched doorways, a bulletin board of events, a dusk
   section whose lamps come on, Village Hall bunting, an awning and sticky notes on
   the Explore cards, a bookshelf of guides and one support band. Everything here
   is scoped to body.home; the shared header, footer and "Stay connected" path live
   in shell.css. Behaviour: js/home.js. */

.home {
  --sky-a: #fbf3df; --sky-b: rgba(215, 164, 62, .34); --sky-c: rgba(143, 165, 198, .28); --sun: rgba(247, 206, 120, .8);
  font-size: 18px;
  line-height: 1.62;
  overflow-x: hidden;
}
.home[data-season="winter"], [data-season="winter"] .home { --sky-a: #f3f4f4; --sky-b: rgba(143, 165, 198, .38); --sky-c: rgba(143, 165, 198, .30); --sun: rgba(255, 246, 222, .9); }
.home[data-season="spring"], [data-season="spring"] .home { --sky-a: #f7f4e4; --sky-b: rgba(125, 143, 99, .26); --sky-c: rgba(244, 220, 205, .55); --sun: rgba(250, 222, 160, .75); }
.home[data-season="summer"], [data-season="summer"] .home { --sky-a: #fdf4dc; --sky-b: rgba(215, 164, 62, .42); --sky-c: rgba(143, 165, 198, .34); --sun: rgba(252, 212, 110, .9); }

.home main :is(h1, h2, h3) { margin: 0; line-height: 1.08; color: var(--navy); }
.home main h2 { font-size: clamp(32px, 4.2vw, 50px); }
.home main h3 { font-size: clamp(20px, 1.7vw, 23px); }
.home main p { margin: 0; }
.home main img { max-width: 100%; display: block; height: auto; }
.home main ul, .home main ol { margin: 0; }
.home main a { text-decoration: none; }
.home main:focus { outline: none; }
.home .container { max-width: 1200px; padding-inline: clamp(16px, 4vw, 40px); }

/* shared bits */
.home .eyebrow { margin: 0 0 8px; }
.home .btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.home main .btn { font-size: 17.5px; line-height: 1; gap: 10px; padding: 17px 28px; min-height: 54px; }
.home .go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 500; color: var(--navy); }
.home .text-link {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--navy);
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--gold-soft);
  box-shadow: inset 0 0 0 2px rgba(180, 134, 31, .35);
}
.home .text-link:hover { background: var(--gold); color: var(--navy); }
.home .sec { padding: clamp(56px, 7vw, 104px) 0; }
.home .sec--hall { padding-top: clamp(34px, 4vw, 56px); }
.home .sec--flush { padding-top: 0; }
.home .sec--support { padding-top: clamp(20px, 3vw, 40px); }
.home .sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(26px, 3vw, 40px); }
.home .sec-head.center { justify-content: center; text-align: center; }
.home .art { transition: opacity .45s ease; }

/* ---------- hero ---------- */
.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background:
    radial-gradient(760px 420px at 86% 4%, var(--sky-b), transparent 66%),
    radial-gradient(820px 440px at 8% -8%, var(--sky-c), transparent 62%),
    linear-gradient(180deg, var(--sky-a) 0%, var(--cream) 82%);
}
.home-hero .sun { position: absolute; right: clamp(-140px, 5vw, 110px); top: 28px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, var(--sun) 0%, rgba(243, 229, 192, .3) 46%, transparent 70%); z-index: -1; animation: osv-breathe 10s ease-in-out infinite; }
@keyframes osv-breathe { 50% { transform: scale(1.1); opacity: .8; } }
.home-hero .cloud { position: absolute; z-index: -1; height: 36px; border-radius: 40px; background: rgba(255, 255, 255, .8); animation: osv-drift linear infinite; }
.home-hero .cloud::before, .home-hero .cloud::after { content: ""; position: absolute; background: inherit; border-radius: 50%; }
.home-hero .cloud::before { width: 46%; height: 180%; left: 14%; bottom: 30%; }
.home-hero .cloud::after { width: 34%; height: 140%; right: 16%; bottom: 30%; }
.home-hero .c1 { width: 160px; top: 84px; left: -220px; animation-duration: 120s; }
.home-hero .c2 { width: 110px; top: 190px; left: -220px; animation-duration: 160s; animation-delay: -80s; opacity: .75; }
.home-hero .c3 { width: 130px; top: 40px; left: -220px; animation-duration: 140s; animation-delay: -35s; opacity: .6; }
@keyframes osv-drift { to { transform: translateX(calc(100vw + 440px)); } }
.home-hero .particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.home-hero .hero-text { position: relative; z-index: 3; padding-top: clamp(26px, 4vw, 52px); max-width: 1040px; }
.home-hero .place { font-weight: 800; font-size: 13.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dark); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.home-hero .place::before, .home-hero .place::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.home .home-hero h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 600; line-height: .95; letter-spacing: -.03em; }
.home-hero .hl { position: relative; display: inline-block; z-index: 0; }
.home-hero .hl::before { content: ""; position: absolute; left: -.06em; right: -.08em; bottom: .07em; height: .3em; background: #ebc97e; border-radius: .2em .35em .25em .4em; transform: rotate(-1.4deg) scaleX(0); transform-origin: left; z-index: -1; animation: osv-swash .9s .25s var(--ease) forwards; }
@keyframes osv-swash { to { transform: rotate(-1.4deg) scaleX(1); } }
.home-hero .tagline { font-family: var(--f-hand); font-weight: 400; font-size: calc(clamp(32px, 3.8vw, 48px) * .9); line-height: 1.1; color: var(--navy); margin-top: 14px; }
.home-hero .tagline .u { position: relative; white-space: nowrap; }
.home-hero .tagline svg { position: absolute; left: -3%; width: 106%; bottom: -10px; height: 16px; overflow: visible; }
.home-hero .tagline path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: osv-draw 1.1s .6s var(--ease) forwards; }
@keyframes osv-draw { to { stroke-dashoffset: 0; } }
.home-lede { font-size: clamp(18px, 1.5vw, 20.5px); color: var(--text); margin: 20px auto 0 !important; max-width: 40em; }
.home-lede strong { color: var(--navy); font-weight: 800; }
.home-hero .btns { justify-content: center; margin-top: 24px; }
.home-hero .trust { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.home-hero .trust li { font-size: 14.5px; font-weight: 700; color: var(--navy); background: rgba(255, 252, 245, .82); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; margin: 0; line-height: 1.5; }
.home-hero .land { position: absolute; left: 0; bottom: calc(min(100vw, 1320px) / 7); width: 100%; height: clamp(260px, 32vw, 440px); z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 60%, transparent 96%); mask-image: linear-gradient(180deg, transparent 0, #000 20%, #000 60%, transparent 96%); }
.home-hero .land :is(path, circle) { transition: fill .9s ease; }

.home-hero .panorama { position: relative; margin-top: clamp(-10px, 1vw, 20px); }
.home-hero .frame { max-width: 1320px; margin: 0 auto; aspect-ratio: 3 / 1; padding: 0 clamp(16px, 4vw, 40px); }
.home-hero .frame img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 3.5%, #000 96.5%, transparent 100%), linear-gradient(180deg, transparent 0, #000 9%); mask-composite: intersect; }
.home-hero .motion-btn { position: absolute; right: clamp(12px, 3vw, 34px); bottom: 18px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(29, 44, 76, .22); background: rgba(255, 252, 245, .94); color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); padding: 0; }
.home-hero .motion-btn:hover { border-color: var(--navy); }
.home-hero .motion-btn[hidden] { display: none; }

/* the sky follows the clock in Murfreesboro */
.home[data-daypart="morning"] .home-hero { --sky-b: rgba(143, 165, 198, .30); --sky-c: rgba(243, 229, 192, .6); }
.home[data-daypart="golden"] .home-hero { --sky-b: rgba(226, 150, 90, .30); --sun: rgba(245, 178, 98, .85); }
.home[data-daypart="evening"] .home-hero { --sky-a: #f4eadf; --sky-b: rgba(169, 84, 47, .20); --sky-c: rgba(96, 110, 160, .24); --sun: rgba(238, 170, 120, .7); }
.home[data-daypart="golden"] .sun, .home[data-daypart="evening"] .sun { top: auto; bottom: 36%; }

/* ---------- quick paths: picture doors ---------- */
.home .quick { padding-top: clamp(40px, 5vw, 72px); }
.home .doors { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.home .doors > li { margin: 0; }
.door-card { --tint: var(--gold-soft); position: relative; display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform .35s var(--spring), box-shadow .35s var(--ease); }
.door-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-lift); }
.doors li:nth-child(4n+2) .door-card { --tint: var(--blue-soft); }
.doors li:nth-child(4n+3) .door-card { --tint: var(--sage-soft); }
.doors li:nth-child(4n+4) .door-card { --tint: var(--brick-soft); }
.door-art { display: block; margin: 10px 10px 0; border-radius: 20px; background: var(--tint); aspect-ratio: 2 / 1; overflow: hidden; position: relative; }
.home .door-art img { width: 100%; height: 100%; object-fit: contain; padding: 8px 10px 2px; transition: transform .6s var(--ease); }
.door-card:hover .door-art img { transform: scale(1.06); }
.door-foot { display: flex; align-items: center; gap: 14px; padding: 16px 18px 18px 20px; flex: 1; }
.door-label { flex: 1; font-family: var(--f-display); font-weight: 600; font-size: clamp(18px, 1.5vw, 20.5px); line-height: 1.2; color: var(--navy); }
.knob { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--tint); color: var(--navy); font-family: var(--f-display); font-size: 20px; transition: background-color .25s, transform .35s var(--spring); }
.door-card:hover .knob { background: var(--gold); transform: translateX(3px); }
.door-card--urgent { background: var(--navy); border-color: var(--navy); justify-content: space-between; }
.door-card--urgent .urgent-top { display: flex; align-items: center; gap: 12px; margin: 22px 22px 0; padding: 18px 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(239, 233, 218, .14); flex: 1; }
.door-card--urgent .urgent-nums { display: block; font-family: var(--f-display); font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; color: var(--gold); letter-spacing: .02em; line-height: 1; }
.door-card--urgent .door-label { color: var(--paper); }
.door-card--urgent .knob { background: var(--brick); color: #fff; }
.door-card--urgent:hover .knob { background: #c0653d; }

/* ---------- three places to begin: arched doorways ---------- */
.home .doorways { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); }
.home .doorways > li { margin: 0; }
.doorway { --bg: var(--gold-soft); --frame: rgba(180, 134, 31, .38); --glow: rgba(255, 214, 120, .55);
  position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; min-height: 380px;
  padding: clamp(58px, 6vw, 74px) clamp(22px, 2.4vw, 34px) 30px; background: var(--bg);
  border-radius: 50% 50% 30px 30px / 150px 150px 30px 30px; box-shadow: var(--shadow);
  transition: transform .45s var(--spring), box-shadow .45s var(--ease); }
.doorway::before { content: ""; position: absolute; inset: 10px; border-radius: inherit; border: 1.5px solid var(--frame); pointer-events: none; }
.doorway::after { content: ""; position: absolute; left: 50%; top: -40px; width: 340px; height: 260px; margin-left: -170px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0; z-index: -1; transition: opacity .5s ease; }
.doorway:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); }
.doorway:hover::after { opacity: 1; }
.doorways li:nth-child(2) .doorway { --bg: var(--blue-soft); --frame: rgba(60, 83, 120, .3); }
.door-tag { font-family: var(--f-display); font-weight: 500; font-size: 14.5px; padding: 5px 14px; border-radius: 999px; background: var(--paper); color: var(--navy); margin-bottom: 16px; box-shadow: 0 0 0 1.5px var(--frame); }
.home .doorway h3 { font-size: clamp(23px, 2.2vw, 28px); margin-bottom: 12px; max-width: 12em; }
.home .doorway p { color: var(--text); font-size: 17px; max-width: 22em; }
.doorway .go { margin-top: auto; padding: 13px 22px; border-radius: 999px; background: var(--paper); font-size: 17px; box-shadow: 0 3px 0 var(--frame); transition: background-color .25s; }
.doorway p + .go { margin-top: auto; }

.doorway:hover .go { background: #fff; }
.doorway-urgent { --bg: var(--navy); --frame: rgba(215, 164, 62, .45); --glow: rgba(169, 84, 47, .45); }
.home .doorway-urgent h3 { color: var(--paper); }
.home .doorway-urgent p { color: var(--on-dark); }
.doorway-urgent .door-tag { background: var(--brick); color: #fff; box-shadow: none; }
.doorway-urgent .go { background: var(--gold); color: var(--navy); box-shadow: 0 3px 0 var(--gold-deep); }
.doorway-urgent:hover .go { background: #e2b453; }

/* ---------- bulletin board ---------- */
.board { position: relative; border-radius: var(--r-xl); padding: clamp(30px, 3.6vw, 48px) clamp(16px, 3vw, 40px) clamp(34px, 3.8vw, 52px);
  background-color: #ecd9ae;
  background-image: radial-gradient(rgba(122, 91, 19, .17) 1.2px, transparent 1.7px), radial-gradient(rgba(255, 255, 255, .4) 1px, transparent 1.5px);
  background-size: 14px 14px, 23px 23px; background-position: 0 0, 7px 9px;
  box-shadow: inset 0 0 0 12px #c99a45, inset 0 0 0 15px #a67a2c, inset 0 10px 26px 10px rgba(122, 91, 19, .24), var(--shadow); }
.home .pins { list-style: none; margin: 0; padding: 12px 6px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(22px, 2.6vw, 32px); }
.pin-card { position: relative; background: var(--paper); border-radius: 6px; padding: 28px 24px 24px; margin: 0; box-shadow: 0 18px 26px -18px rgba(60, 40, 10, .6); transform: rotate(var(--tilt, 0deg)); transition: transform .4s var(--spring), box-shadow .4s var(--ease); }
.pin-card:nth-child(3n+1) { --tilt: -1.4deg; --pin: var(--brick); }
.pin-card:nth-child(3n+2) { --tilt: 1.1deg; --pin: var(--blue-ink); }
.pin-card:nth-child(3n+3) { --tilt: -.6deg; --pin: var(--gold-deep); }
.pin-card:hover { transform: rotate(0) translateY(-5px) scale(1.015); box-shadow: 0 28px 38px -22px rgba(60, 40, 10, .65); }
.pushpin { position: absolute; top: -10px; left: 50%; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 12%, var(--pin, var(--brick)) 32% 100%); box-shadow: 0 5px 6px -2px rgba(0, 0, 0, .35); }
.pin-card:hover .pushpin { animation: osv-wiggle .6s var(--ease); }
@keyframes osv-wiggle { 30% { transform: rotate(-16deg); } 60% { transform: rotate(12deg); } }
.pin-top { display: flex; gap: 16px; align-items: flex-start; }
.cal { flex-shrink: 0; width: 68px; text-align: center; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px var(--navy); font-family: var(--f-display); line-height: 1.1; }
.cal-dow { display: block; background: var(--navy); color: var(--gold); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 0 3px; }
.cal-day { display: block; font-size: 31px; font-weight: 600; color: var(--navy); line-height: 1.1; padding-top: 4px; }
.cal-mon { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-dark); padding-bottom: 6px; }
.home .pin-card h3 { font-size: 20px; line-height: 1.22; }
.pin-card h3 a { color: var(--navy); background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 3px no-repeat; transition: background-size .35s var(--ease); }
.pin-card h3 a:hover { background-size: 100% 3px; color: var(--navy); }
.pin-card h3 a[target="_blank"]::after { content: none; }
.pin-card .ext { font-size: .8em; color: var(--gold-deep); }
.home .when { margin-top: 16px; font-family: var(--f-display); font-weight: 600; font-size: 18px; color: var(--navy); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.free { font-family: var(--f-body); font-size: 13.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--sage-soft); color: var(--sage-ink); padding: 2px 9px; border-radius: 6px; }
.home .where { margin-top: 6px; font-size: 15.5px; font-weight: 700; color: var(--text); line-height: 1.4; }
.where span { display: block; }
.home .pin-note { font-size: 15.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.pin-chip { display: inline-block; margin-top: 16px; font-family: var(--f-display); font-weight: 500; font-size: 14px; padding: 5px 13px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); }
.home .pins .events-empty { grid-column: 1 / -1; background: var(--paper); border-radius: 6px; padding: 24px; text-align: center; }

/* ---------- dusk: the heart of the village ---------- */
.dusk { margin-top: clamp(50px, 7vw, 100px); color: var(--on-dark); }
.dusk-sky { position: relative; height: clamp(170px, 20vw, 260px); background: linear-gradient(180deg, var(--cream) 0%, #f5e2b4 24%, #ebc07e 42%, #b8948a 58%, #6b6f93 74%, #34456f 88%, var(--navy-deep) 100%); overflow: hidden; }
.dusk-sky svg { position: absolute; left: 0; bottom: -1px; width: 100%; height: auto; }
.hill-back { fill: #2a3a60; } .hill-front { fill: var(--navy-deep); }
.lamp { fill: #ffd978; opacity: 0; transition: opacity .9s ease; }
.lamp-d1 { transition-delay: .1s; } .lamp-d3 { transition-delay: .4s; } .lamp-d4 { transition-delay: .7s; } .lamp-d6 { transition-delay: .9s; }
.lamp-d7 { transition-delay: 1.2s; } .lamp-d8 { transition-delay: 1.5s; } .lamp-d9 { transition-delay: 2.1s; } .lamp-d10 { transition-delay: 2.6s; }
.dusk.lit .lamp { opacity: 1; }
.dusk-body { position: relative; overflow: hidden; background: radial-gradient(900px 520px at 72% 30%, rgba(143, 165, 198, .16), transparent 70%), var(--navy-deep); padding: clamp(24px, 3vw, 44px) 0 clamp(80px, 9vw, 130px); }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; opacity: .7; animation: osv-twinkle 4s ease-in-out infinite; }
@keyframes osv-twinkle { 50% { opacity: .15; transform: scale(.6); } }
.moon { position: absolute; top: 14%; right: clamp(24px, 12vw, 200px); width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #fffaf0, #efe2c2 60%, #d9c79c); box-shadow: 0 0 60px 16px rgba(247, 226, 176, .2); }
.dusk-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.home .dusk h2 { color: var(--paper); font-size: clamp(34px, 4.4vw, 56px); }
.home .dusk p:not(.eyebrow) { color: var(--on-dark); font-size: clamp(18px, 1.45vw, 20px); margin-top: 20px; max-width: 33em; }
.window-scene { position: relative; margin: 0; }
.picture-window { position: relative; border-radius: 36px; padding: 10px; background: linear-gradient(160deg, #f6dc9c, #d9a650); box-shadow: 0 0 0 1px rgba(255, 230, 170, .35), 0 0 120px 20px rgba(247, 200, 100, .22), 0 40px 60px -30px rgba(0, 0, 0, .75); }
.glass { position: relative; aspect-ratio: 2 / 1; border-radius: 28px; overflow: hidden; background: radial-gradient(ellipse at 50% 42%, #fff4d8 0%, #f8e2ab 50%, #e9c27a 100%); }
.home .glass img { width: 100%; height: 100%; object-fit: contain; }
.sill { position: relative; height: 0; }
.sill::after { content: ""; position: absolute; left: 6%; right: 6%; top: 100%; height: 120px; background: radial-gradient(ellipse at 50% 0%, rgba(247, 200, 100, .22), transparent 70%); }
.hang-tag { position: relative; margin: 26px 0 0 auto; width: max-content; max-width: 100%; background: var(--paper); color: var(--navy); border-radius: 14px; padding: 16px 24px; transform: rotate(-2.5deg); box-shadow: 0 20px 30px -18px rgba(0, 0, 0, .7); font-family: var(--f-display); transition: transform .5s var(--spring); }
.hang-tag:hover { transform: rotate(1deg); }
.hang-tag strong { display: block; font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); }
.hang-tag span { display: block; font-family: var(--f-hand); font-weight: 400; font-size: calc(24px * .9); color: var(--gold-ink); line-height: 1.1; margin-top: 3px; }
.dusk-wave { display: block; width: 100%; height: auto; margin-top: -1px; background: var(--navy-deep); }

/* ---------- village hall ---------- */
.hall { position: relative; background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 0 clamp(24px, 4.4vw, 64px) clamp(30px, 4vw, 52px); overflow: hidden; }
.bunting { display: block; width: calc(100% + 2 * clamp(24px, 4.4vw, 64px)); max-width: none; margin: 0 calc(-1 * clamp(24px, 4.4vw, 64px)) 8px; height: 66px; overflow: visible; }
.flag { transform-box: fill-box; transform-origin: 50% 0; animation: osv-flutter 5s ease-in-out infinite; }
@keyframes osv-flutter { 50% { transform: rotate(5deg); } }
.hall-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.home .hall p:not(.eyebrow) { font-size: clamp(17.5px, 1.4vw, 19.5px); color: var(--text); margin-top: 16px; max-width: 34em; }
.hall-plot { justify-self: center; width: min(100%, 260px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 60%, var(--gold-soft), var(--cream) 70%); display: grid; place-items: center; box-shadow: inset 0 0 0 10px var(--paper), 0 0 0 2px var(--gold-soft); }
.home .hall-plot img { width: 72%; transition: transform .6s var(--spring); }
.hall:hover .hall-plot img { transform: translateY(-6px) rotate(-3deg); }

/* ---------- explore ---------- */
.explore { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.6vw, 32px); }
.spot { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .4s var(--spring), box-shadow .4s var(--ease); }
.spot:hover { transform: translateY(-7px); box-shadow: var(--shadow-lift); }
.spot-art { position: relative; background: linear-gradient(180deg, #fbf5e6, var(--cream)); padding: 50px 20px 6px; }
.spot-art .ratio { aspect-ratio: 3 / 2; max-width: 520px; margin: 0 auto; }
.home .spot-art img { width: 100%; height: 100%; object-fit: contain; transition: transform .7s var(--ease); }
.spot:hover .spot-art img { transform: scale(1.04); }
.awning { position: absolute; top: 0; left: 0; right: 0; height: 38px; background: repeating-linear-gradient(90deg, var(--navy) 0 38px, #efe6cf 38px 76px); filter: drop-shadow(0 4px 3px rgba(29, 44, 76, .18));
  -webkit-mask: linear-gradient(#000, #000) 0 0 / 100% 20px no-repeat, radial-gradient(circle 19px at 50% 0, #000 98%, transparent 100%) 0 20px / 38px 18px repeat-x;
  mask: linear-gradient(#000, #000) 0 0 / 100% 20px no-repeat, radial-gradient(circle 19px at 50% 0, #000 98%, transparent 100%) 0 20px / 38px 18px repeat-x; transform-origin: top; transition: transform .5s var(--spring); }
.spot:hover .awning { transform: scaleY(1.18); }
.notes { position: absolute; top: 14px; right: 18px; display: flex; gap: 7px; }
.notes i { width: 28px; height: 28px; border-radius: 3px; box-shadow: 0 5px 7px -4px rgba(0, 0, 0, .3); animation: osv-bob 4.5s ease-in-out infinite; }
.notes i:nth-child(1) { background: var(--gold-soft); rotate: -8deg; }
.notes i:nth-child(2) { background: var(--blue-soft); rotate: 5deg; animation-delay: -1.5s; }
.notes i:nth-child(3) { background: var(--brick-soft); rotate: -3deg; animation-delay: -3s; }
@keyframes osv-bob { 50% { translate: 0 -4px; } }
.spot-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.home .spot-body h3 { font-size: clamp(23px, 2vw, 27px); }
.home .spot-body p { color: var(--text); margin-top: 10px; font-size: 17px; }
.spot-body .go { margin-top: auto; padding-top: 18px; font-size: 18px; }

/* ---------- bookshelf ---------- */
.home .shelf { list-style: none; padding: 0 0 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 26px; }
.book { position: relative; --c: var(--gold); margin: 0; }
.book::after { content: ""; position: absolute; left: -16px; right: -16px; bottom: -22px; height: 13px; border-radius: 3px; background: linear-gradient(180deg, #c99a45, #9d7128); box-shadow: 0 9px 12px -6px rgba(80, 50, 10, .5); z-index: -1; }
.book:nth-child(8n+2) { --c: var(--blue); } .book:nth-child(8n+3) { --c: var(--brick); } .book:nth-child(8n+4) { --c: var(--sage); }
.book:nth-child(8n+5) { --c: var(--navy); } .book:nth-child(8n+6) { --c: var(--gold-deep); } .book:nth-child(8n+7) { --c: var(--blue-ink); }
.book > a { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: 6px 16px 16px 6px; padding: 24px 20px 20px 36px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .4s var(--spring), box-shadow .4s var(--ease); transform-origin: 50% 100%; }
.book > a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 17px; border-radius: 6px 0 0 6px; background: var(--c); box-shadow: inset -3px 0 0 rgba(0, 0, 0, .12); }
.book > a::after { content: ""; position: absolute; top: -1px; right: 20px; width: 14px; height: 34px; background: var(--c); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 76%, 0 100%); transition: height .35s var(--spring); }
.book > a:hover { transform: translateY(-10px) rotate(-1.5deg); box-shadow: var(--shadow-lift); }
.book > a:hover::after { height: 50px; }
.home .book h3 { font-size: 20.5px; padding-right: 20px; }
.home .book p { font-size: 15.5px; color: var(--muted); margin-top: 10px; line-height: 1.52; }
.book .go { margin-top: auto; padding-top: 16px; font-size: 16.5px; }
.book--all > a { background: var(--navy); border-color: var(--navy); align-items: center; justify-content: center; text-align: center; padding: 26px; }
.book--all > a::before, .book--all > a::after { display: none; }
.stack { display: flex; align-items: flex-end; gap: 4px; margin-bottom: 16px; }
.stack i { display: block; width: 15px; border-radius: 3px 3px 1px 1px; transition: transform .4s var(--spring); }
.stack i:nth-child(1) { height: 48px; background: var(--gold); } .stack i:nth-child(2) { height: 40px; background: var(--brick-soft); }
.stack i:nth-child(3) { height: 54px; background: var(--blue); } .stack i:nth-child(4) { height: 36px; background: var(--sage); transform: rotate(14deg); transform-origin: bottom left; margin-left: 3px; }
.book--all a:hover .stack i:nth-child(2) { transform: translateY(-8px); }
.book--all .big { font-family: var(--f-display); font-weight: 600; font-size: 23px; color: var(--paper); }

/* ---------- support band ---------- */
.support-band { position: relative; border-radius: var(--r-xl); background: var(--gold-soft); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; }
.support-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(215, 164, 62, .35), transparent 70%); }
.support-a { position: relative; padding: clamp(30px, 4.2vw, 56px); }
.support-b { position: relative; padding: clamp(30px, 4.2vw, 56px); background: var(--paper); margin: 12px; border-radius: 30px; }
.home .support-band h2 { font-size: clamp(28px, 3.1vw, 38px); }
.home .support-band p { color: var(--text); margin-top: 14px; font-size: 17.5px; }
.support-b .btns { margin-top: 18px; }
.support-b .sponsor-logos { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 16px; }
.support-b .sponsor-logos img { max-height: 56px; width: auto; }
.heart { display: inline-block; color: var(--brick); animation: osv-beat 2.6s ease-in-out infinite; }
@keyframes osv-beat { 0%, 60%, 100% { transform: scale(1); } 20% { transform: scale(1.2); } 40% { transform: scale(1.05); } }

/* the homepage's "Stay connected" closes right onto the footer hills */
.home .community-links { padding-bottom: 0; }

/* ---------- reveal ---------- */
.js .home .reveal, .js.home .reveal { opacity: 0; transform: translateY(26px); }
.js .home .reveal.in, .js.home .reveal.in { opacity: 1; transform: none; transition: opacity .75s var(--ease), transform .75s var(--ease); }

/* the pause button stills every ambient loop, not just the particles */
html.still .home :is(.cloud, .sun, .stars i, .flag, .notes i, .heart, .beacon) { animation-play-state: paused; }

/* ---------- widths ---------- */
@media (max-width: 1180px) { .home .shelf { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 960px) {
  .home .doors { grid-template-columns: repeat(2, 1fr); }
  .dusk-grid, .hall-grid, .support-band { grid-template-columns: 1fr; }
  .hall-plot { width: 200px; }
}
@media (max-width: 860px) {
  .home .doorways { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
  .doorway { min-height: 0; border-radius: 50% 50% 30px 30px / 110px 110px 30px 30px; }
  .explore { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .home { font-size: 17px; }
  .home .shelf { grid-template-columns: 1fr; gap: 44px; }
  .moon { width: 54px; height: 54px; }
}
@media (max-width: 560px) {
  .home-hero .place { letter-spacing: .1em; font-size: 12.5px; }
  .home-hero .place::before, .home-hero .place::after { display: none; }
  .home-hero .c2, .home-hero .c3 { display: none; }
  .home .doors { grid-template-columns: 1fr; }
  .door-card { flex-direction: row; align-items: center; }
  .door-art { width: 42%; flex-shrink: 0; margin: 10px 0 10px 10px; aspect-ratio: 3 / 2; }
  .door-foot { padding: 12px 14px; }
  .door-card--urgent { flex-direction: column; align-items: stretch; }
  .door-card--urgent .urgent-top { margin: 12px 12px 0; padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .home .reveal, .js.home .reveal { opacity: 1; transform: none; }
  .home-hero .tagline path { stroke-dashoffset: 0; }
  .home-hero .hl::before { transform: rotate(-1.4deg); }
  .home-hero .particles, .home-hero .motion-btn, .home-hero .cloud { display: none; }
  .lamp { opacity: 1; }
}

/* The preview wraps headings and paragraphs plainly; the site-wide balance/pretty wrapping would reflow them. */
.home main :is(h1, h2, h3, p) { text-wrap: wrap; }

/* Small phones (design review): picture doors and pinned events fit a 320px screen. */
.home .pins { grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); }
.door-foot { min-width: 0; }
@media (max-width: 374px) {
  .door-foot { gap: 8px; padding: 10px; }
  .door-label { font-size: 16.5px; }
  .knob { width: 36px; height: 36px; font-size: 17px; }
  .door-art { width: 38%; }
  .hang-tag { max-width: calc(100% - 8px); }
}

/* The three trust chips are links (Taylor, 2026-09-29): group, about, newsletter. */
.home-hero .trust li { padding: 0; }
.home-hero .trust a { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 13px; border-radius: 999px; color: var(--navy); font-weight: 700; font-size: 14px; transition: background-color .2s, border-color .2s, translate .2s var(--ease); }
.home-hero .trust a::after { content: "\2192"; margin-left: 8px; color: var(--gold-deep); transition: transform .25s var(--spring); }
.home-hero .trust a:hover { background: #fff; }
.home-hero .trust a:hover::after { transform: translateX(3px); }
.home-hero .hero-text { max-width: 1100px; }

/* Hills to painting (Taylor, 2026-09-29: "less jarring from vector art to the village pic"): the drawn
   hills get a watercolor paper grain and softer, hazier trees, and the painting's edges fade wider, so
   the flat shapes read as the painting's own background instead of a sticker behind it. */
.home-hero .land .treeline { opacity: .8; filter: blur(.35px); }
.home-hero .land .grain { mix-blend-mode: multiply; pointer-events: none; }
.home-hero .land { filter: saturate(.88); }
.home-hero .frame img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(180deg, transparent 0, #000 16%, #000 90%, transparent 100%);
}
@media (max-width: 700px) {
  .home-hero .frame img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 92%, transparent 100%);
  }
}

/* "Full calendar" is a real call to action now (Taylor, 2026-09-29: "needs to be more featured"). */
.home .btn--calendar { --edge: var(--navy-deep); background: var(--navy); color: var(--paper); gap: 10px; }
.home .btn--calendar:hover { background: var(--navy-soft); color: var(--paper); }
.home .btn--calendar svg { color: var(--gold); flex-shrink: 0; }
.home .soon .sec-head { align-items: center; }

/* Wall of Hope makes as much of a statement as the awning (Taylor, 2026-09-29): a string of pinned
   notes across the top, three carrying the wins the card names, two with a heart. */
.notes { top: 0; left: 0; right: 0; height: 92px; display: flex; justify-content: space-around; align-items: flex-start; gap: 0; padding: 0 14px; }
.notes::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: #9d7128; border-radius: 2px; box-shadow: 0 2px 2px rgba(80, 50, 10, .15); }
.notes i { position: relative; width: auto; min-width: 58px; height: auto; padding: 20px 10px 10px; margin-top: 6px; border-radius: 3px; font: 400 18px/1.05 var(--f-hand); font-style: normal; color: var(--navy); text-align: center; max-width: 92px; box-shadow: 0 8px 12px -8px rgba(60, 40, 10, .45); transform-origin: 50% 8px; animation: osv-sway 5s ease-in-out infinite; }
.notes i::before { content: ""; position: absolute; top: 3px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 14%, var(--brick) 36% 100%); box-shadow: 0 2px 3px rgba(0, 0, 0, .3); }
.notes i:nth-child(1) { background: var(--gold-soft); rotate: -5deg; }
.notes i:nth-child(2) { background: var(--brick-soft); rotate: 4deg; animation-delay: -1s; color: var(--brick-ink, #8f4424); font-size: 22px; min-width: 44px; }
.notes i:nth-child(3) { background: var(--blue-soft); rotate: -2deg; animation-delay: -2s; }
.notes i:nth-child(4) { background: var(--sage-soft); rotate: 6deg; animation-delay: -3s; color: var(--sage-ink); font-size: 22px; min-width: 44px; }
.notes i:nth-child(5) { background: #f7e9c9; rotate: -4deg; animation-delay: -4s; }
@keyframes osv-sway { 50% { transform: rotate(2.5deg); } }
.spot-art { padding-top: 76px; }
.spot:hover .notes i { animation-duration: 1.6s; }
@media (max-width: 460px) { .notes i:nth-child(2), .notes i:nth-child(4) { display: none; } }
.home .board-cta { display: flex; justify-content: center; margin-top: -30px; position: relative; z-index: 2; }
.home .board-cta .btn { font-size: 19px; padding: 19px 32px; min-height: 60px; box-shadow: 0 5px 0 var(--edge), 0 18px 30px -14px rgba(20, 32, 58, .55); }
.notes i { font-size: 20px; min-width: 70px; max-width: 104px; }
