@font-face { font-family: Type; src: url(fonts/familjen-grotesk.woff2) format('woff2'); font-weight: 400 700; font-display: block; }

:root {
  --ink: #efe8da; --deep: #23170f; --navy: #1d2940; --paper: #f4efe5; --pen: #2a221c; --cloth: #e9e1d1; --red: #a1371f;
  --edge: 14px; --side: 56px;           /* floor left and right of a mat: the strap lies on the right */
  --pad: 20px; --u: 1px;                /* the last mat is laid out in 340ths of its width */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--deep); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { position: relative; min-height: 100vh; font: 500 17px/1.32 Type, system-ui, sans-serif; color: var(--ink); background: var(--deep); overflow-x: clip; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; background: none; border: 0; border-radius: 0; }
button { cursor: pointer; }
em, i, address { font-style: normal; }
u { text-decoration: none; }
.unseen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 6px; }

#floor { position: absolute; inset: 0; overflow: clip; pointer-events: none; background: linear-gradient(#d4b092, #d4b092), var(--deep) url(tex/boards.webp) 50% 0 / 432px; background-blend-mode: multiply, normal; }
#stage { position: absolute; left: 0; top: 0; display: block; opacity: 0; will-change: transform; transition: opacity .25s; }
.live #stage { opacity: 1; } #stage.held { position: fixed; } /* Safari cuts this off at its bars, where the boards of #floor show; sticky would leave plain strips */
main { position: relative; padding-top: 78px; }
#ask, .mats { margin: 0 var(--side) 0 var(--edge); }

/* ---------- lies over the picture */
.logo { position: absolute; z-index: 5; left: 13px; top: calc(env(safe-area-inset-top) + 8px); width: 61px; height: 63px; background: var(--ink); -webkit-mask: url(../shared/brand/logo.svg) center / contain no-repeat; mask: url(../shared/brand/logo.svg) center / contain no-repeat; }
.book { position: fixed; z-index: 20; right: 14px; top: calc(env(safe-area-inset-top) + 12px); display: grid; place-items: center; height: 46px; padding: 0 20px; border-radius: 9px; background: var(--ink); color: var(--navy); font-size: 19px; font-weight: 700; text-decoration: none; box-shadow: 0 1px 1px rgb(0 0 0 / .35), 0 8px 18px -6px rgb(0 0 0 / .55); transition: translate .35s cubic-bezier(.3, .7, .3, 1); } .book.shy:not(:focus-visible) { translate: 0 -100px; }
.book:active { translate: 0 1px; }

