/* Coastal Caviar Club — v2
   The clubhouse comes to you. Daylight palette, club ephemera as UI.
   ------------------------------------------------------------------ */

/* 1. Tokens ---------------------------------------------------------- */
:root {
  color-scheme: light;
  /* brand: club green, linen, ink. Everything else is a tint or a shade of these three. */
  --green: #1C3B2C;
  --green-deep: #14291F;          /* green with ink laid over it */
  --oat: #F2ECDE;                 /* linen */
  --paper: #F7F3E8;               /* linen, a shade lighter */
  --ink: #111C16;
  --black: #111C16;
  --ink-70: rgba(17, 28, 22, .72);
  --ink-50: rgba(17, 28, 22, .5);
  --rule: rgba(17, 28, 22, .16);
  --rule-strong: rgba(17, 28, 22, .38);
  --oat-70: rgba(242, 236, 222, .72);
  --oat-40: rgba(242, 236, 222, .4);
  --oat-rule: rgba(242, 236, 222, .22);
  /* secondary palette, used sparingly and only where the brand book says */
  --white: #FFFFFF;      /* page ground, reversed type */
  --oyster: #E7E6E6;     /* rules and keylines */
  --seaglass: #D2DED5;   /* cool panels and callouts */
  --wicker: #D8C4A0;     /* pattern and dashed guides */
  --gold: #EFD066;       /* accent rules, emphasis */
  --brass: #A98842;      /* metal and hardware */

  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(24px, 4.5vw, 72px);
  --max: 1280px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2. Reset ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--oat); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.05; color: var(--green); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.on-green :focus-visible, .board :focus-visible { outline-color: var(--oat); }
::selection { background: var(--green); color: var(--oat); }

/* 3. Type ------------------------------------------------------------ */
.eyebrow { font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 12px; }
.eyebrow.on-green { color: var(--oat-70); }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1.5px; background: var(--gold); vertical-align: middle; margin-right: 12px; }
/* centred labels carry the line on both sides, so the words sit on the true centre
   (the trailing letter-spacing is taken back out of the right-hand gap) */
.notice .kicker .eyebrow::after, .guide .eyebrow::after, #questions .head .eyebrow::after { content: ""; display: inline-block; width: 22px; height: 1.5px; background: var(--gold); vertical-align: middle; margin-left: calc(12px - .28em); }
.h-xl { font-size: clamp(2.2rem, 3.9vw, 3.6rem); letter-spacing: -.01em; line-height: 1.06; }
.h-l  { font-size: clamp(1.9rem, 3.6vw, 3.1rem); letter-spacing: -.005em; }
.h-xl em, .h-l em, .h-m em { font-style: italic; }
.lede { font-size: clamp(1.02rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--ink-70); max-width: 52ch; }
.on-green, .on-green h1, .on-green h2, .on-green h3, .on-green .lede { color: var(--oat); }
.on-green .lede { color: var(--oat-70); }
.small { font-size: 13px; color: var(--ink-50); line-height: 1.5; }

/* 4. Layout ---------------------------------------------------------- */
.wrap { width: min(var(--max), 100% - var(--pad) * 2); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; counter-increment: sect; }
.section.tight { padding-block: clamp(40px, 6vw, 80px); }
.section.green { background: var(--green); color: var(--oat); }
.section.paper { background: var(--paper); }
.head { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 62ch; margin-bottom: clamp(32px, 5vw, 64px); }
.head.split { max-width: none; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 32px; }
.head.split .lede { justify-self: end; }
.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }
.on-green .rule, .green .rule, .lawn .rule { background: var(--oat-rule); }

/* court lines: the thin white inset frame borrowed from a tennis court */
.court { position: relative; }
.court::before {
  content: ""; position: absolute; inset: clamp(14px, 2.5vw, 28px);
  border: 1.5px solid var(--oat-40); pointer-events: none;
}

/* 5. Buttons --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  padding: 16px 26px; border: 1px solid var(--green); background: var(--green); color: var(--oat);
  text-decoration: none; cursor: pointer; border-radius: 999px; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease);
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--oat); }
.btn.oat { background: var(--oat); color: var(--green); border-color: var(--oat); }
.btn.oat:hover { background: var(--paper); }
.btn.line { background: transparent; color: var(--oat); border-color: var(--oat-70); }
.btn.line:hover { background: var(--oat); color: var(--green); }
.btn .arrow { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.textlink { font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--green);
  text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px; transition: border-color .2s; }
.textlink:hover { border-color: var(--green); }
.on-green .textlink { color: var(--oat); border-color: var(--oat-40); }
.on-green .textlink:hover { border-color: var(--oat); }

/* 6. Awning progress bar --------------------------------------------- */
.awning {
  position: fixed; top: 0; left: 0; height: 5px; width: 0%; z-index: 60;
  background: repeating-linear-gradient(90deg, var(--green) 0 14px, var(--oat) 14px 28px);
  transition: width .12s linear;
}

