/* VOICE: warm, assured consumer brand — generous, never pleading.
   IDEA: a sunlit lifestyle magazine feed where every card can be acted on.
   PICTURE: the featured request carousel, photo-led, with progress and Give Kindly in reach.
   COLOUR and TYPE: Kindness Palette (ivory ground, butter/peach tints, forest actions, espresso text);
   Bodoni Moda for wordmark and display, Figtree for interface.
   LAYOUT: three columns (discover rail, feed, impact rail) collapsing to one column + bottom nav. */
:root{
  --ivory:#FFFDF7; --butter:#F8E8A6; --peach:#F3C8B3; --forest:#294D3C; --espresso:#382820;
  /* supporting tints & functional colours (non-dominant) */
  --white:#FFFFFF; --butter-t:#FCF5D9; --peach-t:#FBEBE3; --sage-t:#E6EDE3; --forest-d:#1E3A2D;
  --line:#EEE4D6; --muted:#6B5748; --icon:#C76E42; --track:#F1E7DA; --alert:#B42318; --ok-t:#E3F0E6;
  --serif:'Bodoni Moda',Didot,'Times New Roman',serif; --sans:'Figtree',system-ui,-apple-system,sans-serif;
  --r-lg:24px; --r-md:18px; --r-sm:12px; --shadow:0 1px 2px rgba(56,40,32,.05),0 8px 24px rgba(56,40,32,.06);
  color-scheme:light;
}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:90px}
body{margin:0;background:var(--ivory);color:var(--espresso);font:16px/1.5 var(--sans);overflow-x:clip}
h1,h2,h3,p{margin:0}
a{color:var(--forest)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--forest);outline-offset:2px;border-radius:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
svg.i{width:22px;height:22px;flex:none;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* demo banner */
.demo{background:var(--espresso);color:var(--ivory);font-size:13px;text-align:center;padding:6px 12px}
.demo b{color:var(--butter)}

/* top nav */
.top{position:sticky;top:0;z-index:20;background:rgba(255,253,247,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.top-in{max-width:1560px;margin:0 auto;padding:10px 24px;display:flex;align-items:center;gap:20px}
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--espresso)}
.logo svg{width:52px;height:44px}
.word{font-family:var(--serif);font-weight:500;font-size:30px;letter-spacing:.02em;white-space:nowrap}
.nav{display:flex;gap:6px}
.nav a{padding:10px 16px;border-radius:14px;text-decoration:none;color:var(--espresso);font-weight:600;font-size:17px;white-space:nowrap}
.nav a[aria-current=page]{background:var(--butter);box-shadow:inset 0 -3px 0 #E5B53F}
.search{flex:1;max-width:420px;display:flex;align-items:center;gap:8px;background:#F4EEE6;border-radius:999px;padding:0 16px;height:46px}
.search input{border:0;background:none;outline:none;flex:1;font-size:16px}
.ibtn{width:46px;height:46px;border-radius:50%;border:0;background:none;display:grid;place-items:center;position:relative;cursor:pointer;color:var(--espresso)}
.ibtn .dot{position:absolute;top:9px;right:10px;width:10px;height:10px;border-radius:50%;background:var(--alert);border:2px solid var(--ivory)}
.avatar{width:46px;height:46px;border-radius:50%;background:var(--peach);display:grid;place-items:center;font-weight:700;color:var(--espresso);border:2px solid var(--white);box-shadow:var(--shadow);flex:none}
.avatar.sm{width:30px;height:30px;font-size:13px;border-width:1px}

/* shell */
.shell{max-width:1560px;margin:0 auto;padding:20px 24px 48px;display:grid;grid-template-columns:250px minmax(0,1fr) 360px;gap:20px;align-items:start}
.shell.two{grid-template-columns:250px minmax(0,1fr)}
.card{background:var(--white);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow)}
.side{padding:18px 12px;position:sticky;top:96px;max-height:calc(100vh - 110px);overflow:auto}
.side h2{font-size:21px;font-weight:700;padding:0 12px 8px}
.side a,.side button.cat-t{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:14px;text-decoration:none;color:var(--espresso);font-size:17px;width:100%;border:0;background:none;cursor:pointer;text-align:left}
.side a .i{color:var(--icon)}
.side a[aria-current=page]{background:var(--sage-t);font-weight:600}
.side a[aria-current=page] .i{color:var(--forest)}
.side a:hover{background:#FAF4EC}
.side .cats a{font-size:16px;padding:8px 12px}
.cat-t{font-weight:700;font-size:19px!important;justify-content:space-between;margin-top:10px}

/* hero carousel */
.hero{position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--peach-t)}
.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.slides::-webkit-scrollbar{display:none}
.slide{flex:0 0 100%;scroll-snap-align:start;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);min-height:360px}
.slide .ph{border-radius:0}
.slide .txt{padding:28px 36px 32px 28px;display:flex;flex-direction:column;gap:14px;justify-content:center;background:linear-gradient(90deg,rgba(251,235,227,0),var(--peach-t) 14%)}
.slide h1{font-family:var(--serif);font-weight:500;font-size:clamp(30px,3vw,44px);line-height:1.05;text-wrap:balance}
.who{display:flex;align-items:center;gap:10px;font-size:15px}
.arrow{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border-radius:50%;border:0;background:var(--white);box-shadow:var(--shadow);display:grid;place-items:center;cursor:pointer;z-index:2}
.arrow.l{left:14px}.arrow.r{right:14px}
.dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:8px}
.dots button{width:10px;height:10px;border-radius:50%;border:0;background:rgba(56,40,32,.25);padding:0;cursor:pointer}
.dots button[aria-current=true]{background:var(--espresso)}

