:root {
  --paper: #ffffff;
  --paper-deep: #eefafa;
  --navy: #012873;
  --navy-dark: #001b4f;
  --teal: #007d82;
  --aqua: #68c5c9;
  --coral: #007d82;
  --sand: #ffffff;
  --ink: #012873;
  --muted: #4d648e;
  --line: rgba(1, 40, 115, .18);
  --line-height-heading: 1.08;
  --line-height-body: 1.5;
  --font-lato: "Lato";
  --font-brush: "Kaushan Script";
  --page-gutter: clamp(32px, 7vw, 136px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-lato), Lato, Arial, sans-serif; line-height: var(--line-height-body); }
h1, h2, h3 { line-height: var(--line-height-heading); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

body::before { display: none; }

.site-nav { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--page-gutter); border-bottom: 1px solid rgba(1,40,115,.16); position: relative; z-index: 5; color: var(--navy); background: rgba(255,255,255,.96); }
.site-nav nav a { color: var(--navy); }
.site-nav nav, .admin-view header > div { display: flex; gap: 28px; align-items: center; }
.site-nav nav a, .admin-view header a { font-size: 13px; font-weight: 600; text-decoration: none; letter-spacing: .03em; }
.site-nav nav a { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.logo-lockup { display: flex; align-items: center; gap: 10px; }
.logo-lockup img { width: 48px; height: auto; display: block; }
.logo-lockup span { color: var(--navy); font-family: var(--font-brush), "Segoe Print", cursive; font-size: 19px; line-height: 1.1; white-space: nowrap; }
.view-title { color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .12em; line-height: 1.2; text-transform: uppercase; }
.view-title--inverse { color: #fff; }
.eyebrow { margin: 0 0 18px; color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.hero { min-height: 600px; height: calc(100svh - 72px); max-height: 840px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 72px var(--page-gutter) 54px; background: url('/assets/images/shoreline-sea.png') 62% center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; width: auto; height: auto; background: linear-gradient(90deg, rgba(1,26,88,.92) 0%, rgba(1,40,115,.74) 43%, rgba(1,40,115,.24) 69%, rgba(1,40,115,.05) 100%), linear-gradient(0deg, rgba(1,40,115,.42), transparent 52%); filter: none; border-radius: 0; transform: none; }
.hero-copy { max-width: 900px; position: relative; z-index: 2; }
.hero h1 { margin: 0; color: #fff; font-family: var(--font-lato), Lato, Arial, sans-serif; font-size: clamp(48px, 5vw, 78px); font-style: italic; font-weight: 700; line-height: 1.12; letter-spacing: .005em; white-space: nowrap; text-shadow: 0 4px 22px rgba(1,20,67,.28); }
.hero h1 em { color: #69d8d8; font-style: italic; font-weight: 700; white-space: nowrap; }
.hero .eyebrow { color: #a7f0ee; }
.hero-intro { max-width: 600px; margin: 32px 0 32px; color: #fff; font-size: 18px; font-weight: 700; line-height: var(--line-height-body); }
.hero .primary-button { background: #69d8d8; color: var(--navy); box-shadow: none; }
.hero-button { min-height: 48px; border-radius: 0; gap: 14px; }
.button-arrow { display: inline-block; font-size: 14px; font-weight: 900; line-height: 1; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 54px; padding: 0 25px; border: 0; border-radius: 2px 17px 2px 17px; background: var(--navy); color: #fff; box-shadow: 6px 7px 0 rgba(6,60,82,.12); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s; }
.primary-button:hover { transform: translateY(-2px); background: var(--teal); }
.primary-button:disabled { cursor: not-allowed; opacity: .4; transform: none; }
.scroll-note { position: absolute; z-index: 2; left: var(--page-gutter); bottom: 28px; margin: 0; color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.scroll-note span { display: none; }

.pledge-section { padding: 88px var(--page-gutter); background: #f5fbfb; border-top: 1px solid rgba(1,40,115,.1); }
.section-heading { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-heading h2, .submission-copy h2, .collective h2, .admin-heading h1 { margin: 0; color: var(--navy); font-size: clamp(48px,5vw,72px); font-weight: 900; line-height: var(--line-height-heading); letter-spacing: -.035em; }
.section-heading h2 { font-style: italic; font-weight: 700; letter-spacing: .005em; }
.section-heading > p:last-child { max-width: 520px; margin: 22px auto 0; color: var(--muted); font-weight: 700; line-height: var(--line-height-body); }
.pledge-layout { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line); background: #fff; box-shadow: 0 24px 55px rgba(1,40,115,.08); }
.pledge-form { padding: clamp(30px,5vw,70px); border-right: 1px solid var(--line); }
.pledge-form label, .admin-login label, .admin-panel > label { display: block; margin: 0 0 10px; color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pledge-form label { font-size: 15px; letter-spacing: 0; }
.pledge-form label:not(:first-child) { margin-top: 32px; }
input, textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(6,60,82,.35); border-radius: 0; outline: none; background: transparent; color: var(--ink); }
input { height: 48px; padding: 0; font-size: 16px; }
textarea { padding: 12px 0; resize: vertical; font-size: 16px; line-height: 1.5; }
input:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 2px 0 var(--teal); }
input::placeholder, textarea::placeholder { color: #93a19b; font-size: 14px; opacity: 1; }
.field-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 11px; color: var(--muted); font-size: 11px; }
.field-meta strong { color: var(--navy); white-space: nowrap; }
.field-meta .at-limit { color: var(--coral); }
.form-submit { width: 100%; margin-top: 38px; }
.privacy-note { margin: 18px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.inspiration { padding: clamp(30px,4.5vw,64px); background: rgba(102,191,192,.09); }
.inspiration h3 { margin: 0 0 24px; color: var(--navy); font-size: 31px; font-weight: 700; line-height: var(--line-height-heading); letter-spacing: -.01em; }
.brief-examples { margin: 0; color: var(--muted); font-size: 15px; font-weight: 700; line-height: var(--line-height-body); }
.brief-examples b { color: var(--teal); }
.brief-example-list { margin: 12px 0 0; padding-left: 20px; }
.brief-example-list li { margin: 0 0 9px; padding: 0; border: 0; display: list-item; font-size: 14px; font-weight: 700; line-height: var(--line-height-body); }
.inspiration ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.inspiration li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 700; line-height: 1.35; }
.inspiration li span { padding-top: 3px; color: var(--teal); font: 700 9px var(--font-sans), sans-serif; letter-spacing: .1em; }
.inspiration .brief-example-list { margin: 12px 0 0; padding-left: 18px; border: 0; list-style: disc; }
.inspiration .brief-example-list li { display: list-item; padding: 0; margin: 0 0 9px; border: 0; font-size: 14px; font-weight: 700; line-height: var(--line-height-body); }
.inspiration .brief-example-list li::marker { color: var(--teal); font-size: .9em; }
.inspiration-note { margin: 24px 0 0; color: var(--muted); font-size: 11px; font-style: italic; }

.submission-moment { max-width: 1140px; margin: 0 auto; padding: clamp(30px,5vw,72px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(35px,7vw,90px); align-items: center; background: rgba(102,191,192,.1); border: 1px solid var(--line); }
.submission-copy h2 { font-size: clamp(34px,3.2vw,50px); font-weight: 700; line-height: 1.18; letter-spacing: -.015em; }
.submission-copy > p:not(.eyebrow) { margin: 25px 0; color: var(--muted); }
.submission-actions { display: flex; align-items: center; gap: 25px; flex-wrap: wrap; }
.text-link { color: var(--teal); font-size: 12px; font-weight: 700; text-transform: uppercase; text-underline-offset: 5px; }

.collective { padding: 88px var(--page-gutter); overflow: hidden; position: relative; background: linear-gradient(145deg, var(--navy) 0%, #004f82 100%); color: #eef8f3; }
.collective::before { display: none; }
.collective-intro { max-width: 980px; margin: 0 auto 54px; position: relative; z-index: 2; text-align: center; }
.collective .eyebrow { color: #8dd1cc; }
.collective h2 { color: #69d8d8; font-size: clamp(43px,5vw,74px); font-style: italic; font-weight: 700; line-height: 1.12; letter-spacing: .005em; }
.collective h2 em { color: #8ed1ca; font-style: italic; font-weight: 700; }
.impact-count, .wall-count { display: inline-flex; align-items: center; gap: 22px; margin-top: 45px; text-align: left; }
.impact-count > strong, .wall-count > strong { color: var(--paper); font-size: 104px; font-weight: 900; line-height: 1; }
.impact-count div, .wall-count div { display: flex; flex-direction: column; gap: 5px; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.3); }
.impact-count b, .wall-count b { font-size: 28px; font-weight: 900; }
.impact-count span, .wall-count span { color: #a7cbc8; font-size: 12px; }
.card-grid { max-width: 1260px; margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; position: relative; z-index: 2; }
.swipe-hint { display: none; }
.pledge-card { min-height: 0; aspect-ratio: 1 / 1.04; padding: 0; position: relative; overflow: hidden; display: flex; flex-direction: column; background: #f8fcff url('/assets/images/pledge-card-reference.jpg') center / cover no-repeat; color: var(--ink); border: 0; border-radius: 22px; box-shadow: 0 18px 38px rgba(0,20,74,.24); }
.pledge-card--featured { min-height: 470px; aspect-ratio: 1 / 1.04; }
.postcard-message { min-height: 62%; margin: 7% 7% 31%; padding: clamp(22px,3vw,34px); position: relative; z-index: 3; display: flex; flex: 1; flex-direction: column; border-radius: 18px; background: rgba(255,255,255,.82); }
.postcard-kicker { margin: 0; color: var(--teal); font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.pledge-card blockquote { margin: 18px 0 16px; position: relative; z-index: 1; color: var(--navy); font-size: clamp(15px,1.35vw,19px); font-weight: 700; line-height: 1.42; }
.pledge-card--featured blockquote { font-size: clamp(23px,2.1vw,34px); }
.postcard-name { margin: auto 0 0; position: relative; z-index: 1; color: var(--teal); font-size: 14px; font-weight: 900; line-height: var(--line-height-body); letter-spacing: .05em; text-transform: uppercase; }
.live-note, .wall-live { margin: 46px 0 0; position: relative; z-index: 2; color: #a7cbc8; font-size: 10px; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.live-note span, .wall-live span { width: 7px; height: 7px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #7fd2ac; box-shadow: 0 0 0 4px rgba(127,210,172,.15); }

footer { min-height: 72px; padding: 18px var(--page-gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--navy-dark); color: var(--paper); }
footer .view-title { color: #fff; }
footer .view-title,
footer > div:last-child { font-size: 11px; font-weight: 400; letter-spacing: normal; line-height: var(--line-height-body); text-transform: uppercase; }
footer > p { font-size: 18px; font-weight: 700; line-height: var(--line-height-body); }
footer > div:last-child { display: flex; gap: 22px; }

/* Live wall */
.wall-view { min-height: 100vh; height: 100svh; overflow-x: hidden; overflow-y: auto; position: relative; background: linear-gradient(145deg, var(--navy) 0%, #004f82 100%); color: var(--paper); }
.wall-view::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 130px rgba(2,32,47,.62); }
.wall-topbar { height: 88px; padding: 0 clamp(30px,4vw,68px); position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.16); }
.wall-topbar > a { color: #b8d6d0; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.wall-watercolour { display: none; }
.wall-content { height: calc(100vh - 330px); min-height: 400px; padding: clamp(35px,5vh,70px) clamp(35px,6vw,100px) 20px; display: grid; grid-template-columns: minmax(0,1fr) minmax(430px,.78fr); gap: 6vw; align-items: center; position: relative; z-index: 2; }
.wall-message .eyebrow { color: #8ed1ca; }
.wall-message h1 { max-width: 850px; margin: 0; color: #69d8d8; font-size: clamp(42px,4.2vw,74px); font-style: italic; font-weight: 700; line-height: 1.12; letter-spacing: .005em; }
.wall-message h2 { max-width: 750px; margin: 13px 0 0; color: #8ed1ca; font-size: clamp(28px,3vw,52px); font-weight: 900; line-height: var(--line-height-heading); }
.wall-count { margin-top: 38px; }
.wall-count > strong { font-size: clamp(76px,7.5vw,125px); }
.wall-featured > p { margin: 0 0 13px; color: #9bcac5; font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.wall-featured-card { animation: featured-pledge-in 750ms cubic-bezier(.22,.8,.28,1) both; transform-origin: 50% 70%; will-change: opacity, transform; }
.wall-featured .pledge-card { min-height: 310px; }
.wall-featured .postcard-message { margin-bottom: 29%; padding: 18px 26px 22px; }
.wall-more-label { display: none; }
.wall-card-row { height: 230px; position: absolute; z-index: 3; left: 5%; right: 5%; bottom: -73px; display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; align-items: start; }
.wall-card-row > div { transform: translateY(calc((var(--card-index) % 2) * 12px)); }
.wall-card-row .pledge-card { height: 245px; min-height: 245px; aspect-ratio: auto; }
.wall-card-row .postcard-message { margin: 6% 6% 28%; padding: 10px 18px 18px; }
.wall-card-row .postcard-kicker { font-size: 7px; }
.wall-card-row blockquote { margin: 10px 0 8px; font-size: clamp(12px,1.12vw,17px); line-height: 1.25; }
.wall-card-row .postcard-name { font-size: 8px; }
@keyframes featured-pledge-in {
  0% { opacity: 0; transform: translate3d(28px,16px,0) scale(.96) rotate(.8deg); }
  65% { opacity: 1; transform: translate3d(-3px,-2px,0) scale(1.008) rotate(-.15deg); }
  100% { opacity: 1; transform: translate3d(0,0,0) scale(1) rotate(0); }
}
.wall-live { position: absolute; right: 4.5%; bottom: 16px; z-index: 5; margin: 0; }

/* Admin */
.admin-login { min-height: 100svh; padding: 34px clamp(20px,5vw,70px); display: flex; flex-direction: column; background: radial-gradient(circle at 85% 18%, rgba(0,125,130,.14), transparent 36%), #fff; }
.admin-login form { width: min(520px,100%); margin: auto; padding: 48px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(1,40,115,.12); }
.admin-login h1 { margin: 0; color: var(--navy); font-size: 48px; font-weight: 900; line-height: .95; }
.admin-login form > p:not(.eyebrow):not(.form-error) { color: var(--muted); line-height: 1.6; }
.admin-login label { margin-top: 30px; }
.admin-login .primary-button { width: 100%; margin: 25px 0 18px; }
.admin-login small { display: block; margin-bottom: 25px; color: var(--muted); }
.admin-login form > a { font-size: 12px; }
.form-error { color: #9b372b; font-size: 12px; }
.pledge-form .form-error { margin: 14px 0 -18px; }
.text-button { padding: 0; border: 0; background: transparent; color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: .03em; cursor: pointer; }
.logo-lockup { text-decoration: none; }
.admin-view { min-height: 100vh; background: #f5fbfb; }
.admin-view > header { height: 90px; padding: 0 clamp(20px,5vw,72px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.admin-heading { padding: 70px clamp(20px,6vw,90px); display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.admin-heading h1 { font-size: clamp(44px,5vw,70px); }
.admin-heading > div:first-child > p:last-child { color: var(--muted); }
.admin-total { min-width: 180px; padding: 20px; border-left: 1px solid var(--line); }
.admin-total strong { display: block; color: var(--teal); font-size: 65px; font-weight: 900; line-height: .8; }
.admin-total span { display: block; margin-top: 12px; font-size: 11px; text-transform: uppercase; }
.admin-panel { margin: 0 clamp(20px,5vw,72px) 70px; padding: 35px; background: #fff; border: 1px solid var(--line); }
.admin-panel > input { max-width: 530px; margin-bottom: 35px; }
.admin-table { border-top: 1px solid var(--line); }
.admin-row { min-width: 900px; padding: 17px 10px; display: grid; grid-template-columns: 1fr 2.3fr 1.05fr .7fr 1.15fr; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); font-size: 12px; }
.admin-row p { margin: 0; line-height: 1.45; }
.admin-row time { color: var(--muted); font-size: 10px; }
.admin-row--head { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.admin-row.is-hidden { opacity: .5; }
.status-pill { width: fit-content; padding: 5px 8px; background: rgba(10,124,130,.1); color: var(--teal); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.row-actions { display: flex; gap: 8px; }
.row-actions button { padding: 7px 10px; border: 1px solid var(--line); background: transparent; color: var(--navy); font-size: 10px; font-weight: 600; cursor: pointer; }
.row-actions .delete-button { color: #9b372b; }

@media (max-width: 900px) {
  .site-nav { height: 75px; }
  .site-nav nav a:first-child { display: none; }
  .hero { max-height: none; min-height: 850px; padding-top: 125px; }
  .hero-copy { align-self: center; }
  .hero h1, .hero h1 em { white-space: normal; }
  .hero h1 { font-size: clamp(48px,10vw,72px); }
  .hero-intro { font-size: 20px; }
  .scroll-note { display: none; }
  .pledge-layout, .submission-moment { grid-template-columns: 1fr; }
  .pledge-form { border-right: 0; border-bottom: 1px solid var(--line); }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .wall-content { height: calc(100vh - 240px); grid-template-columns: 1fr 42%; gap: 4vw; padding: 30px; }
  .wall-featured .pledge-card { min-height: 300px; }
  .wall-card-row { grid-template-columns: repeat(4,1fr); height: 170px; bottom: -65px; }
  .wall-card-row > div:nth-child(5) { display: none; }
  .wall-card-row .pledge-card { min-height: 170px; }
  .wall-card-row .pledge-card blockquote { font-size: 15px; }
  .admin-panel { overflow-x: auto; }
}

@media (max-width: 600px) {
  :root { --page-gutter: 24px; }
  .brand-words strong { font-size: 18px; }
  .brand-words span { font-size: 7px; }
  .qube-mark { width: 34px; height: 34px; }
  .site-nav { padding: 0 var(--page-gutter); }
  .site-nav nav { gap: 0; }
  .site-nav nav a { font-size: 9px; font-weight: 600; letter-spacing: .08em; }
  .hero { height: auto; min-height: 580px; padding: 22px var(--page-gutter); display: flex; align-items: center; background-position: 68% center; }
  .hero::before { background: linear-gradient(0deg, rgba(1,20,67,.94) 0%, rgba(1,40,115,.68) 58%, rgba(0,125,130,.12) 100%); }
  .hero-copy { width: 100%; margin: 0; padding: 0 18px 0 0; position: relative; z-index: 4; background: transparent; box-shadow: none; }
  .hero h1 { font-size: clamp(39px,11vw,46px); line-height: 1.07; letter-spacing: .012em; }
  .hero-intro { margin: 18px 0 22px; font-size: 16px; font-weight: 400; line-height: 1.55; }
  .hero .primary-button,
  .hero .primary-button:hover,
  .hero .primary-button:focus { background: #69d8d8; color: var(--navy); }
  .hero-photo-note { right: 20px; bottom: 26px; font-size: 27px; }
  .pledge-section { padding: 40px var(--page-gutter) 46px; }
  .section-heading { margin-bottom: 22px; text-align: left; }
  .section-heading .eyebrow { margin-bottom: 12px; }
  .section-heading h2 { font-size: 41px; line-height: 1.08; }
  .section-heading > p:last-child { margin: 14px 0 0; font-size: 14px; }
  .pledge-form, .inspiration { padding: 23px 20px; }
  .inspiration { order: -1; }
  .inspiration .eyebrow { margin-bottom: 13px; }
  .pledge-form { border-top: 1px solid var(--line); border-bottom: 0; }
  .pledge-form label:not(:first-child) { margin-top: 24px; }
  textarea { min-height: 128px; font-size: 16px; }
  .form-submit { margin-top: 28px; }
  .privacy-note { margin-top: 13px; }
  .field-meta { align-items: start; font-size: 10px; }
  .inspiration h3 { margin-bottom: 18px; font-size: 25px; }
  .inspiration-note { margin-top: 18px; }
  .submission-moment { padding: 24px; }
  .submission-copy h2 { font-size: 28px; line-height: 1.2; }
  .submission-moment .pledge-card blockquote { margin: 14px 0 12px; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere;}
  .submission-moment .pledge-card { order: -1; min-height: 350px; }
  .collective { padding: 58px var(--page-gutter) 48px; }
  .collective-intro { margin-bottom: 34px; text-align: left; }
  .collective h2 { font-size: 28px; line-height: 1.16; }
  .impact-count { gap: 13px; margin-top: 28px; }
  .impact-count > strong { font-size: 78px; }
  .impact-count div { padding-left: 13px; }
  .impact-count b { font-size: 21px; }
  .impact-count span { font-size: 10px; }
  .card-grid { width: calc(100vw - 10px); margin-left: -5px; padding: 6px 9vw 14px; display: flex; gap: 17px; overflow-x: auto; overscroll-behavior-x: contain; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .card-grid::-webkit-scrollbar { display: none; }
  .card-grid .pledge-card { min-width: 82vw; min-height: 330px; scroll-snap-align: center; }
  .swipe-hint { display: block; margin: 2px 0 0; color: #9bcac5; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-align: center; text-transform: uppercase; }
  .swipe-hint span { margin-left: 6px; font-size: 14px; }
  .live-note { margin-top: 28px; }
  .postcard-message { padding: 24px 24px 28px; }
  footer { min-height: 0; padding: 24px var(--page-gutter); display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
  footer > div:last-child { justify-content: flex-end; text-align: right; }
  footer > p { margin: 0; }
  .wall-view { min-height: 100svh; height: auto; overflow-y: auto; padding-bottom: 30px; }
  .wall-topbar { height: 72px; padding: 0 18px; }
  .wall-topbar > a { font-size: 9px; }
  .wall-content { height: auto; min-height: 0; padding: 52px 20px 30px; grid-template-columns: 1fr; }
  .wall-message { text-align: left; }
  .wall-message h1 { font-size: 28px; line-height: 1.16; }
  .wall-message h2 { font-size: 31px; }
  .wall-count > strong { font-size: 85px; }
  .wall-count b { font-size: 23px; }
  .wall-featured { margin-top: 35px; }
  .wall-featured .pledge-card { min-height: 430px; aspect-ratio: auto; }
  .wall-featured .postcard-message { min-height: 0; margin: 7% 6% 22%; padding: 20px 22px 22px; }
  .wall-featured .postcard-kicker { font-size: 8px; line-height: 1.4; }
  .wall-featured .pledge-card blockquote { margin: 14px 0 12px; font-size: 17px; line-height: 1.36; overflow-wrap: anywhere; }
  .wall-featured .postcard-name { font-size: 11px; }
  .wall-more-label { margin: 10px 20px 4px; position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .wall-more-label span { color: #9bcac5; font-size: 9px; letter-spacing: .08em; }
  .wall-card-row { width: 100%; height: auto; position: relative; left: auto; right: auto; bottom: auto; padding: 10px 20px 60px; display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .wall-card-row::-webkit-scrollbar { display: none; }
  .wall-card-row > div { min-width: 72vw; display: block; transform: none !important; scroll-snap-align: center; }
  .wall-card-row > div:nth-child(n) { display: block; }
  .wall-card-row .pledge-card { height: auto; min-height: 280px; aspect-ratio: 1 / 1.04; border-radius: 18px; }
  .wall-card-row .postcard-message { margin: 7% 6% 27%; padding: 16px 18px 18px; border-radius: 14px; }
  .wall-live { right: auto; left: 20px; bottom: 22px; }
  .admin-login { padding: 22px 16px; }
  .admin-login form { padding: 30px 22px; }
  .admin-login h1 { font-size: 42px; }
  .admin-view > header { padding: 0 16px; }
  .admin-view header > div { display: none; }
  .admin-heading { padding: 50px 20px; align-items: start; flex-direction: column; }
  .admin-total { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .admin-panel { margin: 0 16px 50px; padding: 22px 16px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* Consistent page spacing */
:root {
  --page-gutter: clamp(32px, 7vw, 136px);
}

.site-nav {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.hero {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.scroll-note {
  left: var(--page-gutter);
}

.pledge-section,
.collective {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

footer {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

.pledge-form input {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 600px) {
  :root {
    --page-gutter: 24px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 46px);
  }
}
/* QubeCares desktop pledge wall correction */
@media (min-width: 901px) {
  .wall-view {
    min-height: 100svh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 36px;
  }

  .wall-content {
    width: min(100%, 1720px);
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: clamp(54px, 6vh, 76px) clamp(52px, 5vw, 96px) 48px;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
    gap: clamp(64px, 7vw, 132px);
    align-items: center;
  }

  .wall-message {
    margin-top: 0;
    align-self: center;
  }

  .wall-message h1 {
    max-width: 760px;
    font-size: clamp(48px, 4vw, 68px);
  }

  .wall-featured {
    width: 100%;
    max-width: 520px;
    margin-top: 0;
    justify-self: end;
  }

  .wall-featured .pledge-card {
    width: 100%;
    min-height: 0;
  }

  .wall-featured .pledge-card blockquote {
    font-size: clamp(21px, 1.75vw, 29px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .wall-card-row {
    width: min(calc(100% - 104px), 1720px);
    height: auto;
    margin: 8px auto 0;
    padding: 0;
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .wall-card-row > div {
    min-width: 0;
    transform: none;
  }

  .wall-card-row > div:nth-child(n+5) {
    display: none;
  }

  .wall-card-row .pledge-card {
    width: 100%;
    height: auto;
    min-height: 250px;
    aspect-ratio: 1.3 / 1;
  }

  .wall-card-row .postcard-message {
    margin: 6% 6% 25%;
    padding: 14px 18px 18px;
  }

  .wall-live {
    margin: 28px auto 0;
    position: relative;
    right: auto;
    bottom: auto;
    text-align: center;
  }
}
@media (min-width: 901px) {
  .wall-card-row > div:nth-child(n) {
    display: block;
  }
}