/* 7. Club bar + nav -------------------------------------------------- */
.clubbar {
  background: var(--green); color: var(--oat-70);
  font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
}
.clubbar .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 36px; }
.clubbar .mid { color: var(--oat); }
.nav {
  position: sticky; top: 0; z-index: 50; background: var(--oat);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-color: var(--rule); box-shadow: 0 10px 30px -22px rgba(17, 28, 22, .35); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; position: relative; z-index: 2; background: var(--oat); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--green); }
.brand .mark { width: 50px; height: 50px; flex: none; display: block; }
.links { display: flex; gap: clamp(18px, 2.4vw, 34px); align-items: center; }
.links a { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; text-decoration: none; color: var(--ink-70); position: relative; padding: 6px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--green); transition: right .3s var(--ease); }
.links a:hover::after, .links a[aria-current]::after { right: 0; }
.nav .btn { padding: 13px 22px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--rule-strong); background: transparent; border-radius: 50%; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 13px; width: 16px; height: 1.5px; background: var(--green); transition: transform .3s var(--ease), top .3s var(--ease), opacity .2s; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -5px; }
.burger span::after { left: 0; top: 5px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }
.drawer { display: none; }

.cta-confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 60; }

/* 8. Hero ------------------------------------------------------------ */
.hero { position: relative; padding-block: clamp(20px, 2.6vw, 40px) clamp(36px, 4vw, 56px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-copy h1 { max-width: 17ch; }
.hero-copy .lede { max-width: 50ch; font-size: clamp(1rem, 1.15vw, 1.1rem); }
.cta-row { display: flex; gap: 14px 24px; flex-wrap: wrap; align-items: center; }
.proof { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 4px; font-size: 12.5px; color: var(--ink-70); }
.proof li { display: flex; align-items: center; gap: 10px; }
.proof .tick { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--green); position: relative; flex: none; }
.proof .tick::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid var(--green); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* the stamps: three photographs printed as perforated club stamps, kept in a loose stack
   that shuffles like postcards on a hall table. The perforation is a mask of half-circles
   along each edge; the shadow sits on the figure because a mask clips its own box-shadow. */
.stamps { position: relative; display: flex; flex-direction: column; align-items: center; gap: 30px; padding: 18px clamp(28px, 5vw, 72px) 0; }
.stack { display: grid; width: min(320px, 70vw); position: relative; }
.stamp {
  grid-area: 1 / 1; margin: 0; cursor: grab; will-change: transform; transform-origin: 50% 60%;
  filter: drop-shadow(0 14px 18px rgba(17, 28, 22, .12)) drop-shadow(0 1px 2px rgba(17, 28, 22, .1));
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.stamp img { pointer-events: none; -webkit-user-drag: none; }
.stamp.held { cursor: grabbing; }
.stamp:nth-child(1) { z-index: 3; transform: rotate(-1.5deg); }
.stamp:nth-child(2) { z-index: 2; transform: translate(6%, 2%) rotate(3deg); }
.stamp:nth-child(3) { z-index: 1; transform: translate(-6%, 3%) rotate(-4.5deg); }
.stack { touch-action: pan-y; }
.stamp-paper {
  --r: 3.2px;    /* a perforation's radius */
  --t: 11.5px;   /* hole to hole */
  --perf: #0000 95%, #000;
  background: #FBF8F1; padding: 11px;
  -webkit-mask:
    radial-gradient(circle var(--r) at 50% 0, var(--perf)) 0 0 / var(--t) 100% round no-repeat,
    radial-gradient(circle var(--r) at 50% 100%, var(--perf)) 0 0 / var(--t) 100% round no-repeat,
    radial-gradient(circle var(--r) at 0 50%, var(--perf)) 0 0 / 100% var(--t) no-repeat round,
    radial-gradient(circle var(--r) at 100% 50%, var(--perf)) 0 0 / 100% var(--t) no-repeat round;
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle var(--r) at 50% 0, var(--perf)) 0 0 / var(--t) 100% round no-repeat,
    radial-gradient(circle var(--r) at 50% 100%, var(--perf)) 0 0 / var(--t) 100% round no-repeat,
    radial-gradient(circle var(--r) at 0 50%, var(--perf)) 0 0 / 100% var(--t) no-repeat round,
    radial-gradient(circle var(--r) at 100% 50%, var(--perf)) 0 0 / 100% var(--t) no-repeat round;
  mask-composite: intersect;
}
.stamp picture { display: block; overflow: hidden; background: var(--seaglass); }
.stamp img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
/* the postmark: inked once across the corner of the pile, so it stays put while the stamps move */
.postmark {
  position: absolute; z-index: 4; top: 4px; right: max(0px, calc(50% - min(320px, 70vw) / 2 - 40px)); width: 96px; height: auto;
  color: var(--green); opacity: .28; transform: rotate(-12deg); pointer-events: none;
  font-family: var(--sans); font-weight: 500; fill: currentColor;
}
.postmark .pm-yr { font-family: var(--display); font-style: italic; font-weight: 400; }
.stamp-ctl { display: flex; align-items: center; gap: 12px; }
.stamp-ctl .arw {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-strong); background: transparent; color: var(--green);
  display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s var(--ease);
}
.stamp-ctl .arw svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.stamp-ctl .prev svg { transform: scaleX(-1); }
.stamp-ctl .arw:hover { background: var(--green); color: var(--oat); border-color: var(--green); }
.stamp-ctl .next:hover svg { transform: translateX(2px); }
.stamp-ctl .prev:hover svg { transform: scaleX(-1) translateX(2px); }
.stamp-ctl .arw:active { transform: scale(.94); }
.stamp-ctl .arw:focus-visible { outline: 1.5px solid var(--green); outline-offset: 3px; }

