/* Laurent Voss — editorial atelier: bone paper, ink, one oxblood accent. */
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin-wght-italic.woff2") format("woff2-variations");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  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: "Jost";
  src: url("/assets/fonts/jost-latin-ext-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #ece6db;
  --paper-deep: #e3dccf;
  --ink: #16130f;
  --ink-soft: #57504a;   /* 6.4:1 on paper */
  --oxblood: #7a1f1a;    /* 8.6:1 on paper */
  --rule: #c9bfae;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--paper);
  /* paper: a faint vignette and fibre grain */
  background-image:
    radial-gradient(120% 90% at 70% 10%, transparent 55%, var(--paper-deep) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.09 0 0 0 0 0.07 0 0 0 0 0.06 0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.sheet {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  column-gap: 16px;
  padding: var(--gutter);
}

.label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label-accent { color: var(--oxblood); margin: 0 0 18px; }

.mast {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}

.mark {
  grid-column: 1 / -1;
  align-self: end;
  margin: clamp(48px, 10vh, 120px) 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(64px, 15.5vw, 236px);
  line-height: 0.86;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 96;
}
.mark-line { display: block; }
.mark-indent { padding-left: 0.62em; }
.mark em { font-style: italic; font-weight: 400; color: var(--oxblood); }

.note {
  grid-column: 8 / -1;
  margin-top: clamp(28px, 5vh, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--ink);
  max-width: 34ch;
}
.lede {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.3;
  font-weight: 400;
}
.sub { margin: 0; color: var(--ink-soft); }

.foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(40px, 8vh, 96px);
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

/* One entrance: the wordmark and note settle into place. Movement only, never
   opacity: if animations are paused (background tabs, crawlers, screenshots),
   the page is still fully readable. */
@media (prefers-reduced-motion: no-preference) {
  .mark-line, .note { animation: settle 900ms var(--ease) both; }
  .mark-line:nth-child(2) { animation-delay: 120ms; }
  .note { animation-delay: 300ms; }
}
@keyframes settle {
  from { transform: translateY(0.18em); }
  to { transform: none; }
}

@media (max-width: 760px) {
  .sheet { column-gap: 0; }
  .mark { font-size: clamp(56px, 21vw, 120px); }
  .note { grid-column: 1 / -1; max-width: none; }
  .foot { flex-direction: column; gap: 4px; }
}

a {
  color: var(--oxblood);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 200ms var(--ease);
}
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--oxblood); outline-offset: 3px; border-radius: 2px; }

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