
body{margin:0;background:#FBF3E6}
.page{position:relative;width:100%;min-height:100vh;background:#FBF3E6;color:#3B2A22;font-family:'Nunito Sans',sans-serif;overflow:hidden}
.page a{color:#3B2A22}
.site{max-width:1180px;margin:0 auto;padding:0 32px}
@keyframes siteIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.nav{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:26px 0;flex-wrap:wrap}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-weight:500;font-size:23px}
.links{display:flex;gap:26px;font-weight:700;flex-wrap:wrap}.links a{text-decoration:none;color:#6E5A4E!important}
.hero{display:flex;flex-wrap:wrap;gap:40px;align-items:center;padding:40px 0 90px}
.hero-txt{flex:1.15 1 460px;min-width:0;display:flex;flex-direction:column;gap:24px}
.hero-art{flex:1 1 400px;min-width:0}
.chip{align-self:flex-start;background:#F6E3B4;border:3px solid #3B2A22;border-radius:999px;padding:7px 16px;font-size:14px;font-weight:800}
h1{margin:0;font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-weight:500;font-size:76px;line-height:1.02;letter-spacing:-.015em;text-wrap:balance}
h1 em{color:#A65A35}
.hero p{margin:0;font-size:20px;line-height:1.65;color:#6E5A4E;max-width:44ch}
.row{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.kbtn{font:800 17px 'Nunito Sans',sans-serif;color:#3B2A22!important;background:#F5E9CF;border:3px solid #3B2A22;border-radius:18px;padding:14px 24px;box-shadow:0 7px 0 #3B2A22;cursor:pointer;text-decoration:none;display:inline-block;transition:transform .08s ease,box-shadow .08s ease}
.kbtn:hover{transform:translateY(2px);box-shadow:0 5px 0 #3B2A22}
.kbtn:active{transform:translateY(6px);box-shadow:0 1px 0 #3B2A22}
.kbtn.primary{background:#F6E3B4}
h2{margin:0;font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-weight:500;font-size:50px;line-height:1.08;text-wrap:balance}
.how{display:flex;flex-direction:column;gap:30px;padding:0 0 90px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}
.kcard{background:#FFFDF8;border:3px solid #3B2A22;border-radius:28px;box-shadow:0 9px 0 #3B2A22;padding:32px;display:flex;flex-direction:column;gap:12px}
.kcard h3{margin:0;font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-weight:500;font-size:28px}
.kcard p{margin:0;font-size:17px;line-height:1.65;color:#6E5A4E}
.kn{width:46px;height:46px;border:3px solid #3B2A22;border-radius:14px;background:#F5E9CF;box-shadow:0 5px 0 #3B2A22;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:20px}
.next{display:flex;flex-wrap:wrap;gap:28px;padding:0 0 90px}
.big{flex:1 1 400px;min-width:0;padding:44px}
.butter{background:#F6E3B4}.peach{background:#F2C4A6}
.eyebrow{font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#3B2A22}
.small{font-size:14px;color:#6E5A4E}
.butter p,.peach p{color:#3B2A22}
.prompt{font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-style:italic;font-size:34px!important;line-height:1.25!important;color:#3B2A22!important;flex:1}
.agree{display:flex;flex-direction:column;align-items:center;gap:26px;padding:0 0 90px;text-align:center}
.pills{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;max-width:920px}
.pills span{background:#F5E9CF;border:3px solid #3B2A22;border-radius:16px;box-shadow:0 5px 0 #3B2A22;padding:12px 20px;font-size:17px;font-weight:700}
.letters{padding:0 0 60px}
.rowcard{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px}
.rowcard h2{flex:1 1 360px;font-size:42px}
.form{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:8px;font-weight:700}
.form input{flex:1 1 220px;min-width:0;border:3px solid #3B2A22;border-radius:16px;padding:14px 18px;font:400 17px 'Nunito Sans',sans-serif;background:#FFFDF8;color:#3B2A22}
.foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:20px 0 48px;font-size:15px;color:#6E5A4E}
/* intro */
.keybtn{background:none;border:0;padding:0;cursor:pointer;display:block;transition:transform .1s ease}
.keybtn:hover{transform:translateY(3px)}
.pulse{animation:pulse 1.8s ease-in-out infinite}
@keyframes pulse{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
.hint{font-weight:800;font-size:16px;color:#6E5A4E;letter-spacing:.02em}
.skip{position:absolute;bottom:36px;right:40px;font-size:14px;font-weight:700;color:#6E5A4E;background:none;border:0;cursor:pointer;text-decoration:underline}
.mono{font-family:'IBM Plex Mono',ui-monospace,monospace}
.appear{opacity:0;animation:appear .6s ease forwards}
@keyframes appear{to{opacity:1}}
@media (prefers-reduced-motion: reduce){*{animation-duration:.01s!important;animation-delay:0s!important;transition:none!important}}

.tables,.experiment{padding:0 0 90px}
.next{flex-direction:column;gap:24px}
.next-head{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:12px}
.event{flex-direction:row;flex-wrap:wrap;align-items:center;gap:32px;padding:30px 36px}
.datekey{flex:0 0 auto;width:118px;height:118px;border:3px solid #3B2A22;border-radius:24px;background:#F5E9CF;box-shadow:0 8px 0 #3B2A22;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1}
.dk-day,.dk-mon{font-size:14px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.dk-num{font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-weight:500;font-size:50px;margin:4px 0}
.ev-body{flex:1 1 380px;min-width:0;display:flex;flex-direction:column;gap:8px}
.ev-body h3{margin:0;font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-weight:500;font-size:32px}
.ev-body p{margin:0;font-size:17px;line-height:1.6;color:#6E5A4E}
.butter .ev-body p{color:#3B2A22}
.ev-cta{flex:0 0 auto}
.lead{flex:1.3 1 420px;min-width:0;margin:0;font-size:19px!important;line-height:1.7!important;color:#6E5A4E}
.receipt{position:relative;width:100%;max-width:600px;background:#FFFDF8;border:3px solid #3B2A22;border-bottom:0;border-radius:6px 6px 0 0;padding:34px 40px 30px;box-sizing:border-box;font-family:'IBM Plex Mono',ui-monospace,monospace;color:#3B2A22;text-align:left;margin-bottom:18px}
.r-head{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:13px;font-weight:600;letter-spacing:.12em;padding-bottom:18px;border-bottom:2px dashed #3B2A22}
.r-title{text-align:center;font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-size:30px;padding:18px 0 8px}
.rules{list-style:none;margin:0;padding:6px 0 14px;display:flex;flex-direction:column;border-bottom:2px dashed #3B2A22}
.rule{display:grid;grid-template-columns:40px 1fr 32px;gap:12px;align-items:center;padding:12px 0;font-size:16px;line-height:1.45;border-bottom:1px dotted #CDB487}
.rule:last-child{border-bottom:0}
.rn{font-weight:600;color:#A65A35}
.box{width:28px;height:28px;border:2.5px solid #3B2A22;border-radius:7px;display:flex;align-items:center;justify-content:center;background:#F5E9CF}
.tick{stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .45s ease}
.rule[data-on="1"] .tick{stroke-dashoffset:0}
.rule .box{background:#FFFDF8!important;transition:background .3s ease,transform .25s ease}
.rule[data-on="1"] .box{background:#F5E9CF!important;transform:scale(1.08)}
.rule .rt{transition:opacity .3s ease;opacity:.55}
.rule[data-on="1"] .rt{opacity:1}
.r-total{display:flex;align-items:baseline;gap:10px;padding:16px 0;font-weight:600;font-size:15px}
.r-dots{flex:1;border-bottom:2px dotted #3B2A22;transform:translateY(-4px)}
.r-sign{display:flex;align-items:baseline;gap:14px;padding-top:10px;border-top:2px dashed #3B2A22}
.r-label{font-size:14px;color:#6E5A4E}
.sig{font-family:Caveat,cursive;font-weight:700;font-size:44px;line-height:1.1;color:#A65A35;display:inline-block;padding-right:6px;clip-path:inset(0 100% 0 0);transform:rotate(-3deg);transition:clip-path 1.6s cubic-bezier(.55,.1,.35,1)}
.r-sign[data-on="1"] .sig{clip-path:inset(-10% -5% -10% 0)}
.r-edge{position:absolute;left:-3px;bottom:-16px;width:calc(100% + 6px);height:18px}
@keyframes tickDraw{0%{stroke-dashoffset:24}100%{stroke-dashoffset:0}}
@keyframes boxFill{0%{background:#FFFDF8}100%{background:#F5E9CF}}
@keyframes sigWrite{0%{clip-path:inset(0 100% 0 0)}100%{clip-path:inset(0 0 0 0)}}
.cafe-link{font-weight:800;font-size:15px;color:#3B2A22;background:none;border:0;border-bottom:2px solid #C2734E;padding:2px 0;cursor:pointer;font-family:'Nunito Sans',sans-serif}

.cafes{padding:0 0 60px}
.cafe-band{border:3px dashed #3B2A22;border-radius:28px;padding:28px 34px;display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between}
.cafe-band h3{margin:0 0 6px;font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-weight:500;font-size:28px}
.cafe-band p{margin:0;font-size:17px;line-height:1.6;color:#6E5A4E;max-width:60ch}
.brand svg{display:block}

.ask-get{display:flex;flex-wrap:wrap;gap:28px;padding:0 0 90px}
.asklist{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:16px}
.asklist li{display:flex;gap:16px;align-items:flex-start}
.asklist .kn{flex:0 0 auto;width:40px;height:40px;font-size:17px}
.asklist p{margin:4px 0 0}
.getlist{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:14px;font-size:17px;line-height:1.6}
.getlist li{padding-left:28px;position:relative}
.getlist li::before{content:"←";position:absolute;left:0;top:0;font-weight:800;color:#A65A35}
.day{display:flex;flex-direction:column;gap:30px;padding:0 0 90px}
.why{padding:0 0 90px}
.why-lines{display:flex;flex-direction:column;gap:10px;max-width:70ch}
.why-lines p{font-size:18px!important;line-height:1.65!important;color:#3B2A22!important}
.why sup{font-size:.7em;color:#A65A35;font-weight:800;margin-left:2px}
.honest{font-family:Fraunces,Georgia,serif;font-variation-settings:'SOFT' 100;font-style:italic;font-size:21px!important;color:#3B2A22!important;max-width:60ch;padding-top:6px}
.sources{margin:10px 0 0;padding:16px 0 0 1.4em;border-top:2px dashed #CDB487;display:flex;flex-direction:column;gap:6px;font-size:13.5px;line-height:1.5;color:#6E5A4E}

.tl{display:flex;justify-content:center;align-items:center;min-height:1.4em;color:#3B2A22}
.tw{display:inline-block;overflow:hidden;white-space:nowrap;vertical-align:bottom}
@keyframes type{to{width:calc(var(--n) * 1ch)}}
.caret{display:inline-block;width:.55ch;height:1.1em;background:#A65A35;margin-left:4px;opacity:0;animation:blink 1s step-end infinite}
@keyframes blink{0%{opacity:1}50%{opacity:0}}
@keyframes bsIn{from{width:0}}.bs-pre{animation:tPre 0.68s steps(15,end) 0.50s forwards}@keyframes tPre{from{width:0}to{width:15ch}}.bs-mid{animation:tMidIn 0.95s steps(21,end) 1.18s forwards,tMidOut 0.47s steps(21,end) 2.49s forwards}@keyframes tMidIn{from{width:0}to{width:21ch}}@keyframes tMidOut{from{width:21ch}to{width:0}}.bs-end{color:#A65A35;animation:tEnd 0.14s steps(3,end) 3.07s forwards}@keyframes tEnd{from{width:0}to{width:3ch}}.bs-line{font-size:40px;color:#3B2A22;display:flex;align-items:center;min-height:1.5em}.bs-line .tw{width:0}.bs-line .caret{opacity:1;animation:blink 1s step-end infinite}

html{scroll-behavior:smooth}
@media (max-width:760px){
  .site{padding:0 max(16px, env(safe-area-inset-left, 0px))!important}
  h1{font-size:44px!important}
  h2{font-size:34px!important}
  .rowcard h2{font-size:32px!important}
  .bs-line{font-size:min(40px, calc((100vw - 32px) / 21.6))!important}
  .big,.event{padding:26px!important}
  .receipt{padding:26px 20px 22px!important}
  .rule{grid-template-columns:30px 1fr 30px!important;font-size:14px!important}
  .skip{right:20px!important;bottom:20px!important}
  .keybtn svg{width:200px;height:auto}
}

/* ---- v2 structure ---- */
html{scroll-behavior:smooth}
.brand img{display:block;height:54px;width:auto}
/* intro: a full-screen overlay, shown once per visitor (class set in <head> by a tiny script) */
.intro{display:none;position:fixed;inset:0;z-index:50;background:#FBF3E6;flex-direction:column;align-items:center;justify-content:center;gap:34px;padding:0 24px;text-align:center;min-height:620px;overflow:auto}
html.has-intro .intro{display:flex}
html.has-intro body{overflow:hidden}
html.has-intro .site{visibility:hidden}
.intro.leaving{animation:introOut .7s ease forwards;pointer-events:none}
@keyframes introOut{to{opacity:0;visibility:hidden;transform:translateY(-20px)}}
.intro.leaving .keybtn{transform:translateY(10px) scale(.98)}
.site.entering{animation:siteIn .9s ease both}
@keyframes siteIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.keybtn img{display:block;width:260px;height:auto}
.cafe-link{text-decoration:none}
/* menu: always open on wide screens; collapses behind a keycap button on phones */
.menu-btn{display:none;font:800 16px 'Nunito Sans',sans-serif;color:#3B2A22;background:#F5E9CF;border:3px solid #3B2A22;border-radius:14px;padding:9px 16px;box-shadow:0 5px 0 #3B2A22;cursor:pointer;transition:transform .08s ease,box-shadow .08s ease}
.menu-btn:active{transform:translateY(4px);box-shadow:0 1px 0 #3B2A22}
.menu-btn span::before{content:"☰  "}
.nav[data-open] .menu-btn span::before{content:"✕  "}
.links a:focus-visible,.kbtn:focus-visible,.menu-btn:focus-visible,.keybtn:focus-visible,.skip:focus-visible,.cafe-link:focus-visible{outline:3px solid #A65A35;outline-offset:3px}
@media (max-width:760px){
  .brand img{height:44px}
  .js .menu-btn{display:inline-block}
  .js .nav{flex-wrap:wrap}
  .js .links{display:none;flex-basis:100%;flex-direction:column;gap:0;background:#FFFDF8;border:3px solid #3B2A22;border-radius:20px;box-shadow:0 6px 0 #3B2A22;padding:6px 20px;margin-bottom:8px}
  .js .nav[data-open] .links{display:flex}
  .js .links a{padding:14px 0;border-bottom:1px dotted #CDB487;font-size:18px}
  .js .links a:last-child{border-bottom:0}
  .keybtn img{width:200px}
}

/* ---- mobile polish ---- */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
a,button{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.foot span:last-child{display:flex;flex-wrap:wrap;gap:0 20px}
.foot a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
.skip{min-height:44px;min-width:44px}
.cafe-link{display:inline-flex;align-items:center;min-height:44px}
/* hover only where a pointer can hover, so a tap on a phone doesn't leave a button half-pressed */
@media (hover:none){
  .kbtn:hover{transform:none;box-shadow:0 7px 0 #3B2A22}
  .keybtn:hover{transform:none}
}
@media (max-width:760px){
  /* intro fits the screen Instagram gives us (toolbars included) and never hides Skip */
  .intro{box-sizing:border-box;min-height:0;height:100vh;height:100dvh;gap:26px;padding:max(16px,env(safe-area-inset-top)) 20px max(16px,env(safe-area-inset-bottom));overflow-y:auto}
  .skip{position:static!important;margin-top:4px;font-size:16px;padding:10px 18px}
  .cafe-link{font-size:15px;text-align:center}
  .hint{font-size:15px}
  /* thumb-friendly buttons */
  .row{flex-direction:column;align-items:stretch;gap:16px}
  .row .kbtn,.ev-cta,.cafe-band .kbtn{display:block;width:100%;box-sizing:border-box;text-align:center}
  .ev-cta{flex:1 1 100%}
  .cafe-band .kbtn{margin-top:4px}
  /* a little tighter so the page is less of a long scroll */
  .hero{padding:16px 0 56px;gap:28px}
  .how,.next,.agree,.tables,.experiment,.ask-get,.day,.why{padding-bottom:56px}
  .cards,.next{gap:18px}
  .kcard{padding:24px;border-radius:24px}
  .kcard p{font-size:16.5px}
  .hero p{font-size:18px}
  .event{gap:20px!important}
  .datekey{width:96px;height:96px}
  .dk-num{font-size:40px}
  /* nothing under 14px */
  .eyebrow,.chip,.small,.sources,.r-label,.foot,.r-head{font-size:14px}
  .foot{padding-bottom:max(32px,env(safe-area-inset-bottom))}
  .foot span:first-child{flex:1 1 100%}
  .rule{font-size:15px!important}
  .receipt{font-size:14px}
}
@media (max-width:360px){
  h1{font-size:40px!important}
  .site{padding:0 16px!important}
}
.skip,.menu-btn,.cafe-link{font-family:'Nunito Sans',sans-serif}
.cafe-link{align-self:center}

/* hero fills the first screen on laptops/desktops so the next section doesn't peek in (nav is ~106px tall) */
@media (min-width:761px){
  .hero{min-height:calc(100vh - 106px);min-height:calc(100svh - 106px);box-sizing:border-box;padding:24px 0 56px}
}

/* ---- keycap cards: same construction as the logo (top face, body, front edge, shine) ---- */
.kcard{
  --r:10px;--f:20px;--face:#F5E9CF;--body:#E9D8B4;--front:#CDB487;--ink:#3B2A22;
  position:relative;background:var(--face);
  margin:calc(var(--r) + 3px) calc(var(--r) + 3px) calc(var(--r) + var(--f) + 3px);
  box-shadow:
    0 0 0 var(--r) var(--body),
    0 var(--f) 0 var(--r) var(--front),
    0 0 0 calc(var(--r) + 3px) var(--ink),
    0 var(--f) 0 calc(var(--r) + 3px) var(--ink),
    0 calc(var(--f) + 8px) 0 calc(var(--r) + 3px) rgba(59,42,34,.16);
}
.kcard.butter{--face:#F6E3B4;--body:#EBD293;--front:#D3B16A}
.kcard.peach{--face:#F2C4A6;--body:#E9B091;--front:#D0906C}
/* the shine, top right of the face */
.kcard::before{content:"";position:absolute;top:11px;right:30px;width:46px;height:7px;border-radius:4px;background:#fff;opacity:.9;pointer-events:none}
.kcard::after{content:"";position:absolute;top:11px;right:15px;width:7px;height:7px;border-radius:50%;background:#fff;opacity:.9;pointer-events:none}
@media (max-width:760px){
  .kcard{--r:7px;--f:14px}
  .kcard::before{right:26px;width:34px}
  .kcard::after{right:13px}
}
