/* New design for the bookstockvt.org website: clean, modern, rounded cards, Inter type, Bookstock green as the accent */
:root {
  --ink: #17261d;
  --ink-soft: #3f5146;
  --muted: #5d6f63;
  --snow: #ffffff;
  --frost: #f3f7f4;
  --line: #dbe6de;
  --brand: #6e9e75;          /* the Bookstock green */
  --accent: #4b7d55;         /* darker shade of the same green, so white text on buttons stays readable */
  --accent-soft: #e4efe6;
  --input-border: #8fb399;   /* form field borders: a darker green than --line, so the boxes stand out (user, 2026-10-26) */
  --accent-ink: #ffffff;
  --night: #1d2b24;
  --night-soft: #b4c6ba;
  --slate: #58758a;
  --radius: 18px;
  --nav-h: 84px;
  /* layout widths (2026-10-25): starting points from NN/G / W3C readability guidance, not rigid rules */
  --site-max: 1280px;        /* the overall container, gutters included */
  --gutter: clamp(16px, 3vw, 32px); /* side padding: 16px on a phone, growing to 32px on a wide screen */
  --measure: 912px;          /* body text width on every page (user, 2026-10-25: 75% of the 1,216px content width; was 620px) */
  --text-size: 17px;         /* body text size on every page (user, 2026-10-25: volunteer.php's size) */
  --schedule-max: 1200px;    /* schedule / event listings */
  /* page title band (every page but home), set 2026-10-25 from subscribe.php. Measured to the letters at a 1,440px window:
     18px above the title, 27px between title and subtitle, 18px below the subtitle. Change the band here. */
  --pagehead-pad-top: 11px;
  --pagehead-pad-bottom: 13px;
  --pagehead-title-size: clamp(30px, 6vw, 50px);
  --pagehead-sub-gap: 8.5px;  /* space above the subtitle */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-y: scroll; } /* always show the scrollbar track, so a short page lines up exactly with a long one (no sideways shift, and no blank strip beside the footer) */
