@charset "UTF-8";

/* ===================================================================
   Aly Made It
   1  tokens        6  hero            11  play
   2  base          7  marquee         12  project page
   3  layout        8  section heads   13  note page
   4  nav           9  work gallery    14  about
   5  menu         10  currently       15  footer / motion
   =================================================================== */

/* -- smooth same origin page transitions, ignored where unsupported -- */
@view-transition { navigation: auto; }


/* ============================== 0  fonts =========================
   Served from this site rather than from Google, so the pages do not
   depend on anyone else's server and no visitor data leaves the host.
   Latin subsets only. Three files, about 200 KB in total.
   ================================================================= */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url("../fonts/bricolage-grotesque-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================== 1  tokens ========================= */

:root {
  --paper:       #f5f2ec;
  --paper-deep:  #ebe6db;
  --paper-warm:  #efeae0;
  --ink:         #17140f;
  --ink-strong:  rgba(23, 20, 15, .82);
  --ink-mid:     rgba(23, 20, 15, .66);
  --ink-soft:    rgba(23, 20, 15, .48);
  --rule:        rgba(23, 20, 15, .14);
  --rule-soft:   rgba(23, 20, 15, .08);
  --accent:      #e04e1b;
  --accent-deep: #b03708;   /* small text on paper: 5.4:1 */

  --display: "Bricolage Grotesque", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif:   "Instrument Serif", Georgia, "Times New Roman", serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --f-hero: clamp(4.5rem, 28vw, 15rem);
  --f-xxl:  clamp(2.6rem, 8vw, 7rem);
  --f-xl:   clamp(2.1rem, 5vw, 4rem);
  --f-lg:   clamp(1.5rem, 3.1vw, 2.5rem);
  --f-md:   clamp(1.2rem, 1.9vw, 1.55rem);
  --f-body: clamp(1rem, .45vw + .92rem, 1.15rem);
  --f-sm:   .875rem;
  --f-xs:   .7rem;

  --gut:   clamp(1.25rem, 4.5vw, 4.5rem);
  --max:   1500px;
  --block: clamp(4.5rem, 10vw, 10rem);

  --ease: cubic-bezier(.16, 1, .3, 1);
}


/* ============================== 2  base ========================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--f-body);
  line-height: 1.55;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* paper grain, sits above the background and below everything else */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

img, svg, video { display: block; max-width: 100%; }
img, video { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.035em;
  font-stretch: 96%;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent-deep); color: var(--paper); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: .7rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: var(--f-sm);
}
.skip:focus { left: .5rem; top: .5rem; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* the small tracked labels used for meta everywhere */
.label {
  margin: 0;
  font-family: var(--mono);
  font-size: var(--f-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-mid);
  line-height: 1;
}

/* the orange full stop that ends most headings */
.dot { color: var(--accent); }

.more-wrap { margin: clamp(2.5rem, 6vw, 5rem) 0 0; }
.outbound { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: baseline; }

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

.accent { color: var(--accent); }


/* ============================== 3  layout ======================== */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.section { padding-block: var(--block); }
.section--tight { padding-block: calc(var(--block) * .6); }

.rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.bleed { width: 100%; }

main { display: block; }


/* ============================== 4  nav =========================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom-color: var(--rule);
  backdrop-filter: saturate(140%) blur(9px);
  -webkit-backdrop-filter: saturate(140%) blur(9px);
}

.nav__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: clamp(.85rem, 1.6vw, 1.15rem) var(--gut);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  justify-content: space-between;
}

.nav__mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
  view-transition-name: wordmark;
}
.nav__mark em { font-style: normal; }
.nav__mark::after {
  content: ".";
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: baseline;
  gap: clamp(1rem, 2.2vw, 2.2rem);
}

.nav__link {
  font-size: var(--f-sm);
  text-decoration: none;
  letter-spacing: -.005em;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .45s var(--ease), color .25s;
}
.nav__link:hover { background-size: 100% 1px; }

.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.nav__hello {
  font-size: var(--f-sm);
  text-decoration: none;
  color: var(--accent-deep);
  white-space: nowrap;
  background-image: linear-gradient(var(--accent-deep), var(--accent-deep));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  transition: background-size .45s var(--ease);
}
.nav__hello:hover { background-size: 0% 1px; }
.nav__hello span { display: inline-block; transition: transform .45s var(--ease); }
.nav__hello:hover span { transform: translateX(4px); }

.nav__toggle {
  display: none;
  appearance: none;
  border: 1px solid var(--rule);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--f-sm);
  padding: .3rem .75rem;
  cursor: pointer;
  border-radius: 100px;
}


/* ============================== 5  menu ========================== */

.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--gut);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }

