/* billo v2: a kitchen under one window on the left.
   the table (3d hero) -> page 2 of the bill, still on the table -> the fridge (the list, the receipts, the envelope) -> the kick plate. */
:root {
  --ink: #141210;
  --ink-2: #2e2a25;
  --ink-3: #5b5247;
  --mint: #18c37e;
  --mint-ink: #0b7f50;
  --paper: #fbfaf6;
  --thermal: #f4f4ef;
  --enamel: #ecebe6;
  --gut: max(20px, 3.4vw);
  --display: "Funnel Display", system-ui, sans-serif;
  --sans: "Funnel Sans", system-ui, sans-serif;
  --mono: "Sometype Mono", ui-monospace, Menlo, monospace;
  --bar: "Libre Barcode 128", var(--mono);
  /* the window is on the left: every shadow on the page falls right and a little down */
  --sh-paper: 1px 1px 1px rgba(40, 25, 10, .16), 9px 12px 22px -6px rgba(40, 25, 10, .34), 22px 30px 50px -18px rgba(40, 25, 10, .22);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .25  0 0 0 0 .2  0 0 0 0 .15  .34 0 0 0 -.12'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: #c9a983;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------------------------------------------------------------- 1. the table (hero) */
.hero {
  position: relative; overflow: hidden;
  height: 100vh; height: 100svh; min-height: 620px;
  background: #c9a983;
}
#scene {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block; outline: none;
  touch-action: pan-y; /* the page still scrolls on a phone; a tap or a sideways drag moves a bill */
}
.grain { /* static film grain, no animation */
  position: absolute; inset: 0; z-index: 5; pointer-events: none;
  opacity: .22; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.top {
  position: absolute; z-index: 10; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gut) 0;
}
.wordmark { display: flex; align-items: flex-end; height: 40px; }
.wordmark span {
  font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1;
  letter-spacing: -.035em;
}
/* the one change: the o is the peeled drop */
.wordmark img { width: 25px; height: auto; margin: 0 0 3px 2px; transform: rotate(-8deg); }
.top nav { display: flex; gap: 28px; font-size: 15.5px; font-weight: 500; }
.top nav a { border-bottom: 1.5px solid transparent; padding-bottom: 2px; transition: border-color .2s; }
.top nav a:hover { border-color: currentColor; }
.top nav .xl { font-weight: 650; }

.hero-copy { pointer-events: none; padding: 84px var(--gut) 0; }
.hero-copy > * { position: relative; z-index: 6; }
.hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(46px, 10vw, 160px);
  line-height: .9; letter-spacing: -.045em;
  margin-left: -.045em;
  white-space: nowrap;
}
.sub {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;
  margin-top: 22px;
}
.sub p {
  max-width: 470px;
  font-size: 19px; line-height: 1.4; font-weight: 450; color: var(--ink-2);
}
.act { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: auto; }
.cta {
  display: inline-block;
  padding: 15px 22px 16px;
  background: var(--ink); color: #f6f1e8;
  border-radius: 3px;
  font-size: 17px; font-weight: 600; letter-spacing: -.005em;
  box-shadow: 0 1px 0 rgba(0,0,0,.25), 0 6px 14px -8px rgba(40,25,10,.55);
  transition: transform .15s;
}
.cta:hover { transform: translateY(-1px); }
.next { font-family: var(--mono); font-size: 13.5px; color: var(--ink-2); }
.next b { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); }

.hint {
  position: fixed; z-index: 6; right: var(--gut); bottom: 22px;
  font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.005em;
  transition: opacity .5s; pointer-events: none;
}
.hero .hint { position: absolute; z-index: 6; }
.hint.gone { opacity: 0; }
.hero h1 br.m { display: none; }
.og-domain { display: none; }

