
:root{
  --ink:#17352f;
  --ink-2:#2c4b45;
  --cream:#f7f0df;
  --cream-2:#fffaf0;
  --paper:#fffdf8;
  --green:#0f6b4f;
  --green-2:#174f3f;
  --lime:#d6df59;
  --yellow:#f4c95d;
  --red:#d95048;
  --border:rgba(23,53,47,.14);
  --shadow:0 24px 70px rgba(32,54,47,.12);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--cream-2);
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.site-header{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  width:min(1180px,calc(100% - 32px));margin:16px auto 0;
  padding:12px 14px 12px 18px;
  border:1px solid rgba(255,255,255,.7);
  background:rgba(255,250,240,.86);
  backdrop-filter:blur(18px);
  border-radius:18px;
  box-shadow:0 12px 36px rgba(23,53,47,.06);
}
.brand{display:flex;align-items:center;gap:11px}
.brand strong{font-family:"Libre Franklin",sans-serif;font-size:14px;display:block;line-height:1}
.brand small{display:block;margin-top:4px;font-size:11px;text-transform:uppercase;letter-spacing:.18em;font-weight:700;color:var(--green)}
.brand-mark{
  position:relative;width:40px;height:42px;display:block;
  background:var(--green);border-radius:4px 4px 7px 7px;
}
.brand-mark .roof{
  position:absolute;left:4px;top:-6px;width:32px;height:13px;background:var(--red);
  clip-path:polygon(50% 0,100% 100%,0 100%);
}
.brand-mark .book{position:absolute;bottom:7px;width:7px;border-radius:1px}
.brand-mark .b1{left:9px;height:18px;background:var(--yellow);transform:rotate(-4deg)}
.brand-mark .b2{left:17px;height:22px;background:var(--paper)}
.brand-mark .b3{left:25px;height:16px;background:var(--lime);transform:rotate(4deg)}
.site-nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:600}
.site-nav a{opacity:.82}
.site-nav a:hover{opacity:1}
.site-nav .nav-cta{background:var(--ink);color:white;padding:10px 16px;border-radius:11px;opacity:1}
.menu-button{display:none;border:0;background:var(--ink);color:white;border-radius:10px;padding:9px 12px;font-weight:700}
.hero{
  width:min(1180px,calc(100% - 32px));margin:40px auto 0;
  display:grid;grid-template-columns:1.02fr .98fr;gap:40px;align-items:center;
  min-height:690px;padding:68px 0 54px;
}
.eyebrow{margin:0 0 14px;text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:800;color:var(--green)}
.hero h1,.section h2{
  font-family:"Libre Franklin",sans-serif;
  letter-spacing:-.045em;
  line-height:.97;margin:0;
}
.hero h1{font-size:clamp(54px,7.4vw,96px)}
.hero h1 span{color:var(--green)}
.hero-intro{font-size:19px;max-width:640px;color:var(--ink-2);margin:26px 0}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:48px;padding:0 20px;border-radius:13px;font-weight:800;font-size:14px;
}
.button.primary{background:var(--green);color:white;box-shadow:0 12px 28px rgba(15,107,79,.18)}
.button.primary:hover{transform:translateY(-1px)}
.button.secondary{border:1px solid var(--border);background:rgba(255,255,255,.5)}
.launch-pill{
  display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin-top:27px;padding:10px 14px;border:1px solid var(--border);border-radius:999px;
  font-size:13px;background:rgba(255,255,255,.46);
}
.launch-pill span:last-child{color:#64756f}
.pulse{width:8px;height:8px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 6px rgba(214,223,89,.25)}
.hero-visual{
  position:relative;min-height:590px;border-radius:34px;overflow:hidden;
  background:linear-gradient(145deg,#e1d8bd,#b8a07b);
  box-shadow:var(--shadow);
}
.hero-visual>img{width:100%;height:590px;object-fit:cover}
.hero-visual .missing-photo{display:none}
.photo-fallback{
  position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;
  gap:6px;background:
   radial-gradient(circle at 30% 20%,rgba(255,255,255,.65),transparent 28%),
   linear-gradient(160deg,#d9cdb0 0%,#af8f64 100%);
  color:white;text-align:center;
}
.hero-visual>img:not(.missing-photo)+.photo-fallback{display:none}
.photo-fallback p{font-size:20px;font-weight:800;margin:16px 0 0}
.photo-fallback small{opacity:.8}
.mini-library{position:relative;width:210px;height:290px}
.mini-roof{position:absolute;left:14px;top:0;width:182px;height:52px;background:#c7d4cf;clip-path:polygon(50% 0,100% 100%,0 100%)}
.mini-box{position:absolute;left:26px;top:42px;width:158px;height:165px;background:white;border-radius:3px;box-shadow:0 15px 45px rgba(0,0,0,.16)}
.mini-window{margin:20px;width:118px;height:105px;border:7px solid #dde6e2;background:#b9c9c2;display:flex;align-items:flex-end;gap:4px;padding:8px}
.mini-window i{display:block;width:15px;background:#f0c65c}
.mini-window i:nth-child(1){height:45px}
.mini-window i:nth-child(2){height:62px;background:#d95149}
.mini-window i:nth-child(3){height:52px;background:#0f6b4f}
.mini-window i:nth-child(4){height:68px;background:#f7f0df}
.mini-window i:nth-child(5){height:40px;background:#d6df59}
.mini-post{position:absolute;left:91px;top:204px;width:28px;height:86px;background:#ddd5c2}
.hero-label{
  position:absolute;left:22px;bottom:22px;display:flex;align-items:center;gap:12px;
  background:rgba(19,45,38,.88);color:white;padding:11px 14px;border-radius:13px;
  backdrop-filter:blur(10px);font-size:13px;
}
.hero-label b{color:var(--lime)}
.impact-strip{
  width:min(1180px,calc(100% - 32px));margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr) 1.5fr;
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
}
.impact-strip>div{padding:28px 22px;border-right:1px solid var(--border);display:flex;align-items:baseline;gap:12px}
.impact-strip>div:last-child{border-right:0}
.impact-strip strong{font-family:"Libre Franklin";font-size:34px}
.impact-strip span{font-size:13px;color:#60736c}
.impact-quote{font-family:"Libre Franklin";font-size:18px;align-items:center!important}
.section{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:120px 0}
.section-heading{max-width:720px;margin-bottom:42px}
.section-heading h2,.story h2,.grow h2,.closing h2{font-size:clamp(40px,5vw,68px)}
.section-heading>p:last-child{font-size:18px;color:#60736c}
.library-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.library-card{background:var(--paper);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;box-shadow:0 16px 50px rgba(23,53,47,.05)}
.library-photo{height:410px;position:relative;background:#d7cfba;overflow:hidden}
.library-photo>img{width:100%;height:100%;object-fit:cover}
.library-photo .missing-photo{display:none}
.library-photo>img:not(.missing-photo)+.photo-fallback{display:none}
.photo-fallback.compact{
  position:absolute;inset:0;background:linear-gradient(145deg,#d9cdb0,#b8956b);
  color:white;display:flex;align-items:center;justify-content:center;flex-direction:column;
  font-weight:800;
}
.photo-fallback.compact span{font-size:12px;font-weight:500;opacity:.78}
.library-photo.kuru .photo-fallback{background:linear-gradient(145deg,#4c7a68,#17352f)}
.number{
  position:absolute;right:16px;top:16px;width:44px;height:44px;border-radius:50%;
  display:grid;place-items:center;background:var(--lime);font-family:"Libre Franklin";font-weight:800;
}
.library-card-body{padding:28px 30px 30px}
.library-card-body h3{font-family:"Libre Franklin";font-size:28px;line-height:1.05;letter-spacing:-.035em;margin:4px 0 16px}
.card-kicker{text-transform:uppercase;letter-spacing:.14em;font-weight:800;font-size:11px;color:var(--green);margin:0}
.library-card-body>p{color:#60736c}
.tag-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.tag-row span{border:1px solid var(--border);border-radius:999px;padding:7px 10px;font-size:11px;font-weight:700}
.story{display:grid;grid-template-columns:.76fr 1.24fr;gap:58px;align-items:start}
.story-copy{position:sticky;top:120px}
.story-copy p:not(.eyebrow){color:#60736c;font-size:17px}
.text-link{font-weight:800;color:var(--green)}
.build-gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.build-gallery figure{margin:0;position:relative;border-radius:22px;overflow:hidden;background:#e7deca;min-height:300px}
.build-gallery figure.wide{grid-column:span 2;min-height:420px}
.build-gallery img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.build-gallery img.missing-photo{display:none}
.build-gallery figure:has(img.missing-photo)::before{
  content:"Add build photo";
  position:absolute;inset:0;display:grid;place-items:center;color:#8a806d;font-weight:800;
  background:linear-gradient(135deg,#eee5d2,#d5c7ac);
}
.build-gallery figcaption{
  position:absolute;left:12px;bottom:12px;background:rgba(23,53,47,.88);color:white;
  padding:8px 10px;border-radius:10px;font-size:12px;z-index:2
}
.build-gallery figcaption b{color:var(--lime);margin-right:6px}
.how{border-top:1px solid var(--border)}
.centered{text-align:center;margin-left:auto;margin-right:auto}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.steps article{background:var(--paper);padding:34px;border:1px solid var(--border);border-radius:24px}
.step-icon{width:48px;height:48px;border-radius:14px;background:var(--lime);display:grid;place-items:center;font-family:"Libre Franklin";font-weight:800;font-size:20px}
.steps h3{font-family:"Libre Franklin";font-size:24px;letter-spacing:-.03em;margin:22px 0 8px}
.steps p{color:#60736c;margin:0}
.grow{padding-top:40px}
.grow-panel{
  background:var(--ink);color:white;border-radius:34px;padding:64px;
  display:grid;grid-template-columns:.92fr 1.08fr;gap:54px;box-shadow:var(--shadow)
}
.eyebrow.light{color:var(--lime)}
.grow-panel>div:first-child>p:last-child{color:#c7d3cf;font-size:17px}
.support-grid{display:grid;gap:12px}
.support-grid>div{padding:20px;border:1px solid rgba(255,255,255,.14);border-radius:17px;background:rgba(255,255,255,.04)}
.support-grid b{display:block;font-size:16px;margin-bottom:5px}
.support-grid span{display:block;color:#c7d3cf;font-size:13px}
.closing{text-align:center;padding-top:90px;padding-bottom:130px}
.closing h2 span{color:var(--green)}
.closing .button{margin-top:28px}
footer{
  width:min(1180px,calc(100% - 32px));margin:0 auto 28px;
  border-top:1px solid var(--border);padding:34px 0 10px;
  display:grid;grid-template-columns:1fr auto auto;gap:30px;align-items:center
}
footer p{margin:0;color:#60736c;font-size:13px}
.footer-small{font-weight:700}
@media(max-width:900px){
  .site-header{margin-top:10px}
  .menu-button{display:block}
  .site-nav{
    position:absolute;left:0;right:0;top:64px;display:none;flex-direction:column;align-items:stretch;
    background:var(--paper);border:1px solid var(--border);padding:14px;border-radius:16px;box-shadow:var(--shadow)
  }
  .site-nav.open{display:flex}
  .hero{grid-template-columns:1fr;padding-top:46px}
  .hero-visual{min-height:520px}
  .hero-visual>img{height:520px}
  .impact-strip{grid-template-columns:repeat(3,1fr)}
  .impact-quote{grid-column:span 3;border-top:1px solid var(--border)}
  .library-grid{grid-template-columns:1fr}
  .story{grid-template-columns:1fr}
  .story-copy{position:static}
  .grow-panel{grid-template-columns:1fr}
  footer{grid-template-columns:1fr}
}
@media(max-width:620px){
  .site-header{width:calc(100% - 20px)}
  .hero,.section,.impact-strip,footer{width:calc(100% - 24px)}
  .hero{margin-top:10px;min-height:auto;padding-bottom:40px}
  .hero h1{font-size:52px}
  .hero-intro{font-size:17px}
  .hero-visual{min-height:430px}
  .hero-visual>img{height:430px}
  .impact-strip{grid-template-columns:1fr 1fr}
  .impact-strip>div:nth-child(2){border-right:0}
  .impact-strip>div:nth-child(3){grid-column:span 2;border-top:1px solid var(--border)}
  .impact-quote{grid-column:span 2}
  .section{padding:88px 0}
  .library-photo{height:330px}
  .build-gallery{grid-template-columns:1fr}
  .build-gallery figure,.build-gallery figure.wide{grid-column:span 1;min-height:320px}
  .steps{grid-template-columns:1fr}
  .grow-panel{padding:34px 24px}
  .closing{padding-bottom:90px}
}


.launch-day{
  padding-top:40px;
  border-top:1px solid var(--border);
}
.launch-gallery{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:16px;
}
.launch-gallery figure{
  margin:0;
  position:relative;
  min-height:340px;
  overflow:hidden;
  border-radius:24px;
  background:#e7deca;
}
.launch-gallery .launch-large{
  grid-row:span 2;
  min-height:696px;
}
.launch-gallery .launch-wide{
  grid-column:span 2;
  min-height:520px;
}
.launch-gallery img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.launch-gallery figcaption{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  width:max-content;
  max-width:calc(100% - 28px);
  padding:9px 12px;
  border-radius:11px;
  color:white;
  background:rgba(23,53,47,.86);
  backdrop-filter:blur(8px);
  font-size:12px;
  font-weight:700;
}
@media(max-width:700px){
  .launch-gallery{grid-template-columns:1fr}
  .launch-gallery .launch-large,
  .launch-gallery .launch-wide{
    grid-column:span 1;
    grid-row:span 1;
    min-height:420px;
  }
  .launch-gallery figure{min-height:420px}
}


/* Official Little Free Library World Map */
.world-map{
  border-top:1px solid var(--border);
  padding-top:100px;
}
.map-intro{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:30px;
  margin-bottom:28px;
}
.map-intro .section-heading{margin-bottom:0}
.map-open-button{flex:0 0 auto;margin-bottom:6px}
.map-frame{
  position:relative;
  width:100%;
  height:720px;
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:28px;
  background:var(--paper);
  box-shadow:0 18px 55px rgba(23,53,47,.08);
}
.map-frame iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
  background:white;
}
.map-note{
  margin-top:16px;
  padding:15px 18px;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  border:1px solid var(--border);
  border-radius:15px;
  background:rgba(255,255,255,.45);
  font-size:13px;
}
.map-note strong{color:var(--green)}
.map-note span{color:#60736c}
@media(max-width:900px){
  .map-intro{display:block}
  .map-open-button{margin-top:20px}
  .map-frame{height:660px}
}
@media(max-width:620px){
  .world-map{padding-top:80px}
  .map-frame{height:600px;border-radius:20px}
}