.menu__close {
  position: absolute;
  top: clamp(.85rem, 1.6vw, 1.15rem);
  right: var(--gut);
  appearance: none;
  border: 1px solid var(--rule);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--f-sm);
  padding: .3rem .75rem;
  cursor: pointer;
  border-radius: 100px;
}

.menu__list { display: grid; gap: .1em; }
.menu__list a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.6rem, 13vw, 5rem);
  letter-spacing: -.045em;
  line-height: 1;
  text-decoration: none;
}
.menu__list a:active { color: var(--accent); }

.menu__foot {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: baseline;
}


/* ============================== 6  hero ========================== */

.hero {
  min-height: 88svh;
  padding-top: clamp(5.5rem, 12vh, 9rem);
  padding-bottom: clamp(2rem, 5vh, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(2rem, 6vh, 4rem);
}

.hero__top {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.hero__meta { text-align: right; line-height: 1.7; }

.hero__title {
  font-size: var(--f-hero);
  line-height: .8;
  letter-spacing: -.055em;
  margin-left: -.045em;
}

.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: block; }

.hero__line--1 { font-weight: 500; font-stretch: 100%; }
.hero__line--2 { font-weight: 800; }
.hero__line--3 { font-weight: 800; }
.hero__dot { color: var(--accent); }

.hero__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.hero__tagline {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--f-md);
  line-height: 1.32;
  letter-spacing: -.02em;
  max-width: 24ch;
  margin: 0;
}

.hero__scroll {
  display: flex;
  align-items: flex-end;
  gap: .9rem;
  text-decoration: none;
}
.hero__scroll .label { max-width: 22ch; text-align: right; line-height: 1.5; }
.hero__rule {
  position: relative;
  width: 1px;
  height: 64px;
  background: var(--rule);
  overflow: hidden;
  flex: none;
}
.hero__rule::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 26px;
  background: var(--accent);
  animation: drop 2.6s var(--ease) infinite;
}
@keyframes drop {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(240%); }
  100% { transform: translateY(240%); }
}


/* ============================== 7  marquee ======================= */

.marquee {
  border-block: 1px solid var(--rule);
  padding-block: .7rem;
  overflow: hidden;
  white-space: nowrap;
  background: var(--paper-warm);
}
.marquee__track {
  display: inline-flex;
  gap: 1.6rem;
  align-items: center;
  animation: slide 46s linear infinite;
  will-change: transform;
}
.marquee span {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.marquee span:nth-child(4n + 2) { color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }


/* =========================== 8  section heads ==================== */

.head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-bottom: clamp(1.75rem, 4vw, 3.25rem);
}

.head__title {
  font-size: var(--f-xxl);
  letter-spacing: -.05em;
}
.head__title .dot { color: var(--accent); }

.head__intro {
  max-width: 38ch;
  color: var(--ink-strong);
  font-size: var(--f-body);
  margin: 0;
}

.head__count { align-self: flex-end; }

.more {
  display: inline-flex;
  align-items: baseline;
  gap: .5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--f-lg);
  letter-spacing: -.03em;
  text-decoration: none;
  padding-bottom: .1em;
  border-bottom: 2px solid var(--ink);
  transition: color .3s, border-color .3s;
}
.more span { display: inline-block; transition: transform .45s var(--ease); }
.more:hover { color: var(--accent); border-color: var(--accent); }
.more:hover span { transform: translateX(6px); }


/* =========================== 9  work gallery ===================== */

.work {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4%;
  row-gap: clamp(3.5rem, 8vw, 8.5rem);
  align-items: flex-start;
}

.work__item { width: 100%; }
.work__item--half   { width: 48%; }
.work__item--narrow { width: 34%; }
.work__item--mid    { width: 62%; margin-inline: auto; }
.work__item--offset { margin-top: clamp(1.5rem, 6vw, 6rem); }

