/* Poppy Room — drawn in Dusk.
   Paper ground, ink type, one poppy moment per page.
   Reference: Paper sheet 23, "PR Specimen — web".
   Nothing is fetched from a CDN. */

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

:root {
  --paper:      #FFFFFF;
  --ink:        #0A0A0A;
  --ink-dim:    rgb(10 10 10 / 62%);
  --ink-faint:  rgb(10 10 10 / 38%);
  --rule:       rgb(10 10 10 / 14%);
  --poppy:      #FF7A1A;

  --gutter:     clamp(24px, 6vw, 96px);
  --measure:    620px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ---- Masthead ---------------------------------------------------------- */
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px var(--gutter);
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-weight: 600;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62, "wght" 600;
  letter-spacing: .02em;
  font-size: 27px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
.nav a {
  font-size: 15px;
  line-height: 20px;
  color: var(--ink-dim);
  text-decoration: none;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); }

/* ---- Page body --------------------------------------------------------- */
main { flex: 1 0 auto; padding: clamp(64px, 11vh, 132px) var(--gutter) clamp(72px, 12vh, 144px); }

.eyebrow {
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62, "wght" 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

h1 {
  font-weight: 600;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62, "wght" 600;
  letter-spacing: .02em;
  font-size: clamp(44px, 7.4vw, 92px);
  line-height: 1.04;
  max-width: 16ch;
}

.lede {
  margin-top: clamp(26px, 4vh, 40px);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.42;
  color: var(--ink-dim);
  max-width: var(--measure);
}

h2 {
  font-weight: 600;
  font-stretch: 90%;
  font-variation-settings: "wdth" 90, "wght" 600;
  letter-spacing: -0.005em;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.16;
}

.prose { max-width: 544px; }
.prose p + p { margin-top: 20px; }
.prose a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.section { margin-top: clamp(64px, 10vh, 120px); }
.section > h2 + .prose,
.section > h2 + .rows { margin-top: 26px; }

/* ---- Definition rows (About, Contact) ---------------------------------- */
.rows { border-top: 1px solid var(--rule); max-width: 720px; }
.row {
  display: flex;
  gap: clamp(16px, 4vw, 48px);
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.row dt {
  flex: 0 0 clamp(96px, 16vw, 168px);
  font-size: 11px;
  line-height: 20px;
  font-weight: 500;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62, "wght" 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.row dd { color: var(--ink); }
.row dd a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---- The one poppy moment ---------------------------------------------- */
.btn-poppy {
  display: inline-flex;
  align-items: center;
  margin-top: clamp(32px, 5vh, 48px);
  padding: 12px 24px;
  background: var(--poppy);
  color: var(--ink);
  font-weight: 700;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62, "wght" 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
}

/* ---- Work ---------------------------------------------------------------- */
.project { max-width: 1100px; }
.project-frame {
  aspect-ratio: 3 / 2;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-frame span {
  font-size: 11px;
  font-weight: 500;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62, "wght" 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 55%);
}
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.project-meta h3 {
  font-size: 21px;
  line-height: 28px;
  font-weight: 600;
  font-stretch: 90%;
  font-variation-settings: "wdth" 90, "wght" 600;
}
.project-meta .note { font-size: 15px; color: var(--ink-dim); }

/* ---- Footer ------------------------------------------------------------- */
.foot {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: baseline;
  justify-content: space-between;
  padding: 24px var(--gutter);
  border-top: 1px solid var(--rule);
}
.foot span, .foot a {
  font-size: 11px;
  line-height: 16px;
  font-weight: 300;
  font-stretch: 62%;
  font-variation-settings: "wdth" 62, "wght" 300;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-decoration: none;
}
.foot a:hover { color: var(--ink); }

@media (max-width: 640px) {
  .masthead { flex-direction: column; align-items: flex-start; gap: 16px; }
  h1 { max-width: none; }
}
