/* ISAGOGO homepage. Brand: Soft Round logo (Fredoka 600 + Caveat Brush "the"),
   colours and pouch drawing taken from 03 Brand-Logo (Round 11 + Zipper Pouch reference). */

:root{
  --cream:#FBF6EC;
  --ink:#1A1A1A;
  --wheat:#E6CF9C;
  --orange:#FF8A1F;
  --green:#12392C;
  --deep:#B34700;
  --gold:#A9822B;
  --leaf:#2F6B4F;
  --peach:#FFE2C2;

  --display:Fredoka,"Arial Rounded MT Bold",system-ui,sans-serif;
  --hand:"Caveat Brush","Bradley Hand",cursive;

  --gutter:clamp(1.25rem,5vw,3rem);
  --section:clamp(4rem,11vw,7.5rem);
  --ease:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--display);font-weight:400;font-size:1.125rem;line-height:1.5;overflow-x:clip}
h1,h2,h3,p,ol,ul,dl,dd{margin:0}
ol,ul{padding:0;list-style:none}
a{color:inherit;text-underline-offset:.18em;text-decoration-thickness:.09em}
img,svg{display:block}
::selection{background:var(--orange);color:var(--ink)}
:focus-visible{outline:3px solid var(--focus,var(--green));outline-offset:3px;border-radius:6px}

.wrap{width:100%;max-width:72rem;margin-inline:auto;padding-inline:var(--gutter)}
.skip{position:absolute;left:1rem;top:-4rem;background:var(--green);color:var(--cream);padding:.7rem 1rem;border-radius:999px;z-index:20;font-weight:600}
.skip:focus{top:1rem}

h1,h2,h3{font-family:var(--display);font-weight:700;letter-spacing:-.025em;line-height:.98;text-wrap:balance}
h2{font-size:clamp(2.4rem,9.4vw,4rem)}
.body{max-width:34rem}
.body p + p{margin-top:1em}

/* handwritten side notes */
.note{font-family:var(--hand);font-size:1.5rem;line-height:1.05;color:var(--green);display:inline-block;transform:rotate(-4deg)}