.work__link { text-decoration: none; display: block; }

.work__frame {
  position: relative;
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: var(--ratio, 16 / 10);
  border: 1px solid var(--rule-soft);
}

.work__frame img,
.work__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.005);
  transition: transform 1.1s var(--ease), filter .7s var(--ease);
}
.work__link:hover .work__frame img,
.work__link:hover .work__frame video { transform: scale(1.045); }

.work__index {
  position: absolute;
  top: .85rem;
  left: .9rem;
  z-index: 2;
  color: var(--ink-soft);
  mix-blend-mode: multiply;
}

.work__view {
  position: absolute;
  right: .9rem;
  bottom: .9rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .85rem;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: var(--f-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.work__link:hover .work__view,
.work__link:focus-visible .work__view { opacity: 1; transform: none; }

.work__body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .4rem 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  margin-top: .9rem;
}

.work__name {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  font-size: var(--f-lg);
  transition: color .3s;
}
.work__item--wide .work__name { font-size: var(--f-xl); }
.work__link:hover .work__name { color: var(--accent); }

.work__summary {
  flex: 1 1 15rem;
  color: var(--ink-strong);
  font-size: var(--f-sm);
  margin: 0;
  max-width: 44ch;
}

.work__meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  align-items: baseline;
}
.work__tag::before { content: "/"; margin-right: .35rem; color: var(--ink-soft); }


/* =========================== 10  currently ======================= */

.now {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(2rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.now__title {
  font-size: var(--f-xl);
  letter-spacing: -.05em;
}
.now__updated { margin-top: .8rem; }

.now__rows { display: grid; gap: clamp(.9rem, 1.6vw, 1.3rem); }

.now__row {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding-bottom: clamp(.9rem, 1.6vw, 1.3rem);
  border-bottom: 1px dashed var(--rule);
}
.now__row:last-child { border-bottom: 0; padding-bottom: 0; }

.now__value {
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--f-lg);
  letter-spacing: -.035em;
  line-height: 1.05;
}
.now__value a {
  text-decoration: none;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 2px;
  transition: background-size .45s var(--ease), color .3s;
}
.now__value a:hover { color: var(--accent); background-size: 0% 2px; }


/* ============================== 11  play ========================= */

.play {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4%;
  row-gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: flex-start;
}

.play__item { width: 48%; }
.play__item--narrow { width: 30.6%; }
.play__item--wide   { width: 100%; }

.play__card {
  height: 100%;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  padding: clamp(1.1rem, 2vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  text-decoration: none;
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease), border-color .4s, background .4s, box-shadow .5s var(--ease);
}
a.play__card:hover,
a.play__card:focus-visible {
  transform: rotate(0deg) translateY(-4px);
  border-color: var(--ink);
  background: var(--paper);
  box-shadow: 10px 12px 0 -1px rgba(23, 20, 15, .07);
}

.play__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.play__status {
  font-family: var(--mono);
  font-size: var(--f-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-deep);
  white-space: nowrap;
}

.play__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-deep);
}
.play__thumb img { width: 100%; height: 100%; object-fit: cover; }

.play__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--f-md);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.play__text { color: var(--ink-strong); font-size: var(--f-sm); margin: 0; }

.play__note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--f-lg);
  line-height: 1.25;
  color: var(--ink-mid);
  max-width: 30ch;
}


/* =========================== 12  project page ==================== */

.back {
  display: inline-flex;
  gap: .5rem;
  align-items: baseline;
  text-decoration: none;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}
.back span { display: inline-block; transition: transform .4s var(--ease); }
.back:hover span { transform: translateX(-5px); }
.back:hover { color: var(--accent-deep); }

.lede { padding-top: clamp(5.5rem, 12vh, 8.5rem); }

.lede__meta { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.1rem; }

.lede__title {
  font-size: var(--f-xxl);
  letter-spacing: -.05em;
  max-width: 16ch;
}

.lede__statement {
  margin-top: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--f-lg);
  line-height: 1.28;
  letter-spacing: -.025em;
  max-width: 30ch;
}