/* the tin: its own section, just above the packages */
.tinsec .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "text tin"; gap: 22px clamp(28px, 4vw, 64px); align-items: center; }
.tinsec .tin-text { grid-area: text; display: grid; gap: 22px; }
.tinsec .tin-copy { margin-bottom: 0; }
.tinsec .tinwrap { grid-area: tin; }
.tinsec .tin-next { justify-self: start; }
.tinwrap { display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; }
#tin { width: min(100%, 470px); height: auto; display: block; overflow: visible; touch-action: none; user-select: none; -webkit-user-select: none;
  margin-top: calc(min(100%, 470px) * -.07); margin-bottom: calc(min(100%, 470px) * -.025); }  /* the drawing keeps empty room above the lid for it to lift into; tuck part of it under the guide */
#lid { cursor: grab; }
#lid.drag { cursor: grabbing; }
.guide { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; max-width: 36ch; }
.tinsec .tin-text .guide { align-items: flex-start; text-align: left; max-width: 44ch; }
.gstep { display: flex; align-items: baseline; gap: 12px; }
.gstep .rn { font-family: var(--display); color: var(--green); font-size: .95rem; letter-spacing: .06em; }
.gstep h3 { font-size: clamp(1.15rem, 1.9vw, 1.5rem); }
.gmsg { font-size: 13px; color: var(--ink-70); line-height: 1.5; min-height: 2.9em; max-width: 40ch; }
.dots { display: flex; gap: 8px; margin-top: 4px; }
.dots i { width: 22px; height: 2px; background: var(--rule); transition: background .3s; }
.dots i.on { background: var(--green); }

/* 9. (reserved) */

/* 10. The service: a club programme on paper --------------------------- */
.service .head { margin-bottom: clamp(22px, 3vw, 36px); }
.svc-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.svc-photo { margin: 0; position: sticky; top: 100px; }
.svc-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; display: block; }
.order-kicker { margin: 0; display: flex; justify-content: space-between; gap: 16px; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--green); padding-bottom: 14px; border-bottom: 1px solid var(--green); }
.order { align-self: center; }
.order ol { margin: 0; padding: 0; list-style: none; }
.order li { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 6px 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.order li:last-child { border-bottom: 0; }
.order li .when { grid-column: 1; grid-row: 1; }
.order li h3 { grid-column: 2; grid-row: 1; }
.order li p { grid-column: 2; grid-row: 2; }
.order .when { font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--green); line-height: 1.3; }
.order h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); margin-bottom: 0; }
.order li p { font-size: 15px; color: var(--ink-70); line-height: 1.6; max-width: 40ch; }
.service .svc-foot { display: flex; justify-content: flex-end; align-items: center; gap: 24px; margin-top: 26px; flex-wrap: wrap; }