/* chips & badges */
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;font-size:14px;font-weight:600;border:1.5px solid #E7B9A1;background:rgba(255,255,255,.55);white-space:nowrap}
.chip.v{background:var(--butter);border-color:var(--butter)}
.chip.ok{background:var(--ok-t);border-color:var(--ok-t);color:var(--forest-d)}
.chip.s{font-size:12px;padding:3px 9px}
.chip svg.i{width:15px;height:15px;stroke-width:2.6}

/* progress */
.bar{height:10px;border-radius:99px;background:var(--track);overflow:hidden}
.hero .bar{background:var(--white)}
.bar i{display:block;height:100%;background:var(--forest);border-radius:99px}
.bar.s{height:7px}
.nums{display:flex;justify-content:space-between;gap:8px;font-size:15px;white-space:nowrap}
.nums b{font-weight:700}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 22px;border-radius:999px;border:0;cursor:pointer;font-weight:700;font-size:16px;text-decoration:none;background:var(--forest);color:var(--white);white-space:nowrap}
.btn:hover{background:var(--forest-d)}
.btn.xl{min-height:56px;font-size:21px;padding:0 34px}
.btn.ghost{background:var(--white);color:var(--espresso);border:1.5px solid var(--line)}
.btn.ghost:hover{background:#FAF4EC}
.btn.soft{background:var(--butter);color:var(--espresso)}
.btn.block{width:100%}
.btn[disabled]{opacity:.5;cursor:not-allowed}
.btn.xl svg.i{width:24px;height:24px}

/* shortcuts */
.shorts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px}
.short{border-radius:var(--r-md);padding:18px 12px;text-align:center;text-decoration:none;color:var(--espresso);display:flex;flex-direction:column;align-items:center;gap:6px;border:0;cursor:pointer}
.short svg.i{width:40px;height:40px;stroke-width:1.5;color:var(--icon)}
.short b{font-size:18px;line-height:1.15}
.short span{font-size:14px;line-height:1.3;color:var(--muted)}
.t-peach{background:var(--peach-t)}.t-butter{background:var(--butter-t)}.t-sage{background:var(--sage-t)}
.t-sage svg.i{color:var(--forest)!important}.t-butter svg.i{color:#B7862A!important}

/* section heads */
.sh{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:30px 0 14px}
.sh h2{font-family:var(--serif);font-weight:500;font-size:clamp(26px,2.4vw,34px);line-height:1.05}
.sh a{font-weight:600;font-size:17px}
.sub{color:var(--muted);font-size:15px}

/* request cards */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:16px}
.rc{display:flex;flex-direction:column;overflow:hidden;padding:0}
.rc .ph{height:150px}.rc .ph.tall{height:340px}
.rc .body{padding:14px 14px 16px;display:flex;flex-direction:column;gap:8px;flex:1}
.rc h3{font-size:18px;line-height:1.2;font-weight:700}
.rc h3 a{color:var(--espresso);text-decoration:none}
.rc h3 a:hover{text-decoration:underline}
.rc .meta{font-size:14px;color:var(--muted)}
.rc .push{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.tag{position:absolute;top:10px;left:10px}
.explore{position:absolute;top:10px;right:10px}

/* photo placeholder */
.ph{position:relative;display:grid;place-items:center;overflow:hidden;background:var(--peach-t)}
.ph.peach{background:radial-gradient(circle at 30% 25%,#FFF6EF,#F3C8B3 70%)}
.ph.butter{background:radial-gradient(circle at 30% 25%,#FFFBEA,#F2DC8C 75%)}
.ph.sage{background:radial-gradient(circle at 30% 25%,#F4F8F1,#C9D8C5 75%)}
.ph>svg.i{width:38%;height:38%;max-width:120px;max-height:120px;stroke-width:1;color:rgba(56,40,32,.38)}
.ph .lbl{position:absolute;bottom:8px;right:10px;font-size:11px;font-weight:600;color:rgba(56,40,32,.7);background:rgba(255,255,255,.6);padding:2px 7px;border-radius:99px}
.ph .play{position:absolute;width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center}
.ph .play svg{width:22px;height:22px;fill:var(--espresso);stroke:none;margin-left:3px}

/* right rail */
.rail{display:flex;flex-direction:column;gap:16px;position:sticky;top:96px}
.rail .card{padding:20px}
.rail h2{font-family:var(--serif);font-weight:500;font-size:28px;line-height:1.05}
.rh{display:flex;gap:12px;align-items:center;margin-bottom:12px}
.rh svg.i{width:34px;height:34px;color:var(--icon);stroke-width:1.5}
.impact{background:var(--peach-t);border-color:#F6DCCD}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));text-align:center}
.stats div+div{border-left:1px solid #E9C9B8}
.stats b{display:block;font-size:30px;font-weight:700;line-height:1.1}
.stats span{font-size:14px}
.mini{display:flex;gap:12px;align-items:center;padding:8px;border-radius:var(--r-sm);text-decoration:none;color:var(--espresso)}
.mini:hover{background:#FAF4EC}
.mini .ph{width:84px;height:68px;border-radius:12px;flex:none}
.mini .ph>svg.i{width:46%;height:46%}
.mini div.t{flex:1;display:flex;flex-direction:column;gap:5px}
.mini b{font-size:16px;line-height:1.2}
.ty{display:flex;gap:14px;align-items:flex-start}.mini .ph .lbl,.ty .ph .lbl{display:none}
.ty .ph{width:130px;height:110px;border-radius:14px;flex:none}
.ty b{font-size:18px;line-height:1.25;font-family:var(--serif);font-weight:500}
.sponsor{border-style:dashed;background:var(--butter-t)}

/* page blocks */
.page{display:flex;flex-direction:column;gap:18px}
.panel{padding:24px}
.ptitle{font-family:var(--serif);font-weight:500;font-size:clamp(32px,3.4vw,46px);line-height:1.05;text-wrap:balance}
.lanes{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.lanes a,.pill{flex:none;padding:9px 16px;border-radius:999px;border:1.5px solid var(--line);background:var(--white);text-decoration:none;color:var(--espresso);font-weight:600;font-size:15px;cursor:pointer;min-height:44px;display:inline-flex;align-items:center}
.lanes a[aria-current=page],.pill[aria-pressed=true]{background:var(--forest);border-color:var(--forest);color:var(--white)}
.row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.kv{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:15px}
.kv:last-child{border-bottom:0}
.field{display:flex;flex-direction:column;gap:6px}
.field label,.lab{font-weight:600;font-size:15px}
.field input,.field select,.field textarea{border:1.5px solid #E2D6C6;border-radius:14px;padding:12px 14px;background:var(--white);font-size:16px;min-height:48px}
.field textarea{min-height:110px;resize:vertical}
.hint{font-size:13px;color:var(--muted)}
.warn{background:#FDECEA;color:#7A1D14;border-radius:12px;padding:10px 12px;font-size:14px}
.okmsg{background:var(--ok-t);color:var(--forest-d);border-radius:12px;padding:10px 12px;font-size:14px}
.cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px}
.tabs{display:flex;gap:4px;background:#F4EEE6;border-radius:999px;padding:4px;overflow-x:auto}
.tabs button{flex:1;min-height:40px;border:0;border-radius:999px;background:none;font-weight:600;cursor:pointer;white-space:nowrap;padding:0 14px}
.tabs button[aria-selected=true]{background:var(--white);box-shadow:var(--shadow)}
.toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0}
.toggle input{width:22px;height:22px;accent-color:var(--forest)}
table{width:100%;border-collapse:collapse;font-size:15px}
th,td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line)}
td.n,th.n{text-align:right;white-space:nowrap}
.slider{display:grid;grid-template-columns:minmax(0,1fr) 120px 52px;gap:12px;align-items:center;padding:8px 0}
.slider input{accent-color:var(--forest);width:100%}
.wbar{display:flex;height:16px;border-radius:99px;overflow:hidden}
.draft{background:var(--butter);padding:8px 12px;border-radius:12px;font-weight:600;font-size:14px}

/* request page */
.req{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:20px;align-items:start}
.gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;border-radius:var(--r-lg)}
.gallery .ph{flex:0 0 100%;height:380px;scroll-snap-align:start;border-radius:var(--r-lg)}
.givebox{position:sticky;top:96px;padding:22px;display:flex;flex-direction:column;gap:12px}
.big{font-family:var(--serif);font-size:40px;font-weight:600;line-height:1}
.word-list{display:flex;flex-direction:column;gap:10px}
.word-list div{background:var(--butter-t);border-radius:14px;padding:10px 14px;font-size:15px}
.sticky-give{display:none}

/* dialog */
dialog{border:0;border-radius:var(--r-lg);padding:0;max-width:520px;width:calc(100% - 24px);color:var(--espresso);background:var(--ivory)}
dialog::backdrop{background:rgba(56,40,32,.45)}
.dlg{padding:24px;display:flex;flex-direction:column;gap:14px;max-height:88vh;overflow:auto}
.dlg h2{font-family:var(--serif);font-weight:500;font-size:30px;line-height:1.05}
.amts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.amts .pill{justify-content:center}
.notif{position:absolute;right:70px;top:64px;width:340px;padding:12px;z-index:30;display:none}
.notif.on{display:block}
.notif p{padding:10px;border-bottom:1px solid var(--line);font-size:14px}

/* footer & mobile nav */
.foot{max-width:1560px;margin:0 auto;padding:24px 24px 100px;display:flex;flex-wrap:wrap;gap:16px 24px;font-size:14px;color:var(--muted)}
.foot a{color:var(--muted)}
.bnav{display:none}

@media (max-width:1280px){.shell{grid-template-columns:230px minmax(0,1fr)}.rail{grid-column:2;position:static;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.shorts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:980px){
  .nav,.word-sm-hide{display:none}.word{font-size:22px}.logo svg{width:40px;height:34px}
  .shell,.shell.two{grid-template-columns:minmax(0,1fr);padding:12px 14px 110px}
  .side{display:none}.rail{grid-column:1}
  .req{grid-template-columns:minmax(0,1fr)}.givebox{position:static}
  .sticky-give{display:flex;position:fixed;left:0;right:0;bottom:72px;z-index:25;background:var(--white);border-top:1px solid var(--line);padding:10px 14px;gap:12px;align-items:center}
  .bnav{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:26;background:var(--white);border-top:1px solid var(--line);justify-content:space-around;padding:6px 4px calc(8px + env(safe-area-inset-bottom))}
  .bnav a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px;font-weight:600;text-decoration:none;color:var(--muted);min-width:60px;padding:4px}
  .bnav a[aria-current=page]{color:var(--forest)}
  .notif{right:8px;width:calc(100% - 16px)}
  .mlanes{display:flex!important}
}
@media (max-width:640px){
  .top-in{padding:8px 12px;gap:8px;position:relative}.search{flex:0 0 44px;height:44px;padding:0;justify-content:center}.search input{width:0;flex:0}.search:focus-within{position:absolute;left:8px;right:8px;z-index:5;max-width:none;padding:0 14px;justify-content:flex-start;box-shadow:var(--shadow)}.search:focus-within input{width:auto;flex:1}
  .slide{grid-template-columns:minmax(0,1fr);min-height:0}.slide .ph{height:220px}.slide .txt{padding:18px 18px 40px;background:var(--peach-t)}
  .arrow{top:110px}.shorts{grid-template-columns:repeat(2,minmax(0,1fr))}.short:last-child{grid-column:span 2}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.rc .ph{height:120px}.rc h3{font-size:16px}.rc .body{padding:10px}
  .gallery .ph{height:260px}.slider{grid-template-columns:minmax(0,1fr) 52px}.slider input{grid-column:1/-1;grid-row:2}
  .ty .ph{width:110px;height:90px}.stats b{font-size:24px}
}
.mlanes{display:none}
@media (prefers-reduced-motion:no-preference){.slides,.gallery{scroll-behavior:smooth}.rc{transition:transform .15s}.rc:hover{transform:translateY(-2px)}}
