/* ============================================================
   WORD UP — Educational Publishing Consultancy
   "The Proof" — an editorial system marked up in orange.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..600&family=Newsreader:ital,opsz,wght@0,6..72,300..600;1,6..72,300..500&family=Spline+Sans+Mono:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --ink:        #17120D;
  --ink-2:      #3a3229;
  --ink-3:      #726757;
  --paper:      #F2EDE3;
  --paper-2:    #EAE2D3;
  --paper-hi:   #F8F5EE;
  --line:       #D8CFBE;
  --line-soft:  #E3DACB;
  --orange:     #F39200;
  --orange-ink: #A85400;
  --orange-deep:#8a4600;

  --caret: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 10 L8 3.2 L14 10' fill='none' stroke='%23F39200' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --caret-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M2 10 L8 3.2 L14 10' fill='none' stroke='%2317120D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body:    "Newsreader", Georgia, serif;
  --mono:    "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r:    14px;
  --r-sm: 8px;
  --wrap: 1200px;

  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* ---------- Reset-ish ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-optical-sizing: auto;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.62;
  font-weight: 400;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--orange-deep); }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 460;
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
  overflow-wrap: break-word;
  font-variation-settings: "opsz" 100, "SOFT" 30, "WONK" 1;
}

p { margin: 0 0 1rem; }
::selection { background: var(--orange); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Editorial primitives ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 15px; height: 11px;
  background: var(--caret) center/contain no-repeat;
  flex: none;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.ext-arr { width: 0.7em; height: 0.7em; display: inline-block; vertical-align: baseline; margin-left: 0.22em; color: currentColor; }

.folio {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange);
  --fg: #17120D;
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
  background: var(--bg);
  padding: 0.85em 1.4em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px -12px rgba(243,146,0,.85); color: #17120D; }
.btn .caret-i { width: 14px; height: 10px; background: var(--caret-ink) center/contain no-repeat; transform: rotate(90deg); transition: transform .18s ease; }
.btn:hover .caret-i { transform: rotate(90deg) translateY(-3px); }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: currentColor;
  box-shadow: none;
}
.btn--ghost .caret-i { background: var(--caret) center/contain no-repeat; }
.btn--ghost.on-ink { --fg: #F2EDE3; }
.btn--ghost:hover { background: rgba(243,146,0,.10); box-shadow: none; transform: translateY(-2px); color: var(--orange-ink); }
.btn--ghost.on-ink:hover { color: var(--orange); }

/* ============================================================
   HEADER
   ============================================================ */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: auto; }
.brand__name { font-family: var(--mono); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; }
.brand__name small { display: block; font-weight: 400; font-size: 0.62rem; letter-spacing: 0.22em; color: var(--ink-3); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2); text-decoration: none;
  padding: 0.5rem 0.8rem; border-radius: 6px; position: relative;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--orange-ink); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.15rem; height: 8px;
  background: var(--caret) center/12px no-repeat;
}
.nav .btn { margin-left: 0.5rem; padding: 0.6em 1.1em; }

.nav-toggle { display: none; }

/* ============================================================
   HERO — image left, copy right-aligned
   ============================================================ */