/* 11. Packages: two cards and what every bar shares --------------------- */
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pkcard { background: var(--paper); border: 1px solid var(--rule-strong); padding: clamp(26px, 3.4vw, 44px); position: relative; display: grid; gap: 22px; align-content: start; }
.pkcard::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--rule); pointer-events: none; }
.pkcard header { display: grid; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--rule); }
.pkcard .tag { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-50); font-weight: 500; }
.pkcard .name { font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1; }
.pkcard .name em { font-style: italic; }
.pkcard .tin { font-family: var(--sans); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--green); font-weight: 500; }
.pkcard .char { font-size: 15.5px; line-height: 1.6; color: var(--ink-70); }
.pkcard dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; font-size: 13.5px; }
.pkcard dt { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-50); font-weight: 700; padding-top: 3px; }
.pkcard dd { margin: 0; color: var(--ink-70); }
.pkcard .textlink { justify-self: start; margin-top: 4px; }
.pk-cta .arrow { display: none; width: 14px; height: 14px; flex: none; transition: transform .25s var(--ease); }
/* the curated package: one wide card under the two, its call to action on the right */
.curated { margin-top: 18px; background: var(--paper); border: 1px solid var(--rule-strong); padding: clamp(26px, 3.4vw, 44px); position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 64px); align-items: center; }
.curated::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--rule); pointer-events: none; }
.curated .name { font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1; margin-bottom: 16px; }
.curated .name em { font-style: italic; }
.curated p { font-size: 15.5px; line-height: 1.6; color: var(--ink-70); max-width: 62ch; }
.curated p + p { margin-top: 6px; }
.curated .btn { position: relative; z-index: 1; white-space: nowrap; }
@media (max-width: 640px) {
  .curated { grid-template-columns: minmax(0, 1fr); }
  .curated .btn { width: 100%; white-space: normal; text-align: center; }
}

/* planner */

/* 12. Tasting cards --------------------------------------------------- */
/* the farm, told in one sentence with the photographs set into it */

/* 13. Where we serve -------------------------------------------------- */
.where { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.where .img { position: relative; overflow: hidden; align-self: start; }
.where .img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 58%; }
.where .copy { display: grid; gap: 24px; align-content: center; }
.places-lab { font-size: 12.5px; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: var(--ink-50); margin-bottom: -8px; }
.places { display: grid; }
.places li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: var(--green); }
.places li:first-child { border-top: 1px solid var(--rule); }
.places li:last-child { border-bottom: 0; }

/* 14. House rules: the notice board ----------------------------------- */
.board { background: var(--green); color: var(--oat); }
.board .wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.board .intro { display: grid; gap: 18px; position: sticky; top: 100px; }
.notice { background: var(--paper); color: var(--ink); padding: clamp(28px, 3.6vw, 52px); position: relative; box-shadow: 0 40px 80px -50px rgba(11, 20, 15, .8); }
.notice::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--rule); pointer-events: none; }
.notice .pin { position: absolute; top: -10px; left: 50%; width: 20px; height: 20px; border-radius: 50%; background: var(--brass); transform: translateX(-50%); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .5), inset 0 -3px 0 rgba(0, 0, 0, .25); }
.notice .kicker { text-align: center; display: grid; gap: 8px; margin-bottom: 30px; }
.notice .kicker h3 { font-size: 1.7rem; }
.rules { margin: 0; padding: 0; list-style: none; }
.rules li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--rule); font-family: var(--display); font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.35; color: var(--ink); }
.rules li:first-child { border-top: 0; }
.rules .rn { color: var(--green); font-size: .95rem; letter-spacing: .08em; padding-top: 4px; }
.notice .sign { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-50); font-weight: 500; }
.notice .sign .mark { width: 48px; height: 48px; }

/* 15. Questions ------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:first-child { border-top: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.45rem); color: var(--green); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 30px; height: 30px; border: 1px solid var(--rule-strong); border-radius: 50%; position: relative; transition: transform .35s var(--ease), background .25s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.2px; background: var(--green); transform: translate(-50%, -50%); }
.faq summary .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--paper); }
.faq .a { padding: 0 0 26px; color: var(--ink-70); font-size: 15px; max-width: 64ch; line-height: 1.65; }

/* 16. (the invitation on the home page uses the enquire styles below) */
.enq .head { max-width: 62ch; }
.planned { margin-top: 22px; text-align: center; font-size: 12.5px; letter-spacing: .04em; color: var(--ink-70); background: var(--seaglass); padding: 10px 14px; }
.planned .linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--green); text-decoration: underline; cursor: pointer; margin-left: 6px; }

/* 17. Footer ---------------------------------------------------------- */
.foot { background: var(--green); color: var(--oat-70); padding: clamp(48px, 6vw, 88px) 0 32px; border-top: 1px solid var(--oat-rule); }
.foot .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--oat-rule); }
.foot .blurb { margin-top: 18px; font-size: 14px; max-width: 34ch; line-height: 1.6; }
.foot h4 { font-family: var(--sans); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--oat); margin-bottom: 16px; font-weight: 500; }
.foot ul { display: grid; gap: 10px; font-size: 14px; }
.foot a { text-decoration: none; color: var(--oat-70); transition: color .2s; }
.foot a:hover { color: var(--oat); }
.foot .bot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.foot .bot a { border-bottom: 1px solid var(--oat-40); }