/* "not decided yet" markers. Every open item on the page uses this one look. */
.todo{display:inline-flex;align-items:center;gap:.4em;border:1.5px dashed currentColor;border-radius:999px;padding:.22em .75em .26em;font-size:.9rem;font-weight:500;line-height:1.3}
.todo::before{content:"";width:.5em;height:.5em;border-radius:50%;border:1.5px solid currentColor;flex:none}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em;min-height:3.25rem;padding:.7rem 1.5rem;border:0;border-radius:999px;font:600 1.125rem/1.1 var(--display);text-decoration:none;cursor:pointer;background:var(--green);color:var(--cream);white-space:nowrap;transition:transform .35s var(--ease),background-color .2s,box-shadow .35s var(--ease);box-shadow:0 .45rem .9rem -.55rem rgba(18,57,44,.7)}
.btn:hover{transform:translateY(-2px);background:#0C2A20;box-shadow:0 .9rem 1.3rem -.7rem rgba(18,57,44,.75)}
.btn:active{transform:translateY(0)}
.btn svg{width:1.1em;height:1.1em;flex:none}
.btn.small{min-height:2.75rem;padding:.5rem 1.1rem;font-size:1rem}
.btn.light{background:var(--cream);color:var(--ink);box-shadow:0 .5rem 1rem -.55rem rgba(0,0,0,.55)}
.btn.light:hover{background:#fff}
.link{font-weight:600}

/* ---------- logo: Soft Round with marker "the" (from 03 Brand-Logo) ---------- */
.logo{display:inline-flex;align-items:baseline;line-height:1;white-space:nowrap;color:var(--ink,#1A1A1A);position:relative;padding-top:.36em;font-family:Fredoka,sans-serif;font-weight:600;letter-spacing:-.02em;flex:none;text-decoration:none}
.dot{display:inline-block;width:.2em;height:.2em;border-radius:50%;background:var(--accent);margin-left:.05em;flex:none}
.name{position:relative;display:inline-block}
.the{position:absolute;left:.3em;top:-.14em;line-height:1;color:var(--the);transform:rotate(-7deg);font-family:"Caveat Brush",cursive;font-size:.62em;font-weight:400;letter-spacing:0}
.mark{position:absolute;overflow:visible;fill:none;stroke:var(--mark);stroke-linecap:round;pointer-events:none}
.mark path{vector-effect:non-scaling-stroke}
.under{left:-.02em;bottom:-.33em;width:calc(100% - .18em);height:.2em;stroke-width:.075em}

/* ---------- zipper pouch drawing (from 03 Brand-Logo, sized to its own box) ---------- */
.pk{container-type:inline-size;width:var(--pw,12rem);flex:none}
.pwrap{position:relative;width:100cqw;padding-top:2.4cqw;transform:rotate(var(--rot,0deg));transition:transform .6s var(--ease)}
.zip.closed{position:relative;z-index:3;height:6cqw;margin:0 -1.17cqw;border-radius:1.5cqw;background:linear-gradient(#FFFFFF,#ECEAE4);border:.47cqw solid #B9B5AC}
.zip.closed::after{content:"";position:absolute;left:1.67cqw;right:1.67cqw;top:50%;height:.47cqw;margin-top:-.23cqw;background:#D9D5CC}
.slider{position:absolute;top:-2.33cqw;width:11.33cqw;height:9.67cqw;border-radius:2.17cqw;background:linear-gradient(rgba(255,255,255,.28) 0 32%,transparent 32%),#E5432B;z-index:4;box-shadow:0 .83cqw 1.33cqw -.5cqw rgba(0,0,0,.5)}
.slider::after{content:"";position:absolute;left:50%;top:48%;width:1.83cqw;height:3.33cqw;margin-left:-.92cqw;border-radius:.83cqw;background:rgba(0,0,0,.22)}
.pouch{position:relative;aspect-ratio:3/4.05;background:#FBF6EC;border-radius:0 0 6cqw 6cqw;box-shadow:0 6.67cqw 8.33cqw -4.33cqw rgba(0,0,0,.4),inset 0 0 0 1px rgba(0,0,0,.05);overflow:hidden;display:grid;grid-template-columns:1fr 30%;text-align:left}
.pouch::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(0,0,0,.07),rgba(255,255,255,.1) 14%,rgba(255,255,255,0) 40%,rgba(0,0,0,.02) 82%,rgba(0,0,0,.09))}
.pl{padding:14cqw 5cqw 6cqw 7.33cqw;display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.pr{background:var(--fl);position:relative;overflow:hidden}
.badge{position:absolute;left:50%;top:13.33cqw;width:20.67cqw;height:20.67cqw;margin-left:-10.33cqw;border-radius:50%;display:grid;place-items:center;text-align:center;font:600 4.17cqw/1 Fredoka,sans-serif;z-index:2}
.blob{position:absolute;background:var(--b)}
.blob.c{border-radius:50%}
.blob.l{border-radius:0 100% 0 100%}
.gogo{font-family:Fredoka,sans-serif;font-weight:700;font-size:13.67cqw;line-height:1;letter-spacing:-.025em;color:var(--deep);margin-top:5.67cqw}
.gogo span{display:block}
.strip{background:var(--fl);color:var(--onfl);font:600 2.67cqw/1 Fredoka,sans-serif;letter-spacing:.1em;text-transform:uppercase;padding:1.67cqw 2.33cqw;border-radius:.83cqw;margin-top:4.33cqw}
.lines{display:grid;gap:1.33cqw;margin-top:4cqw;width:100%}
.lines i{height:.83cqw;background:rgba(0,0,0,.13);border-radius:1.67cqw}
.wt{margin-top:auto;font:600 3.83cqw/1 Fredoka,sans-serif;color:#1A1A1A}

/* ---------- top bar ---------- */
.top{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:1rem .5rem}
.top .logo{font-size:2.1rem}

/* ---------- hero ---------- */
.hero{padding-bottom:var(--section);overflow-x:clip}
.hero-grid{display:grid;gap:1.75rem;padding-top:1.75rem}
.hero h1{font-size:clamp(3.5rem,16.4vw,6rem);color:var(--deep);line-height:.92}
.hero h1 span{display:block;width:fit-content}
.ul{position:relative}
.ul svg{position:absolute;left:0;right:.12em;bottom:-.17em;width:calc(100% - .12em);height:.2em;overflow:visible;fill:none;stroke:var(--orange);stroke-width:.075em;stroke-linecap:round}
.ul path{vector-effect:non-scaling-stroke}

.stage{position:relative;display:flex;justify-content:center;align-items:flex-start;padding:5.6rem 0 2.2rem;--pw:min(41vw,14.5rem);width:100%;max-width:30rem;margin-inline:auto}
.stage .disc{position:absolute;left:50%;top:50%;width:min(92vw,26rem);aspect-ratio:1;border-radius:50%;background:var(--green);transform:translate(-44%,-43%)}
.stage .leaf{position:absolute;right:2%;top:.6rem;width:3.4rem;aspect-ratio:1;background:var(--orange);border-radius:0 100% 0 100%;transform:rotate(14deg)}
.stage .pip{position:absolute;left:1%;bottom:.4rem;width:2.6rem;aspect-ratio:1;border-radius:50%;background:var(--wheat)}
.stage .pk{position:relative}
.stage .pk + .pk{margin:1.6rem 0 0 -5%}
.zipnote{position:absolute;left:.1rem;top:0;z-index:5;display:grid;justify-items:start;gap:.1rem}
.zipnote .note{font-size:1.45rem;transform:rotate(-5deg)}
.zipnote svg{width:1.9rem;height:2.1rem;margin-left:1.5rem;fill:none;stroke:var(--green);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.sticker{position:absolute;right:0;bottom:.2rem;z-index:5;width:5.9rem;aspect-ratio:1;border-radius:50%;background:var(--orange);color:var(--ink);display:grid;place-items:center;text-align:center;font-family:var(--hand);font-size:1.5rem;line-height:.9;transform:rotate(11deg);box-shadow:0 .6rem 1rem -.6rem rgba(0,0,0,.6)}

.lede{font-size:clamp(1.2rem,4.6vw,1.4rem);line-height:1.4;max-width:30rem}
.cta-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;margin-top:1.5rem}

/* ---------- what it is ---------- */
.what{background:var(--green);color:var(--cream);padding-block:var(--section);position:relative;overflow:hidden;--focus:var(--wheat)}
.what ::selection{background:var(--wheat)}
.what h2 span{display:block;color:var(--wheat)}
.what .body{margin-top:1.75rem;font-size:clamp(1.15rem,4.4vw,1.3rem)}
.what .note{color:var(--wheat);font-size:1.9rem;margin-top:2.25rem}
.shapes{position:relative;height:9.5rem;margin-top:2.5rem}
.shapes i{position:absolute;display:block}
.shapes .a{width:8.5rem;aspect-ratio:1;border-radius:50%;background:var(--wheat);left:0;top:0}
.shapes .b{width:6.5rem;aspect-ratio:1;border-radius:0 100% 0 100%;background:var(--orange);left:6.2rem;top:2.6rem}
.shapes .c{width:3.6rem;aspect-ratio:1;border-radius:50%;background:var(--cream);left:13.4rem;top:.4rem}
.shapes .d{width:4.2rem;aspect-ratio:1;border-radius:0 100% 0 100%;background:var(--leaf);left:14.6rem;top:5rem;transform:rotate(60deg)}

/* ---------- ready / not ready ---------- */
.status{padding-block:var(--section)}
.status-grid{display:grid;gap:2.75rem;margin-top:2.5rem}
.status h3{font-size:1.6rem;letter-spacing:-.015em;display:flex;align-items:center;gap:.6rem}
.status h3 svg{width:1.9rem;height:1.9rem;flex:none;fill:none;stroke-width:3.2;stroke-linecap:round;stroke-linejoin:round}
.status .yes h3{color:var(--green)}
.status .yes h3 svg{stroke:var(--green)}
.status .no h3{color:var(--deep)}
.status .no h3 svg{stroke:var(--deep)}
.status li{padding:.85rem 0;border-bottom:1.5px solid rgba(26,26,26,.14);font-size:1.2rem;line-height:1.35}
.status ul{margin-top:.6rem}
.status .no li{border-bottom-style:dashed;border-bottom-color:rgba(179,71,0,.45)}
.status .after{margin-top:2.25rem;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem}
.status .after .note{color:var(--deep);font-size:1.7rem}

/* ---------- flavours ---------- */
.flav-head{padding-bottom:2.25rem}
.flavours{display:grid}
.band{position:relative;overflow:hidden;padding:3.5rem var(--gutter) 3.75rem;display:grid;gap:2rem;justify-items:start;--pw:min(50vw,14.5rem)}
.band.plain{background:var(--wheat);color:var(--green)}
.band.orange{background:var(--orange);color:var(--ink);--focus:var(--ink)}
.band.orange ::selection{background:var(--ink);color:var(--orange)}
.pkstage{position:relative;justify-self:center;display:grid;place-items:center;width:min(78vw,22rem);aspect-ratio:1}
.pkstage::before{content:"";position:absolute;inset:0;border-radius:50%;background:var(--green)}
.band h3{font-size:clamp(3.4rem,15vw,5rem)}
.band p{max-width:26rem;margin-top:.9rem;font-size:1.2rem;line-height:1.4}
.spec{margin-top:1.5rem;display:grid;gap:.6rem}
.spec div{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .7rem}
.spec dt{font-weight:600;min-width:5.6rem}
.band:hover .pwrap{transform:rotate(0deg)}

/* ---------- how to use ---------- */
.how{padding-block:var(--section)}
.how-grid{display:grid;gap:2.5rem}
.how h2{display:flex;flex-wrap:wrap;align-items:baseline;gap:.4rem 1.2rem}
.how h2 .note{color:var(--deep);font-size:1.7rem;font-weight:400;letter-spacing:0}
.steps{margin-top:2.25rem;display:grid;gap:1.75rem;counter-reset:s}
.steps li{counter-increment:s;display:grid;grid-template-columns:3.4rem 1fr;gap:.25rem 1rem;align-items:start}
.steps li::before{content:counter(s);grid-row:span 2;width:3.4rem;height:3.4rem;border-radius:50%;background:var(--wheat);color:var(--green);display:grid;place-items:center;font-weight:700;font-size:1.7rem;line-height:1}
.steps li:nth-child(2)::before{background:var(--orange);color:var(--ink)}
.steps li:nth-child(3)::before{background:var(--green);color:var(--cream)}
.steps b{font-weight:700;font-size:1.55rem;letter-spacing:-.015em;line-height:1.15;padding-top:.15rem}
.steps span{grid-column:2;font-size:1.15rem}
.steps .todo{margin-top:.45rem;color:var(--deep)}
.fine{margin-top:2.25rem;max-width:34rem;font-size:1rem;color:#4A4640}
.glass{width:min(64vw,17rem);justify-self:center}

/* ---------- notify ---------- */
.notify{background:var(--deep);color:var(--cream);padding-block:var(--section);position:relative;overflow:hidden;--focus:var(--cream)}
.notify ::selection{background:var(--cream);color:var(--deep)}
.notify .body{margin-top:1.5rem;font-size:clamp(1.15rem,4.4vw,1.3rem)}
.notify .cta-row{margin-top:2rem}
.mail{margin-top:1.75rem;display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;font-size:1.1rem}
.mail a{font-weight:600;overflow-wrap:anywhere}
.copy{font:600 .95rem/1 var(--display);color:inherit;background:transparent;border:1.5px solid currentColor;border-radius:999px;padding:.5rem .95rem;min-height:2.5rem;cursor:pointer;transition:background-color .2s,color .2s}
.copy:hover,.copy.done{background:var(--cream);color:var(--deep)}
.notify .social{margin-top:1.75rem}
.notify .bits i{position:absolute;display:block}
.notify .wrap{position:relative;z-index:1}
.notify .bits .a{width:7.5rem;aspect-ratio:1;border-radius:50%;background:var(--orange);right:-2.6rem;top:-4.2rem}
.notify .bits .b{width:2.6rem;aspect-ratio:1;border-radius:0 100% 0 100%;background:var(--wheat);right:5.4rem;top:.5rem;transform:rotate(60deg)}

/* ---------- footer ---------- */
.foot{background:var(--green);color:var(--cream);padding-block:3.5rem 2.5rem;--focus:var(--wheat)}
.foot ::selection{background:var(--wheat)}
.foot .logo{font-size:2.6rem}
.foot-grid{display:grid;gap:2rem;margin-top:1.75rem}
.foot p{max-width:26rem}
.foot .legal{display:grid;gap:.6rem;justify-items:start;color:var(--wheat)}
.foot .small{margin-top:2.5rem;padding-top:1.5rem;border-top:1.5px solid rgba(251,246,236,.2);display:flex;flex-wrap:wrap;gap:.5rem 2rem;justify-content:space-between;font-size:.95rem;color:#D9D3C2}
.foot .small p{max-width:none}

/* ---------- wider screens ---------- */
@media (min-width:56rem){
  .top{padding-block:1.5rem .5rem}
  .top .logo{font-size:2.6rem}
  .hero-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);grid-template-areas:"h stage" "copy stage";column-gap:3rem;row-gap:2rem;padding-top:3rem;align-items:start}
  .hero h1{grid-area:h;align-self:end;padding-top:2rem}
  .stage{grid-area:stage;--pw:clamp(12.5rem,18vw,15.5rem);padding:4.5rem 0 3rem;max-width:none}
  .stage .disc{width:min(40vw,33rem)}
  .hero-copy{grid-area:copy}
  .sticker{width:7rem;font-size:1.8rem;right:1rem}
  .zipnote .note{font-size:1.7rem}

  .what .wrap{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);column-gap:3rem;align-items:end}
  .shapes{margin:0;height:16rem;transform:scale(1.35);transform-origin:left bottom}

  .status-grid{grid-template-columns:1fr 1fr;column-gap:4rem}

  .flavours{grid-template-columns:1fr 1fr}
  .band{padding:4.5rem clamp(2rem,4vw,4rem) 5rem;--pw:13.5rem;align-content:start}
  .band.plain{padding-left:max(var(--gutter),calc((100vw - 72rem) / 2 + var(--gutter)))}
  .band.orange{padding-left:clamp(3rem,6vw,6rem)}
  .pkstage{width:min(34vw,22rem);justify-self:start}

  .how-grid{grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:center;column-gap:4rem}
  .glass{width:min(26vw,21rem)}

  .notify .bits .a{width:22rem;right:-5rem;top:-7rem}
  .notify .bits .b{width:8rem;right:12rem;top:14rem}

  .foot-grid{grid-template-columns:1fr 1fr;column-gap:4rem}
}

/* ---------- one authored moment: the pouches settle, the underline draws ---------- */
@media (prefers-reduced-motion:no-preference){
  .stage .pwrap{animation:settle 1.1s var(--ease) backwards}
  .stage .pk + .pk .pwrap{animation-delay:.12s}
  .ul svg{animation:draw .9s .35s var(--ease) backwards}
  .sticker{animation:pop .7s .7s var(--ease) backwards}
}
@keyframes settle{from{transform:translateY(2.2rem) rotate(calc(var(--rot,0deg) * -1.6))}}
@keyframes draw{from{clip-path:inset(-50% 100% -50% 0)}to{clip-path:inset(-50% 0 -50% 0)}}
@keyframes pop{from{transform:rotate(-14deg) scale(.4)}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important}
}
