@font-face { font-family: "Young Serif"; src: url(fonts/young-serif-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url(fonts/red-hat-text-500.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --table: #9b9890;
  --toner: #15181a;
  --toner-soft: #4a4f52;
  --paper: #eceeec;
  --sheet: #eceeec;
  --pen: #0a6a3e;
  --rule: rgba(21, 24, 26, .18);
  --gutter: clamp(1.5rem, 6vw, 6rem);
  --gap: clamp(5.5rem, 13vw, 12rem);
  --serif: "Young Serif", Georgia, serif;
}
* { box-sizing: border-box; }
html { background: var(--table); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--table); color: var(--toner); font: 500 1.125rem/1.55 "Red Hat Text", system-ui, sans-serif; }
img, video, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; max-width: 60ch; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pen); outline-offset: 3px; }

.skip { position: fixed; left: 1rem; top: -4rem; z-index: 60; background: var(--toner); color: var(--paper); padding: .7rem 1rem; }
.skip:focus { top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.big { margin: 0; font: 400 clamp(2.25rem, 4.9vw, 4.75rem)/1.08 var(--serif); letter-spacing: -.012em; max-width: 21ch; text-wrap: balance; }
.doc { display: flex; justify-content: space-between; gap: 1rem; max-width: none; margin: 0 0 clamp(2rem, 4vw, 3.5rem); padding-bottom: .55rem; border-bottom: 2px solid var(--toner); font-weight: 600; grid-column: 1 / -1; }

/* Slim bar, once the opening has passed */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; gap: 1.5rem; padding: .7rem var(--gutter); background: var(--paper); border-bottom: 1px solid var(--rule); transform: translateY(-101%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.bar.is-on, .bar:focus-within { transform: none; }
.bar__name { font: 400 1.25rem/1 var(--serif); text-decoration: none; margin-right: auto; padding: .6rem 0; }
.bar__links { display: flex; gap: 1.4rem; }
.bar__links a { font-size: 1rem; padding: .6rem 0; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .3em; transition: text-decoration-color .2s; }
.bar__links a:hover { text-decoration-color: var(--pen); }
.pause { font: 600 1rem/1 "Red Hat Text", sans-serif; min-height: 44px; padding: 0 .85rem; border: 2px solid var(--toner); background: transparent; color: var(--toner); cursor: pointer; transition: background .16s; }
.pause:hover { background: rgba(21, 24, 26, .08); }
.pause--pin { position: absolute; right: 1rem; bottom: 1rem; background: var(--paper); opacity: 0; pointer-events: none; transition: opacity .2s; }
.pause--pin.is-on, .pause--pin:focus-visible { opacity: 1; pointer-events: auto; }
.bar__mail { text-decoration: none; background: var(--toner); color: var(--paper); padding: .62rem 1rem; font-size: 1rem; font-weight: 600; transition: background .18s; }
.bar__mail:hover { background: var(--pen); }
@media (max-width: 75em) { .bar__links { display: none; } }

/* The opening */
.moment { position: relative; height: 400vh; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--table); }
.world { position: absolute; inset: 0; will-change: transform; }
canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.screen { position: absolute; background: var(--paper); opacity: 0; overflow: hidden; }
.screen video { width: 100%; height: 100%; object-fit: contain; }
.intro { position: absolute; visibility: hidden; }
.intro.is-set { visibility: visible; }
.intro h1 { margin: 0; font: 400 100px/.98 var(--serif); letter-spacing: -.015em; }
.ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln > span { display: block; }
.intro .role { margin: .28em 0 0; max-width: none; font: 400 clamp(2rem, 3.5vw, 3.4rem)/1.1 var(--serif); }
.intro .line { margin: .8em 0 0; max-width: none; font-size: clamp(1.05rem, 1.45vw, 1.4rem); line-height: 1.32; font-weight: 600; }
.pause--phone { display: none; }
@media (max-width: 40em) { .bar .pause { display: none; } .pause--phone { display: inline-block; justify-self: start; margin-top: .5rem; } }
@media (max-width: 40em) {
  .intro h1 { white-space: nowrap; }
  .intro h1 .ln { display: inline-block; vertical-align: top; }
  .intro .role { font-size: 1.5rem; margin-top: .1em; }
  .intro .line { font-size: 1rem; line-height: 1.3; margin-top: .3em; text-wrap: balance; }
}
.still .moment { height: 100vh; }

/* Sections */
/* After the opening, the page is the same table with sheets of paper laid on it. */
main::after { content: ""; display: block; height: clamp(2rem, 5vw, 4rem); }
.table-ground { position: fixed; inset: 0; z-index: -1; background: var(--table) url(moment/table.webp) 0 0 / 512px; }
.sheet { position: relative; background: var(--sheet); scroll-margin-top: 5rem; margin: -1.1rem clamp(.75rem, 3vw, 3rem) 0; padding: clamp(2rem, 4vw, 3.5rem) clamp(2.25rem, 6vw, 6.5rem) clamp(3.5rem, 7vw, 7rem); background-image: radial-gradient(circle at 50% 50%, var(--table) 0 7px, transparent 7.6px), radial-gradient(circle at 50% 50%, var(--table) 0 7px, transparent 7.6px); background-repeat: no-repeat; background-size: 16px 16px; background-position: clamp(.5rem, 1.6vw, 1.5rem) 24%, clamp(.5rem, 1.6vw, 1.5rem) 76%; box-shadow: 0 1px 2px rgba(58, 54, 46, .3), 0 22px 44px -20px rgba(58, 54, 46, .55); }
.websites { padding: 0 0 clamp(3rem, 6vw, 5rem); margin-top: -1.1rem; }
.websites .sheet { margin: 0 clamp(.75rem, 3vw, 3rem); max-width: none; }
.site__kind { color: var(--toner); }
.moment + .sheet { margin-top: clamp(1.25rem, 3.4vw, 3rem); }
.sheet:nth-of-type(even) { margin-left: clamp(1.25rem, 4.2vw, 4.25rem); margin-right: clamp(.5rem, 2.2vw, 2rem); }

.about { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(2rem, 5vw, 5rem); align-items: start; }
.journey { grid-column: 1 / -1; position: relative; margin-top: clamp(2.5rem, 5vw, 5rem); padding-top: 4.2rem; }
.journey__pen { position: absolute; left: 0; top: 0; width: 100%; height: 70px; overflow: visible; }
.journey__pen--tall { display: none; }
.journey path { fill: none; stroke: var(--pen); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.journey ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.journey li { display: grid; gap: .2rem; align-content: start; }
.place { font: 400 clamp(1.5rem, 2.2vw, 2.1rem)/1.1 var(--serif); }
.when { color: var(--pen); font-weight: 600; }
.what { color: var(--toner-soft); }
@media (max-width: 56em) {
  .about { grid-template-columns: 1fr; }
  .about__text { grid-column: 1; margin-top: 1.5rem; }
  .journey { padding: 0 0 0 3.25rem; }
  .journey__pen--wide { display: none; }
  .journey__pen--tall { display: block; width: 40px; height: 100%; }
  .journey ol { grid-template-columns: 1fr; gap: 2.4rem; }
}

.counts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); margin-top: clamp(3rem, 6vw, 5rem); }
.count svg { height: clamp(9rem, 15vw, 14rem); width: auto; overflow: visible; }
.count text { font-variant-numeric: lining-nums; font-feature-settings: "lnum"; font: 400 240px var(--serif); fill: transparent; stroke: var(--pen); stroke-width: 3; stroke-dasharray: 1400; stroke-dashoffset: 0; }
.no-js .count text, .count text.is-done { fill: var(--pen); }
.count p { font-size: 1.3rem; line-height: 1.4; max-width: 34ch; }
.follow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 6rem); margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--rule); }
@media (max-width: 48em) { .counts, .follow { grid-template-columns: 1fr; } }

