/* About Dorm Chef (27 Sep 2026). Without JavaScript, or with reduced motion, this is a plain readable page.
   about.js adds html.ab-motion to switch on the pinned scenes, the sideways track and the word-by-word light. */
.ab-page{background:transparent;overflow-x:clip}
.ab-gl{position:fixed;inset:0;width:100vw;height:100vh;z-index:-2;display:block;pointer-events:none}
/* Paper grain at full screen resolution, over the light and under the content */
.ab-page::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:.5;mix-blend-mode:soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E")}
html.ab-no-gl .ab-page::before{display:none}
.ab-light{color:var(--forest)}.ab-dark{color:var(--cream)}
html.ab-no-gl .ab-gl{display:none}
html.ab-no-gl .ab-hero{background:radial-gradient(60% 50% at 50% 100%,#f3bf3d 0,#fbecc6 55%,var(--cream) 100%)}
html.ab-no-gl .ab-dark{background:var(--forest)}
html.ab-no-gl .ab-help,html.ab-no-gl .ab-values{background:var(--cream)}
html.ab-no-gl .ab-mv{background:#f8d97e}

/* Shared bits */
.ab-kicker{display:inline-flex;align-items:center;gap:12px;font:700 13px/1.2 var(--sans);letter-spacing:.16em;text-transform:uppercase}
/* Section numbers: Vabedo on a painted disc (cream on light sections, yolk on dark) */
.ab-badge{display:inline-grid;place-items:center;width:48px;height:50px;background:url(../assets/about/badge-cream.webp) center/contain no-repeat;font-size:21px;line-height:1;letter-spacing:0;text-transform:none}
.ab-dark .ab-badge{background-image:url(../assets/about/badge-yolk.webp)}
.ab-emblem{width:30px;height:auto;margin-top:-6px}
.ab-line{display:block;white-space:nowrap}
.ab-h2{font-size:clamp(40px,5.2vw,80px);line-height:1.02;font-weight:400;margin-top:22px}
.ab-progress{position:fixed;inset:0 0 auto;height:4px;z-index:30;pointer-events:none}
.ab-progress span{display:block;height:100%;background:var(--yolk);transform-origin:0 50%;transform:scaleX(0)}

/* 00 Hero */
.ab-hero{position:relative;display:flex;flex-direction:column;min-height:calc(100vh - 108px);min-height:calc(100svh - 108px);overflow:hidden;padding-top:clamp(34px,7vh,90px)}
.ab-hero-inner{position:relative;z-index:2;display:grid;justify-items:center;text-align:center}
.ab-shapes{position:absolute;inset:0;z-index:1;pointer-events:none}
.ab-shape{position:absolute;height:auto;will-change:transform}
.ab-shape-leaf{left:4%;top:16%;width:clamp(70px,9vw,150px)}
.ab-shape-ribbon{right:3%;top:10%;width:clamp(80px,10vw,160px)}
.ab-shape-seed{right:12%;top:52%;width:clamp(44px,5vw,90px)}
html.ab-motion .ab-shape{opacity:0}
@media(max-width:600px){.ab-shape-leaf{top:4%;left:-4%}.ab-shape-ribbon{top:2%;right:-6%}.ab-shape-seed{display:none}}
.ab-hero-title{font-size:clamp(54px,7.2vw,118px);line-height:.95;font-weight:400;margin-top:22px}
@media(min-width:900px){.ab-hero-title .ab-line:nth-child(-n+2){display:inline}}
.ab-hero-lead{max-width:46ch;margin-top:28px;font-size:clamp(18px,1rem + .45vw,22px);line-height:1.5;font-weight:500}
/* The illustrated bowl sits under the words and rests on the section's bottom edge; the sun rises behind it */
.ab-bowl-wrap{position:relative;z-index:1;flex:none;margin-top:auto;padding-top:clamp(24px,5vh,56px);display:flex;justify-content:center}
.ab-bowl{display:block;width:min(900px,100vw);height:auto}
.ab-scroll{position:absolute;left:clamp(16px,2.2vw,30px);top:calc(100vh - 210px);top:calc(100svh - 210px);z-index:3;display:inline-flex;align-items:center;gap:12px;font:700 13px/1 var(--sans);letter-spacing:.12em;text-transform:uppercase;text-decoration:none;color:var(--forest);min-height:44px}
.ab-spoon{width:auto;height:48px}
html.ab-motion .ab-spoon{animation:ab-dip 2.2s cubic-bezier(.45,0,.2,1) infinite;transform-origin:50% 0}
@keyframes ab-dip{0%,100%{transform:translateY(-4px) rotate(0)}45%{transform:translateY(8px) rotate(-6deg)}70%{transform:translateY(4px) rotate(3deg)}}

/* 01 The problem */
.ab-problem{position:relative;padding:clamp(80px,12vh,140px) 0}
.ab-problem-inner{display:grid;gap:40px;justify-items:center;text-align:center}
.ab-lines{display:grid;gap:clamp(28px,5vh,48px)}
.ab-lines li{display:flex;flex-direction:column;align-items:center;gap:18px;font:800 clamp(34px,5.6vw,92px)/1.02 var(--sans);letter-spacing:-.025em;max-width:16ch;margin-inline:auto}
.ab-object{width:auto;height:clamp(96px,14vh,150px);filter:drop-shadow(0 16px 0 #0003)}
.ab-lines-last{color:var(--yolk)}
.ab-ghost{display:none}
html.ab-motion .ab-ghost{display:block;position:absolute;left:50%;top:50%;z-index:-1;translate:-50% -50%;font-size:clamp(260px,38vw,560px);line-height:1;opacity:.07;pointer-events:none;white-space:nowrap}
.ab-ticks{display:none}
html.ab-motion .ab-problem{height:560vh;padding:0}
html.ab-motion .ab-problem>.ab-pin,html.ab-motion .ab-mv-block>.ab-pin{position:sticky;top:0;height:100vh;height:100svh;display:grid;align-items:center;overflow:hidden}
html.ab-motion .ab-problem-inner{grid-template-rows:auto 1fr auto;height:100%;padding:clamp(28px,6vh,64px) 0}
html.ab-motion .ab-lines{position:relative;display:block;width:100%;align-self:stretch}
html.ab-motion .ab-lines li{position:absolute;inset:0;justify-content:center;opacity:0;visibility:hidden;will-change:transform,opacity,filter}
html.ab-motion .ab-ticks{display:flex;gap:10px}
.ab-ticks i{width:28px;height:4px;border-radius:4px;background:#fff5dd40;overflow:hidden;position:relative}
.ab-ticks i::after{content:'';position:absolute;inset:0;background:var(--yolk);transform:scaleX(var(--p,0));transform-origin:0 50%}

/* 02 Why we started */
.ab-story{padding:clamp(80px,14vh,160px) 0 clamp(110px,16vh,190px)}
.ab-story-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(40px,7vw,110px);align-items:start}
.ab-story-head{position:relative}
.ab-story-art{width:min(100%,330px);margin-top:clamp(30px,5vh,56px);filter:drop-shadow(0 26px 40px #0006)}
.ab-story-copy{display:grid;gap:30px;padding-top:clamp(8px,4vh,70px)}
.ab-story-copy p{font-size:clamp(19px,1rem + .55vw,25px);line-height:1.5;font-weight:500;max-width:34ch}
.ab-story-copy p:first-child{font-size:clamp(22px,1rem + 1vw,32px);line-height:1.35;font-weight:700}
.ab-split-line{display:block;overflow:hidden;padding-bottom:.08em;margin-bottom:-.08em}
.ab-split-line>span{display:block;will-change:transform}

/* Marquee: the tilted band is wider than the screen on purpose, so its wrapper clips sideways only */
.ab-marquee-band{position:relative;z-index:3;overflow-x:clip}
.ab-marquee{position:relative;z-index:3;margin:clamp(-60px,-6vh,-30px) -4vw clamp(10px,4vh,40px);padding:clamp(14px,2.2vh,22px) 0;background:var(--yolk);color:var(--forest);transform:rotate(-2.2deg);overflow:hidden;box-shadow:0 12px 0 #143d2b24}
.ab-marquee-track{display:flex;align-items:center;gap:clamp(22px,3vw,44px);width:max-content;font:800 clamp(28px,4.2vw,62px)/1 var(--sans);letter-spacing:-.02em;white-space:nowrap;will-change:transform}
.ab-marquee-track i{width:clamp(22px,2.4vw,34px);height:clamp(28px,3vw,42px);background:url(../assets/about/sparkle.webp) center/contain no-repeat;flex:none}

/* 03 How it helps */
.ab-help{padding:clamp(70px,10vh,120px) 0 clamp(80px,12vh,140px)}
.ab-help-head{margin-bottom:clamp(30px,5vh,56px)}
.ab-help-head .ab-line{display:inline}
.ab-help-note{margin-top:22px;font-size:14px;opacity:.7}
html.ab-motion .ab-help-note{margin-top:clamp(14px,2.5vh,26px)}
.ab-help-track{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:24px;width:min(1180px,88%);margin-inline:auto}
.ab-card{position:relative;display:flex;flex-direction:column;min-height:560px;padding:clamp(24px,2.4vw,34px);border:2px solid var(--forest);border-radius:30px 30px 10px 30px;background:#fffaf0;color:var(--forest);overflow:hidden;box-shadow:8px 10px 0 #143d2b24;isolation:isolate}
.ab-card-yolk{background:#f8d97e}
.ab-card-forest{background:var(--forest);color:var(--cream);border-color:var(--forest)}
.ab-card-big{font-size:clamp(60px,6vw,98px);line-height:.95;white-space:nowrap}
.ab-card-word{font-size:clamp(50px,4.8vw,78px)}
.ab-card h3{font:800 clamp(22px,1.6vw,26px)/1.15 var(--sans);margin-top:18px;letter-spacing:-.01em}
.ab-card p:not(.ab-card-big){font-size:17px;line-height:1.5;margin-top:10px;max-width:30ch;position:relative;z-index:1}
.ab-card-link{position:relative;z-index:1;align-self:flex-start;margin-top:16px;font-weight:700;font-size:16px;text-decoration:underline;text-decoration-color:var(--yolk);text-decoration-thickness:3px;text-underline-offset:5px;min-height:44px;display:inline-flex;align-items:center}
.ab-card-yolk .ab-card-link{text-decoration-color:var(--forest)}
.ab-card-art{position:relative;flex:1 1 0;min-height:150px;margin:18px 0 0}
.ab-card-art img{position:absolute;left:50%;bottom:0;height:100%;max-height:240px;width:auto;max-width:92%;object-fit:contain;translate:-50% 0;transition:transform .7s cubic-bezier(.22,1,.36,1)}
.ab-card-art-food img{aspect-ratio:1;height:auto;width:min(100%,220px);max-height:none;border-radius:50%;border:5px solid #fff5dd;box-shadow:0 14px 26px #143d2b2e}
.ab-card-forest .ab-card-art-food img{border-color:#fff5dd}
.ab-card-art-book img{border-radius:6px 14px 14px 6px;box-shadow:0 16px 28px #143d2b40;rotate:-4deg}
.ab-card:hover .ab-card-art img{transform:translateY(-6px) scale(1.04) rotate(-2deg)}
@media(min-width:1000px){
  html.ab-motion .ab-help{padding:0;height:var(--ab-help-height,400vh)}
  html.ab-motion .ab-help-pin{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;display:grid;align-content:center;grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr)}
  html.ab-motion .ab-help-viewport{overflow:visible}
  html.ab-motion .ab-help-track{display:flex;flex-wrap:nowrap;width:max-content;gap:28px;padding-inline:max(6vw,calc((100vw - 1180px) / 2));margin:0;will-change:transform}
  html.ab-motion .ab-card{flex:0 0 clamp(320px,29vw,410px);height:clamp(500px,64vh,600px);min-height:0}
}

/* 04 + 05 Mission and vision */
.ab-mv{padding:clamp(80px,12vh,140px) 0}
.ab-mv-block+.ab-mv-block{margin-top:clamp(70px,12vh,140px)}
.ab-mv-inner{display:grid;gap:clamp(20px,3vh,34px);justify-items:center;text-align:center}
.ab-mv-text{font-size:clamp(40px,6vw,98px);line-height:1.04;font-weight:400;max-width:16ch}
html.ab-motion .ab-mv{padding:0}
html.ab-motion .ab-mv-block{height:240vh}
html.ab-motion .ab-mv-block+.ab-mv-block{margin-top:0}
html.ab-motion .ab-mv-text .meal-type-word{opacity:.14;will-change:opacity,transform}

/* 06 How we work */
.ab-values{padding:clamp(90px,14vh,170px) 0}
.ab-values-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(40px,6vw,100px);align-items:start}
.ab-values-head{position:sticky;top:clamp(90px,16vh,160px)}
.ab-values-head .ab-line{display:inline}
.ab-values-list{display:grid}
.ab-values-list li{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(18px,3vw,40px);padding:clamp(26px,4vh,40px) 0;border-top:2px solid var(--forest)}
.ab-values-list li:last-child{border-bottom:2px solid var(--forest)}
.ab-v-num{font-size:clamp(36px,3.8vw,58px);line-height:1;white-space:nowrap}
.ab-values-list h3{font:800 clamp(24px,2vw,32px)/1.12 var(--sans);letter-spacing:-.015em}
.ab-values-list p{font-size:clamp(17px,1rem + .2vw,20px);line-height:1.55;margin-top:10px;max-width:40ch}

/* Start tonight */
.ab-cta{position:relative;min-height:100vh;min-height:100svh;display:grid;align-items:center;padding:clamp(90px,14vh,160px) 0}
.ab-cta-inner{display:grid;justify-items:center;text-align:center}
.ab-cta-title{font-size:clamp(56px,9vw,150px);line-height:.95;font-weight:400}
.ab-cta-title .ab-line{display:inline}
.ab-cta-lead{margin-top:24px;font-size:clamp(19px,1rem + .6vw,26px);font-weight:500;max-width:32ch}
.ab-cta .actions{justify-content:center}
.ab-cta .text-link{color:var(--cream)}
.ab-sign{margin-top:clamp(40px,7vh,72px);font:italic 600 18px/1.4 var(--sans);opacity:.85}
.ab-sign::before{content:'';display:inline-block;width:34px;height:2px;background:var(--yolk);vertical-align:middle;margin-right:12px}

/* Intro and reveal starting states (only when motion runs) */
html.ab-motion [data-ab-intro],html.ab-motion [data-ab-rise]{opacity:0;transform:translateY(26px)}
html.ab-motion .ab-hero-title .meal-type-word{opacity:0;transform:translateY(60%) rotate(4deg)}
html.ab-motion .ab-bowl{opacity:0}
html.ab-motion .ab-card-big .meal-type-word{opacity:0}

@media(max-width:900px){
  .ab-story-grid,.ab-values-grid{grid-template-columns:1fr}
  .ab-values-head{position:static}
  .ab-story-art{width:min(62%,240px)}
  .ab-help-track{width:88%}
}
@media(max-width:600px){
  .ab-card{min-height:520px}
  .ab-scroll{display:none}
}
@media(prefers-reduced-motion:reduce){.ab-card-art,.ab-card-art-person{transition:none}}