/* 18. Enquire page ---------------------------------------------------- */
.enq { padding-block: clamp(64px, 9vw, 128px); }
.enq .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.enq .head { margin-bottom: 28px; }
.invite { background: var(--paper); border: 1px solid var(--rule-strong); padding: clamp(28px, 4vw, 64px); position: relative; }
.invite::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--rule); pointer-events: none; }
.invite .crest { display: flex; justify-content: center; margin-bottom: 26px; }
.invite .crest .mark { width: 78px; height: 78px; }
.invite .kicker { text-align: center; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-50); font-weight: 500; margin-bottom: 30px; }
.prose { font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 2.1; color: var(--ink); text-align: center; text-wrap: balance; }
.prose .blank { display: inline-block; vertical-align: baseline; position: relative; margin: 0 .15em; max-width: calc(100% - .3em); }
.prose .blank input, .prose .blank select { max-width: 100%; text-overflow: ellipsis; }
.prose .blank input, .prose .blank select { font-family: var(--display); font-style: italic; font-size: inherit; color: var(--green); background: transparent; border: 0; border-bottom: 1.5px solid var(--rule-strong); padding: 0 .3em .05em; outline: none; min-width: 6ch; text-align: center; border-radius: 0; line-height: 1.3; transition: border-color .2s, background .2s; }
.prose .blank select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 1.1em; background: 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 1l5 5 5-5' fill='none' stroke='%231C3B2C' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right .1em center; }
.prose .blank input::placeholder { color: var(--ink-50); font-style: italic; }
.prose .blank input:focus, .prose .blank select:focus { border-bottom-color: var(--green); background: rgba(28, 59, 44, .06); }
.prose .blank.bad input, .prose .blank.bad select { border-bottom-color: #8A3A32; border-bottom-width: 2px; color: #8A3A32; background-color: rgba(138, 58, 50, .09); animation: badflash 1s var(--ease) 2; }
.prose .blank.bad input::placeholder { color: #8A3A32; opacity: .8; }
.prose .blank.bad 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 1l5 5 5-5' fill='none' stroke='%238A3A32' stroke-width='1.5'/%3E%3C/svg%3E"); }
@keyframes badflash { 0%, 100% { background-color: rgba(138, 58, 50, .09); } 40% { background-color: rgba(138, 58, 50, .26); } }
.prose .blank .w-date { min-width: 11ch; width: 11ch; }
.prose .w-name { min-width: 12ch; }
.prose .w-place { min-width: 12ch; }
.prose .w-email { min-width: 14ch; }
.prose .w-phone { min-width: 10ch; }
.prose .opt { font-family: var(--sans); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-50); vertical-align: super; margin-left: .2em; font-weight: 500; }
.invite .extras { margin-top: 32px; display: grid; gap: 22px; border-top: 1px solid var(--rule); padding-top: 28px; }
.invite .extras .lab { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-50); font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.invite textarea { width: 100%; background: transparent; border: 1px solid var(--rule-strong); padding: 14px 16px; min-height: 96px; resize: vertical; font-size: 15px; font-weight: 300; outline: none; border-radius: 0; font-family: var(--display); font-style: italic; color: var(--green); }
.invite textarea:focus { border-color: var(--green); }
.invite .send { margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.invite .send .fine { font-size: 12.5px; color: var(--ink-50); max-width: 40ch; }

.invite.busy .btn { opacity: .6; cursor: wait; }

/* the small lists under the select blanks (desktop); phones keep the native picker */
.prose .blank select option { font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 300; }
.pop { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 30; min-width: 250px; background: var(--paper); border: 1px solid var(--rule-strong); box-shadow: 0 26px 44px -22px rgba(17, 28, 22, .5); padding: 8px 0; font-family: var(--sans); font-style: normal; text-align: left; line-height: 1.3; }
.pop::before { content: ""; position: absolute; inset: 4px; border: 1px solid var(--rule); pointer-events: none; }
.pop button { position: relative; display: block; width: 100%; text-align: left; padding: 10px 20px; font: 300 14px var(--sans); color: var(--ink); background: none; border: 0; cursor: pointer; }
.pop button:hover { background: var(--seaglass); }
.pop button.on { color: var(--green); font-weight: 500; }
.pop button.on::after { content: ""; position: absolute; right: 18px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--green); transform: translateY(-50%); }

.pop button:focus-visible { outline: none; background: var(--seaglass); }
.prose .blank.open select { border-bottom-color: var(--green); background-color: rgba(28, 59, 44, .06); }

/* the calendar under the date blank */
.dp { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); z-index: 30; width: 296px; background: var(--paper); border: 1px solid var(--rule-strong); box-shadow: 0 26px 44px -22px rgba(17, 28, 22, .5); padding: 16px 14px 12px; font-family: var(--sans); font-style: normal; text-align: center; line-height: 1.2; }
.dp::before { content: ""; position: absolute; inset: 5px; border: 1px solid var(--rule); pointer-events: none; }
.dp-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; position: relative; }
.dp-title { font-family: var(--display); font-size: 1.1rem; color: var(--green); }
.dp-title b { font-weight: 400; font-style: italic; }
.dp-nav { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--rule-strong); background: none; color: var(--green); cursor: pointer; font-size: 18px; line-height: 1; padding: 0 0 2px; }
.dp-nav:hover { background: var(--green); color: var(--oat); border-color: var(--green); }
.dp-nav[disabled] { opacity: .3; cursor: default; }
.dp-nav[disabled]:hover { background: none; color: var(--green); border-color: var(--rule-strong); }
.dp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; position: relative; }
.dp-dow { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-50); padding: 6px 0 8px; font-weight: 500; }
.dp-day { height: 34px; border: 0; background: none; font: 400 13px var(--sans); color: var(--ink); border-radius: 50%; cursor: pointer; }
.dp-day:hover { background: var(--seaglass); }
.dp-day.on { background: var(--green); color: var(--oat); }
.dp-day.off { color: rgba(17, 28, 22, .28); cursor: default; }
.dp-day.off:hover { background: none; }
.dp-foot { margin-top: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-50); font-weight: 500; }
.invite .err { color: #8A3A32; font-size: 14px; font-weight: 500; min-height: 1.4em; margin-top: 8px; }
.invite.shake .btn { animation: nudge .5s ease; }
@keyframes nudge { 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
#guest { scroll-margin-top: 120px; }
@media (max-width: 640px) {
  .dp { position: fixed; top: auto; bottom: 14px; left: 50%; transform: translateX(-50%); width: min(300px, calc(100vw - 28px)); }
}

/* the card takes its height from the front, so on a phone it grows to fit instead of squeezing */
@media (max-width: 640px) {
  .gcard-wrap { width: 100%; }
  /* the burst stays inside the page on a phone, so nothing scrolls sideways */
  .enq .guest .guest-confetti { left: 0; width: 100%; }
  /* both card buttons hold one line; the primary takes the room it needs */
  .card-tools { gap: 8px; flex-wrap: nowrap; width: 100%; }
  .card-tools .btn.small { padding: 13px 12px; font-size: 9.5px; letter-spacing: .14em; gap: 7px; white-space: nowrap; min-width: 0; }
  .card-tools .btn.small:not(.ghost) { flex: 1 1 auto; }
  .card-tools .btn.small.ghost { flex: 0 1 auto; }
}
@media (max-width: 380px) {
  .card-tools .btn.small { padding: 13px 8px; font-size: 9px; letter-spacing: .1em; gap: 6px; }
}

/* the guest card: one composition at every width; sizes are in cqw of the card so phone and desktop match */
.gcard-wrap { width: min(100%, 520px); perspective: 1400px; animation: dealt .9s var(--ease) both; container-type: inline-size; }
@keyframes dealt { from { opacity: 0; transform: translateY(24px) rotate(-4deg); } to { opacity: 1; transform: none; } }
.gcard { --rx: 0deg; --ry: 0deg; --flip: 0deg; --mx: 50%; --my: 50%; position: relative; display: grid; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip))); transition: transform .5s var(--ease); cursor: pointer; outline: none; width: auto; padding: 0; background: none; box-shadow: none; overflow: visible; }
.gcard.tilting { transition: transform .08s linear; }
.gcard:focus-visible .face.front { outline: 2px solid var(--gold); outline-offset: 4px; }
.gcard .face { position: relative; grid-area: 1 / 1; min-height: 60cqw; border-radius: 3cqw; background: var(--green); color: var(--oat); padding: 6cqw 6.5cqw 5.4cqw; display: grid; text-align: center; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 40px 70px -40px rgba(11, 20, 15, .8); }
.gcard .face::before { content: ""; position: absolute; inset: 1.9cqw; border: 1px solid var(--oat-40); border-radius: 1.5cqw; pointer-events: none; }
.gcard .face p { max-width: none; width: 100%; margin: 0; }
.gcard .nb { white-space: nowrap; }
.gcard .sheen { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .13), rgba(255, 255, 255, 0) 60%); opacity: 0; transition: opacity .3s; }
.gcard.tilting .sheen { opacity: 1; }
/* front: everything the guest filled in */
.gcard .face.front { grid-template-rows: auto 1fr auto auto; row-gap: 2.4cqw; }
.gcard .r1 { font-size: max(2cqw, 9.5px); letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--oat-70); }
.gcard .r2 { display: grid; justify-items: center; align-content: start; }
.gcard .r2 .who { font-family: var(--display); font-style: italic; font-size: 6.8cqw; color: var(--oat); line-height: 1.04; }
.gcard .r2 .what { font-size: max(2.4cqw, 11px); color: var(--oat-70); margin-top: 2.6cqw; }
.gcard .r3 { display: flex; justify-content: space-between; gap: 3cqw; border-top: 1px solid var(--oat-rule); padding-top: 2.6cqw; font-size: max(1.83cqw, 8px); letter-spacing: .24em; text-transform: uppercase; font-weight: 500; color: var(--oat-70); text-align: left; }
.gcard .r3 span:nth-child(2) { text-align: center; }
.gcard .r3 span:last-child { text-align: right; }
.gcard .r3 b { display: block; color: var(--oat); font-weight: 500; letter-spacing: .1em; margin-top: .5cqw; font-size: max(2.25cqw, 10px); }
.gcard .r4 { display: grid; gap: 1.8cqw; border-top: 1px solid var(--oat-rule); padding-top: 2.4cqw; }
.gcard .reply { font-size: max(2.1cqw, 10.5px); color: var(--oat-70); line-height: 1.6; }
.gcard .reply b { color: var(--oat); font-weight: 300; }
.gcard .quote { font-family: var(--display); font-style: italic; color: var(--oat); font-size: max(2.5cqw, 11.5px); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gcard .quote[hidden] { display: none !important; }
.gcard .issuer-line { margin-top: 1.6cqw; font-size: max(1.5cqw, 7.5px); letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: var(--oat-40); }
/* back: the wordmark and the house line, nothing else */
.gcard .face.back { transform: rotateY(180deg); grid-template-rows: 1fr auto; justify-items: center; align-items: center; }
.gcard .back .wordmark.big { width: 30cqw; height: auto; align-self: center; }

.card-tools { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: -6px; }
.btn.small { padding: 12px 20px; font-size: 10.5px; gap: 9px; }
.btn .ico { width: 14px; height: 14px; flex: none; }
.btn.small.is-busy { opacity: .7; pointer-events: none; }
.btn.small.is-done { background: var(--seaglass); border-color: var(--seaglass); color: var(--green); }
.btn.small.is-done:hover { background: var(--seaglass); transform: none; }

.linkbtn { background: none; border: 0; padding: 0 0 3px; font-family: var(--sans); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--green); border-bottom: 1px solid var(--rule-strong); cursor: pointer; transition: border-color .2s; }
.linkbtn:hover { border-color: var(--green); }

