/* ============================================================
   Inflection — site stylesheet
   White, monochrome, left-aligned. Archivo throughout; Archivo
   Expanded reserved for the single home "scarcity" moment.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --ink: #18181b;
  --ink-soft: #2c2c30;
  --muted: #5d5d63;
  --faint: #a4a4a9;
  --hair: #e8e8ea;
  --hair-strong: #d6d6d9;
  --callout: #f6f6f7;

  --font: "Archivo", system-ui, sans-serif;
  --font-exp: "Archivo Expanded", "Archivo", system-ui, sans-serif;

  --wrap: 1180px;
  --measure: 40rem;
  --read: 41rem;          /* long-form reading column (~72ch) */
  --pad-y: clamp(4.5rem, 9vh, 8rem);
  --edge: clamp(1.4rem, 6vw, 7rem);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

::selection { background: var(--ink); color: #fff; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--edge); }

/* ------------------------------------------------------------ */
/*  NAV                                                          */
/* ------------------------------------------------------------ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hair);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.86);
  backdrop-filter: saturate(1.1) blur(8px);
  z-index: 10;
}
.wordmark {
  font-family: var(--font);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: clamp(0.9rem, 2.1vw, 2.1rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.84rem;
  font-weight: 500;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  padding-bottom: 3px;
  border-bottom: 1.5px solid transparent;
  transition: color 160ms, border-color 160ms;
}
.nav-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav-links a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

/* ------------------------------------------------------------ */
/*  Shared type roles                                           */
/* ------------------------------------------------------------ */
.kicker, .eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 1.5rem;
  display: block;
}
.eyebrow .num { color: var(--ink); }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 160ms;
}
.textlink .arrow { transition: transform 200ms cubic-bezier(.2,0,0,1); }
.textlink:hover .arrow { transform: translateX(4px); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  background: var(--ink);
  padding: 0.82rem 1.45rem;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  transition: background 160ms, color 160ms;
}
.cta .arrow { transition: transform 200ms cubic-bezier(.2,0,0,1); }
.cta:hover { background: #fff; color: var(--ink); }
.cta:hover .arrow { transform: translateX(4px); }

/* ------------------------------------------------------------ */
/*  Interior page masthead                                      */
/* ------------------------------------------------------------ */
.masthead {
  padding: clamp(2.8rem, 5.5vh, 4.5rem) 0 clamp(1.8rem, 3.5vh, 2.8rem);
  border-bottom: 1px solid var(--hair);
}
.masthead + .read,
.masthead + .screen { padding-top: clamp(2rem, 4vh, 3rem); }
.page-title {
  font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.masthead .dek {
  font-size: clamp(1.18rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--muted);
  max-width: 34rem;
  margin: 1.6rem 0 0;
  font-weight: 400;
}

/* ------------------------------------------------------------ */
/*  Section scaffolding (home + interior)                       */
/* ------------------------------------------------------------ */
.screen {
  padding: var(--pad-y) 0;
  border-bottom: 1px solid var(--hair);
}
.screen:last-of-type { border-bottom: none; }
.screen-body { max-width: var(--measure); }

/* ---- Home hero ---- */
.hero { padding-top: clamp(3.5rem, 8vh, 6.5rem); }
.hero-claim {
  font-weight: 600;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.9rem;
  max-width: 28ch;
  text-wrap: balance;
}
.hero-lede {
  font-size: 1.22rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 33rem;
  margin: 0 0 2.4rem;
}
.hero-lede strong { color: var(--ink); font-weight: 600; }

/* ---- Home: problem prose ---- */
.prose-lg {
  font-size: clamp(1.3rem, 2.1vw, 1.62rem);
  line-height: 1.5;
  letter-spacing: -0.018em;
  margin: 0;
  max-width: 36rem;
}
.prose-lg .lead-word { font-weight: 600; }

/* ---- Home: distilled claim + triad ---- */
.distilled-head {
  font-weight: 600;
  font-size: clamp(1.9rem, 4.1vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0 0 2.3rem;
  max-width: 15ch;
}
.triad { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; max-width: 34rem; }
.triad li {
  font-size: 1.4rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--faint);
  font-weight: 500;
}
.triad li b { font-weight: 600; color: var(--ink); }

/* ---- The frame (home + how we work) ---- */
.frame-intro { font-size: 1.18rem; color: var(--muted); margin: 0 0 2.6rem; max-width: 30rem; }
.frame { list-style: none; margin: 0; padding: 0; display: grid; max-width: 56rem; }
.frame li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0 1.4rem;
  padding: 1.8rem 0;
  border-top: 1px solid var(--hair);
  align-items: baseline;
}
.frame li:last-child { border-bottom: 1px solid var(--hair); }
.frame .f-num {
  font-variant-numeric: tabular-nums;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  padding-top: 0.5rem;
}
.frame .f-term {
  font-size: 1.5rem;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin: 0 0 0.5rem;
  display: block;
}
.frame .f-q { font-size: 1.04rem; line-height: 1.55; color: var(--muted); margin: 0; max-width: 46ch; }
.frame.expanded .f-q { font-size: 1.1rem; max-width: 52ch; }

/* ---- Home scarcity (the one Expanded moment) ---- */
.scarcity-statement {
  font-family: var(--font-exp);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.7rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 1.8rem;
}
.scarcity-statement .by { color: var(--faint); }
.scarcity-note { font-size: 1.16rem; line-height: 1.55; color: var(--muted); max-width: 37rem; margin: 0; }
.scarcity-note strong { color: var(--ink); font-weight: 600; }

/* ---- Closing CTA block ---- */
.closing-line {
  font-weight: 600;
  font-size: clamp(1.65rem, 3.4vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 2rem;
  max-width: 20ch;
}
.mailto {
  font-weight: 600;
  font-size: clamp(1.45rem, 3.4vw, 2.2rem);
  text-decoration: none;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.12rem;
  letter-spacing: -0.025em;
  transition: opacity 160ms;
  word-break: break-word;
}
.mailto:hover { opacity: 0.55; }

/* ------------------------------------------------------------ */
/*  Long-form reading (Thesis + Field Note articles)           */
/* ------------------------------------------------------------ */
.read { max-width: var(--read); }
.read-meta {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 0 0 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.prose { color: var(--ink-soft); }
.prose > p {
  font-size: 1.14rem;
  line-height: 1.62;
  margin: 0 0 1.2rem;
  letter-spacing: -0.006em;
}
.prose > p.lead {
  font-size: 1.34rem;
  line-height: 1.46;
  color: var(--ink);
  letter-spacing: -0.018em;
  margin-bottom: 1.6rem;
}
.prose strong { font-weight: 600; color: var(--ink); }
.prose em { font-style: italic; }
.prose h3 {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 2.6rem 0 1.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hair);
}
.prose hr { border: 0; height: 0; margin: 2.6rem 0; }

.pullquote {
  font-size: clamp(1.4rem, 2.5vw, 1.95rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
  margin: 2.4rem 0;
  max-width: none;
}

.read-foot {
  margin-top: 3.2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.dl-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--hair-strong);
  padding-bottom: 2px;
}
.dl-link:hover { color: var(--ink); border-color: var(--ink); }

/* ------------------------------------------------------------ */
/*  How We Work — offers + filter                              */
/* ------------------------------------------------------------ */
.offers { display: grid; max-width: 54rem; }
.offer {
  padding: 2.4rem 0;
  border-top: 1px solid var(--hair);
  display: grid;
  grid-template-columns: 14rem 1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
}
.offer:last-child { border-bottom: 1px solid var(--hair); }
.offer-term {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.offer-body { font-size: 1.1rem; line-height: 1.6; color: var(--muted); margin: 0; max-width: 44ch; }
.offer-body strong { color: var(--ink); font-weight: 600; }

.filter {
  background: var(--callout);
  border: 1px solid var(--hair);
  padding: clamp(2rem, 4vw, 3.2rem);
  max-width: 50rem;
}
.filter p { margin: 0; font-size: 1.22rem; line-height: 1.6; color: var(--ink-soft); }
.filter p strong { color: var(--ink); font-weight: 600; }
.filter ol { margin: 1.6rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.filter ol li {
  font-size: 1.08rem; line-height: 1.5; color: var(--ink-soft);
  display: flex; gap: 1rem; align-items: baseline;
}
.filter ol li .n {
  flex: 0 0 auto; min-width: 1.7rem;
  font-variant-numeric: tabular-nums; font-weight: 600; color: var(--faint); font-size: 0.84rem;
}

/* ------------------------------------------------------------ */
/*  Principal                                                   */
/* ------------------------------------------------------------ */
.principal-grid {
  display: grid;
  grid-template-columns: minmax(0, 22rem) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.photo-placeholder {
  aspect-ratio: 4 / 5;
  background: var(--callout);
  border: 1px solid var(--hair);
  position: relative;
  overflow: hidden;
}
.bio-photo {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--hair);
}
.photo-placeholder::after {
  content: "Editorial portrait\A to be shot";
  white-space: pre;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.6;
}
.bio p { font-size: 1.12rem; line-height: 1.65; color: var(--ink-soft); margin: 0 0 1.3rem; max-width: 44ch; }
.bio p strong { color: var(--ink); font-weight: 600; }
.bio .bio-close {
  font-size: 1.3rem; line-height: 1.4; color: var(--ink); font-weight: 600;
  letter-spacing: -0.02em; margin-top: 2rem; max-width: 26ch;
}
.cred-list { list-style: none; margin: 2.2rem 0 0; padding: 1.8rem 0 0; border-top: 1px solid var(--hair); display: grid; gap: 0.7rem; }
.cred-list li { font-size: 0.98rem; color: var(--muted); display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; }
.cred-list li b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------ */
/*  Field Notes index                                          */
/* ------------------------------------------------------------ */
.notes-list { list-style: none; margin: 0; padding: 0; max-width: 56rem; }
.note-item { border-top: 1px solid var(--hair); }
.note-item:last-child { border-bottom: 1px solid var(--hair); }
.note-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem 2rem;
  align-items: baseline;
  padding: 2.2rem 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 160ms;
}
.note-link:hover .note-title { border-bottom-color: var(--ink); }
.note-title {
  grid-column: 1;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
  border-bottom: 2px solid transparent;
  display: inline;
}
.note-dek { grid-column: 1; font-size: 1.06rem; color: var(--muted); margin: 0.7rem 0 0; max-width: 48ch; }
.note-meta { grid-column: 2; grid-row: 1; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); white-space: nowrap; text-align: right; }
.note-item.draft .note-link { cursor: default; }
.note-item.draft .note-title { color: var(--faint); }
.note-item.draft .note-link:hover .note-title { border-bottom-color: transparent; }
.tag-draft { color: var(--faint); }

/* ------------------------------------------------------------ */
/*  FOOTER                                                      */
/* ------------------------------------------------------------ */
.foot {
  border-top: 1px solid var(--hair);
  padding: 2.6rem 0 3.5rem;
  margin-top: 0;
}
.foot-row { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; align-items: baseline; font-size: 0.88rem; color: var(--faint); }
.foot-row a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.foot-row a:hover { border-bottom-color: var(--muted); }
.foot .sep { flex: 1; }
.foot-brand { font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }

/* ------------------------------------------------------------ */
/*  Mobile                                                      */
/* ------------------------------------------------------------ */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav { flex-direction: column; gap: 0.85rem; align-items: flex-start; }
  .nav-links { flex-wrap: wrap; gap: 0.55rem 1.05rem; }
  .frame li { grid-template-columns: 1fr; gap: 0.3rem; }
  .frame .f-num { padding-top: 0; }
  .offer { grid-template-columns: 1fr; gap: 0.7rem; }
  .principal-grid { grid-template-columns: 1fr; }
  .photo-placeholder { max-width: 20rem; }
  .cred-list li { grid-template-columns: 1fr; gap: 0.1rem; }
  .note-link { grid-template-columns: 1fr; }
  .note-meta { grid-column: 1; grid-row: auto; text-align: left; order: -1; margin-bottom: 0.3rem; }
}

/* ------------------------------------------------------------ */
/*  Print (Thesis → clean PDF)                                 */
/* ------------------------------------------------------------ */
@media print {
  .nav, .foot, .read-foot, .no-print { display: none !important; }
  body { font-size: 12pt; }
  .masthead { border: 0; padding: 0 0 1.5rem; }
  .read, .prose, .pullquote { max-width: none; }
  .prose > p { font-size: 11.5pt; line-height: 1.6; }
  .prose h3 { border-color: #ccc; }
  a { text-decoration: none; color: #000; }
  @page { margin: 22mm 20mm; }
}