.lede__links {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: 100px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: var(--f-sm);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn span { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover span { transform: translate(3px, -3px); }

.shot {
  margin-top: clamp(2.5rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--paper-deep);
  aspect-ratio: var(--ratio, 16 / 9);
  border: 1px solid var(--rule-soft);
}
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; }

.caption { margin-top: .75rem; max-width: 46ch; }

.chapters { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }

.chapter {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2.4fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--rule);
}

.chapter__h {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--f-md);
  letter-spacing: -.03em;
  line-height: 1.15;
  position: sticky;
  top: 5rem;
  align-self: start;
}

.chapter__body { max-width: 58ch; color: var(--ink-strong); }
.chapter__body p { font-size: var(--f-body); }

/* Always two columns, so a lone extra shot sits in half the page
   rather than blowing up to full width. */
.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.jump {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.jump a {
  background: var(--paper);
  padding: clamp(1.5rem, 4vw, 3rem) var(--gut);
  text-decoration: none;
  display: grid;
  gap: .6rem;
  transition: background .35s;
}
.jump a:hover { background: var(--paper-warm); }
.jump a:last-child { text-align: right; }
.jump strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--f-lg);
  letter-spacing: -.04em;
  line-height: 1;
}
.jump a:hover strong { color: var(--accent); }


/* =========================== 13  long-form prose =================
   The .notes and .note-row rules are unused while there is no
   Thinking section. They are kept so it can come back in one step.
   .prose and its children are still live: a project section body
   uses them when you write a '## heading' or a '> quote'.
   ================================================================= */

.notes { border-top: 1px solid var(--ink); }

.note-row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr) 2rem;
  gap: 1rem clamp(1rem, 3vw, 3rem);
  align-items: baseline;
  padding-block: clamp(1.4rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background .4s var(--ease), padding-inline .4s var(--ease);
}
.note-row:hover { background: var(--paper-warm); padding-inline: 1rem; }

.note-row__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--f-lg);
  letter-spacing: -.035em;
  line-height: 1.08;
  transition: color .3s;
  max-width: 24ch;
}
.note-row:hover .note-row__title { color: var(--accent); }

.note-row__excerpt {
  margin: .5rem 0 0;
  color: var(--ink-mid);
  font-size: var(--f-sm);
  max-width: 52ch;
}

.note-row__arrow {
  justify-self: end;
  color: var(--ink-soft);
  transition: transform .45s var(--ease), color .3s;
}
.note-row:hover .note-row__arrow { transform: translateX(5px); color: var(--accent-deep); }

.prose {
  max-width: 34rem;
  margin-inline: auto;
  font-size: clamp(1.06rem, .5vw + .95rem, 1.22rem);
  line-height: 1.68;
}
.prose p { margin-bottom: 1.5em; }
.prose > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-weight: 800;
  font-size: 3.1em;
  line-height: .78;
  padding: .04em .12em 0 0;
  color: var(--accent);
}
.prose__h {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--f-md);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin: 2.4em 0 .8em;
}
.prose__quote {
  margin: 2.2em 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--accent);
}
.prose__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2em;
  line-height: 1.34;
  margin: 0;
  color: var(--ink);
}
.prose a { color: var(--accent-deep); text-underline-offset: 3px; }

.note-head { padding-top: clamp(5.5rem, 12vh, 8.5rem); text-align: center; }
.note-head__title {
  font-size: var(--f-xl);
  letter-spacing: -.045em;
  max-width: 18ch;
  margin-inline: auto;
}
.note-head__meta {
  display: flex;
  justify-content: center;
  gap: .9rem;
  margin-bottom: 1.25rem;
}


/* ============================== 14  about ======================== */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
  padding-top: clamp(5.5rem, 12vh, 8.5rem);
}

.about__headline {
  font-size: var(--f-xxl);
  letter-spacing: -.05em;
  max-width: 13ch;
}

.about__body {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 46ch;
  color: var(--ink-strong);
}

.about__portrait {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border: 1px solid var(--rule-soft);
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }

.about__links { margin-top: 1.5rem; display: grid; }

.elsewhere {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .85rem;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--f-md);
  letter-spacing: -.03em;
  transition: color .3s, padding-inline .4s var(--ease);
}
.elsewhere:first-child { border-top: 1px solid var(--rule); }
.elsewhere span { color: var(--ink-soft); transition: transform .45s var(--ease), color .3s; }
.elsewhere:hover { color: var(--accent-deep); padding-inline: .5rem; }
.elsewhere:hover span { transform: translate(4px, -4px); color: var(--accent-deep); }


