/* Headings: Rosamila by Stripes Studio (commercial license via MyFonts). Put the font file at
   fonts/Rosamila-Regular.woff2 next to this page. Until it's there, headings fall back to Gloock. */
@font-face { font-family: "Rosamila"; src: local("Rosamila"), local("Rosamila Regular"), local("Rosamila-Regular"), url("fonts/Rosamila-Regular.woff2") format("woff2"), url("fonts/Rosamila-Regular.otf") format("opentype"), url("fonts/Rosamila-Regular.ttf") format("truetype"); font-display: swap; }
:root { --ink: #121513; --ink-2: #1A201C; --sage: #3E5345; --bone: #EDE7DA; --moss: #8FA88F; --bone-75: rgba(237,231,218,.75); --ink-70: rgba(18,21,19,.7); --dim: #A8B0A9; --d: "Rosamila", "Gloock", Didot, Georgia, serif; --s: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace; --pad: clamp(18px, 2.6vw, 40px); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--ink); font-family: var(--s); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.sm { font-size: 12px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }

/* Panels stack vertically; some rows pair two panels of different widths */
.track { display: flex; flex-wrap: wrap; }
.pn { position: relative; flex: none; min-height: 100vh; padding: var(--pad); display: flex; flex-direction: column; overflow: hidden; }
.w100 { width: 100%; } .w65 { width: 65%; } .w60 { width: 60%; } .w40 { width: 40%; } .w35 { width: 35%; }
.h85 { min-height: 85vh; } .h70 { min-height: 70vh; }
.huge { will-change: transform; }
.ink { background: var(--ink); color: var(--bone); } .ink2 { background: var(--ink-2); color: var(--bone); } .sage { background: var(--sage); color: var(--bone); } .bone { background: var(--bone); color: var(--ink); }
.top { display: flex; justify-content: space-between; gap: 20px; }
.bot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.huge { font-family: var(--d); font-weight: 400; line-height: .78; letter-spacing: -0.045em; margin: 0; white-space: nowrap; }
.copy { max-width: 40ch; font-size: 14.5px; line-height: 1.5; margin: 0; text-wrap: pretty; }
.say { font-family: var(--d); font-size: clamp(30px, 3.4vw, 58px); line-height: 1.05; letter-spacing: -0.02em; margin: 0; max-width: 16ch; }

/* Look 1 */
.p1 { }
.p1 .me { font-weight: 600; }
.p1 .lead { margin: auto 0 0; font-family: var(--d); font-size: clamp(28px, 3.2vw, 56px); line-height: 1; letter-spacing: -0.025em; max-width: 20ch; }
.p1 .facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 5vh; padding-top: 12px; border-top: 1px solid rgba(237,231,218,.30); text-transform: none; letter-spacing: 0; font-size: 13px; line-height: 1.45; font-weight: 400; }
.p1 .facts span { display: block; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.p1 .facts .sc { text-align: right; align-self: end; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.p1 .huge { margin: max(6vh, .22em) 0 0; line-height: .76; letter-spacing: -0.03em; } .p1 .huge em { font-style: normal; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Radial: the word crops off the panel's bottom edge */
.p3 .huge { font-size: min(76vh, calc((65vw - 2 * var(--pad)) / 1.83)); position: absolute; left: calc(var(--pad) - .06em); bottom: .05em; }
.p3 .bot, .p3 .top { position: relative; z-index: 1; }
.p3 .bot { margin-top: 0; padding-top: 14vh; flex-direction: column; align-items: flex-start; }
.p4 .huge { font-size: 40vh; margin: auto 0 0; }
.p5 .huge { font-size: 19vh; margin-top: 18vh; }
.p6 .list { margin: auto 0 0; padding: 0; list-style: none; display: grid; gap: 0; }
.p6 .list { margin-top: 12vh !important; border-bottom: 1px solid rgba(237,231,218,.18); }
.p6 .it { display: grid; grid-template-columns: minmax(0, 1fr) 44ch; gap: 3vw; align-items: center; border-top: 1px solid rgba(237,231,218,.18); padding: 2.2vh 0 2.4vh; }
.p6 .it b { font-family: var(--d); font-weight: 400; font-size: clamp(40px, 6.2vw, 104px); line-height: .95; white-space: nowrap; letter-spacing: -0.035em; }
.p6 .also { display: block; margin-top: 3vh; padding-top: 0; border-top: 0; } .p6 .also > span:first-child { color: var(--bone-75); }
.p6 .it:not(:has(> span)) { grid-template-columns: minmax(0, 1fr); }
.p6 .it > span { font-size: 14px; line-height: 1.5; text-wrap: pretty; }
.p7 .huge { font-size: 36vh; margin-top: 8vh; } .p7 .bot { margin-top: 8vh; }
.p7 .about { column-count: 3; column-gap: 3vw; max-width: 150ch; margin: 7vh 0 0; font-size: 15px; line-height: 1.6; color: var(--bone-75); } .p7 .about p { margin: 0 0 1.1em; text-wrap: pretty; } .p7 .about p:last-child { margin-bottom: 0; }
.p8 .mail { font-family: var(--d); font-size: clamp(36px, 5.4vw, 92px); letter-spacing: -0.03em; line-height: 1; border-bottom: 2px solid var(--sage); }
.p8 .mail:hover { color: var(--sage); }
.p8 .links { display: flex; gap: 22px; }
.p8 .tools { position: absolute; right: var(--pad); bottom: var(--pad); text-align: right; }
.p8 .tools { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }


/* Writing: each essay is a row; on hover a sage band wipes in from the left */
.p9 { min-height: 0; padding-bottom: calc(var(--pad) * 2); }
.p9 .wh { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 3vw; margin: 12vh 0 5vh; }
.p9 .wh .say { font-size: clamp(56px, 8vw, 150px); line-height: .85; letter-spacing: normal; max-width: none; }
.p9 .wh .copy { justify-self: end; text-align: right; }
.posts { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(237,231,218,.18); }
.post { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1.1fr) minmax(0, 1fr) 22ch; gap: 2vw; align-items: center; min-height: 9vh; padding: 1.6vh 0; border-top: 1px solid rgba(237,231,218,.18); }
.post .yr { display: flex; align-items: center; font-size: 13px; font-weight: 500; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.post .yr .dia { display: block; width: 10px; height: 10px; }
.post .t { font-family: var(--d); font-size: clamp(30px, 3.4vw, 58px); line-height: 1; letter-spacing: -0.025em; }
.post .dk { max-width: 52ch; font-size: 13.5px; line-height: 1.5; color: var(--dim); }
.post .pub { white-space: nowrap; text-align: right; font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

@property --r { syntax: "<length>"; inherits: false; initial-value: 0px; }
@media (hover: hover) and (pointer: fine) {
  [data-lens] { cursor: none; }
  [data-lens] a { cursor: none; }
}
.lens { position: absolute; inset: 0; z-index: 4; pointer-events: none; padding: var(--pad); display: flex; flex-direction: column; overflow: hidden;
  background: var(--lbg);
  clip-path: circle(var(--r) at var(--x) var(--y)); transition: --r .55s cubic-bezier(.2,.8,.2,1); transform: scale(1.12); transform-origin: var(--x) var(--y); }
.ring { position: absolute; z-index: 5; pointer-events: none; left: var(--x); top: var(--y); width: calc(var(--r) * 2.24); height: calc(var(--r) * 2.24); transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--ringc); transition: --r .55s cubic-bezier(.2,.8,.2,1); }

/* Liquid lens */
.fxbase { position: absolute; inset: 0; z-index: 4; pointer-events: none; padding: var(--pad); display: flex; flex-direction: column; overflow: hidden; }
.fxbase .it, .fxbase .top, .fxbase .bot, .fxbase .facts { border-color: currentColor !important; }
.ctip { position: fixed; left: -100px; top: -100px; z-index: 60; pointer-events: none; transform: translate(-50%, -50%) scale(.6); opacity: 0; white-space: nowrap; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; transition: opacity .25s, transform .35s cubic-bezier(.2,.8,.2,1); }
.ctip.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (prefers-reduced-motion: reduce) { .lens, .ring { transition: none; } }
.hud { position: fixed; left: 0; right: 0; bottom: 6px; z-index: 5; display: flex; justify-content: space-between; color: var(--bone); mix-blend-mode: difference; pointer-events: none; }
.hud { mix-blend-mode: normal !important; bottom: 0 !important; }
.hud .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.hud .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--moss); width: 0; }

/* Mobile & reduced motion: panels stack vertically */
@media (max-width: 860px) {
  .track { display: block; }
  .huge { transform: none !important; }
  .pn { width: 100% !important; height: auto; min-height: 0; padding-top: 22px; padding-bottom: 40px; }
  .pn .huge { margin-top: 8vh !important; }
  .top > span:nth-child(2):not(:last-child) { display: none; }
  .p3 { min-height: 70svh; } .p3 .huge { font-size: 49vw !important; bottom: .06em; margin: 0 !important; }
  .p1 .facts { grid-template-columns: 1fr 1fr; row-gap: 16px; } .p1 .facts .sc { display: none; } .p1 .lead { margin-top: 10vh; font-size: 9vw; } .p1 .huge { margin-top: max(5vh, .22em) !important; }
  .p4 .huge { font-size: 34vw; }
  .p7 .bot { margin-top: 4vh; } .p7 .about { column-count: 1; margin-top: 4vh; font-size: 16px; }
  .p6 .also { grid-template-columns: 1fr 1fr; row-gap: 12px; } .p6 .it { grid-template-columns: 1fr; gap: 8px; padding: 18px 0; } .p6 .it b { font-size: 10vw; white-space: normal; }
  .p9 .wh { grid-template-columns: 1fr; margin-top: 6vh; } .p9 .wh .copy { justify-self: start; text-align: left; }
  .post { grid-template-columns: 1fr; row-gap: 8px; min-height: 0; padding: 2.4vh 0 2.8vh; align-items: start; } .post .yr { display: none; } .post .pub { order: -1; text-align: left; color: var(--dim); } .post .pub:empty { display: none; } .post .t { font-size: 9vw; } .post .dk { max-width: none; }
  .bot { flex-direction: column; align-items: flex-start; }
  .p8 .tools { position: static; text-align: left; margin-top: 6vh; }
  .hud { display: none; }
}