.sec-head { display: grid; gap: 1.5rem; max-width: 62rem; }
.sec-head p { font-size: 1.25rem; line-height: 1.45; }
.tabs { display: flex; gap: .5rem; margin-top: clamp(2rem, 4vw, 3rem); }
.tabs button { font: 600 1.05rem/1 "Red Hat Text", sans-serif; padding: .95rem 1.2rem; min-height: 48px; border: 2px solid var(--toner); background: transparent; color: var(--toner); cursor: pointer; transition: background .16s, color .16s, transform .12s; }
.tabs button:hover { background: rgba(21, 24, 26, .08); }
.tabs button:active { transform: translateY(1px); }
.tabs button[aria-selected="true"] { background: var(--toner); color: var(--paper); }
.player { margin: clamp(1.25rem, 3vw, 2rem) 0 0; }
.frame { position: relative; }
.player video { width: 100%; aspect-ratio: 16 / 9; background: var(--paper); }
.phone-only { display: none; }
/* On a phone, show just the product so it is big enough to read. */
@media (max-width: 40em) {
  .frame { aspect-ratio: 16 / 10; overflow: hidden; }
  .frame video { position: absolute; width: 150%; max-width: none; left: -5%; top: -17.5%; }
  .phone-only { display: block; }
}
.player figcaption { margin-top: .7rem; color: var(--toner-soft); }
.player figcaption strong { color: var(--toner); font-weight: 600; }