/* ============================== 15  footer ======================= */

.foot {
  background: var(--ink);
  color: var(--paper);
  padding-top: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}

.foot__mark {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(3rem, 13.4vw, 13rem);
  line-height: .78;
  letter-spacing: -.055em;
  white-space: nowrap;
  padding-bottom: .06em;
}
.foot__mark i { font-style: normal; color: var(--accent); }

.foot__rows {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem clamp(1.5rem, 4vw, 4rem);
  justify-content: space-between;
  align-items: baseline;
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(245, 242, 236, .18);
}

.foot .label { color: rgba(245, 242, 236, .55); }

.foot__who { display: grid; gap: .5rem; }

.foot__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.foot__links a {
  font-size: var(--f-sm);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .45s var(--ease), color .3s;
}
.foot__links a:hover { color: var(--accent); background-size: 100% 1px; }

.foot__hello {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--f-md);
  letter-spacing: -.03em;
  text-decoration: none;
  color: var(--accent);
}
.foot__hello span { display: inline-block; transition: transform .45s var(--ease); }
.foot__hello:hover span { transform: translateX(5px); }


/* ============================== motion =========================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity  .95s var(--ease) var(--d, 0s),
    transform .95s var(--ease) var(--d, 0s);
}
.reveal.is-in { opacity: 1; transform: none; }

.hero__line > span {
  transform: translateY(105%);
  animation: rise 1.1s var(--ease) forwards;
}
.hero__line--1 > span { animation-delay: .05s; }
.hero__line--2 > span { animation-delay: .15s; }
.hero__line--3 > span { animation-delay: .25s; }
@keyframes rise { to { transform: none; } }

.hero__top, .hero__bottom { animation: fade 1s var(--ease) .55s both; }
@keyframes fade { from { opacity: 0; transform: translateY(12px); } }

/* the little cursor dot, pointer devices only */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), background .35s;
  mix-blend-mode: multiply;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 46px; height: 46px; background: color-mix(in srgb, var(--accent) 28%, transparent); }

@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .42s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(10px); } }


/* ============================== responsive ======================= */

@media (max-width: 1080px) {
  .work__item--narrow { width: 44%; }
  .work__item--mid    { width: 78%; }
  .play__item--narrow { width: 48%; }
  .note-row { grid-template-columns: 8.5rem minmax(0, 1fr) 1.5rem; }
  .now { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about__portrait { max-width: 22rem; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-block; }

  .hero { min-height: 82svh; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { align-self: flex-start; flex-direction: row-reverse; }
  .hero__scroll .label { text-align: left; }
  .hero__rule { height: 44px; }

  .work__item,
  .work__item--half,
  .work__item--narrow,
  .work__item--mid { width: 100%; margin-inline: 0; }
  .work__item--offset { margin-top: 0; }

  .play__item,
  .play__item--narrow,
  .play__item--wide { width: 100%; }
  .play__card { transform: none; }

  .chapter { grid-template-columns: 1fr; gap: .75rem; }
  .pair { grid-template-columns: 1fr; }
  .chapter__h { position: static; }

  .note-row { grid-template-columns: 1fr; gap: .5rem; }
  .note-row__arrow { display: none; }
  .note-row__title { max-width: none; }

  .now__row { grid-template-columns: 1fr; gap: .3rem; }

  .jump { grid-template-columns: 1fr; }
  .jump a:last-child { text-align: left; }

  .lede__title, .about__headline, .head__title { max-width: none; }
  .prose > p:first-of-type::first-letter { font-size: 2.7em; }
}

@media (max-width: 520px) {
  .hero__title { letter-spacing: -.05em; }
  .work__body { flex-direction: column; align-items: flex-start; }
  .work__summary { flex: 0 0 auto; }
  .foot__rows { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media print {
  .nav, .menu, .marquee, .cursor, .hero__scroll { display: none !important; }
  body { background: #fff; }
  body::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__line > span { transform: none; }
  .marquee__track { animation: none; }
  .cursor { display: none; }
  @view-transition { navigation: none; }
}
