/* Shared site pieces added 22 Nov 2026: header + phone menu, enquiry forms,
   About / Partner / Host / Contact sections, the mission scroll text, and the home heroes.
   Sits on top of styles.css + events.css and uses their colour vars. */

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Header ---- */
.site-head .head-mark { height: 28px; width: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.site-head .wordmark:hover .head-mark { transform: rotate(-8deg) scale(1.06); }
.head-nav { display: flex; align-items: center; gap: 26px; }
.head-cta { min-height: 40px; padding: 0 18px !important; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid currentColor; transition: background .3s, color .3s; }
.head-cta::after { display: none; }
.head-cta:hover { background: var(--wine-main); color: var(--cream-parchment) !important; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; color: inherit; }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.4px; background: currentColor; border-radius: 2px; transition: transform .4s cubic-bezier(.2,.7,.2,1), top .4s; }
.menu-btn i:first-of-type { top: 18px; }
.menu-btn i:last-of-type { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-of-type { top: 21.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { top: 21.5px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 9; padding: 120px 28px 40px; background: var(--cream-parchment); display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity .4s; }
.menu.open { opacity: 1; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu nav a { font: italic 400 44px/1.25 var(--serif); color: var(--wine-main); text-decoration: none; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .5s cubic-bezier(.2,.7,.2,1); }
.menu.open nav a { opacity: 1; transform: none; }
.menu.open nav a:nth-child(2) { transition-delay: .05s; } .menu.open nav a:nth-child(3) { transition-delay: .1s; } .menu.open nav a:nth-child(4) { transition-delay: .15s; }
.menu-foot { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(89,31,43,.2); padding-top: 24px; }
.menu-foot a { font: 400 12.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa); text-decoration: none; padding: 8px 0; }
@media (max-width: 760px) {
  .head-nav .hide-m, .head-nav .head-cta { display: none; }
  .menu-btn { display: block; }
  .site-head { z-index: 10; }
}

/* ---- Generic page sections ---- */
.page-hero { padding: 80px 0 40px; text-align: center; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero h1 { margin: 0; font: italic 400 clamp(58px, 9.5vw, 116px)/.95 var(--serif); color: var(--wine-main); }
.page-hero .sub { margin: 22px auto 0; max-width: 32em; font-size: 18px; color: var(--mauve-taupe); }
.page-hero .actions { margin-top: 32px; }
.band { padding: 70px 0; }
.band.wine { background: var(--wine-main); color: var(--cream-parchment); }
.band.soft { background: #efe5d8; }
.band h2.sec { margin: 0 0 36px; text-align: center; font: italic 400 clamp(40px, 6vw, 66px)/1 var(--serif); color: var(--wine-main); }
.band.wine h2.sec { color: var(--cream-parchment); }
.lead-quote { max-width: 860px; margin: 0 auto; text-align: center; font: 400 clamp(26px, 3.4vw, 40px)/1.3 var(--serif); }
.lead-quote em { color: var(--dusty-rose); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.panel { padding: 30px 28px; border-radius: 22px; background: #f3ebe0; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.panel:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -30px rgba(89,31,43,.5); }
.band.soft .panel { background: var(--cream-parchment); }
.band.wine .panel { background: rgba(228,214,195,.07); border: 1px solid rgba(228,214,195,.16); }
.panel .n { font: italic 400 30px/1 var(--serif); color: var(--dusty-rose); }
.panel h3 { margin: 12px 0 8px; font: 400 27px/1.15 var(--serif); color: var(--wine-main); }
.band.wine .panel h3 { color: var(--cream-parchment); }
.panel p { margin: 0; font-size: 15.5px; color: var(--mauve-taupe); }
.band.wine .panel p { color: rgba(228,214,195,.8); }

.values-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; border-top: 1px solid rgba(89,31,43,.22); border-bottom: 1px solid rgba(89,31,43,.22); }
.values-grid div { flex: 1 1 180px; padding: 26px 20px; text-align: center; border-right: 1px solid rgba(89,31,43,.22); }
.values-grid div:last-child { border-right: 0; }
.values-grid b { display: block; font: italic 400 28px/1 var(--serif); color: var(--wine-main); font-weight: 400; }
.values-grid span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--mauve-taupe); }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person { text-align: center; padding: 34px 24px; border-radius: 22px; background: #f3ebe0; }
.person .mono { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--wine-main); color: var(--cream-parchment); font: italic 400 34px/1 var(--serif); }
.person h3 { margin: 0; font: 400 30px/1.1 var(--serif); color: var(--wine-main); }
.person .role { margin: 8px 0 0; font: 400 11.5px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--dusty-rose); }
.person p { margin: 14px 0 0; font-size: 15.5px; color: var(--mauve-taupe); }

.cta-band { padding: 80px 0; text-align: center; }
.cta-band h2 { margin: 0 0 12px; font: italic 400 clamp(42px, 6vw, 70px)/1 var(--serif); color: var(--wine-main); }
.cta-band p { margin: 0 auto 28px; max-width: 30em; color: var(--mauve-taupe); }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Enquiry form ---- */
.enquire { max-width: 760px; margin: 0 auto; padding: clamp(26px, 5vw, 48px); border-radius: 26px; background: #f3ebe0; }
.enquire h2 { margin: 0 0 6px; font: italic 400 44px/1 var(--serif); color: var(--wine-main); }
.enquire > p { margin: 0 0 26px; color: var(--mauve-taupe); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; }
.fgrid .full { grid-column: 1 / -1; }
.enquire .fld { display: flex; flex-direction: column; gap: 8px; }
.enquire .fld label { font: 400 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa); }
.enquire .fld label small { letter-spacing: .05em; text-transform: none; color: var(--mauve-taupe); font-size: 12px; }
.enquire .fld input, .enquire .fld textarea, .enquire .fld select { width: 100%; min-height: 50px; padding: 13px 18px; border-radius: 16px; border: 1px solid rgba(89,31,43,.22); background: var(--cream-parchment); color: var(--cocoa); font: 300 16px/1.5 var(--sans); transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none; }
.enquire .fld select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23591f2b' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 42px; }
.enquire .fld textarea { min-height: 150px; resize: vertical; }
.enquire .fld input:focus, .enquire .fld textarea:focus, .enquire .fld select:focus { outline: none; border-color: var(--wine-main); box-shadow: 0 0 0 4px rgba(89,31,43,.08); background: #fbf7f1; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-in input { position: absolute; opacity: 0; pointer-events: none; }
.chips-in label { min-height: 44px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid rgba(89,31,43,.25); font: 400 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine-main); cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .12s; }
.chips-in label:active { transform: scale(.96); }
.chips-in input:checked + label { background: var(--wine-main); border-color: var(--wine-main); color: var(--cream-parchment); }
.chips-in input:focus-visible + label { outline: 2px solid var(--dusty-rose); outline-offset: 2px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.form-foot .note { margin: 0; font-size: 14px; color: var(--mauve-taupe); }
.form-foot .note.err { color: #9b2f3b; }
.enquire .hp { position: absolute; left: -9999px; }
.sent { display: none; text-align: center; padding: 30px 0 10px; }
.sent .seal { width: 84px; height: 84px; margin: 0 auto 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #7d3240, var(--wine-main) 60%, #3f121b); display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(60,14,22,.7), inset 0 -4px 10px rgba(0,0,0,.25); transform: scale(.4); opacity: 0; }
.sent .seal img { width: 34px; opacity: .9; }
.sent h3 { margin: 0; font: italic 400 40px/1.1 var(--serif); color: var(--wine-main); }
.sent p { margin: 10px 0 0; color: var(--mauve-taupe); }
.enquire.done form { display: none; }
.enquire.done > h2, .enquire.done > p { display: none; }
.enquire.done .sent { display: block; }
.enquire.done .seal { animation: stamp .7s cubic-bezier(.2,1.4,.4,1) forwards; }
@keyframes stamp { 60% { transform: scale(1.08); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* ---- Mission text that lights up as you scroll ---- */
.mission { padding: 110px 0 120px; }
.mission .eyebrow { text-align: center; margin-bottom: 28px; }
.mission-text { max-width: 980px; margin: 0 auto; text-align: center; font: 400 clamp(30px, 4.4vw, 56px)/1.22 var(--serif); color: var(--wine-main); }
.mission-text .w { opacity: .16; transition: opacity .35s; }
.mission-text .w.on { opacity: 1; }
.mission-text em { font-style: italic; color: var(--dusty-rose); }
.mission-sign { margin: 36px 0 0; text-align: center; font: 400 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--mauve-taupe); }
.pillars-why { margin-top: 70px; }

@media (max-width: 900px) {
  .grid-3, .grid-4, .people { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .values-grid div { flex-basis: 50%; border-right: 0; border-bottom: 1px solid rgba(89,31,43,.22); }
}
@media (max-width: 560px) {
  .fgrid { grid-template-columns: 1fr; }
  .page-hero { padding-top: 54px; }
  .band { padding: 56px 0; }
  .values-grid div { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .mission-text .w { opacity: 1; }
  .menu nav a { transition: none; }
}
.menu[hidden] { display: none; }
.chips-in { position: relative; }
.chips-in input { left: 0; top: 0; width: 1px; height: 1px; margin: 0; }


/* ---- Quality pass 22 Nov 2026 (Apple HIG + Sarah's past feedback) ---- */
/* Readable secondary text: mauve taupe measured 4.2:1 on cream, under the 4.5:1 bar. Body-size secondary text uses cocoa (brand). */
:root { --muted: var(--cocoa); }
.ev-hero p.sub, .page-hero .sub, .card-ev .meta, .facts small, .step p, .panel p, .person p, .cta-band p, .enquire > p, .enquire .fld label small,
.form-foot .note, .tier li, .ladder p, .mission-sign, .eyebrow, .tag, .hero-v .tag, .back, .values-grid span, .how-more, .wait-note,
.join .note, .join label, .form label, .pillar p, .tier .t-price { color: var(--cocoa); }
/* Rose accent only where it reads: big numerals move to mauve taupe (fine at large sizes), small rose labels move to wine */
.panel .n, .step .n, .ladder .n, .tier .t-step, .flow li::before { color: var(--mauve-taupe); }
.status, .ev-info .kicker, .feature-ev .kicker, .person .role, .ev-hero .eyebrow { color: var(--wine-main); }
.mission-text em, .lead-quote em { color: var(--mauve-taupe); }
.mission.dark .mission-text em { color: var(--dusty-rose); }
.tier.feature li, .tier.feature .t-line { color: var(--cream-parchment); }
/* Footer labels: rose on cocoa measured 2.75:1 */
.foot-h, .foot-line { color: var(--cream-parchment) !important; opacity: .78; }
.foot-h { font-size: 12px !important; }
/* Tap targets: 44pt minimum */
.foot-cols a { display: flex !important; align-items: center; min-height: 44px; margin: 0 !important; }
.foot-cols span { margin: 10px 0 0 !important; }
.site-head .wordmark { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; justify-content: center; margin-left: -8px; }
.btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.sub-link { display: inline-flex; align-items: center; min-height: 44px; }
.head-cta { min-height: 44px; }
/* Small text floors */
.t-badge { font-size: 11.5px; }
.status { font-size: 12px; }
/* Links look like tags, never underlines (Sarah: "the underlined looks bad, put it like in a tag") */
.tag-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: 8px; padding: 0 18px; border-radius: 999px; background: var(--champagne-stone); color: var(--wine-main); font: 400 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; transition: background .25s; vertical-align: middle; }
.tag-link:hover { background: rgba(89,31,43,.1); }
/* Back link: not needed on desktop where the menu bar is (Sarah, dashboard feedback); kept on phones */
@media (min-width: 761px) { .back { display: none; } .ev-detail { padding-top: 34px; } }
/* Brand palette only: card tints use the brand's own light cream tint */
.card-ev, .tier:not(.feature), .panel, .person, .enquire { background: var(--champagne-stone); }
.band.soft { background: var(--champagne-stone); }
.band.soft .panel, .band.soft .person { background: var(--cream-parchment); }
.invite-line { margin: 0 0 6px; font: italic 400 24px/1.3 var(--serif); color: var(--cocoa); }

/* Founding / password pages and remaining audit items */
.founding-page input:not([type=checkbox]):not([type=radio]), .founding-page textarea { min-height: 44px; }
.founding-page .qn { color: var(--mauve-taupe); }
.btn.gold.solid { background: var(--cream-parchment); border-color: var(--cream-parchment); color: var(--wine-main); }
.btn.gold.solid:hover { background: transparent; color: var(--cream-parchment); }
.tier.feature .t-step { color: var(--dusty-rose); }
.founding-page .chips label { position: relative; display: inline-flex; }
.founding-page .chips input[type=checkbox] { left: 0; top: 0; width: 1px !important; height: 1px; min-height: 0 !important; margin: 0; padding: 0; border: 0; }
.founding-page .chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; }

/* Posters are links: never underline their text (Sarah, 23 Nov) */
a.poster, a.poster * { text-decoration: none; }
