@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/caveat.woff2) format('woff2'); }
@font-face { font-family: 'Geist'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/geist.woff2) format('woff2'); }

/* 07 — one narrow column, running text, lowercase */
:root {
  color-scheme: dark;
  --bg: #0a0a0a;      /* just above black, neutral */
  --ink: #ededed;
  --text: #b3b3b3;
  --dim: #6e6e6e;
  --line: #262626;
  --accent: #fa5232;   /* burning orange, leaning red */
  --f: 'Geist', -apple-system, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f);
  text-transform: lowercase;
  letter-spacing: -0.015em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, p, figure { margin: 0; }

/* mobile first: one phone-width column */
.col {
  max-width: 420px;
  margin: 0 auto;
  padding: 72px 24px 0;
}
section, .intro { margin-bottom: 64px; }
section p + p { margin-top: 6px; }

.intro { color: var(--ink); font-size: 17px; line-height: 1.5; }
.intro h1 { font: inherit; font-weight: 700; margin-bottom: 22px; }

/* each photo with its sentence beside it, one under the other */
.col { --gap: 16px; }
/* the indent where the second handwritten line starts; reused by the second button */
.col { --indent: calc(var(--face) + 2 * var(--gap) + var(--hand) * 1.75 - 10px); }
.intro .row { display: flex; align-items: center; gap: var(--gap); margin: 0 0 6px; }
.face {
  flex: none;
  display: block;
  width: 76px; height: 76px;
  border-radius: 50%;
  object-fit: cover;
  cursor: default;
  transition: opacity .15s;
}
.face:hover, .face.on { opacity: .85; }
.face:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
.today { margin-top: 22px; }

/* the two sentences are handwritten notes, each with an arrow back to its photo */
body { --hand: 19px; --pen: calc(var(--hand) * 0.065); }
.hand { font-family: 'Caveat', cursive; font-weight: 500; font-size: var(--hand); line-height: 1.05; color: var(--ink); white-space: nowrap; letter-spacing: -0.02em; }
.then .hand { transform: rotate(-2deg); }
.now .hand { transform: rotate(2deg); }

/* the two photos sit closer: the first note rides high, the second sits low,
   so the second photo (on the other side) can tuck up next to the first one */