.hero {
  background: var(--ink);
  color: #EDE6DA;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(243,146,0,.05) 39px 40px);
  pointer-events: none; mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 80%, transparent);
}
.hero::after { /* oversized ghost caret — editorial watermark */
  content: ""; position: absolute; top: 50%; right: -3vw; width: 30vw; height: 30vw; max-width: 440px; max-height: 440px;
  transform: translateY(-50%);
  background: var(--caret) center/contain no-repeat; opacity: 0.05; pointer-events: none;
}
.hero__in {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.25rem, 7vw, 6.5rem);
  position: relative; z-index: 1;
}
/* copy column, right aligned */
.hero__copy { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.hero .eyebrow { color: #b7ac9a; margin-bottom: 1.25rem; }
.hero__h1 {
  color: #F6F1E8;
  font-size: clamp(2.5rem, 1.7rem + 4.4vw, 5.4rem);
  font-weight: 420;
  line-height: 0.98;
  letter-spacing: -0.022em;
  margin: 0 0 1.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 0;
}
.hero__lead {
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.5; color: #cfc6b6; max-width: 42ch; margin: 0 0 2rem;
  font-weight: 320;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; justify-content: flex-end; }

/* the live copy-edit */
.edit { white-space: nowrap; }
.edit del { color: #8f8676; text-decoration: none; position: relative; }
.edit del::after {
  content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: 3px;
  background: var(--orange); border-radius: 3px;
  transform: scaleX(0); transform-origin: right center;
}
.edit ins {
  color: var(--orange); text-decoration: none; position: relative;
  display: inline-block; opacity: 0; transform: translateY(8px);
  font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 1;
  font-style: italic;
}
.edit ins::before {
  content: ""; position: absolute; left: 50%; bottom: 100%; transform: translate(-50%, 6px);
  width: 26px; height: 18px; background: var(--caret) center/contain no-repeat; opacity: 0;
}
.edit.is-run del::after { animation: strike .5s ease .3s forwards; }
.edit.is-run ins { animation: insert .55s cubic-bezier(.2,.9,.3,1.2) 1s forwards; }
.edit.is-run ins::before { animation: caretpop .5s ease .82s forwards; }
.edit.is-static del::after { transform: scaleX(1); }
.edit.is-static ins { opacity: 1; transform: none; }

@keyframes strike { to { transform: scaleX(1); } }
@keyframes insert { to { opacity: 1; transform: translateY(0); } }
@keyframes caretpop { 0% { opacity: 0; transform: translate(-50%, 10px); } 60% { opacity: 1; transform: translate(-50%, -3px); } 100% { opacity: 1; transform: translate(-50%, 0); } }

/* hero framed "proof" image, left */
.proof-frame {
  position: relative; margin: 0;
  border: 1px solid rgba(243,146,0,.35);
  border-radius: var(--r);
  padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent);
}
.proof-frame__head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #9a9080; padding: 0.1rem 0.35rem 0.6rem;
}
.duotone { position: relative; border-radius: var(--r-sm); overflow: hidden; background: var(--ink); }
.duotone img { filter: grayscale(1) contrast(1.05) brightness(1.03); display: block; width: 100%; }
.duotone::after { content: ""; position: absolute; inset: 0; background: var(--orange); mix-blend-mode: soft-light; opacity: .3; pointer-events: none; }
.hero__media .duotone { aspect-ratio: 4 / 5; }
.hero__media .duotone img { height: 100%; object-fit: cover; object-position: center 32%; }
.proof-frame__mark {
  position: absolute; left: -14px; bottom: -14px;
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em;
  background: var(--orange); color: #17120D; padding: 0.4rem 0.7rem; border-radius: 6px;
  transform: rotate(-2.5deg); box-shadow: 0 10px 24px -14px rgba(0,0,0,.7);
  font-weight: 600;
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #E9E1D4; }
.section--ink h2, .section--ink h3 { color: #F5F0E7; }
.section--ink .eyebrow { color: #a99e8c; }

.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__title {
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.3rem);
  font-weight: 440; letter-spacing: -0.02em;
}
.section__intro { font-size: clamp(1.12rem, 1.05rem + 0.4vw, 1.35rem); color: var(--ink-2); margin-top: 1rem; max-width: 54ch; font-weight: 340; }
.section--ink .section__intro { color: #c9c0b0; }

/* running-head strip */
.runhead {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.6rem;
}
.runhead::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.section--ink .runhead { color: #8a8070; }
.section--ink .runhead::after { background: rgba(255,255,255,.14); }

/* ============================================================
   CLIENTS — index of imprints
   ============================================================ */
.imprints {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: #fff;
}
.imprint {
  aspect-ratio: 5 / 3;
  display: grid; place-items: center;
  padding: 1.3rem 1rem;
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  position: relative;
}
.imprint img {
  max-height: 42px; max-width: 78%; width: auto; object-fit: contain;
  filter: grayscale(1) opacity(.68) contrast(1.02);
  transition: filter .25s ease, transform .25s ease;
}
.imprint:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.imprint__no {
  position: absolute; top: 8px; left: 10px;
  font-family: var(--mono); font-size: 0.6rem; color: #9c968b; letter-spacing: 0.06em;
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
.founders { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.portrait figure { margin: 0; }
.portrait .duotone { aspect-ratio: 3/4; border-radius: var(--r-sm); }
.portrait .duotone img { height: 100%; object-fit: cover; }
.portrait figcaption {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 0.6rem; display: flex; justify-content: space-between; align-items: baseline;
}
.portrait figcaption a { text-decoration: none; }

/* ============================================================
   SERVICES — marked list
   ============================================================ */
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 1rem;
  padding: 1.15rem 0.25rem; border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding-inline .2s ease;
}
.svc-list li:hover { background: var(--paper-hi); padding-inline: 0.9rem; }
.svc-list .svc-mark { width: 16px; height: 12px; background: var(--caret) center/contain no-repeat; align-self: center; }
.svc-list .svc-name { font-family: var(--display); font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem); font-weight: 440; letter-spacing: -0.015em; }
.svc-list .svc-no { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-3); letter-spacing: 0.1em; }
.svc-list .svc-desc { grid-column: 2; font-size: 0.98rem; color: var(--ink-2); max-width: 60ch; margin: 0.35rem 0 0; font-weight: 360; }

/* ============================================================
   WORK
   ============================================================ */
.work-list { display: grid; gap: clamp(1.5rem, 3vw, 2.2rem); }
.work {
  display: grid; grid-template-columns: 0.32fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper-hi); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  position: relative; overflow: hidden;
}
.work::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); opacity: 0; transition: opacity .25s ease; }
.work:hover::before { opacity: 1; }
.work__aside { display: flex; flex-direction: column; gap: 1.1rem; }
.work__logo { height: 58px; display: flex; align-items: center; }
.work__logo img { max-height: 54px; max-width: 160px; width: auto; object-fit: contain; }
.work__meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.work__client { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 0.5rem; }
.work .work__title { color: var(--ink); font-size: clamp(1.4rem, 1.15rem + 1.3vw, 2.1rem); font-weight: 450; letter-spacing: -0.018em; margin-bottom: 0.8rem; }
.work__body { color: var(--ink-2); font-weight: 360; max-width: 64ch; }

/* marginalia testimonial */
.marginalia {
  margin-top: 1.4rem; padding-left: 1.5rem; position: relative;
  font-family: var(--display); font-style: italic; font-weight: 380;
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.5;
  color: var(--orange-deep);
  font-variation-settings: "opsz" 40, "SOFT" 40, "WONK" 1;
}
.marginalia::before {
  content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 2px;
  background: var(--orange); border-radius: 2px;
}
.marginalia cite { display: block; margin-top: 0.6rem; font-family: var(--mono); font-style: normal; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   BIG QUOTE / CTA band
   ============================================================ */
.cta-band { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cta-band__title { font-size: clamp(1.7rem, 1.3rem + 2vw, 2.8rem); font-weight: 440; letter-spacing: -0.02em; max-width: 20ch; }

/* the editor's pen-circle around the key phrase */
.circle-mark { position: relative; white-space: nowrap; }
.circle-mark svg {
  position: absolute; inset: -0.26em -0.42em -0.3em;
  overflow: visible; pointer-events: none;
}
.circle-mark path {
  fill: none; stroke: var(--orange); stroke-width: 2.75;
  stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: 0.9;
}
.cta-band__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* ============================================================
   ABOUT — bios
   ============================================================ */
.bio { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: start; padding-block: clamp(2rem, 4vw, 3.2rem); border-top: 1px solid var(--line); }
.bio__photo .duotone { aspect-ratio: 4/5; border-radius: var(--r); }
.bio__photo .duotone img { height: 100%; object-fit: cover; }
.bio__cap { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-top: 0.7rem; }
.bio__name { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 450; margin-bottom: 0.3rem; }
.bio__role { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 1.2rem; }
.bio p { color: var(--ink-2); font-weight: 360; }
.bio__link { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; margin-top: 0.6rem; }
.bio__link svg { width: 15px; height: 15px; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-lines { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.contact-lines li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.contact-lines li:last-child { border-bottom: 1px solid var(--line); }
.contact-lines .k { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.contact-lines .v { font-family: var(--display); font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem); }
.contact-lines .v a { text-decoration: none; color: var(--ink); }
.contact-lines .v a:hover { color: var(--orange-ink); }

.contact-card { background: var(--ink); color: #E9E1D4; border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.4rem); }
.contact-card h3 { color: #F5F0E7; font-size: 1.5rem; margin-bottom: 0.8rem; }
.contact-card p { color: #c3baaa; font-weight: 340; }
.contact-card .btn { margin-top: 0.8rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 1.6rem; flex-wrap: wrap; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); color: #E9E1D4; transition: background .18s, color .18s, border-color .18s; }
.socials a:hover { background: var(--orange); color: #17120D; border-color: var(--orange); }
.socials svg { width: 17px; height: 17px; }

/* ============================================================
   PAGE HEADER (interior pages)
   ============================================================ */
.pagehead { background: var(--ink); color: #EDE6DA; position: relative; overflow: hidden; }
.pagehead::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0 39px, rgba(243,146,0,.05) 39px 40px);
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
}
.pagehead__in { padding-block: clamp(3rem, 7vw, 5.5rem); position: relative; z-index: 1; }
.pagehead .eyebrow { color: #b7ac9a; }
.pagehead__title { color: #F6F1E8; font-size: clamp(2.4rem, 1.7rem + 4vw, 4.8rem); font-weight: 430; letter-spacing: -0.022em; line-height: 1; font-variation-settings: "opsz" 144, "SOFT" 20; }
.pagehead__lead { color: #cfc6b6; font-size: clamp(1.12rem, 1.05rem + 0.5vw, 1.4rem); max-width: 46ch; margin-top: 1.2rem; font-weight: 330; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-foot { background: var(--ink); color: #b9b0a0; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.foot-brand__mark { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.2rem; }
.foot-brand__mark img { width: 46px; }
.foot-brand__name { font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: #F2EDE3; font-size: 0.9rem; }
.foot-brand p { max-width: 34ch; font-weight: 330; color: #a89f8f; }
.foot-col h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #8a8070; font-weight: 500; margin-bottom: 1rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.foot-col a { color: #d7cec0; text-decoration: none; font-size: 0.98rem; }
.foot-col a:hover { color: var(--orange); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; color: #7d7364;
}
.foot-bottom img { height: 46px; opacity: .85; }
.foot-bottom a { color: #cabfb0; text-decoration: none; }
.foot-bottom a:hover { color: var(--orange); }
.foot-bottom__legal a { text-decoration: underline; text-underline-offset: 2px; }
.foot-socials { display: flex; gap: 0.5rem; }
.foot-socials a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 7px; border: 1px solid rgba(255,255,255,.16); color: #cabfb0; }
.foot-socials a:hover { background: var(--orange); color: #17120D; border-color: var(--orange); }
.foot-socials svg { width: 15px; height: 15px; }

/* skip link */
.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #F2EDE3; padding: 0.8rem 1.2rem; border-radius: 0 0 8px 0; font-family: var(--mono); font-size: 0.8rem; text-decoration: none; }
.skip:focus { left: 0; }

/* ============================================================
   REVEAL (scroll)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .edit ins, .edit del::after { animation: none !important; }
}

/* ============================================================
   MOTION — "the proofing pass"
   Load: the proof lands on the desk, comes into focus, the
   copy sets itself, then the live edit + stet stamp.
   Scroll: rules draw, carets tick in, marginalia is ruled.
   Everything gated on prefers-reduced-motion.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {

  /* ---- Hero load sequence ---- */
  @keyframes frame-in {
    from { opacity: 0; transform: translateY(22px) rotate(-1.4deg); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes develop {
    from { filter: grayscale(1) contrast(1.05) brightness(1.4) blur(12px); transform: scale(1.06); }
    to   { filter: grayscale(1) contrast(1.05) brightness(1.03); transform: none; }
  }
  @keyframes head-set {
    from { opacity: 0; letter-spacing: 0.34em; }
    to   { opacity: 1; letter-spacing: 0.16em; }
  }
  @keyframes stamp {
    0%   { opacity: 0; transform: rotate(-10deg) scale(1.8); }
    55%  { opacity: 1; transform: rotate(-1.8deg) scale(0.94); }
    80%  { transform: rotate(-2.8deg) scale(1.03); }
    100% { opacity: 1; transform: rotate(-2.5deg) scale(1); }
  }
  @keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes ghost-drift {
    0%, 100% { transform: translateY(calc(-50% - 10px)); }
    50%      { transform: translateY(calc(-50% + 10px)); }
  }

  .hero .proof-frame       { animation: frame-in .9s cubic-bezier(.2,.8,.2,1) .05s both; }
  .hero .duotone img       { animation: develop 1.5s ease-out .2s both; }
  .hero .proof-frame__head { animation: head-set .8s ease .8s both; }
  .hero .proof-frame__mark { animation: stamp .5s cubic-bezier(.2,.7,.3,1) 1.15s both; }
  .hero .eyebrow           { animation: rise .7s cubic-bezier(.2,.7,.2,1) .25s both; }
  .hero__h1                { animation: rise .7s cubic-bezier(.2,.7,.2,1) .4s both; }
  .hero__lead              { animation: rise .7s cubic-bezier(.2,.7,.2,1) .55s both; }
  .hero__cta               { animation: rise .7s cubic-bezier(.2,.7,.2,1) .7s both; }
  .hero::after             { animation: ghost-drift 14s ease-in-out 2s infinite; }

  /* ---- Interior page-header load sequence ---- */
  .pagehead .eyebrow { animation: rise .7s cubic-bezier(.2,.7,.2,1) .15s both; }
  .pagehead__title   { animation: rise .7s cubic-bezier(.2,.7,.2,1) .3s both; }
  .pagehead__lead    { animation: rise .7s cubic-bezier(.2,.7,.2,1) .45s both; }

  /* ---- Scroll marks ---- */
  /* running-head rule draws itself across the page */
  .reveal .runhead::after,
  .runhead.reveal::after { transform: scaleX(0); transform-origin: left center; transition: transform 1.1s cubic-bezier(.2,.7,.2,1) .2s; }
  .reveal.in .runhead::after,
  .runhead.reveal.in::after { transform: scaleX(1); }

  /* staggered children — delay set per-item in wu.js via --d */
  .reveal [data-stagger] > * {
    opacity: 0; transform: translateY(14px);
    transition:
      opacity .55s ease var(--d, 0s),
      transform .55s cubic-bezier(.2,.7,.2,1) var(--d, 0s),
      background .2s ease, padding-inline .2s ease;
  }
  .reveal.in [data-stagger] > * { opacity: 1; transform: none; }

  /* proofreader's carets tick in down the services list */
  .reveal [data-stagger] .svc-mark { transform: scale(0); transition: transform .5s cubic-bezier(.34,1.56,.64,1) calc(var(--d, 0s) + .3s); }
  .reveal.in [data-stagger] .svc-mark { transform: scale(1); }

  /* marginalia gets ruled in beside the quote */
  .reveal .marginalia::before { transform: scaleY(0); transform-origin: top center; transition: transform .8s ease .55s; }
  .reveal.in .marginalia::before { transform: scaleY(1); }

  /* the pen circles the closing phrase */
  .reveal .circle-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.15s cubic-bezier(.4,0,.2,1) .5s; }
  .reveal.in .circle-mark path { stroke-dashoffset: 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .imprints { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 940px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(84vw, 360px);
    background: var(--paper); flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 5.5rem 1.5rem 2rem; gap: 0.3rem; border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.1,1); box-shadow: -20px 0 60px -30px rgba(0,0,0,.5);
  }
  .nav a { padding: 0.9rem 0.6rem; font-size: 0.95rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav .btn { margin: 1rem 0 0; justify-content: center; }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; z-index: 70;
    background: none; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; color: var(--ink);
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
  }
  .nav-toggle span::before { transform: translateY(-6px); }
  .nav-toggle span::after { transform: translateY(4px); }
  body.nav-open .nav-toggle span { background: transparent; }
  body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
  body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-1.5px) translateX(1px); }
  .scrim { position: fixed; inset: 0; background: rgba(23,18,13,.5); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 55; }
  body.nav-open .scrim { opacity: 1; visibility: visible; }

  .hero__in { grid-template-columns: 1fr; }
  .hero__media { max-width: 440px; }
  .hero__copy { align-items: flex-start; text-align: left; }
  .hero__cta { justify-content: flex-start; }
  .hero::after { display: none; }
  .founders { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; }
  .bio__photo .duotone { aspect-ratio: 3/2; max-width: 380px; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .edit { white-space: normal; }
  .work { grid-template-columns: 1fr; }
  .imprints { grid-template-columns: repeat(2, 1fr); }
  .svc-list li { grid-template-columns: auto 1fr; }
  .svc-list .svc-no { display: none; }
  .svc-list .svc-desc { grid-column: 1 / -1; }
  .contact-lines li { grid-template-columns: 1fr; gap: 0.2rem; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column-reverse; align-items: flex-start; }
}