body { margin: 0; background: var(--snow); color: var(--ink); font: var(--text-size)/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
/* the footer sits at the bottom of the window on a short page (e.g. attend.php): the page is at least the window's height and main takes up any spare space */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.nd-wrap { max-width: var(--site-max); margin: 0 auto; padding: 0 var(--gutter); }
/* any paragraph or list item outside a narrower box still stops at a readable line length */
main p, main li { max-width: var(--measure); }
.nd-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 6vw, 54px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 14px; }
.nd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.nd-btn:hover { background: #3f6b48; }
.nd-btn-light { background: #fff; color: var(--accent); }
.nd-btn-light:hover { background: var(--accent-soft); }

/* Header + menu */
.nd-nav { position: sticky; top: 0; z-index: 20; background: var(--snow); border-bottom: 1px solid var(--line); }
.nd-nav .nd-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.nd-brand img { display: block; height: calc(var(--nav-h) - 4px); width: auto; }
.nd-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 21px; }
.nd-menu > li { position: relative; white-space: nowrap; }
.nd-menu a, .nd-sub-toggle { font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-soft); text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.nd-menu a:hover, .nd-sub-toggle:hover, .nd-menu .is-current > a, .nd-menu .is-current > .nd-sub-toggle { color: var(--accent); }
/* the link of the page being shown gets the green pill */
/* the pill's side padding is cancelled by an equal negative margin, so the highlighted link takes up exactly the room it
   does when not highlighted: the menu text never moves, only the pill does */
.nd-menu > li.is-current > a, .nd-menu > li.is-current > .nd-sub-toggle { background: var(--accent); color: #fff; border-radius: 999px; padding: 8px 12px; margin: 0 -12px; }
.nd-menu > li.is-current > a:hover, .nd-menu > li.is-current > .nd-sub-toggle:hover { background: #3f6b48; color: #fff; }
.nd-sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: -12px; min-width: 270px; background: var(--snow); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 40px -20px rgba(23, 38, 29, .35); display: none; }
.nd-has-sub:hover > .nd-sub, .nd-has-sub:focus-within > .nd-sub, .nd-has-sub.open > .nd-sub { display: block; }
.nd-sub li a { display: block; padding: 9px 12px; border-radius: 10px; font-weight: 500; }
.nd-sub li a:hover, .nd-sub li a[aria-current] { background: var(--accent-soft); color: var(--accent); }
.nd-group { padding-top: 4px; }
.nd-group-label { display: block; padding: 8px 12px 2px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.nd-group ul { list-style: none; margin: 0; padding: 0 0 0 10px; }
.nd-menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; border: 0; padding: 0; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.nd-ico-close { display: none; }
.nd-nav.open .nd-ico-open { display: none; }
.nd-nav.open .nd-ico-close { display: block; }

/* Page heading band (inside pages) */
/* every page's title band: title + subtitle, no pre-title (sizes are the --pagehead-* settings at the top) */
.nd-pagehead { background: var(--frost); padding: var(--pagehead-pad-top) 0 var(--pagehead-pad-bottom); border-bottom: 1px solid var(--line); }
.nd-pagehead h1 { font-size: var(--pagehead-title-size); }
.nd-lede { font-size: clamp(18px, 2vw, 20px); color: var(--ink-soft); max-width: var(--measure); margin: 16px 0 0; }
.nd-pagehead .nd-lede { margin-top: var(--pagehead-sub-gap); }
/* 'Signed in as … Sign out' at the top right of the title band (layout.php, every page while signed in) */
.nd-pagehead-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 4px 24px; }
.nd-whoami { margin: 0; padding-top: 4px; /* lines the tops of its letters up with the top of the page title's (measured at 1,440px) */ font-size: 15px; color: var(--ink-soft); white-space: nowrap; }
.nd-whoami button { margin-left: 10px; padding: 0; background: none; border: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.nd-whoami strong { color: var(--accent); } /* the signed-in name, in the site's green */
.nd-signin { color: var(--accent); font-weight: 700; text-decoration: none; } /* the "Sign in" link shown in the same spot when signed out */
.si-other { margin-top: 18px; font-size: 15px; }
.si-code { max-width: 220px; font-size: 22px !important; letter-spacing: 6px; text-align: center; }

/* Content sections */
.nd-section { padding: 42px 0; }
.nd-section.alt { background: var(--frost); }
.nd-section.dark { background: var(--night); color: #fff; }
.nd-section.dark .nd-eyebrow { color: #9fd0a7; }
.nd-section.dark a { color: #b9e3c0; }
.nd-section-head { max-width: var(--measure); margin-bottom: 21px; }
.nd-prose { max-width: var(--measure); }
/* a page's main text: the standard body size (--text-size) */
.nd-text { font-size: var(--text-size); }
.nd-prose.nd-prose-wide { max-width: none; } /* the full content width, lined up with the menu's right edge (donate.php, so the form starts higher on the page) */
.nd-prose-wide p, .nd-prose-wide li { max-width: none; }
/* a small italic side note under the main text (e.g. donate.php's note about Zeffy's optional tip) */
.nd-prose .nd-note { font-size: 15px; font-style: italic; color: var(--ink-soft); margin-top: 64px; } /* 64px: collapses with the paragraph above's 14px bottom margin, so 50px more space than a normal paragraph gap */
.nd-prose ul { padding-left: 22px; }
.nd-prose li { margin: 4px 0; }
.nd-center { text-align: center; margin-left: auto; margin-right: auto; }

/* Home hero: three photos that fade into each other, each with its own words */
.nd-hero { position: relative; min-height: 560px; color: #fff; overflow: hidden; background: var(--night); }
.nd-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: center; }
.nd-slide.on { opacity: 1; }
.nd-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 34, 26, .78), rgba(20, 34, 26, .25) 70%); }
.nd-slide .nd-wrap { position: relative; width: 100%; }
.nd-slide h1 { font-size: clamp(36px, 7vw, 68px); text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.nd-slide .nd-sl-small { font-size: clamp(18px, 2.4vw, 24px); font-weight: 500; margin: 0 0 10px; opacity: .95; }
.nd-slide .nd-sl-date { font-size: clamp(24px, 3.6vw, 38px); font-weight: 700; margin: 16px 0 0; }
.nd-slide ul { list-style: none; padding: 0; margin: 18px 0 0; font-size: clamp(18px, 2.4vw, 24px); font-weight: 600; }
.nd-slide li { margin: 6px 0; }
.nd-dots { position: absolute; left: 0; right: 0; bottom: 20px; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.nd-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; }
.nd-dots button.on { background: #fff; }

/* Home: thanks band */
.nd-thanks { background: var(--brand); color: #fff; padding: 42px 0; text-align: center; }
.nd-thanks h2 { color: #fff; margin-bottom: 18px; }
.nd-thanks p { font-size: clamp(18px, 2.2vw, 22px); max-width: var(--measure); margin: 0 auto 18px; }
.nd-thanks .nd-big { font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -0.02em; margin: 8px auto 18px; } /* auto sides: centered like the band's other paragraphs */
.nd-thanks a { color: #fff; font-weight: 700; }
.nd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nd-card { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.nd-card h3 { margin-bottom: 10px; }
.nd-card p:last-child { margin-bottom: 0; }
.nd-address { text-align: center; }
.nd-address h2 { margin-bottom: 8px; }
.nd-address .nd-sub-h { font-size: 20px; color: var(--ink-soft); font-weight: 600; margin: 0 0 14px; }

/* Team */
.nd-team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.nd-person { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.nd-person h3 { margin-bottom: 4px; }
.nd-person .nd-role { color: var(--accent); font-weight: 700; font-size: 15px; margin: 0 0 10px; }
.nd-person p { font-size: 16px; color: var(--ink-soft); }
.nd-person p:last-child { margin-bottom: 0; }
.nd-names { columns: 3; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.nd-names li, .nd-names-wide li { max-width: none; }
.nd-names li { break-inside: avoid; padding: 3px 0; border-bottom: 1px solid var(--line); }
.nd-volunteer-photo { border-radius: var(--radius); margin: 0 0 28px; max-width: min(520px, 100%); }

/* Schedule */
.nd-day { padding: 36px 0; border-top: 1px solid var(--line); }
.nd-day h2 { margin-bottom: 17px; color: var(--accent); }
.nd-day-grid { max-width: var(--schedule-max); display: grid; grid-template-columns: minmax(300px, 365px) 1fr; gap: 20px; align-items: start; }
.nd-box { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.nd-box.side { background: var(--frost); }
.nd-box h3 { color: var(--accent); margin: 0 0 12px; font-size: 20px; }
.nd-box h3:not(:first-child) { margin-top: 16px; }
.nd-list { list-style: none; padding: 0; margin: 0; }
.nd-list li { margin: 0 0 12px; font-size: 16px; }
.nd-list li:last-child { margin-bottom: 0; }
.nd-event { padding: 14px 0; border-top: 1px solid var(--line); }
.nd-event:first-of-type { border-top: 0; padding-top: 0; }
.nd-event:last-child { padding-bottom: 0; }
.nd-event .nd-when { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.nd-event p { margin: 0 0 8px; font-size: 16px; }
.nd-event p:last-child { margin-bottom: 0; }

/* Support / Contact */
.nd-columns3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nd-donate { display: grid; grid-template-columns: 1fr 220px; gap: 36px; align-items: center; }
.nd-donate .nd-zeffy { text-align: center; font-weight: 700; }
/* the Zeffy donation form embedded on donate.php: the form itself is Zeffy's page (its colors are set in Zeffy), so only its frame is styled here */
.nd-zeffy-embed { max-width: 720px; height: 1200px; margin-top: 10px; scroll-margin-top: calc(var(--nav-h) + 16px); background: var(--frost); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 40px -28px rgba(23, 38, 29, .35); }
.nd-zeffy-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 560px) { .nd-zeffy-embed { height: 1400px; } }
/* donate.php side by side: the text on the left, the form on the right so it starts at the top of the page; stacked below 960px */
.nd-donate-split { display: grid; grid-template-columns: minmax(0, 1fr) min(560px, 45%); gap: 48px; align-items: start; } /* the form gives up width before the text gets cramped */
.nd-donate-split .nd-zeffy-embed { margin-top: 0; }
@media (max-width: 960px) { .nd-donate-split { grid-template-columns: 1fr; gap: 10px; } }
.nd-form { max-width: var(--measure); } /* forms line up with the body text (standard width) */
.nd-form label { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; color: var(--ink-soft); }
.nd-form .nd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nd-form input[type=text], .nd-form input[type=email], .nd-form select, .nd-form textarea { display: block; width: 100%; min-height: 48px; padding: 10px 16px; font: inherit; font-size: 16px; color: var(--ink); background: var(--snow); border: 1px solid var(--input-border); border-radius: 12px; outline: none; }
.nd-form textarea { min-height: 150px; resize: vertical; }
.nd-form input:focus, .nd-form select:focus, .nd-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.nd-form .nd-btn { margin-top: 22px; }
.nd-form .nd-form-section { font-size: 20px; margin: 32px 0 6px; } /* a group of questions inside a form (boothQuestions.php) */
.nd-form .nd-field-note { font-size: 15px; color: var(--ink-soft); margin: 4px 0 8px; }
.nd-form ul.nd-field-note { padding-left: 20px; }
.nd-form .nd-choice { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; margin: 8px 0 0; cursor: pointer; } /* a radio-button answer */
.nd-form .nd-choice input { width: 18px; height: 18px; accent-color: var(--accent); }
.nd-error { background: #fdecea; color: #b42318; border-radius: 12px; padding: 12px 16px; font-weight: 600; margin-bottom: 8px; }

/* Footer */
.nd-footer { background: var(--night); color: var(--night-soft); }
.nd-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-top: 36px; padding-bottom: 26px; }
.nd-footer h3 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.nd-footer p { font-size: 15px; }
.nd-footer-btns .nd-btn { min-height: 42px; margin: 0 8px 8px 0; }
.nd-social img { border-radius: 8px; }
.nd-copy { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: 14px; }

@media (max-width: 960px) {
  .nd-cards, .nd-columns3 { grid-template-columns: 1fr; }
  .nd-day-grid { grid-template-columns: 1fr; }
  .nd-team { grid-template-columns: 1fr; }
  .nd-names { columns: 2; }
  .nd-donate { grid-template-columns: 1fr; }
  .nd-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --nav-h: 64px; }
  .nd-brand img { height: calc(var(--nav-h) - 4px); }
  .nd-section { padding: 31px 0; }
  .nd-hero { min-height: 480px; }
  .nd-form .nd-row { grid-template-columns: 1fr; }
}
/* compact menu: layout.php adds .nd-compact to the header whenever the full menu would not fit beside the logo */
.nd-compact .nd-menu-btn { display: grid; }
.nd-compact .nd-navlinks { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; padding: 8px var(--gutter) 22px; background: var(--snow); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -20px rgba(23, 38, 29, .35); max-height: calc(100vh - var(--nav-h)); overflow: auto; }
.nd-compact.open .nd-navlinks { display: block; }
.nd-compact .nd-menu { flex-direction: column; align-items: stretch; gap: 0; }
.nd-compact .nd-menu > li > a, .nd-compact .nd-sub-toggle { display: flex; width: 100%; min-height: 52px; font-size: 17px; color: var(--ink); border-bottom: 1px solid #e7efe9; justify-content: space-between; }
.nd-compact .nd-menu > li.is-current > a, .nd-compact .nd-menu > li.is-current > .nd-sub-toggle { color: #fff; width: calc(100% + 24px); } /* the current page's green pill keeps white text; same text position as the other items (the pill reaches 12px past each side) */
.nd-compact .nd-sub { position: static; display: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
.nd-compact .nd-has-sub:hover > .nd-sub { display: none; }
.nd-compact .nd-has-sub.open > .nd-sub { display: block; }
@media (max-width: 560px) {
  .nd-footer-grid { grid-template-columns: 1fr; }
  .nd-names { columns: 1; }
}
.nd-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }

/* second-level dropdown (e.g. Info > About Bookstock): opens to the side of its entry */
.nd-has-fly { position: relative; }
.nd-fly-toggle { width: 100%; justify-content: space-between; padding: 9px 12px !important; border-radius: 10px; font-weight: 500 !important; }
.nd-has-fly:hover > .nd-fly-toggle, .nd-has-fly.open > .nd-fly-toggle, .nd-has-fly.is-current > .nd-fly-toggle { background: var(--accent-soft); color: var(--accent); }
.nd-fly { list-style: none; margin: 0; padding: 8px; position: absolute; top: -9px; left: calc(100% + 2px); min-width: 230px; background: var(--snow); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 40px -20px rgba(23, 38, 29, .35); display: none; }
.nd-fly::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }
.nd-has-fly:hover > .nd-fly, .nd-has-fly:focus-within > .nd-fly, .nd-has-fly.open > .nd-fly { display: block; }
.nd-has-fly.nd-fly-left > .nd-fly { left: auto; right: calc(100% + 2px); } /* set by layout.php's menu script when the right side has no room */
.nd-has-fly.nd-fly-left > .nd-fly::before { left: auto; right: -8px; }
.nd-compact .nd-fly { position: static; box-shadow: none; border: 0; min-width: 0; padding: 0 0 4px 14px; }
.nd-compact .nd-has-fly:hover > .nd-fly { display: none; }
.nd-compact .nd-has-fly.open > .nd-fly { display: block; }
.nd-footer-btns .nd-btn { width: 150px; }
.nd-fly-toggle { display: flex; align-items: center; font: inherit; font-size: 15px; color: var(--ink-soft); background: none; border: 0; cursor: pointer; text-align: left; }
.nd-fly-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

/* Inner pages */
.nd-prose h2 { margin: 18px 0 10px; font-size: clamp(22px, 3vw, 28px); }
.nd-prose h2:first-child { margin-top: 0; }
.nd-prose.nd-long ul ul { margin-top: 6px; }
.nd-prose.nd-long { max-width: var(--measure); }
.nd-wide { display: block; width: 100%; max-width: 100%; height: auto; border-radius: var(--radius); }
.nd-linklist { list-style: none; padding: 0; margin: 20px 0; }
.nd-linklist li { margin: 0 0 12px; }
.nd-linklist a { display: block; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--snow); font-weight: 700; text-decoration: none; }
.nd-linklist a:hover { border-color: var(--accent); background: var(--accent-soft); }
.nd-prose + .nd-videos { margin-top: 24px; } /* videos straight after the intro text (bookstockOnVideo.php) */
.nd-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.nd-video p { font-size: 16px; color: var(--ink-soft); }
.nd-embed { position: relative; aspect-ratio: 16 / 9; margin-bottom: 14px; border-radius: 12px; overflow: hidden; background: #000; }
.nd-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nd-hours { max-width: 32em; margin: 22px 0; }
.nd-hours p { margin: 0 0 4px; }
.nd-names-wide { columns: 3; }
@media (min-width: 1100px) { .nd-names, .nd-names-wide { columns: 4; } }
.nd-events-list li { padding: 8px 0; border-bottom: 1px solid var(--line); margin: 0; }
.nd-thanks-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.nd-thanks-cols h2 { font-size: 22px; margin-bottom: 10px; }
.nd-thanks-cols ul { padding-left: 20px; margin: 4px 0 14px; }
.nd-plainlist { list-style: none; padding: 0 !important; }
.nd-plainlist li { padding: 2px 0; }
/* the big "thank you" graphic, rebuilt in HTML */
.nd-ty-wrap { max-width: 768px; margin: 0 auto; }
.nd-ty-card { font-family: Inter, system-ui, sans-serif; text-align: center; padding: 27px 8px 8px; background: linear-gradient(#58758a, #6e9e75); }
.nd-ty-inner { background: #fff; padding: 22px 16px 30px; }
.nd-ty-logo { font-weight: 800; font-size: clamp(36px, 11vw, 96px); line-height: 1; letter-spacing: -0.04em; margin: 0; color: #6e9e75; white-space: nowrap; }
.nd-ty-logo span { color: #58758a; }
.nd-ty-big { font-weight: 800; font-style: italic; font-size: clamp(16px, 3.8vw, 31px); line-height: 1.25; margin: 32px 0 0; }
.nd-ty-thanks { font-weight: 800; font-style: italic; font-size: clamp(34px, 8.4vw, 70px); line-height: 1.05; letter-spacing: -0.03em; color: #6e9e75; margin: 4px 0; }
.nd-ty-lines { margin: 30px 0 0; text-align: left; font-weight: 600; font-size: clamp(9px, 1.55vw, 12.5px); line-height: 1.2; }
.nd-ty-lines p { margin: 0 0 11px; }
.nd-ty-lines b { color: #58758a; font-weight: 800; }
.nd-ty-lines b.g { color: #6e9e75; }
.nd-ty-grateful { font-weight: 800; font-size: clamp(14px, 3.2vw, 24px); color: #6e9e75; margin: 30px 0 0; }
@media (max-width: 960px) { .nd-videos, .nd-thanks-cols { grid-template-columns: 1fr; } .nd-names-wide { columns: 2; } }
@media (max-width: 560px) { .nd-names-wide { columns: 1; } }

/* sponsorship-levels table (green cells = benefit included at that level) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sponsor-table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); max-width: var(--measure); } /* standard text width (sponsor.php); position: relative keeps the table's .sr-only labels inside this scroll box (otherwise they widen the whole page on a phone) */
.nd-prose + .sponsor-table-wrap { margin-top: 24px; } /* the table sits under the intro text */
.sponsor-table-wrap + .nd-sponsor-form { margin-top: 40px; } /* sponsor.php: the sign-up form (or its thank-you) under the levels table */
.nd-sponsor-form h2 { font-size: clamp(22px, 3vw, 28px); margin-bottom: 4px; }
.sponsor-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sponsor-table caption { background: var(--night); color: #fff; font-size: 22px; font-weight: 800; padding: 14px 16px; text-align: center; border-radius: var(--radius) var(--radius) 0 0; }
.sponsor-table th, .sponsor-table td { border: 1px solid #fff; padding: 10px 12px; text-align: center; }
.sponsor-table thead th { background: var(--frost); font-weight: 700; text-transform: uppercase; }
.sponsor-table tr.level th { text-transform: none; font-size: 18px; }
.sponsor-table tr.level th[scope=row] { font-style: italic; font-weight: 400; text-align: left; }
.sponsor-table tbody th { text-align: left; font-weight: 500; background: var(--frost); border-color: var(--line); }
.sponsor-table td.no { background: var(--frost); border-color: var(--line); }
.sponsor-table td.yes { background: var(--brand); color: #fff; font-weight: 700; font-size: 20px; }
.sponsor-table td.val { font-size: 15px; }

/* ── Volunteer shifts (volunteer.php, moved from the portal 2026-10-26) ── */
.vs-link { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; color: var(--accent); text-decoration: underline; cursor: pointer; }
.vs-heading { font-size: clamp(22px, 3vw, 28px); margin: 8px 0 16px; }
.vs-heading-first { margin-top: -12px; } /* "My Signups", 20px higher than the usual 8px (user, 2026-10-26) */
.vs-empty { color: var(--ink-soft); margin: 0 0 24px; }
.vs-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; max-width: var(--schedule-max); }
.vs-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) 150px; gap: 20px; align-items: start; }
.vs-when { text-align: right; padding-top: 18px; }
.vs-date { font-weight: 700; }
.vs-time { color: var(--ink-soft); font-size: 15px; }
.vs-card { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.vs-title-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 6px; }
.vs-title-row h3 { font-size: 19px; }
.vs-needed { font-size: 14px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.vs-needed.full { color: var(--muted); }
.shift-card-desc { font-size: 16px; color: var(--ink-soft); }
.desc-toggle { white-space: nowrap; }
.desc-extra { display: block; margin-top: 6px; }
.shift-reqs { margin-top: 6px; font-size: 16px; }
.roster-label { font-size: 13px; font-weight: 600; color: var(--muted); }
.req-label { font-size: 16px; color: var(--ink-soft); }
.req-tag { background: #fff3c4; padding: 1px 6px; border-radius: 4px; }
.vs-roster { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.vs-avatar { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: #fff; font-size: 11px; font-weight: 700; }
.vs-avatar::after { content: attr(data-name); position: absolute; bottom: calc(100% + 4px); left: 50%; transform: translateX(-50%); background: var(--night); color: #fff; font-size: 12px; font-weight: 400; white-space: nowrap; padding: 3px 8px; border-radius: 6px; opacity: 0; pointer-events: none; z-index: 5; }
.vs-avatar:hover::after { opacity: 1; }
.vs-action { padding-top: 12px; }
.vs-signup { min-height: 40px; padding: 0 20px; font-size: 15px; }
.vs-edit { background: #2f6fb0; } /* your own sign-up: a blue Edit button instead of the green Sign up */
.vs-edit:hover { background: #255a91; }
.vs-party { margin-top: 6px; font-size: 14px; color: var(--ink-soft); }
.vs-edit-cancel { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.vs-edit-cancel .vs-link { font-size: 15px; color: #b42318; }
.vs-badge { display: inline-block; background: var(--accent-soft); color: var(--accent); border: 1px solid #b8d4be; border-radius: 999px; padding: 5px 14px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.vs-cancel-form { margin: 6px 0 0; }
.vs-cancel-form .vs-link { font-size: 14px; color: var(--muted); }
.vs-turnstile { margin-top: 18px; }
.vs-overlay { position: fixed; inset: 0; z-index: 50; background: rgba(23, 38, 29, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.vs-overlay[hidden], .vs-dialog [hidden] { display: none !important; } /* "hidden" must win over grid/flex layouts (e.g. unused friend rows) */
.vs-dialog { position: relative; background: var(--snow); border-radius: var(--radius); padding: 28px 30px; width: 100%; max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 30px 60px -20px rgba(23, 38, 29, .5); }
.vs-dialog h2 { font-size: 24px; margin: 0 0 4px; }
.vs-dialog .nd-form { max-width: none; }
.vs-dialog-small { max-width: 440px; }
.vs-dialog-small p { font-size: 17px; margin: 0; }
.vs-dialog-shift { color: var(--ink-soft); margin: 0 0 8px; }
.vs-dialog-who { margin: 14px 0 0; }
.vs-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; }
.vs-email-row { grid-template-columns: 1fr 140px; }
.vs-who { border: 0; border-top: 1px solid var(--line); margin: 22px 0 0; padding: 14px 0 0; }
.vs-who legend { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; }
.vs-radio { display: flex !important; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px !important; font-weight: 500 !important; margin: 10px 0 0 !important; cursor: pointer; }
.vs-radio input[type=number] { width: 70px; min-height: 36px; padding: 4px 8px; font: inherit; border: 1px solid var(--input-border); border-radius: 8px; }
.vs-friend { margin-top: 4px; }
.vs-dialog-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.vs-dialog-buttons .nd-btn { margin-top: 0; }
.vs-btn-outline { border: 1px solid var(--accent); }
@media (max-width: 820px) {
  .vs-row { grid-template-columns: 1fr; gap: 6px; }
  .vs-when { text-align: left; padding-top: 0; display: flex; gap: 10px; align-items: baseline; }
  .vs-action { padding-top: 4px; }
  .vs-email-row { grid-template-columns: 1fr; }
  .vs-dialog { padding: 24px 18px; }
}

/* Popup message (layout.php, every page): a one-time message in a box in the middle of the screen, with a Continue button */
.nd-popup { position: fixed; inset: 0; z-index: 60; background: rgba(23, 38, 29, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.nd-popup[hidden] { display: none; }
.nd-popup-box { background: var(--snow); border-radius: var(--radius); padding: 28px 30px 24px; width: 100%; max-width: 440px; text-align: center; box-shadow: 0 30px 60px -20px rgba(23, 38, 29, .5); }
.nd-popup-box p { margin: 0 0 22px; font-size: 17px; color: var(--ink); }
.nd-popup-box .nd-btn { min-width: 140px; }