.col { --face: 76px; }
.intro .row.then { align-items: flex-start; }
.intro .row.then .arrow, .intro .row.then .hand { margin-top: calc(var(--face) * 0.06); }
.intro .row.now { align-items: flex-end; padding-left: var(--indent); margin-top: calc(var(--face) * -0.32); }
.intro .row.now .arrow, .intro .row.now .hand { margin-bottom: calc(var(--face) * 0.06); }
.now .arrow { margin: 0 -4px 0 -6px; }
.svg.defs, .defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.arrow { flex: none; display: block; width: calc(var(--hand) * 1.75); height: calc(var(--hand) * 1.02); margin: 0 -6px 0 -4px; color: var(--ink); overflow: visible; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* hand-drawn underlines in the closing sentence */
.scribble { position: relative; white-space: nowrap; }
.scribble svg {
  position: absolute; left: -2px; right: -2px; bottom: -0.32em;
  width: calc(100% + 4px); height: 0.45em;
  overflow: visible; pointer-events: none;
  color: var(--ink);
}
.scribble path {
  fill: none; stroke: currentColor; stroke-width: var(--pen); stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

h2 { font: 400 13px/1.6 var(--f); color: var(--dim); margin-bottom: 4px; }
.k { color: var(--dim); margin-right: 2px; }
.dim { color: var(--dim); }
.role { color: var(--ink); }
.say { color: var(--ink); }
.yr { color: var(--dim); font-size: 0.85em; font-variant-numeric: tabular-nums; white-space: nowrap; margin-left: 4px; }



/* hoverable project names: brighter, with a quiet dotted line */
.p {
  color: var(--ink);
  text-decoration: underline dotted;
  text-decoration-color: #5a5a5a;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: default;
  transition: text-decoration-color .15s;
}
a.p { cursor: pointer; }
.p:hover, .p:focus-visible, .p.on { text-decoration-style: solid; text-decoration-color: var(--ink); outline: none; }

.links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.links a:hover { border-color: var(--ink); }

footer {
  display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px;
  padding: 18px 0 64px;
  font-size: 13px; color: var(--dim);
}
footer a { text-decoration: none; }
footer a:hover { color: var(--ink); }
.legal { display: flex; gap: 16px; }

/* the small preview that follows the cursor */
.peek {
  position: fixed; left: 0; top: 0; z-index: 10;
  width: 120px;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .16s ease;
  will-change: transform;
}
.peek.on { opacity: 1; }
.peek .frame {
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #1a1a1a;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .55);
}
.peek img { display: block; width: 100%; height: 100%; object-fit: cover; }
.peek p { display: inline-block; margin-top: 4px; padding: 2px 6px; border-radius: 4px; background: var(--bg); font-size: 12px; line-height: 1.4; color: var(--dim); }
.peek p:empty { display: none; }

/* desktop: labels on the left, text on the right, a comfortable reading width */
@media (min-width: 860px) {
  body { font-size: 18px; }
  .col { max-width: 864px; padding: 120px 48px 0; }
  .intro, section { margin-bottom: 88px; }
  .intro { font-size: 20px; }
  .col { --gap: 20px; }
  .intro .row { margin-bottom: 8px; }
  .face { width: 96px; height: 96px; }
  .col { --face: 96px; }
  .intro h1 { margin-bottom: 30px; }
  .today { margin-top: 30px; }
  body { --hand: 24px; }
  section h2 { font-size: 14px; margin-bottom: 6px; }
  section p + p { margin-top: 8px; }
  .peek { width: 140px; }
}



/* small phones: keep the handwritten lines on two lines without overflowing */
@media (max-width: 420px) {
  .col { padding-left: 20px; padding-right: 20px; }
  .face { width: 64px; height: 64px; }
  .col { --face: 64px; }
  .intro .row.now { margin-top: calc(var(--face) * -0.1); }
  .col { --gap: 12px; }
  body { --hand: 17px; }
}

.intro { position: relative; }

/* film grain over everything */
body { position: relative; }
.col { position: relative; z-index: 1; }
.grain {
  position: fixed; top: -100px; left: -100px; right: -100px; bottom: -100px;
  pointer-events: none; z-index: 40;
  background: url(img/grain.png) repeat;
  opacity: .07;
  /* quick, small jumps in place: flickers like film grain instead of sliding */
  animation: grain 0.8s steps(1) infinite;
  will-change: transform;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  12%  { transform: translate(-37px, 23px); }
  25%  { transform: translate(51px, -14px); }
  37%  { transform: translate(-12px, -58px); }
  50%  { transform: translate(64px, 41px); }
  62%  { transform: translate(-71px, 6px); }
  75%  { transform: translate(18px, 67px); }
  87%  { transform: translate(-44px, -33px); }
  100% { transform: translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }


/* ---------- expandable sections under the hero ---------- */
:root { interpolate-size: allow-keywords; }
.more { margin: 0 0 6px; }
.more + .more { margin-top: 18px; }
.intro + .more { margin-top: 8px; }
.more summary {
  display: inline-flex; align-items: flex-start; gap: 10px;
  list-style: none; cursor: pointer; user-select: none;
  padding: 4px 0;
  color: var(--ink);
}
.more summary::-webkit-details-marker { display: none; }
.more summary:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.more summary .hand { transition: opacity .15s; }
.more summary:hover .hand { opacity: .75; }
.go { flex: none; width: calc(var(--hand) * 1.3); height: calc(var(--hand) * 1.3); color: var(--ink); overflow: visible;
  /* line up the arrow's start (25% down the box) with the middle of the handwriting */
  margin: calc(var(--hand) * 0.23) 0 calc(var(--hand) * -0.75); }
.go path { stroke-width: var(--pen); vector-effect: non-scaling-stroke; }

/* smooth open/close where supported, instant everywhere else */
.more::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .32s cubic-bezier(.33,1,.68,1), content-visibility .32s allow-discrete;
}
.more[open]::details-content { block-size: auto; }

/* the text inside: all white, calm, with small round images as anchors */
.more .body { padding: 10px 0 30px; color: var(--ink); line-height: 1.4; }
.more .body p + p { margin-top: 10px; }
.more .body .k { color: var(--ink); margin-right: 2px; }
.more .body .p { color: var(--ink); }
.ico {
  display: inline-block; width: 1.5em; height: 1.5em;
  margin: 0 0.32em 0 0.12em; vertical-align: -0.42em;
  border-radius: 50%; object-fit: cover; background: #1a1a1a;
}
@media (prefers-reduced-motion: reduce) {
  .more::details-content { transition: none; }
}
/* the buttons sit a little closer to the hero and the contact block than the main sections do */
.intro { margin-bottom: 44px; }
.more + section { margin-top: 44px; }
@media (min-width: 860px) { .intro { margin-bottom: 60px; } .more + section { margin-top: 60px; } }

/* secondary information is grey, the main facts stay white */
.more .body .dim { color: #8c8c8c; }
/* a whole line in grey, label included, no underline */
.more .body .quiet, .more .body .quiet .k, .more .body .quiet .p { color: #8c8c8c; }
.more .body .quiet .p:hover .t, .more .body .quiet .p.on .t { text-decoration-color: #8c8c8c; }

/* section labels with a hand-drawn underline that draws itself when the section opens */
.more .body .k { position: relative; white-space: nowrap; margin-right: 4px; }
.more .body .k svg {
  position: absolute; left: -2px; bottom: -0.3em;
  width: calc(100% + 4px); height: 0.45em; overflow: visible; pointer-events: none;
  color: var(--ink);
}
.more .body .k path { fill: none; stroke: currentColor; stroke-width: var(--pen); stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* image + name are one hover block; only the name is underlined */
.more .body .p { white-space: nowrap; text-decoration: none; color: var(--ink); cursor: default; }
.more .body a.p { cursor: pointer; }
.more .body .p .t {
  text-decoration: underline dotted; text-decoration-color: #5a5a5a;
  text-decoration-thickness: 1px; text-underline-offset: 3px;
  transition: text-decoration-color .15s;
}
.more .body .p:hover .t, .more .body .p.on .t, .more .body .p:focus-visible .t { text-decoration-style: solid; text-decoration-color: var(--ink); }
.more .body .p:focus-visible { outline: none; }

/* the magnifier card for fabw / straightupglobal / rippleedit:
   picture left, name and a line of text right, set like the running text */
.peek .info { display: none; }
.peek.card {
  display: flex; align-items: center; gap: 14px;
  width: 340px; text-align: left;
  padding: 12px 16px 12px 12px;
  background: var(--bg);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .75);
  border-radius: 14px;
}
.peek.card .frame { flex: none; width: 64px; box-shadow: none; }
.peek.card .info { display: block; text-transform: lowercase; letter-spacing: -0.015em; }
.peek.card .info b { display: block; font-weight: 400; font-size: 15px; line-height: 1.3; color: var(--ink); }
.peek.card .info span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.4; color: #8c8c8c; }


/* ---------- first load: blocks drop in from slightly above, unblurring, top to bottom ---------- */
.js .in {
  opacity: 0; filter: blur(10px); transform: translateY(-12px);
  animation: arrive 1.2s cubic-bezier(.22,1,.36,1) var(--t, 0s) forwards;
}
@keyframes arrive { to { opacity: 1; filter: none; transform: none; } }
/* the second wave (buttons, contact, footer) settles in softer and slower, so it reads as one smooth movement */
.js .in.wave { transform: translateY(-8px); animation-duration: 1.8s; animation-timing-function: cubic-bezier(.16,1,.3,1); }
@media (prefers-reduced-motion: reduce) { .js .in { animation: none; opacity: 1; filter: none; transform: none; } }


/* on open, the lines inside drop in one after another: down, unblurring, fading in */
.more[open] .body p {
  animation: arrive .55s cubic-bezier(.22,1,.36,1) both;
  filter: blur(6px); opacity: 0; transform: translateY(-8px);
}
.more[open] .body p:nth-child(1) { animation-delay: .04s; }
.more[open] .body p:nth-child(2) { animation-delay: .1s; }
.more[open] .body p:nth-child(3) { animation-delay: .16s; }
.more[open] .body p:nth-child(4) { animation-delay: .22s; }
.more[open] .body p:nth-child(5) { animation-delay: .28s; }
@media (prefers-reduced-motion: reduce) { .more[open] .body p { animation: none; filter: none; opacity: 1; transform: none; } }