.tutor__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.tutor__head p { margin-top: 1.5rem; }
.register { width: 100%; border-collapse: collapse; }
.register caption { text-align: left; font: 400 1.5rem/1.2 var(--serif); padding-bottom: .6rem; }
.register th { text-align: left; font-weight: 500; padding: .7rem 1rem .7rem 0; }
.register tr { border-top: 1px solid var(--rule); }
.register td { width: 2.75rem; padding: .35rem 0; }
.register svg { width: 2.25rem; height: 2.25rem; }
.register rect { fill: #fff; stroke: var(--toner); stroke-width: 2; }
.register path { fill: none; stroke: var(--pen); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
@media (max-width: 60em) { .tutor__head { grid-template-columns: 1fr; } }

.himma { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.himma__text { margin-top: 2rem; }
.himma .plain { padding-top: 1rem; border-top: 2px solid var(--toner); font-weight: 600; }
.himma__phone { margin: 0; justify-self: end; width: min(100%, 22rem); }
.himma__phone video { width: 100%; aspect-ratio: 430 / 800; object-fit: cover; background: var(--sheet); }
.himma__phone figcaption { margin-top: .7rem; color: var(--toner-soft); font-size: 1rem; }
@media (max-width: 56em) { .himma { grid-template-columns: 1fr; } .himma__phone { justify-self: start; } }

.micro__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); margin-top: 1rem; }


.out, .mail { display: inline-block; justify-self: start; font-weight: 600; text-decoration-color: var(--pen); text-decoration-thickness: 3px; text-underline-offset: .25em; transition: color .16s; }
.out { font-size: 1.25rem; padding: .4rem 0; }
@media (min-width: 56.01em) { .about__text { grid-column: 2; } }
.out:hover, .mail:hover { color: var(--pen); }

.wall { margin: clamp(2rem, 4vw, 3rem) 0 0; overflow: hidden; }
.wall__track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); width: max-content; padding: 0 var(--gutter); }
.site { flex: none; width: min(62vw, 60rem); text-decoration: none; display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; }
.site video { grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; background: var(--paper); box-shadow: 0 1px 2px rgba(58, 54, 46, .3), 0 18px 36px -18px rgba(58, 54, 46, .55); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.site:hover video { transform: translateY(-5px); }
.site__name { font: 400 1.7rem/1.2 var(--serif); }
.site__kind { align-self: center; }
@media (max-width: 56em), (prefers-reduced-motion: reduce) {
  .wall { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .site { width: min(84vw, 36rem); scroll-snap-align: center; }
  .site__kind { grid-column: 1 / -1; }
}

.handover { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--rule); }
.handover__text { max-width: 44rem; margin-top: 1.5rem; }
.handover h3 { margin: 0 0 .8rem; font: 400 clamp(1.8rem, 3vw, 2.8rem)/1.1 var(--serif); }

.mail { margin-top: 2rem; font-size: clamp(1.05rem, 4.6vw, 3.4rem); }
.honest { margin-top: clamp(2.5rem, 5vw, 4rem); color: var(--toner-soft); }
.foot { padding: .5rem var(--gutter) 2.5rem; color: var(--toner); font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .count text { fill: var(--pen); }
  .bar { transition: none; }
}

/* The reply paragraph and the links to the live sites. */
.close .ask { max-width: 44rem; margin: 1.5rem 0 0; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.5; }
.out--small { display: inline-block; font-size: 1.05rem; padding: .7rem 0; color: var(--toner); }
.intro .role { white-space: nowrap; }
.intro .line { color: #0d1012; }
.pause--work { right: auto; left: 1rem; display: inline-flex; align-items: center; text-decoration: none; }