/* ---------------------------------------------------------------- 2. page 2 of the bill, on the same table */
.desk {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  background: #e9ddce url(wood.jpg) center top / max(2000px, 100%) auto repeat-y;
  background-blend-mode: multiply;
  padding: clamp(80px, 10vw, 150px) var(--gut) clamp(90px, 11vw, 170px);
  box-shadow: inset 0 14px 18px -12px rgba(30, 18, 6, .45); /* the board gap under the hero */
}
.desk::before { /* the same tint as the 3d table, and the window light falling off to the right */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(97deg, rgba(255, 246, 228, .10) 0%, rgba(255, 246, 228, 0) 34%, rgba(42, 26, 12, .07) 70%, rgba(42, 26, 12, .16) 100%),
    rgba(243, 238, 230, .06);
  mix-blend-mode: multiply;
}
.desk::after { /* the same window's cross, falling over the table and the page (darken keeps the crossing one shade) */
  content: ""; position: absolute; z-index: 2; pointer-events: none;
  inset: 0 -8%;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #fff calc(57% - 44px), #d2c5b5 calc(57% - 28px), #d2c5b5 calc(57% + 28px), #fff calc(57% + 44px)),
    linear-gradient(180deg, #fff calc(26% - 40px), #d6cabb calc(26% - 24px), #d6cabb calc(26% + 24px), #fff calc(26% + 40px));
  background-blend-mode: darken;
  mix-blend-mode: multiply;
  transform: skewX(-13deg);
  opacity: .9;
}
.desk-in {
  max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 90px);
  align-items: start;
}
h2 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(44px, 6.6vw, 106px);
  line-height: .9; letter-spacing: -.045em; margin-left: -.04em;
  text-wrap: balance;
}
.desk-copy { position: sticky; top: 60px; padding-top: 10px; }
.desk-copy p, .fz-copy p, .dr-copy p {
  margin-top: 22px; max-width: 430px;
  font-size: 19px; line-height: 1.42; font-weight: 450; color: var(--ink-2);
}
.dr-copy p a { border-bottom: 1.5px solid currentColor; }

