/* lumenfold.eu — "Folded strip": the page is one strip of paper folded at 45°,
   each fold turning it over to its other side (paper → ink → lumen → paper).
   Brand: Archivo (self-hosted, wdth + wght axes), Ink / Lumen / Paper. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --ink: #15171C;
  --lumen: #D9A441;
  --paper: #F3EEE4;
  --muted: #5C5A55;        /* on paper, 6.3:1 */
  --soft: #B9B4AA;         /* on ink, 8.6:1 */
  --fold: clamp(44px, 8vw, 112px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--ink); color: var(--ink);
  font-family: Archivo, system-ui, sans-serif; font-size: 18px; line-height: 1.55;
  font-stretch: 100%;
}
a { color: inherit; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(1040px, 100% - 40px); margin: 0 auto; }

/* lockup: mark baseline → ascender, gap = one arm (see brand/logo-g-refined.html) */
.lockup { display: inline-flex; align-items: baseline; text-decoration: none; font-size: 24px; line-height: 1; }
.lockup svg { height: .723em; width: calc(.723em * 62 / 76); margin-right: calc(.723em * 24 / 76); flex: none; }
.wm { font-weight: 600; font-stretch: 112%; letter-spacing: -.012em; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; }
.top nav { display: flex; gap: 28px; font-size: 17px; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; }

/* panels and the 45° folds between them (low on the left, like the mark) */
.panel { position: relative; padding: calc(var(--fold) + 48px) 0 104px; }
.panel + .panel { margin-top: calc(-1 * var(--fold));
  clip-path: polygon(0 var(--fold), var(--fold) 0, 100% 0, 100% 100%, 0 100%); }
.paper { background: var(--paper); color: var(--ink); }
.ink   { background: var(--ink);   color: var(--paper); }
.lumen { background: var(--lumen); color: var(--ink); }
.hero  { padding-top: 0; padding-bottom: calc(var(--fold) + 72px); }

h1, h2, .big { font-weight: 600; font-stretch: 125%; letter-spacing: -.03em; line-height: .98; }
h1 { font-size: clamp(56px, 11vw, 168px); max-width: 10ch; margin-top: 9vh; }
h2 { font-size: clamp(34px, 5vw, 72px); }
.lede { margin-top: 32px; max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }

/* work: icon at the cap height of the name, details beside it */
.work { list-style: none; margin-top: 40px; }
.work li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: start;
  padding: 30px 0; border-top: 1px solid rgba(243, 238, 228, .16); }
.work .name { display: flex; align-items: baseline; gap: .28em; font-size: clamp(40px, 5vw, 72px); font-weight: 600;
  font-stretch: 125%; letter-spacing: -.03em; line-height: 1; color: var(--paper); }
.work .name img { height: .74em; width: auto; flex: none; align-self: baseline; }
.work p { max-width: 46ch; color: var(--soft); }
.work .status { color: var(--paper); }
.status { color: var(--lumen); }
.status { margin-top: 14px; font-size: 16px; }
.btn { display: inline-block; margin-top: 14px; padding: 14px 22px; background: var(--lumen); color: var(--ink);
  text-decoration: none; font-weight: 600; font-size: 16px; border-radius: 2px; }
.btn:hover { background: #E6B65A; }
.btn-ink { margin-top: 32px; background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a2d35; }
.link { display: inline-block; margin-top: 12px; font-weight: 600; }
.intro { margin-top: 24px; max-width: 58ch; font-size: clamp(18px, 1.6vw, 21px); }
.intro a { font-weight: 600; }

/* company */
dl.company { display: grid; grid-template-columns: max-content 1fr; gap: 10px 32px; margin-top: 32px; font-size: 17px; }
dl.company dt { color: var(--muted); }

footer { color: var(--soft); font-size: 15px; padding: 28px 0 36px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .top nav { gap: 18px; }
  h1 { margin-top: 5vh; }
  .work li { grid-template-columns: 1fr; }
  dl.company { grid-template-columns: 1fr; gap: 2px; }
  dl.company dd { margin-bottom: 12px; }
  .panel { padding-bottom: 80px; }
}

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