/* ---------- mats. The canvas prints this text into the rubber; the HTML stays on top, unseen, for hands, keyboards, selection and machines */
.mat { position: relative; color: var(--print); --print: #f3ecdd; --rubber: #232d40; }
#stronger { --rubber: #5a211b; } #softer { --rubber: #a592a6; --print: #231a30; } #sweaty { --rubber: #b47427; --print: #24130a; } #new { --rubber: #3a4731; }
.live .mat:not(.free), .live .answers a { -webkit-text-fill-color: transparent; }
h1, h2, h3, h4, .say, .when, .first, .what, .go, .price, .date, .answers a { font-weight: 700; }
h1 { font-size: clamp(42px, 13.4vw, 62px); line-height: .99; letter-spacing: -.025em; text-wrap: balance; }

#ask { --dir: y; --answers: small; }
#ask .front { display: flex; flex-direction: column; justify-content: space-between; min-height: calc(87svh - 78px); padding: 26px var(--pad) 18px; }
.answers { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 22px; margin: 0 -6px; padding: 22px 0 20px; }
.answers a { display: grid; place-items: center; height: 56px; font-size: 22px; letter-spacing: -.01em; text-decoration: none; }
.answers .gone { visibility: hidden; }
.facts span, .line span { white-space: nowrap; }
.first { margin-top: 8px; font-size: 27px; letter-spacing: -.015em; line-height: 1.1; }
.say { padding: 52px var(--pad) 40px; font-size: 40px; line-height: 1; letter-spacing: -.022em; text-wrap: balance; }

.mats { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; row-gap: 124px; padding: 124px 0 100px; }
.mats .mat { padding: 30px 0 34px; scroll-margin-top: 60px; }
h2 { font-size: 61px; line-height: .95; letter-spacing: -.03em; text-wrap: balance; }
.mats h2 { padding: 0 var(--pad); }
.voice { margin-top: 9px; padding: 0 calc(var(--pad) + 20px) 0 var(--pad); font-size: 21px; font-weight: 600; line-height: 1.16; letter-spacing: -.008em; text-wrap: balance; }
.help { margin-top: 12px; padding: 0 var(--pad); text-wrap: pretty; }
.mats ol { margin-top: 24px; }
.mats li { padding: 17px var(--pad) 19px; pointer-events: none; }
.mats li.on { pointer-events: auto; }
.when { font-size: 31px; line-height: 1.05; letter-spacing: -.024em; white-space: nowrap; }
.what { margin-top: 6px; font-size: 20px; line-height: 1.2; letter-spacing: -.008em; }
.line { margin-top: 2px; text-wrap: pretty; }
.do { display: flex; align-items: center; gap: 18px; margin-top: 13px; }
.go { display: grid; place-items: center; width: 84px; height: 44px; border-radius: 7px; font-size: 19px; text-decoration: none; }
.write { display: grid; align-items: center; height: 44px; text-decoration: none; white-space: nowrap; }

/* ---------- the rest of the floor. Each section is complete as HTML; once its things lie on the floor (.gl) the HTML is only for hands, keyboards and machines */
main > section:not(.mats) { position: relative; margin: 0 14px; }
.gl, .gl [data-ink] { -webkit-text-fill-color: transparent; background: none !important; border-color: transparent !important; box-shadow: none !important; } .gl input { -webkit-text-fill-color: var(--pen); }
.gl img { opacity: 0; } .prints .face { z-index: 1; }
.print, .tag, .slip, .note, .card, .msg, .talk form, .chips button { background: var(--paper); color: var(--pen); rotate: calc(var(--r, 0) * 1deg); box-shadow: 0 1px 1px rgb(0 0 0 / .4), 4px 8px 12px -3px rgb(0 0 0 / .6); }
h3 { font-size: 23px; line-height: 1; letter-spacing: -.015em; }
[data-ink=solid] { background: var(--fill, none); } [data-ink=rule] { border-top: 1px solid var(--rule); }
.mats [data-ink=rule] { border: 0; }
.tag .go, .talk .go { --fill: var(--navy); width: auto; padding: 0 18px; color: var(--paper); }
.soft .go, #on .go, .links .go, .buy .go { width: max-content; padding: 0 18px; background: var(--ink); color: var(--navy); }

/* prints */
.print { position: relative; padding: 10px 10px 13px; }
.pics { position: relative; aspect-ratio: 1 / 1.22; }
.pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.print h3 { margin-top: 10px; }
.print p { margin-top: 5px; font-size: 15px; line-height: 1.25; text-wrap: pretty; }
#hello { width: 300px; margin: 18px 0 0 calc((100% - 300px) / 2 - 14px); } #hello .pics { aspect-ratio: 1; }
#hello figcaption { padding: 9px 2px 0; font-size: 17px; line-height: 1.22; } #hello b { display: block; font-size: 27px; line-height: 1; letter-spacing: -.02em; margin-bottom: 4px; }
#teachers { padding-top: 10px; }
.prints { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 13px; align-items: start; margin-top: 34px; }
.big { grid-column: 1 / -1; width: 306px; } .big .pics { aspect-ratio: 1; } #keat .pics { aspect-ratio: 1 / .8; } #keat { justify-self: end; }
#rane, #regina, #charis, #jasmine { margin-top: 26px; }

/* the week */
#week { margin-top: 150px; }
.cloth { --navy: #263861; padding: 24px 15px 60px; background: var(--cloth); color: var(--navy); }
#week h2 { font-size: 47px; }
.feel { display: flex; justify-content: space-between; margin: 12px -4px 10px; }
.feel button { display: grid; place-items: center; height: 44px; } .feel span { display: grid; place-items: center; height: 31px; padding: 0 7px; border-radius: 5px; font-size: 15.5px; font-weight: 600; letter-spacing: -.005em; }
.feel [aria-pressed=true] span { --fill: var(--navy); color: var(--cloth); }
.feel [data-f=stronger][aria-pressed=true] span { --fill: #7b2c21; } .feel [data-f=softer][aria-pressed=true] span { --fill: #6b5578; } .feel [data-f=sweaty][aria-pressed=true] span { --fill: #8f5412; } .feel [data-f=new][aria-pressed=true] span { --fill: #42543a; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.day { display: contents; }
.day h3 { font-size: 13px; letter-spacing: 0; }
.day h3 button { display: grid; align-content: center; justify-items: center; gap: 3px; width: 100%; height: 58px; border-radius: 7px; font-weight: 700; }
.day h3 i { font-size: 24px; line-height: 1; letter-spacing: -.02em; } .day h3 u { display: none; }
.day.on h3 button { --fill: var(--navy); color: var(--cloth); }
.day ol { display: none; grid-column: 1 / -1; grid-row: 2; min-height: calc(var(--rows) * 56px + 14px); padding-top: 14px; }
.day.on ol { display: block; }
.day li { display: grid; grid-template-columns: 80px minmax(0, 1fr) 60px; align-items: center; height: 56px; --rule: rgb(29 41 64 / .36); }
.day b { font-size: 18.5px; letter-spacing: -.02em; } .day p { font-size: 17px; font-weight: 600; line-height: 1.12; letter-spacing: -.01em; } .day p span { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.day em { color: var(--red); }
.bk { display: grid; align-items: center; height: 46px; text-decoration: none; } .bk span { display: grid; place-items: center; height: 33px; border-radius: 6px; --fill: var(--navy); color: var(--cloth); font-size: 15px; font-weight: 700; }
.day li.off { opacity: .2; pointer-events: none; }

/* passes */
#passes { margin-top: 170px; }
.gift { margin-top: 30px; } .wrapped { display: block; width: 224px; height: 150px; }
.tag { position: relative; width: 322px; padding: 20px 22px 22px; } .tag + .tag { margin: 14px 0 0 auto; }
.price { font-size: 100px; line-height: .86; letter-spacing: -.045em; } .tag .price { margin: 8px 0 12px -4px; }
.tag p:not(.price) { font-size: 17px; line-height: 1.25; text-wrap: pretty; } .tag .go { width: max-content; margin-top: 14px; }
.after { margin-top: 110px; } .after p { margin-top: 10px; font-size: 21px; line-height: 1.16; text-wrap: balance; }
#passes h2 span { white-space: nowrap; }
.stacks li { display: grid; grid-template-columns: 118px minmax(0, 1fr); gap: 34px; align-items: center; min-height: 146px; padding-left: 26px; } .stacks { margin-top: 34px; }
.stack { height: 78px; }
.slip { width: 178px; padding: 11px 14px 13px; } .slip h3 { font-size: 18px; } .slip .price { margin: 5px 0 6px -1px; font-size: 39px; line-height: .95; letter-spacing: -.035em; } .slip p { font-size: 15.5px; line-height: 1.22; }
.buy { display: flex; padding: 26px 0 64px 178px; }

/* the first visit */
#visit { margin-top: 116px; padding-bottom: 20px; } #visit > h2 { max-width: 5em; } /* to the right of it falls the sun that lights the top of the highest stack */

.arrive { position: relative; margin-top: 26px; padding-top: 226px; } .towel, .bottle { position: absolute; rotate: calc(var(--r) * 1deg); } .towel { --r: -7; left: 6px; top: 34px; width: 188px; height: 130px; } .bottle { --r: -68; left: 168px; top: 84px; width: 206px; height: 62px; }
.note { width: 330px; margin: 0 0 0 auto; padding: 22px 24px 26px; display: grid; gap: 20px; } .note h3 { margin-bottom: 7px; } .note li { font-size: 17px; line-height: 1.36; }

/* dusk */
#bowls { margin-top: 200px; } #bowls h2 { font-size: 45px; line-height: .98; }
.hint { margin-top: 58px; font-size: 24px; font-weight: 600; letter-spacing: -.01em; }
.rug { position: relative; width: 340px; height: 486px; margin: 48px auto 60px; rotate: calc(var(--r) * 1deg); }
.bowl { position: absolute; left: calc(var(--x) * 100%); top: calc(var(--y) * 100%); width: calc(var(--d) * 100%); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; } .bowl::after { content: ''; position: absolute; inset: -6%; border-radius: 50%; }
.soft { display: grid; gap: 20px; margin-top: 28px; } .soft li { position: relative; padding-right: 100px; } .soft .go { position: absolute; right: 0; top: 4px; }

/* the way here */
#way { margin-top: 220px; } .road { position: absolute; left: 4px; top: 80px; width: 52px; height: 424px; } .steps { margin-top: 30px; padding-left: 74px; } .steps li { display: grid; align-content: center; height: 78px; font-size: 24px; font-weight: 600; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
#way .print { --shade: 999; width: 252px; margin: 34px 0 0 auto; } #way figcaption { padding-top: 10px; font-size: 18px; font-weight: 600; line-height: 1.15; }
.links { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; margin-top: 34px; } .links .go { grid-column: 1 / -1; justify-self: start; } .reach { display: grid; align-items: center; height: 44px; font-size: 19px; font-weight: 600; text-underline-offset: 4px; } .park { margin-top: 14px; max-width: 20em; }

/* what's on */
#on { margin-top: 150px; } .ask p { margin: 14px 0 16px; font-size: 21px; line-height: 1.2; text-wrap: pretty; } #on > h3 { margin-top: 64px; font-size: 31px; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 13px; align-items: start; margin-top: 24px; } .card.strong { grid-column: 1 / -1; width: 318px; padding: 18px 20px 20px; } .card.strong:nth-child(even) { justify-self: end; } .card:nth-child(4) { grid-column: 2; }
.card { padding: 13px 13px 15px; } .date { font-size: 25px; line-height: .98; letter-spacing: -.03em; } .card h4 { margin-top: 8px; font-size: 17px; line-height: 1.14; letter-spacing: -.008em; } .card p:not(.date) { margin-top: 4px; font-size: 15px; line-height: 1.25; text-wrap: pretty; }
.strong .date { font-size: 46px; } .strong h4 { margin-top: 7px; font-size: 22px; letter-spacing: -.015em; } .card.strong p:not(.date) { font-size: 17px; }

/* two people */
#reviews { margin-top: 150px; display: grid; gap: 70px; } blockquote p { font-size: 36px; font-weight: 700; line-height: 1.02; letter-spacing: -.024em; text-wrap: balance; } blockquote footer { margin-top: 12px; }

/* the cat */
#cat { margin-top: 150px; } .puss { position: absolute; right: 0; top: 68px; width: 130px; rotate: calc(var(--r) * 1deg); } .puss img { display: block; width: 100%; height: auto; }
.talk { position: relative; margin-top: 32px; } .said { display: grid; gap: 14px; min-height: 426px; align-content: start; justify-items: start; }
.msg { width: 306px; padding: 14px 17px 17px; font-size: 17px; line-height: 1.27; text-wrap: pretty; } .msg p + p { margin-top: 8px; } .msg.hello { width: 214px; font-size: 20px; line-height: 1.2; font-weight: 600; } .msg.you { width: auto; max-width: 214px; background: #dfb97c; font-weight: 600; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; } .act span { display: grid; place-items: center; height: 40px; padding: 0 14px; border-radius: 7px; --fill: var(--navy); color: var(--paper); font-weight: 700; } .act { text-decoration: none; }
.talk form { --r: .5; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 9px; } .talk input { height: 46px; padding: 0 10px; font-size: 18px; } .talk input::placeholder { color: #6d6054; -webkit-text-fill-color: #6d6054; }
.chips { display: flex; flex-wrap: wrap; gap: 11px 10px; margin-top: 18px; } .chips button { --r: -.7; min-height: 44px; padding: 9px 13px; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: left; } .chips button:nth-child(even) { --r: .8; }

/* the end */
#end { margin-top: 260px !important; } .still { width: calc(340 * var(--u)); margin: 0 auto; font-size: calc(45 * var(--u)); font-weight: 700; line-height: .98; letter-spacing: -.026em; text-wrap: balance; }
.rise { padding-bottom: calc(150 * var(--u)); } .room { position: relative; } @media (min-height: 560px) { .deep .rise { height: 270svh; padding: 0; } .deep .room { position: sticky; top: 0; height: 100svh; } }
.free { position: relative; top: calc(76 * var(--u)); display: flex; flex-direction: column; width: calc(340 * var(--u)); height: calc(966 * var(--u)); margin: 0 auto; padding: calc(34 * var(--u)) calc(24 * var(--u)) calc(26 * var(--u)); transform-origin: 50% 0; }
.free h2 { font-size: calc(82 * var(--u)); line-height: .91; letter-spacing: -.035em; } .free .go { flex: none; width: 100%; height: calc(98 * var(--u)); margin: calc(32 * var(--u)) 0 calc(30 * var(--u)); border-radius: calc(13 * var(--u)); font-size: calc(40 * var(--u)); letter-spacing: -.015em; }
.free address { font-size: calc(33 * var(--u)); font-weight: 600; line-height: 1.14; letter-spacing: -.012em; } .free address a { display: grid; align-items: center; justify-items: start; height: calc(84 * var(--u)); text-decoration: none; } .free address p { margin-bottom: calc(12 * var(--u)); }
.free footer { margin-top: auto; font-size: calc(26 * var(--u)); line-height: 1.16; }

@media (max-width: 379px) { /* small phones */
  .stacks li { gap: 20px; padding-left: 6px; } .buy { padding-left: 144px; } .soft .when { font-size: 26px; } .mats .when { font-size: 7.6vw; } .rug { width: 328px; height: 469px; } #visit > h2 { font-size: 55px; }
}
@media (hover: hover) {
  .book { transition: background .15s; } .book:hover { background: #fff; }
  .live .go:hover { background: rgb(255 255 255 / .18); } .write:hover { box-shadow: inset 0 -12px 0 -8px var(--print); }
}

/* ---------- tablet: the same, larger, the mats two by two */
@media (min-width: 700px) and (max-width: 1079px) {
  :root { --pad: 38px; --u: 1.5px; }
  main { width: 620px; margin: 0 auto; padding-top: 124px; }
  #ask { margin: 0; }
  .logo { left: calc(50% - 310px); top: 22px; width: 84px; height: 87px; }
  .book { right: calc(50% - 310px); top: 34px; height: 58px; padding: 0 26px; font-size: 23px; }
  #ask .front { min-height: calc(80svh - 124px); padding-block: 44px 30px; }
  h1 { font-size: 96px; } .answers { gap: 28px 30px; } .answers a { height: 84px; font-size: 34px; } .facts { font-size: 23px; } .first { font-size: 42px; } .say { padding-block: 90px 60px; font-size: 76px; }
  main > section { --w: min(716px, 100vw - 40px); width: var(--w); margin-inline: calc((620px - var(--w)) / 2) !important; }
  .mats { --pad: 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 170px 44px; padding-block: 170px 130px; }
  main > section > h2 { font-size: 84px; }
  #teachers { padding-top: 0; } #teachers > h2 { position: absolute; left: 0; top: 46px; width: 4.2em; font-size: 108px; } .prints { --shade: 300; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; margin: 0; } .prints .print { grid-column: auto; width: auto; margin-top: 0; } .prints .pics, #keat .pics { aspect-ratio: 1 / 1.14; } .prints #ka { grid-column: 3; } #rane, #lc, #keat { translate: 0 20px; } .prints .print p { font-size: 16px; }
  #week { margin-top: 170px; } .cloth { padding: 40px 34px 84px; } #week h2 { font-size: 74px; } .feel { justify-content: flex-start; gap: 10px; margin: 18px -12px 18px; } .feel button { height: 48px; } .feel span { height: 38px; padding: 0 13px; border-radius: 7px; font-size: 19px; } .day h3 { font-size: 17px; } .day h3 button { height: 74px; } .day h3 i { font-size: 32px; } .day ol { min-height: calc(var(--rows) * 66px + 20px); padding-top: 20px; } .day li { grid-template-columns: 130px minmax(0, 1fr) 84px; height: 66px; } .day b { font-size: 25px; } .day p { font-size: 21px; } .day p span { font-size: 17px; } .bk span { height: 40px; font-size: 18px; }
  .gift { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; align-items: start; margin-top: 44px; } .wrapped { grid-column: 1 / -1; width: 268px; height: 190px; margin-left: 30px; } .tag { width: auto; padding: 26px 28px 30px; } .tag + .tag { margin: 24px 0 0; } .tag h3 { font-size: 27px; } .tag .price { font-size: 124px; } .tag p:not(.price) { font-size: 18px; }
  .after p { font-size: 25px; } .stacks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 40px; } .stacks li { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: 40px; min-height: 0; padding: 0; } .stack { width: 100px; height: 320px; margin-left: 12px; } .slip { width: 133px; padding: 12px 12px 14px; } .slip .price { font-size: 37px; } .slip p { font-size: 15px; letter-spacing: -.01em; } .buy { margin-top: -84px; padding: 0 0 90px; }
  #visit > h2 { max-width: none; } .arrive { display: grid; justify-items: end; margin-top: 44px; padding: 0; } .towel { left: 4px; top: 56px; width: 232px; height: 160px; } .bottle { left: 108px; top: 250px; width: 236px; height: 71px; --r: -58; } .note { width: 356px; padding: 30px 34px 36px; gap: 26px; } .note h3 { font-size: 27px; } .note li { font-size: 19px; }
  #bowls { display: grid; grid-template-columns: minmax(0, 1fr) 46%; column-gap: 20px; } #bowls h2 { font-size: 50px; } .soft { margin-top: 2px; } .soft .when { font-size: 25px; } .soft p:not(.when) { font-size: 19px; font-weight: 700; } .hint { grid-column: 1 / -1; justify-self: center; font-size: 26px; } .rug { grid-column: 1 / -1; width: 690px; height: 484px; margin-top: 28px; } .bowl { left: calc(var(--y) * 100%); top: calc(var(--x) * 100%); width: calc(var(--d) * 484px); }
  .road { left: 8px; top: 116px; width: 66px; height: 500px; } .steps { margin-top: 44px; padding: 0 320px 0 104px; } .steps li { height: 94px; font-size: 29px; } #way .print { position: absolute; right: 6px; top: 132px; width: 300px; margin: 0; } .links { display: flex; align-items: center; gap: 24px; width: 700px; } .reach { font-size: 21px; } .park { font-size: 19px; }
  #on .ask { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; } .ask p { margin: 18px 0; font-size: 26px; } #on > h3 { font-size: 40px; } .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; } .card.strong, .card.long { grid-column: auto; grid-row: auto; width: auto; } .card, .card.strong { padding: 18px 20px 22px; } .date { font-size: 31px; } .strong .date { font-size: 37px; } .card h4 { font-size: 19px; } .card p:not(.date) { font-size: 16px; }
  #reviews { grid-template-columns: 1fr 1fr; gap: 40px; } blockquote p { font-size: 40px; }
  .puss { left: 6px; right: auto; top: 112px; width: 176px; } .talk { margin: 44px 0 0 226px; } .said { min-height: 440px; } .msg, .msg.hello { width: 100%; padding: 20px 24px 24px; font-size: 19px; } .msg.hello { font-size: 27px; } .msg.you { max-width: 100%; padding: 14px 20px 16px; } .talk input { height: 52px; font-size: 20px; } .talk form .go { height: 52px; padding: 0 24px; } .chips button { font-size: 17px; }

}
@media (min-width: 700px) and (max-width: 1079px) and (max-height: 520px) { /* a phone on its side */
  main { padding-top: 76px; } .logo { top: 10px; width: 58px; height: 60px; } .book { top: 14px; height: 48px; padding: 0 22px; font-size: 20px; }
  #ask .front { min-height: 0; padding-block: 24px 18px; } h1 { font-size: 58px; }
  .answers { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 20px 0 14px; } .answers a { height: 54px; font-size: 21px; } .facts { font-size: 18px; } .first { margin-top: 4px; font-size: 27px; } .say { padding-block: 60px 44px; font-size: 58px; }
}
/* ---------- desktop: the question lies across, and the four rolls of the first screen are the four mats */
@media (min-width: 1080px) {
  :root { --s: .78; --u: calc(1.52px * var(--s)); --pad: calc(22px * var(--s)); --gap: 34px; --between: calc(20px + 50px * var(--s)); --w: min(1300px, 100% - 80px); }
  main { width: var(--w); margin: 0 auto; padding-top: 118px; }
  .logo { left: calc((100% - var(--w)) / 2); top: 20px; width: 80px; height: 83px; }
  .book { right: calc((100% - var(--w)) / 2); top: 30px; height: 56px; padding: 0 28px; font-size: 22px; }
  #ask, .mats { margin: 0; }
  #ask { --dir: x; --answers: mats; width: 71.5%; }
  #hello { position: absolute; right: calc(16px * var(--s)); top: 108px; width: calc(292px * var(--s)); margin: 0; }
  #ask .front { min-height: calc(372px * var(--s)); padding: calc(42px * var(--s)) 0 calc(34px * var(--s)) calc(44px * var(--s)); }
  h1 { font-size: calc(104px * var(--s)); line-height: .98; max-width: 8.8em; }
  .facts { display: flex; align-items: flex-end; gap: calc(44px * var(--s)); padding-top: calc(26px * var(--s)); }
  .facts p:first-child { width: 19.4em; font-size: max(17px, 20px * var(--s)); line-height: 1.3; }
  .first { margin: 0 0 -2px; font-size: calc(38px * var(--s)); white-space: nowrap; }
  .say { display: none; }
  .answers { position: absolute; left: 0; width: calc(100% / .715); top: calc(100% + var(--between)); grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin: 0; padding: 0; }
  .answers a { height: calc(72px * var(--s)); font-size: calc(34px * var(--s)); }
  main > section:not(.mats) { margin-inline: 0; }
  main > section > h2 { font-size: calc(96px * var(--s)); }
  .prints { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; row-gap: 44px; margin-top: 44px; } .prints .print { width: 17.2%; padding: 11px 11px 15px; } .prints .big { width: 25.2%; } .prints .print p { font-size: max(15px, 16px * var(--s)); }
  #theen, #regina, #lc { margin-top: 30px; } #rane, #alvelyn { margin-top: 6px; } #ethan, #jasmine { margin-top: 44px; } #charis { margin-top: 0; } #keat { order: 1; margin-top: 20px; }
  #week { margin-top: 150px; } .cloth { padding: calc(40px * var(--s)) calc(34px * var(--s)) calc(96px * var(--s)); } #week h2 { font-size: calc(84px * var(--s)); }
  .head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; } .feel { gap: 10px; margin: 0; } .feel span { height: 40px; padding: 0 14px; font-size: 20px; }
  .days { gap: 0 calc(22px * var(--s)); } .day, .day ol { display: block; min-height: 0; } .day ol { padding-top: 10px; } .day h3 button { display: flex; justify-content: flex-start; align-items: baseline; gap: 8px; height: auto; padding: 0; --fill: none; color: inherit; pointer-events: none; } .day.on h3 button { --fill: none; color: inherit; }
  .day h3 span { font-size: calc(27px * var(--s)); letter-spacing: -.02em; } .day h3 i { font-size: 17px; font-weight: 500; letter-spacing: 0; } .day h3 u { display: inline; }
  .day li { grid-template-columns: 1fr auto; height: auto; padding: 10px 0 12px; align-items: center; } .bk { grid-area: 1 / 2; } .day p { grid-column: 1 / -1; margin-top: 1px; font-size: max(15px, 17px * var(--s)); } .day b { font-size: max(16px, 19px * var(--s)); } .bk { height: 30px; } .bk span { height: 26px; padding: 0 9px; font-size: 14px; border-radius: 5px; }
  #passes { margin-top: 170px; } .gift { display: grid; grid-template-columns: 27% 1fr 1fr; gap: calc(36px * var(--s)); align-items: start; margin-top: calc(50px * var(--s)); } .wrapped { width: calc(291px * var(--s)); height: calc(330px * var(--s)); }
  .tag { width: auto; padding: calc(30px * var(--s)) calc(34px * var(--s)) calc(34px * var(--s)); } .tag + .tag { margin: calc(46px * var(--s)) 0 0; } .tag h3 { font-size: calc(31px * var(--s)); } .tag .price { margin: 12px 0 18px -6px; font-size: calc(168px * var(--s)); } .tag p:not(.price) { font-size: calc(20px * var(--s)); } .tag .go { margin-top: 22px; }
  .after { display: flex; align-items: baseline; gap: 34px; margin-top: 120px; } .after p { margin: 0; font-size: calc(27px * var(--s)); }
  .stacks { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 44px; } .stacks li { display: flex; flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: calc(64px * var(--s)); min-height: 0; padding: 0; } .stack { width: calc(122px * var(--s)); height: calc(386px * var(--s)); margin-left: 20px; }
  .slip { width: calc(224px * var(--s)); padding: calc(18px * var(--s)) calc(20px * var(--s)) calc(20px * var(--s)); } .slip h3 { font-size: calc(23px * var(--s)); } .slip .price { margin-block: 8px 10px; font-size: calc(54px * var(--s)); } .slip p { font-size: max(15.5px, 18px * var(--s)); }
  .buy { margin-top: calc(-110px * var(--s)); padding: 0 0 110px; }
  #visit { margin-top: 110px; } #visit > h2 { max-width: none; } .arrive { display: grid; justify-items: end; align-items: start; margin-top: 46px; padding: 0; min-height: calc(390px * var(--s)); } .towel { left: 10px; top: calc(40px * var(--s)); width: calc(262px * var(--s)); height: calc(181px * var(--s)); } .bottle { left: calc(196px * var(--s)); top: calc(120px * var(--s)); width: calc(268px * var(--s)); height: calc(81px * var(--s)); }
  .note { width: 63%; grid-template-columns: 1.06fr .8fr 1fr; gap: calc(30px * var(--s)); padding: calc(36px * var(--s)) calc(38px * var(--s)) calc(42px * var(--s)); } .note h3 { margin-bottom: 14px; font-size: calc(30px * var(--s)); } .note li { font-size: max(16px, 19px * var(--s)); line-height: 1.42; }
  #bowls { --r0: min(calc(590px * var(--s)), 64svh); display: grid; grid-template-columns: 1fr 33%; margin-top: 200px; } #bowls h2 { max-width: 9em; font-size: calc(78px * var(--s)); } .rug { grid-column: 1 / -1; width: calc(var(--r0) * 1.44); height: var(--r0); margin: calc(58px * var(--s)) auto 60px; } .bowl { left: calc(var(--y) * 100%); top: calc(var(--x) * 100%); width: calc(var(--d) * var(--r0)); }
  .soft { gap: 24px; margin: 12px 0 0; } .soft p:not(.when) { font-size: 20px; } .hint { grid-column: 1 / -1; justify-self: center; margin-top: calc(80px * var(--s)); font-size: calc(26px * var(--s)); }
  #way { margin-top: 210px; padding-right: calc(370px * var(--s)); } #way .print { --shade: 0; position: absolute; right: 0; top: 10px; width: calc(330px * var(--s)); margin: 0; } #way figcaption { font-size: max(17px, 20px * var(--s)); } .road { left: 0; top: calc(140px * var(--s)); width: calc(100% - 350px * var(--s)); height: calc(84px * var(--s)); }
  .steps { --shade: 999; display: flex; justify-content: space-between; gap: calc(20px * var(--s)); margin-top: calc(166px * var(--s)); padding: 0; } .steps li { display: block; height: auto; max-width: 7.8em; font-size: calc(26px * var(--s)); } .links { display: flex; align-items: center; gap: 34px; margin-top: calc(84px * var(--s)); } .reach { font-size: 21px; } .park { max-width: 24em; margin-top: 24px; font-size: 18px; }
  #on { margin-top: 150px; } #on > .ask { display: flex; align-items: center; gap: 46px; } .ask p { max-width: 19em; font-size: calc(30px * var(--s)); } #on > h3 { font-size: calc(44px * var(--s)); }
  .cards { grid-template-columns: repeat(16, 1fr); gap: calc(30px * var(--s)) calc(22px * var(--s)); margin-top: 34px; } .card, .card.long { grid-column: span 3; grid-row: auto; padding: calc(20px * var(--s)) calc(21px * var(--s)) calc(24px * var(--s)); } .card:nth-child(n + 3) { grid-column: span 4; } .card.strong:first-child { grid-column: span 5; } .card.strong { width: auto; padding: calc(28px * var(--s)) calc(30px * var(--s)) calc(34px * var(--s)); }
  .date { font-size: calc(36px * var(--s)); } .strong .date { font-size: calc(62px * var(--s)); } .card h4 { font-size: calc(22px * var(--s)); } .strong h4 { font-size: calc(29px * var(--s)); } .card p:not(.date) { font-size: max(15.5px, 18px * var(--s)); } .card.strong p:not(.date) { font-size: calc(20px * var(--s)); }
  #reviews { grid-template-columns: 1fr 1fr; gap: calc(60px * var(--s)); } blockquote p { font-size: calc(56px * var(--s)); } blockquote footer { margin-top: 20px; font-size: 19px; }
  #cat { margin-top: 170px; } .puss { left: calc(20px * var(--s)); right: auto; top: calc(136px * var(--s)); width: calc(236px * var(--s)); }
  .talk { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; gap: 26px calc(50px * var(--s)); margin: 44px 0 0 calc(330px * var(--s)); } .said { grid-row: 1 / 3; min-height: calc(450px * var(--s)); } .msg { width: 100%; padding: 22px 26px 26px; font-size: max(17px, 19px * var(--s)); } .msg.hello { width: 100%; font-size: calc(29px * var(--s)); padding: 30px 32px 36px; } .msg.you { max-width: 100%; padding: 16px 22px 18px; } .talk input { height: 56px; font-size: 21px; } .talk form { padding: 12px; } .talk form .go { height: 56px; padding: 0 26px; } .chips { align-content: start; margin: 0; } .chips button { padding: 11px 17px; font-size: 18px; }
  .mats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding: calc(var(--between) + 106px * var(--s)) 0 150px; }
  .when { font-size: calc(29px * var(--s)); } h2 { font-size: calc(62px * var(--s)); } .do { gap: 14px; }
}
@media (min-width: 1080px) and (max-width: 1279px) { .do { gap: 12px; } .do .go { width: 62px; font-size: 17px; } .write { font-size: 15.5px; } }
@media (min-width: 1280px) { :root { --s: .88; --w: min(1300px, 100% - 120px); } }
@media (min-width: 1420px) { :root { --s: 1; } }
@media (min-width: 1720px) { :root { --s: 1.2; --gap: 40px; --w: 1560px; } .facts, .line, .write { font-size: 19px; } .what { font-size: 22px; } }

.cover body > * { visibility: hidden; } .cover body > canvas { visibility: visible; } /* index.html?cover */

/* ---------- until the picture is there: a still of its first moment */
.wait #floor { background: var(--deep) url(poster-m.webp) 50% 0 / 100% auto no-repeat; }
.wait main { visibility: hidden; }
@media (min-width: 700px) { .wait #floor { background-image: url(poster-t.webp); } }
@media (min-width: 1080px) { .wait #floor { background-image: url(poster-d.webp); } }

/* ---------- no WebGL (.flat), or not yet: the same floor, mats and sun without depth. Only .flat may change where things lie: the picture is measured before it is there */
html:not(.live, .wait) .mat, html:not(.live, .wait) .answers a, .free:not(.gl) { background: var(--rubber) url(tex/grain.webp) 0 0 / 168px; background-blend-mode: soft-light; box-shadow: 0 1px 0 rgb(0 0 0 / .5), 3px 5px 7px -2px rgb(0 0 0 / .55); }
html:not(.live, .wait) .answers a { --print: #f3ecdd; color: var(--print); border-radius: 5px / 50%; box-shadow: 0 10px 14px -5px rgb(0 0 0 / .7), inset 0 -12px 14px -6px rgb(0 0 0 / .45), inset 0 8px 10px -6px rgb(255 255 255 / .25); }
html:not(.live, .wait) .answers a:nth-child(1) { --rubber: #8a3527; } html:not(.live, .wait) .answers a:nth-child(2) { --rubber: #b09cb4; --print: #231a30; } html:not(.live, .wait) .answers a:nth-child(3) { --rubber: #c4802f; --print: #24130a; } html:not(.live, .wait) .answers a:nth-child(4) { --rubber: #4d6040; }
html:not(.live) .mats li { box-shadow: inset 0 2px; pointer-events: auto; }
html:not(.live) .mat .go, .free:not(.gl) .go { background: var(--print); color: var(--rubber); }
html:not(.live) .free [data-ink=under], .free:not(.gl) [data-ink=under] { text-decoration: underline; text-decoration-thickness: calc(1.6 * var(--u)); text-underline-offset: .18em; }
html:not(.live) .write { text-decoration: underline; text-underline-offset: 4px; }
html:not(.live, .wait) body::after { content: ''; position: absolute; inset: 0 0 auto; height: var(--day, 0); background: url(light-m.webp) 50% 0 / 100% auto; mix-blend-mode: color-dodge; pointer-events: none; -webkit-mask: linear-gradient(#000 calc(100% - 150px), transparent); mask: linear-gradient(#000 calc(100% - 150px), transparent); }
.flat :is(.wrapped, .towel, .bottle) { display: none; } .flat .arrive { min-height: 0; padding-top: 0; }
.flat .stack { width: calc(var(--n) * 2.36px); height: 46px; border-radius: 2px; background: repeating-linear-gradient(90deg, #77787f 0 1px, #4a4b52 2px 10px, #17171a 11.4px 11.8px); box-shadow: 4px 8px 10px -3px rgb(0 0 0 / .7); }
html:not(.live) .road { width: 24px; background: #1b2741; border-radius: 2px; box-shadow: 1px 2px 4px rgb(0 0 0 / .6); } html:not(.live) .puss img { filter: drop-shadow(3px 6px 5px rgb(0 0 0 / .5)); }
html:not(.live) #bowls::before { content: ''; position: absolute; z-index: -1; inset: -160px calc((100% - 100vw) / 2); background: linear-gradient(transparent, rgb(8 7 16 / .74) 24% 80%, transparent); } html:not(.live) #bowls { z-index: 0; }
html:not(.live, .wait) .rug { background: url(tex/rug.webp) 0 0 / 300px #8d7a63; background-blend-mode: multiply; box-shadow: 0 0 150px 20px rgb(255 170 90 / .26), 3px 8px 14px rgb(0 0 0 / .6); }
html:not(.live) .bowl { background: radial-gradient(#fff6e6 20%, #ffe6bd 62%, #f3c389 88%, #fffaf0 90% 94%, #d9a36a); box-shadow: 0 0 34px 10px rgb(255 190 110 / .75); }
html:not(.live) .rung { animation: rung 5s ease-out; } @keyframes rung { 4% { box-shadow: 0 0 80px 34px rgb(255 205 130 / .95); } }
@media (min-width: 1080px) {
  html:not(.live, .wait) body::after { background-image: url(light-d.webp); }
  #classes { padding-bottom: 130px; }
  .flat .answers { display: none; } .flat .mats { padding-top: 56px; } /* the mats themselves are right below */
  .flat .gift { grid-template-columns: 1fr 1fr; } .flat .note { width: 100%; } html:not(.live) .road { width: calc(100% - 350px * var(--s)); height: 32px; }
}
@media (min-width: 700px) { .flat .stack { width: calc(100px * var(--s, 1)); height: calc(var(--n) * 7.4px * var(--s, .86)); background: repeating-linear-gradient(#77787f 0 1px, #4a4b52 2px calc(35px * var(--s, .86)), #17171a calc(37px * var(--s, .86))); } .flat .buy { margin-top: 20px; } }

/* ---------- no movement: the two sides of a teacher's print lie there side by side, the portrait as a small print of its own */
html:not(.live) .prints .face { inset: auto -7px -9px auto; width: 40%; height: auto; aspect-ratio: 1 / 1.16; border: 5px solid var(--paper); rotate: 3.4deg; box-shadow: 1px 3px 6px rgb(0 0 0 / .5); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .prints .face { inset: auto -7px -9px auto; width: 40%; height: auto; aspect-ratio: 1 / 1.16; border: 5px solid var(--paper); rotate: 3.4deg; box-shadow: 1px 3px 6px rgb(0 0 0 / .5); } .gl .face { border-color: transparent; box-shadow: none; }
  .rung { animation: none !important; }
}