/* letter paper, folded in thirds, opened again */
.page2 {
  position: relative;
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, transparent calc(33.33% - 9px), rgba(70, 55, 40, .09) calc(33.33% - 1px), rgba(255, 255, 255, .9) calc(33.33% + 1px), rgba(70, 55, 40, .035) calc(33.33% + 9px), transparent calc(33.33% + 22px)),
    linear-gradient(180deg, transparent calc(66.66% - 9px), rgba(70, 55, 40, .08) calc(66.66% - 1px), rgba(255, 255, 255, .9) calc(66.66% + 1px), rgba(70, 55, 40, .03) calc(66.66% + 9px), transparent calc(66.66% + 22px)),
    linear-gradient(100deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 40%, rgba(60, 45, 30, .05)),
    var(--grain);
  background-size: auto, auto, auto, 240px;
  box-shadow: var(--sh-paper);
  transform: rotate(1.1deg);
  padding: clamp(28px, 4vw, 54px) clamp(22px, 4vw, 56px) clamp(26px, 3.4vw, 44px);
  color: #1d1d1f;
}
.p2-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.p2-brand { display: flex; align-items: flex-end; }
.p2-brand span { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.035em; }
.p2-brand img { width: 18px; height: auto; margin: 0 0 2px 2px; transform: rotate(-8deg); }
.p2-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; font-size: 13.5px; color: #5f5c56; text-align: right; }
.page2 h3 {
  margin-top: clamp(26px, 3vw, 40px); padding-bottom: 12px;
  font-size: clamp(22px, 2.1vw, 28px); font-weight: 700; letter-spacing: -.012em;
  border-bottom: 2.5px solid #1d1d1f;
}
.steps { list-style: none; }
.steps li {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 18px; align-items: baseline;
  padding: 18px 0 17px;
  border-bottom: 1.2px solid rgba(29, 29, 31, .16);
}
.steps .n {
  align-self: start;
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 2px solid #1d1d1f; border-radius: 50%;
  font: 600 16px/1 var(--mono);
}
.steps h4 { font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.steps p { margin-top: 4px; font-size: 16px; line-height: 1.42; color: #4a4741; max-width: 46ch; }
.steps .when { font: 500 14.5px/1 var(--mono); color: #1d1d1f; white-space: nowrap; font-variant-numeric: tabular-nums; }
.steps li:nth-child(3) .when { font-weight: 700; }
.p2-slip { margin-top: 30px; }
.p2-slip .cut { display: block; height: 2px; background: repeating-linear-gradient(90deg, rgba(29,29,31,.5) 0 10px, transparent 10px 18px); }
.slip-k { margin-top: 12px; font-size: 13px; color: #5f5c56; }
.slip-v { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 26px; font: 600 15.5px/1.3 var(--mono); }

/* ---------------------------------------------------------------- 3. the fridge */
.fridge {
  position: relative; isolation: isolate;
  background-color: var(--enamel);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 4%, rgba(255, 255, 255, .75) 13%, rgba(255, 255, 255, .5) 19%, rgba(255, 255, 255, 0) 33%),
    linear-gradient(90deg, rgba(255, 255, 255, .25), rgba(0, 0, 0, 0) 55%, rgba(40, 32, 22, .05) 90%, rgba(40, 32, 22, .11)),
    var(--grain);
  background-size: auto, auto, 240px;
  border-top: 10px solid #1d1b18; /* the gap between the table and the fridge door */
}
.fridge::before { /* rounded door edges, top and sides */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  box-shadow: inset 6px 0 10px -6px rgba(40, 30, 20, .25), inset -8px 0 12px -6px rgba(40, 30, 20, .3), inset 0 10px 14px -8px rgba(40, 30, 20, .35);
}
.freezer, .door { position: relative; padding: clamp(80px, 9vw, 140px) var(--gut); }
.door { padding-bottom: clamp(70px, 8vw, 120px); }
.door-gap {
  display: block; height: 7px; background: #24211d;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(255, 255, 255, .5), 0 5px 9px rgba(40, 30, 20, .18);
}
.handle { /* moulded charcoal pull, mounted on standoffs near the hinge-free edge */
  position: absolute; right: clamp(18px, 2.4vw, 38px); width: 18px; border-radius: 9px;
  background: linear-gradient(90deg, #3a3631, #24211d 40%, #171512);
  box-shadow: 6px 8px 14px rgba(40, 30, 20, .28), inset 1px 0 0 rgba(255, 255, 255, .14);
}
.freezer .handle { bottom: 46px; height: 200px; }
.door .handle { top: 46px; height: 340px; }
.handle::before, .handle::after { /* the standoffs */
  content: ""; position: absolute; left: -10px; width: 12px; height: 22px; border-radius: 3px;
  background: linear-gradient(90deg, #cfccc4, #8e8a82);
}
.handle::before { top: 18px; } .handle::after { bottom: 18px; }

.fz-in, .dr-in { max-width: 1320px; margin: 0 auto; padding-right: clamp(0px, 4vw, 70px); }
.fz-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.fz-copy { padding-top: 30px; }

/* fridge magnets: one light from the left, so the highlight sits up-left and the shadow falls right */
.mag {
  position: absolute; z-index: 3; left: 50%; top: -14px; transform: translateX(-50%);
  width: 38px; height: 38px; border-radius: 50%;
  box-shadow: 5px 7px 9px rgba(30, 22, 14, .32), 1px 2px 2px rgba(30, 22, 14, .25), inset -3px -4px 6px rgba(0, 0, 0, .22), inset 2px 2px 3px rgba(255, 255, 255, .35);
}
.mag-mint { background: radial-gradient(circle at 34% 30%, #57dca4, #18c37e 46%, #0e955e 100%); }
.mag-ink { background: radial-gradient(circle at 34% 30%, #4b4741, #1d1b18 50%, #0c0b0a 100%); }
.mag-cream { background: radial-gradient(circle at 34% 30%, #fffdf8, #ece6d8 50%, #c9c0ad 100%); }

/* the notepad sheet from the fridge pad: a printed head, ruled lines, a torn top */
.pad-wrap { position: relative; justify-self: center; width: min(400px, 100%); filter: drop-shadow(7px 10px 10px rgba(40, 30, 20, .22)) drop-shadow(1px 1px 1px rgba(40, 30, 20, .2)); transform: rotate(-2.2deg); }
.notepad {
  position: relative;
  background-color: #fffdf7;
  background-image:
    repeating-linear-gradient(180deg, transparent 0 37px, rgba(70, 110, 140, .17) 37px 38px),
    linear-gradient(100deg, rgba(255, 255, 255, .4), rgba(0, 0, 0, .03)),
    var(--grain);
  background-size: auto, auto, 240px;
  background-position: 0 30px, 0 0, 0 0;
  padding: 40px 34px 30px 64px;
  -webkit-mask: radial-gradient(circle 4px at 7px 0, transparent 98%, #000) -1px 0 / 14px 100% repeat-x;
  mask: radial-gradient(circle 4px at 7px 0, transparent 98%, #000) -1px 0 / 14px 100% repeat-x;
}
.notepad::before { /* the margin rule */
  content: ""; position: absolute; top: 0; bottom: 0; left: 46px; width: 1.5px; background: rgba(24, 195, 126, .55);
}
.np-head { font: 700 15px/38px var(--sans); color: var(--mint-ink); letter-spacing: .01em; }
.np-in li, .np-out li { list-style: none; font: 500 24px/38px var(--sans); letter-spacing: -.012em; color: #1b1a17; }
.np-in small { display: block; font: 450 14px/38px var(--sans); color: #6b665d; letter-spacing: 0; }
.np-out-h { margin-top: 38px; }
.np-out li { color: #3f3b35; }
.np-out s { text-decoration: none; position: relative; }
.np-out s::after { /* one marker stroke through each word */
  content: ""; position: absolute; left: -6px; right: -8px; top: 56%; height: 3px; border-radius: 2px;
  background: #151414; opacity: .88; transform: rotate(-2.5deg);
}
.np-out li:nth-child(2) s::after { transform: rotate(1.5deg); top: 48%; }
.np-out li:nth-child(3) s::after { transform: rotate(-1deg); }
.np-foot { margin-top: 38px; font: 500 15px/38px var(--mono); color: #1b1a17; }

/* receipts hanging from magnets */
.dr-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 90px); }
.dr-copy { grid-column: 1; grid-row: 1; max-width: 760px; }
.note-row { grid-column: 2; grid-row: 1; align-self: end; }
.rack {
  grid-column: 1 / -1; grid-row: 2;
  position: relative;
  margin-top: clamp(90px, 8vw, 120px);
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 34px);
  align-items: start;
}
.tape {
  position: absolute; z-index: 4; left: -10px; top: -46px;
  padding: 7px 22px 8px;
  background: rgba(232, 220, 190, .86);
  font: 600 15px/1 var(--sans); color: #3b352c; letter-spacing: .005em;
  transform: rotate(-3.5deg);
  box-shadow: 2px 3px 4px rgba(40, 30, 20, .14);
  clip-path: polygon(0 8%, 3% 0, 6% 10%, 9% 2%, 97% 0, 100% 12%, 98% 30%, 100% 52%, 97% 74%, 100% 100%, 92% 92%, 88% 100%, 4% 100%, 1% 82%, 3% 60%, 0 38%);
}
.hang { position: relative; transform: translateY(var(--dy)) rotate(var(--rot)); transform-origin: 50% 0; filter: drop-shadow(6px 9px 8px rgba(40, 30, 20, .24)) drop-shadow(1px 1px 1px rgba(40, 30, 20, .2)); }
.hang .mag { top: -12px; width: 32px; height: 32px; }
.rcpt {
  --fs: clamp(10.5px, .86vw, 12.5px);
  position: relative;
  background-color: var(--thermal);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 82%, rgba(60, 60, 60, .05) 90%, rgba(255, 255, 255, .55) 95%, rgba(60, 60, 60, .09)),
    var(--grain);
  background-size: auto, 200px;
  padding: 2.2em 1.4em 2.4em;
  font: 500 var(--fs)/1.5 var(--mono); color: #26262a;
  font-variant-numeric: tabular-nums;
  /* torn on the tear bar at the top and the bottom */
  -webkit-mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 9px 5px repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 9px 5px repeat-x;
  mask:
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) top / 9px 5px repeat-x,
    linear-gradient(#000 0 0) center / 100% calc(100% - 10px) no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 9px 5px repeat-x;
}
.rcpt::after { /* a worn print-head line: the print fades in one vertical stripe */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent 0 var(--wx, 62%), rgba(244, 244, 239, .55) calc(var(--wx, 62%) + 2.5%), transparent calc(var(--wx, 62%) + 5%));
}
.hang:nth-of-type(2) .rcpt::after { --wx: 28%; }
.hang:nth-of-type(3) .rcpt::after { --wx: 74%; }
.hang:nth-of-type(4) .rcpt::after { --wx: 44%; }
.r-brand { display: flex; justify-content: center; align-items: flex-end; color: #1e1e22; }
.r-brand span { font-family: var(--display); font-weight: 800; font-size: 2.6em; line-height: 1; letter-spacing: -.04em; }
.r-brand img { width: 1.6em; height: auto; margin: 0 0 .18em .12em; transform: rotate(-8deg); }
.r-c { text-align: center; margin-top: .6em; font-size: .9em; }
.rcpt hr { border: 0; height: 2px; margin: 1em 0; background: repeating-linear-gradient(90deg, #2a2a2e 0 .45em, transparent .45em .8em); }
.rcpt dl div { display: flex; justify-content: space-between; gap: .8em; }
.rcpt dt, .rcpt dd { white-space: nowrap; }
.rcpt dd { text-align: right; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.r-total span { font-size: 1.15em; }
.r-total b { font-size: 2.1em; letter-spacing: -.02em; }
.r-stamp {
  margin: 1.1em auto .9em; width: max-content;
  padding: .12em .5em .06em;
  border: .26em solid var(--mint); border-radius: .5em;
  color: var(--mint);
  font: 800 3.1em/1 var(--display); letter-spacing: .01em;
  transform: rotate(-4deg);
  filter: url(#ink);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .85) 55%, rgba(0, 0, 0, .45) 100%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .85) 55%, rgba(0, 0, 0, .45) 100%);
}
.r-part { font-size: 2.15em; transform: rotate(3.5deg); }
.r-bar { text-align: center; white-space: nowrap; overflow: hidden; font-family: "Libre Barcode 128"; font-size: 3.5em; line-height: 1.05; color: #121214; letter-spacing: 0; }
.r-id { text-align: center; margin-top: .3em; }

/* the envelope the payment goes out in */
.note-row { display: flex; justify-content: flex-end; padding-bottom: 12px; }
.env-wrap { position: relative; width: min(600px, 100%); transform: rotate(1.6deg); filter: drop-shadow(8px 11px 10px rgba(40, 30, 20, .22)) drop-shadow(1px 1px 1px rgba(40, 30, 20, .2)); }
.env-wrap .mag { left: 80%; }
.envelope {
  position: relative; aspect-ratio: 9.5 / 4.6;
  background-color: #f3eee3;
  background-image:
    linear-gradient(100deg, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 45%, rgba(70, 50, 30, .05)),
    var(--grain);
  background-size: auto, 240px;
  color: #23211d;
  container-type: inline-size;
}
.env-from { position: absolute; left: 5.5%; top: 9%; font: 600 2.6cqw/1.35 var(--sans); }
.env-post {
  position: absolute; right: 5%; top: 8%;
  border: .3cqw solid #23211d; padding: 1.2cqw 1.8cqw;
  font: 500 1.9cqw/1.35 var(--mono); text-align: center; text-transform: uppercase; letter-spacing: .04em;
}
.env-post b { font-weight: 700; }
.env-win { /* the glassine window, with the letter showing through */
  position: absolute; left: 9%; top: 36%; width: 52%; height: 30%;
  border-radius: 1.2cqw;
  background: linear-gradient(110deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .15) 40%, rgba(255, 255, 255, .35) 60%, rgba(255, 255, 255, .1)), #fbfaf6;
  box-shadow: inset 0 0 0 .25cqw rgba(170, 160, 140, .45), inset 1px 1px 4px rgba(80, 60, 40, .18);
  display: flex; align-items: center; padding: 0 4cqw;
}
.env-win p { font: 500 2.25cqw/1.45 var(--mono); color: #2a2826; }
.env-note { position: absolute; left: 5.5%; right: 5.5%; bottom: 8%; font: 450 2.45cqw/1.4 var(--sans); color: #3a362f; }
.env-note b { font-weight: 700; color: #23211d; }

/* ---------------------------------------------------------------- 5. the kick plate */
.kick {
  position: relative;
  background-color: #1d1b18;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 9px, rgba(0, 0, 0, .55) 9px 13px),
    linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, 0) 30%);
  background-size: auto 100%;
  color: #ece6da;
  padding: 26px var(--gut);
  border-top: 2px solid #0e0d0b;
}
.kick-in {
  position: relative; max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 34px 26px;
  background: #1d1b18;
  border-radius: 4px;
}
.wm-foot span { color: #ece6da; }
.wm-foot img { filter: invert(.93); }
.kick-line { font-size: 15px; color: #b9b2a4; }
.kick-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 14px/1.4 var(--mono); color: #ece6da; }
.kick-links a { border-bottom: 1px solid rgba(236, 230, 218, .35); }
.kick-links a:hover { border-color: #ece6da; }
.kick-links span { color: #8f8879; }

/* ---------------------------------------------------------------- render modes for the social images */
html.bare .top, html.bare .hero-copy, html.bare .grain, html.bare main, html.bare .kick { display: none !important; }
html.og .top nav, html.og .act, html.og .hint, html.og main, html.og .kick { display: none !important; }
html.og .og-domain { display: block; position: absolute; right: var(--gut); top: 30px; font: 600 22px/1 var(--mono); color: var(--ink); }
html.og .hero h1 { font-size: 134px; }
html.og .hero-copy { padding-top: 78px; }
html.og .sub p { font-size: 21px; max-width: 520px; }

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1100px) {
  .hero h1 { font-size: clamp(46px, 10.2vw, 168px); }
  .desk-in { grid-template-columns: 1fr; }
  .desk-copy { position: static; }
  .page2 { max-width: 760px; }
  .rack { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rcpt { --fs: clamp(9.5px, 1.25vw, 12px); }
  .hang:nth-of-type(5) { display: none; }
  .dr-in { grid-template-columns: 1fr; }
  .note-row { grid-column: 1; grid-row: 3; justify-content: flex-start; margin-top: 110px; }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 700px) {
  .top { padding-top: 16px; }
  .wordmark { height: 32px; }
  .wordmark span { font-size: 32px; }
  .wordmark img { width: 20px; margin-bottom: 2px; }
  .top nav { gap: 0; }
  .top nav a:not(.xl) { display: none; }
  .top nav .xl { font-size: 14.5px; }
  .hero-copy { padding-top: 70px; }
  .hero h1 { font-size: clamp(40px, 16.4vw, 74px); white-space: normal; line-height: .88; }
  .hero h1 br.m { display: inline; }
  .sub { flex-direction: column; gap: 14px; margin-top: 14px; }
  .sub p { font-size: 15.5px; max-width: 330px; }
  .act { flex-direction: row; align-items: center; gap: 14px; }
  .cta { padding: 12px 16px 13px; font-size: 15px; }
  .next { font-size: 12px; }
  .hero .hint { position: relative; right: auto; bottom: auto; margin-top: 16px; font-size: 14px; }

  h2 { font-size: clamp(40px, 12.4vw, 64px); }
  .desk-copy p, .fz-copy p, .dr-copy p { font-size: 16.5px; margin-top: 16px; }
  .desk { padding-top: 72px; padding-bottom: 84px; }
  .desk-in { gap: 34px; }
  .page2 { transform: rotate(.6deg); padding: 24px 18px 24px; }
  .desk::after { opacity: .6; }
  .p2-brand span { font-size: 24px; }
  .p2-meta { font-size: 11.5px; }
  .page2 h3 { font-size: 19px; margin-top: 22px; }
  .steps li { grid-template-columns: 30px minmax(0, 1fr); gap: 6px 12px; padding: 15px 0 14px; align-items: center; }
  .steps .n { width: 26px; height: 26px; font-size: 13px; border-width: 1.5px; }
  .steps .when { grid-column: 2; grid-row: 1; justify-self: start; font-size: 12px; color: #5f5c56; }
  .steps .s-t { grid-column: 2; }
  .steps h4 { font-size: 18px; }
  .steps p { font-size: 14.5px; }
  .slip-v { font-size: 13px; gap: 4px 16px; }

  .freezer, .door { padding: 70px var(--gut); }
  .door { padding-bottom: 64px; }
  .fz-in, .dr-in { padding-right: 0; }
  .fz-in { grid-template-columns: 1fr; gap: 46px; }
  .handle { display: none; }
  .pad-wrap { width: min(340px, 100%); }
  .notepad { padding: 40px 22px 26px 52px; }
  .notepad::before { left: 36px; }
  .np-in li, .np-out li { font-size: 21px; }
  .np-in small { font-size: 13px; }

  .rack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 14px; margin-top: 72px; }
  .rcpt { --fs: clamp(8.4px, 2.35vw, 10px); padding: 1.9em 1em 2.1em; }
  .tape { top: -40px; left: -4px; font-size: 13.5px; }

  .note-row { margin-top: 90px; padding-bottom: 0; }
  .env-wrap { transform: rotate(.8deg); }
  .envelope { aspect-ratio: auto; min-height: 0; padding: 22px 18px 20px; display: grid; gap: 14px; container-type: normal; }
  .env-from, .env-post, .env-win, .env-note { position: static; }
  .env-from { font-size: 13px; }
  .env-post { justify-self: end; grid-row: 1; grid-column: 1; font-size: 9.5px; padding: 6px 8px; border-width: 1.5px; }
  .env-win { width: auto; height: auto; padding: 12px 14px; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(170,160,140,.45), inset 1px 1px 4px rgba(80,60,40,.18); }
  .env-win p { font-size: 11.5px; }
  .env-note { font-size: 14.5px; }

  .kick-in { grid-template-columns: 1fr; gap: 16px; padding: 26px 20px; }
}