/* the success: a grander moment */
.guest { position: relative; display: grid; gap: 28px; justify-items: center; text-align: center; padding-top: 12px; }
.guest .guest-confetti { position: absolute; left: -20%; top: -40%; width: 140%; height: 160%; pointer-events: none; z-index: 4; }
.guest h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.05; margin-top: 6px; }
.guest .sub { font-family: var(--display); font-style: italic; color: var(--green); font-size: 1.25rem; margin-top: -14px; }
.guest p { color: var(--ink-70); max-width: 46ch; font-size: 15.5px; }

.guest { display: grid; gap: 26px; justify-items: center; text-align: center; }
.guest h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.guest p { color: var(--ink-70); max-width: 46ch; }

.aside { display: grid; gap: 22px; position: sticky; top: 100px; }
.aside .box { border: 1px solid var(--rule-strong); padding: 30px 26px 26px; display: grid; gap: 12px; background: var(--paper); position: relative; }
.aside .box .pin { position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--brass); transform: translateX(-50%); box-shadow: 0 6px 10px -4px rgba(0, 0, 0, .45), inset 0 -3px 0 rgba(0, 0, 0, .25); }
.aside .box h3 { font-size: 1.25rem; }
.aside .box ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; counter-reset: nx; }
.aside .box ol li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 14px; color: var(--ink-70); line-height: 1.5; counter-increment: nx; }
.aside .box ol li::before { content: counter(nx, upper-roman); font-family: var(--display); color: var(--green); font-size: .9rem; padding-top: 2px; letter-spacing: .06em; }
.aside .contact { font-size: 14px; color: var(--ink-70); display: grid; gap: 6px; }
.aside .contact a { text-decoration: none; color: var(--green); border-bottom: 1px solid var(--rule-strong); width: max-content; }

/* 19. Reveal ---------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* 20. Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .foot .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .links, .nav > .wrap > .btn { display: none; }
  .burger { display: block; }
  .drawer { display: none; position: fixed; left: 0; right: 0; top: var(--navb, 78px); bottom: 0; z-index: 1; background: var(--oat); padding: 8px var(--pad) 40px; overflow-y: auto; overscroll-behavior: contain; }
  .nav.open .drawer { display: grid; gap: 2px; align-content: start; }
  .drawer a { font-family: var(--display); font-size: 1.5rem; color: var(--green); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--rule); }
  .drawer a.btn { font-family: var(--sans); font-size: 11px; color: var(--oat); border-bottom: 0; margin-top: 22px; justify-self: stretch; padding: 18px 22px; }
  body.nav-open { overflow: hidden; }
  .clubbar .wrap { grid-template-columns: 1fr; text-align: center; gap: 0; }
  .clubbar .left { display: none; }
  .clubbar .mid { font-size: 9.5px; letter-spacing: .18em; padding-block: 7px; line-height: 1.5; }
  .hero .wrap { grid-template-columns: 1fr; }
  .tinsec .wrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "guide" "tin" "next"; row-gap: 28px; }
  .tinsec .tin-text { display: contents; }
  .tinsec .tin-copy { grid-area: copy; }
  .tinsec .tin-text .guide { grid-area: guide; justify-self: center; align-items: center; text-align: center; max-width: 36ch; margin-bottom: -16px; }
  .tinsec .tin-next { grid-area: next; }
  .tinsec .tin-next { justify-self: center; }
  .stamps { order: -1; }
  #tin { width: min(100%, 440px); margin-top: calc(min(100%, 440px) * -.07); margin-bottom: calc(min(100%, 440px) * -.025); }
  .head.split { grid-template-columns: 1fr; }
  .head.split .lede { justify-self: start; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-photo { position: static; }
  .svc-photo img { aspect-ratio: 1 / 1; object-position: 50% 42%; }
  .order li { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .order li .when, .order li h3, .order li p { grid-column: 1; grid-row: auto; }
  .where, .board .wrap, .enq .wrap, .pkgs { grid-template-columns: minmax(0, 1fr); }
  .board .intro, .aside { position: static; }
}
@media (max-width: 640px) {
  .section, .enq { padding-block: 72px; }
  .hero { padding-block: 12px 56px; }
  .hero .wrap { gap: 16px; }
  .hero .cta-row { flex-direction: column; align-items: stretch; gap: 22px; }
  .service .svc-foot .btn { width: 100%; }
  .rules li { grid-template-columns: 24px 1fr; gap: 10px; }
  /* package links on phones: a solid green underline on every line and an arrow, so they read as links to tap */
  .pkcard .pk-cta { justify-self: start; margin-top: 6px; padding: 4px 0; border-bottom: 0; line-height: 2.1;
    text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
  .pkcard .pk-cta .arrow { display: inline-block; vertical-align: -2px; margin-left: 8px; }
  .notice .kicker .eyebrow { font-size: 11px; letter-spacing: .2em; white-space: nowrap; }
  .notice .kicker .eyebrow::before, .guide .eyebrow::before, #questions .head .eyebrow::before { width: 16px; margin-right: 8px; }
  .notice .kicker .eyebrow::after, .guide .eyebrow::after, #questions .head .eyebrow::after { width: 16px; margin-left: calc(8px - .2em); }
  .hero .cta-row .btn { width: 100%; }
  .hero .cta-row .textlink { align-self: center; }
  /* a smaller pile on phones, so the photos and the headline both show when the page first opens.
     The width follows the screen height (svh) where supported; the first .stack line is the fallback. */
  .stamps { padding-top: 8px; gap: 14px; }
  .stack { width: min(220px, 56vw); }
  .stack { width: clamp(150px, calc((100svh - 330px) / 1.5), min(230px, 58vw)); }
  .postmark { width: 64px; top: 2px; right: calc(50% - min(220px, 56vw) / 2 - 30px); }
  .pkh em { display: block; }
  .head { margin-bottom: 28px; }
  .court::before { inset: 10px; }
  .foot { padding-top: 56px; }
  .foot .top { gap: 28px; padding-bottom: 32px; }
  .clubbar .wrap { justify-content: center; text-align: center; }
  .foot .top { grid-template-columns: 1fr; }
  .prose { line-height: 2; font-size: 1.2rem; }
  .pkcard dl { grid-template-columns: 1fr; gap: 4px 0; }
  .pkcard dt { padding-top: 10px; }
  .invite .send .btn { width: 100%; }
  .enq .invite { padding: 30px 18px; }
}

/* very small phones: the notice label wraps onto two centred lines, without its side lines */
@media (max-width: 380px) {
  .notice .kicker .eyebrow { white-space: normal; text-wrap: balance; }
  .notice .kicker .eyebrow::before, .notice .kicker .eyebrow::after { display: none; }
}

/* 21. Motion preferences --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .gcard { animation: none; }
  .awning { transition: none; }
}

/* QA only: ?democard=1&solo=1 isolates the invitation section for screenshots */
.qa-solo .clubbar, .qa-solo .nav, .qa-solo .foot, .qa-solo .awning, .qa-solo main > :not(#invite) { display: none !important; }
.qa-solo #invite { padding-top: 24px; }
