/* =========================================================
   stet editorial — styles
   ========================================================= */

:root {
  --paper:        #efe7d4;
  --paper-2:      #e7dcc2;
  --paper-deep:   #ddd0b1;
  --ink:          #1c1812;
  --ink-soft:     #3a3328;
  --ink-mute:     #7a6f5d;
  --red:          #9a2a1e;
  --red-deep:     #6e1d14;
  --rule:         rgba(28, 24, 18, 0.18);
  --rule-soft:    rgba(28, 24, 18, 0.10);

  --serif:  'EB Garamond', 'Garamond', Georgia, serif;
  --script: 'Sacramento', 'Caveat', 'Brush Script MT', cursive;
  --sans:   'Inter Tight', system-ui, -apple-system, sans-serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Paper texture — subtle warm grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255,250,235,0.35), transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(80,60,30,0.10), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.12  0 0 0 0 0.10  0 0 0 0 0.07  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.65'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.55;
}

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

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

/* =========================================================
   typography utilities
   ========================================================= */

.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.label.red { color: var(--red); }
.label.mute { color: var(--ink-mute); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.018em;
  font-size: clamp(60px, 11vw, 168px);
}

.display em {
  font-style: italic;
  font-weight: 400;
}

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.012em;
}

.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.006em;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.55;
  max-width: 56ch;
  color: var(--ink-soft);
}

.body { color: var(--ink-soft); }
.body p + p { margin-top: 1em; text-indent: 1.6em; }
.body p:first-child { text-indent: 0; }

.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--red);
}

.smallcaps {
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 500;
  float: left;
  font-size: 4.4em;
  line-height: 0.85;
  padding: 0.06em 0.12em 0 0;
  color: var(--red);
}

/* =========================================================
   editor's edit mark — strikethrough word with handwritten replacement above
   ========================================================= */
.edit-strike {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.edit-strike s {
  text-decoration: none;
  position: relative;
  color: var(--ink);
  opacity: 0.85;
}
.edit-strike s::after {
  content: '';
  position: absolute;
  left: -3%;
  right: -3%;
  top: 54%;
  height: 1.5px;
  background: var(--red);
  transform: rotate(-2.2deg);
  border-radius: 2px;
  transform-origin: left center;
  animation: strikeDraw 1.2s 0.8s cubic-bezier(0.5, 0.05, 0.25, 1) both;
}
@keyframes strikeDraw {
  0%   { transform: rotate(-2.2deg) scaleX(0); }
  100% { transform: rotate(-2.2deg) scaleX(1); }
}
.edit-strike .rewrite {
  position: absolute;
  bottom: 55%;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  transform-origin: left center;
  font-family: var(--script);
  font-size: 1.35em;
  font-weight: 500;
  color: var(--red);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}
.edit-strike .rewrite .ltr {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px) rotate(-4deg);
  animation: letterIn 0.18s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
}
@keyframes letterIn {
  0%   { opacity: 0; transform: translateY(6px) rotate(-6deg) scale(0.85); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes rewriteIn {
  0%   { opacity: 0; transform: translateX(-50%) translateY(14px) rotate(-7deg); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) rotate(-3deg); }
}
/* tighter inline variant — for small labels */
.edit-strike.tight .rewrite { font-size: 0.85em; bottom: 92%; }

/* =========================================================
   hero edit — letter-by-letter "critic." → strike → "fan."
   ========================================================= */
.hero-edit {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
  font-style: italic;
}
.he-strike {
  position: relative;
  display: inline-block;
  color: var(--ink);
  opacity: 0.78;
}
.he-ltr {
  display: inline-block;
}
.he-stroke {
  position: absolute;
  left: -2%;
  right: -2%;
  top: 56%;
  height: 0.06em;
  background: var(--red);
  border-radius: 2px;
  transform: rotate(-2deg) scaleX(0);
  transform-origin: left center;
  animation: heStrike 0.55s cubic-bezier(0.5, 0.05, 0.25, 1) forwards;
  animation-delay: 0.6s;
  pointer-events: none;
}
.he-rewrite {
  display: inline-block;
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  color: var(--red);
  transform: rotate(-3deg);
  transform-origin: left center;
  line-height: 0.9;
  letter-spacing: 0.01em;
  margin-left: 0.05em;
  white-space: nowrap;
}
.he-ltr2 {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.2em) rotate(-6deg) scale(0.85);
  animation: heLetterScriptIn 0.22s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
  animation-delay: calc(1.25s + var(--i) * 0.12s);
}
@keyframes heLetterIn {
  0%   { opacity: 0; transform: translateY(0.2em) rotate(-4deg) scale(0.9); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}
@keyframes heStrike {
  0%   { transform: rotate(-2deg) scaleX(0); }
  100% { transform: rotate(-2deg) scaleX(1); }
}
@keyframes heLetterScriptIn {
  0%   { opacity: 0; transform: translateY(0.25em) rotate(-7deg) scale(0.8); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(0) scale(1); }
}

/* hairline rule */
.rule {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--rule);
  border: 0;
}

/* =========================================================
   layout — main scaffold
   ========================================================= */

.shell {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* nav bar */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: linear-gradient(180deg, rgba(239,231,212,0.92) 0%, rgba(239,231,212,0.75) 80%, rgba(239,231,212,0) 100%);
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  position: relative;
  cursor: pointer;
}
.brand .mark {
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
  margin-right: 2px;
}
.brand .word {
  position: relative;
  display: inline-block;
  font-family: 'Sacramento', var(--script), cursive;
  font-weight: 400;
  font-size: 52px;
  line-height: 0.85;
  color: var(--red);
  padding: 0 0.08em 0.55em;
  letter-spacing: -0.01em;
}
.brand .word::after {
  content: '';
  position: absolute;
  left: 14%;
  right: 14%;
  bottom: 0.42em;
  height: 4px;
  background-image: radial-gradient(circle, var(--red) 1.6px, transparent 2px);
  background-size: 10px 4px;
  background-repeat: repeat-x;
  opacity: 0.95;
}
.brand .tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-left: 4px;
  transform: translateY(-2px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.nav-link {
  color: var(--ink-soft);
  position: relative;
  padding: 8px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--red); }
.nav-link.active::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
}

/* =========================================================
   view system — page transitions
   ========================================================= */

.view {
  display: none;
  animation: pageIn 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.view.is-active { display: block; }

@keyframes pageIn {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   book intro overlay
   ========================================================= */

.bookwrap {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: radial-gradient(ellipse at center, #2a2218 0%, #100c08 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2200px;
  perspective-origin: 50% 50%;
  cursor: pointer;
}
.bookwrap.is-opening .book-cover { animation: bookOpen 1.4s cubic-bezier(0.55, 0.05, 0.3, 1) forwards; }
.bookwrap.is-opening { animation: bookwrapFade 0.5s 0.9s ease forwards; }

@keyframes bookOpen {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(-168deg); }
}
@keyframes bookwrapFade {
  to { opacity: 0; pointer-events: none; visibility: hidden; }
}

.book {
  position: relative;
  width: min(420px, 70vw);
  aspect-ratio: 2 / 2.8;
  transform-style: preserve-3d;
  box-shadow:
    0 60px 120px -40px rgba(0,0,0,0.7),
    0 14px 30px -10px rgba(0,0,0,0.5);
}

.book-cover {
  position: absolute;
  inset: 0;
  /* dark leather */
  background-color: #1c130b;
  background-image:
    radial-gradient(ellipse at 30% 25%, rgba(120, 80, 45, 0.18), transparent 60%),
    radial-gradient(ellipse at 75% 90%, rgba(0, 0, 0, 0.45), transparent 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='leather'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.08  0 0 0 0 0.05  0 0 0 0 0.03  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23leather)'/></svg>"),
    linear-gradient(135deg, #2a1f15 0%, #1a130c 100%);
  background-blend-mode: normal, normal, overlay, normal;
  border-radius: 2px 5px 5px 2px;
  transform-origin: left center;
  transform: rotateY(0deg);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 40px;
  z-index: 2;
}
.book-cover::before {
  /* spine shading */
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 18px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.book-cover::after {
  /* subtle inner highlight at top edge + shadow at bottom */
  content: '';
  position: absolute;
  inset: 0;
  box-shadow:
    inset 0 1px 0 rgba(180, 140, 90, 0.12),
    inset 0 -2px 8px rgba(0, 0, 0, 0.4);
  border-radius: inherit;
  pointer-events: none;
}

.cover-title {
  font-family: 'Sacramento', var(--script), cursive;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(72px, 11vw, 120px);
  line-height: 1;
  letter-spacing: -0.005em;
  /* debossed: text color matches leather, defined by dark shadow above + faint highlight below */
  color: #1c130b;
  text-shadow:
    0 -1px 1px rgba(0, 0, 0, 0.85),
    0 1px 0 rgba(180, 140, 90, 0.18),
    0 0 1px rgba(0, 0, 0, 0.6);
  text-align: center;
}
.cover-title .stet-dots {
  display: inline-block;
  position: relative;
  padding: 0 0.12em 0.42em;
}
.cover-title .stet-dots::after {
  /* embossed/debossed dotted underline — colorless, defined by shadow + highlight */
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.36em;
  height: 10px;
  background-image: radial-gradient(circle, #1c130b 3.5px, transparent 4.2px);
  background-size: 22px 10px;
  background-repeat: repeat-x;
  background-position: center;
  filter:
    drop-shadow(0 -1px 0.5px rgba(0, 0, 0, 0.8))
    drop-shadow(0 1px 0 rgba(180, 140, 90, 0.2));
}

/* =========================================================
   services view
   ========================================================= */

/* hero */
.hero {
  padding: 80px 0 100px;
  position: relative;
}

.hero-row {
  display: grid;
  grid-template-columns: 1fr minmax(0, 320px);
  gap: 80px;
  align-items: end;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 40px;
}
.hero-eyebrow-row .rule {
  flex: 1;
  max-width: 120px;
}

.hero-title {
  position: relative;
}
.hero-title .reveal-line {
  display: block;
  overflow: hidden;
}
.hero-title .reveal-line > span {
  display: inline-block;
}

/* margin stet mark — quick red gel-pen annotation, far right margin */
.margin-mark {
  position: absolute;
  top: -32px;
  right: 130px;
  left: auto;
  bottom: auto;
  font-family: var(--script);
  color: var(--red);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  transform: rotate(-5deg);
  pointer-events: none;
  letter-spacing: 0.01em;
  opacity: 0.92;
}
.margin-mark .check {
  font-size: 0.55em;
  margin-left: 4px;
  vertical-align: 4px;
  font-weight: 600;
}
.margin-mark .arrow { display: none; }

.hero-aside {
  position: relative;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
  padding-bottom: 8px;
  letter-spacing: 0.005em;
}
.hero-aside .by {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 10px;
}
.hero-aside .hero-claim {
  display: block;
  font-family: var(--serif);
  font-style: normal;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 12px;
}
.hero-aside .hero-claim em {
  font-style: italic;
  color: var(--red);
}
.hero-aside .hero-claim-q {
  font-style: italic;
  color: var(--red);
  font-weight: 500;
}

.hero-meta {
  margin-top: 56px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { background: var(--red); transform: translateY(-1px); }
.btn .arrow { font-family: var(--serif); font-size: 16px; transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 0;
  border: 0;
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
}
.btn-ghost:hover { color: var(--red); border-color: var(--red); }

.hero-status {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4a8a3a; box-shadow: 0 0 0 4px rgba(74, 138, 58, 0.18);
  animation: pulse 2.4s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74, 138, 58, 0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(74, 138, 58, 0); }
}

/* hero figure (image slot) */
.hero-figure {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-figure .hero-photo {
  width: 100%;
  height: clamp(260px, 38vw, 440px);
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
.hero-figure-cap {
  padding-bottom: 8px;
}
.hero-figure-cap .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--red);
  margin-right: 8px;
}

/* marquee — "what we read" */
.marquee {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  margin-top: 80px;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--ink-soft);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 56px; }
.marquee-track .sep { color: var(--red); font-style: normal; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* services grid */
.services {
  padding: 120px 0 80px;
}
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 80px;
}
.section-head .h2 { max-width: 14ch; }
.section-head .lede { padding-bottom: 10px; }

.svc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.svc {
  display: grid;
  grid-template-columns: 80px 1.2fr 1.6fr 0.9fr;
  gap: 40px;
  padding: 44px 12px;
  border-bottom: 1px solid var(--rule);
  align-items: start;
  position: relative;
  transition: background 0.3s ease;
  cursor: pointer;
}
.svc:hover { background: rgba(28, 24, 18, 0.025); }
.svc:hover .svc-arrow { transform: translateX(4px); color: var(--red); }

.svc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--red);
  padding-top: 4px;
}

.svc-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.svc-title .alt {
  display: block;
  font-style: italic;
  font-weight: 400;
  font-size: 0.6em;
  color: var(--ink-mute);
  margin-top: 6px;
}

.svc-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.svc-body ul {
  list-style: none;
  margin-top: 14px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.svc-body li {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  padding-left: 16px;
  position: relative;
}
.svc-body li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 1px;
  background: var(--red);
}

.svc-meta {
  text-align: right;
  padding-top: 4px;
}
.svc-price {
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 30px);
  font-style: italic;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.svc-price .from {
  font-family: var(--sans);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
  margin-bottom: 4px;
}
.svc-turn {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-mute);
  font-size: 14px;
  margin-top: 14px;
}
.svc-arrow {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ink-soft);
  transition: transform 0.25s ease, color 0.25s ease;
}

/* process */
.process {
  padding: 80px 0 120px;
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.proc {
  position: relative;
}
.proc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--red);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.proc-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
  line-height: 1.1;
}
.proc-body {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* quote */
.quote {
  padding: 100px 0 120px;
  border-top: 1px solid var(--rule);
}
.quote-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.quote-mark {
  font-family: var(--serif);
  font-style: italic;
  color: var(--red);
  font-size: 84px;
  line-height: 1;
  margin-bottom: 6px;
}
.quote-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.25;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.quote-cite {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* footer cta */
.cta {
  padding: 80px 0 120px;
  text-align: center;
}
.cta .h2 { margin-bottom: 28px; }
.cta .display-cta {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

/* =========================================================
   about view
   ========================================================= */
.about {
  padding: 60px 0 120px;
}
.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-hero-text { padding-top: 40px; }
.about-hero-text .label { margin-bottom: 24px; }
.about-hero-text .display {
  font-size: clamp(48px, 6.5vw, 96px);
  margin-bottom: 32px;
}
.about-hero-text .script {
  font-size: clamp(34px, 4.5vw, 52px);
  display: inline-block;
  transform: rotate(-3deg);
  margin-bottom: -8px;
  margin-left: -8px;
}
.about-portrait {
  position: relative;
}
.about-portrait .portrait-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
  display: block;
}
.about-portrait .badge {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  animation: spinslow 28s linear infinite;
}
.about-portrait .badge em {
  font-style: italic;
  font-weight: 400;
  display: block;
  margin-top: 6px;
}
@keyframes spinslow { to { transform: rotate(360deg); } }

.about-body {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about-body-left .label { margin-bottom: 18px; }
.about-body-left .h3 { max-width: 18ch; }
.about-body-right {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.about-body-right p + p { margin-top: 1.1em; text-indent: 1.6em; }

.credentials {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--rule);
  padding-top: 48px;
}
.cred .label { margin-bottom: 16px; }
.cred ul { list-style: none; }
.cred li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink-soft);
}
.cred li em {
  font-style: italic;
  color: var(--ink-mute);
  display: block;
  font-size: 14px;
  margin-top: 2px;
}

.bookshelf {
  margin-top: 100px;
}

/* =========================================================
   stet — definition callout (about page, under "A different angle")
   simple, restrained, with animated red sign-off
   ========================================================= */
.definition {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  max-width: 380px;
}
.def-word-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.def-word-row .def-word {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.def-word-row .def-meta {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.def-word-row .def-meta em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-family: var(--serif);
  font-size: 12px;
  color: var(--ink);
  margin-right: 2px;
}
.def-body {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0 0 14px;
}
.def-body em {
  font-style: italic;
  color: var(--red);
  font-weight: 500;
}
.def-sign {
  text-align: right;
  font-family: var(--script);
  font-size: 22px;
  color: var(--red);
  line-height: 1;
}
.def-dash {
  display: inline-block;
  opacity: 0.85;
}
.def-sign-text {
  display: inline-block;
}
.def-sign-text .dsl {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.18em) rotate(-3deg);
}
.def-sign-text .dsl-space {
  width: 0.22em;
}
.definition.in .def-sign-text .dsl {
  animation: defLetterWrite 0.32s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: calc(0.45s + var(--i) * 0.09s);
}
@keyframes defLetterWrite {
  0%   { opacity: 0; transform: translateY(0.22em) rotate(-5deg) scale(0.9); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: translateY(0) rotate(-1deg) scale(1); }
}
.bookshelf-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
}
.shelf-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.shelf-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shelf-item image-slot {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  background: rgba(58, 51, 40, 0.05);
  box-shadow: 0 8px 22px -12px rgba(58, 51, 40, 0.45);
}
.shelf-item .t {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.2;
}
.shelf-item .a {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =========================================================
   contact view
   ========================================================= */
.contact {
  padding: 60px 0 120px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-left .label { margin-bottom: 32px; }
.contact-left .display-cta {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 112px);
  font-style: normal;
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin-bottom: 36px;
}
.contact-left .display-cta em { font-style: italic; color: var(--red); }
.contact-left .lede { margin-bottom: 48px; }

.contact-info {
  margin-top: 60px;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
  display: grid;
  gap: 24px;
}
.contact-info .row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  align-items: baseline;
}
.contact-info .k {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.contact-info .v {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}

/* form */
.form {
  background: var(--paper-2);
  padding: 48px;
  border-radius: 4px;
  position: relative;
  border: 1px solid var(--rule);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 32px 60px -40px rgba(40, 28, 12, 0.25);
}
.form::before {
  /* edge crease */
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}
.form-head {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--rule);
}
.form-head .label { margin-bottom: 8px; }
.form-head .h3 {
  font-style: italic;
  font-weight: 400;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input,
.field textarea,
.field select {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 8px 0;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--red);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%237a6f5d' stroke-width='1.2'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 24px;
}
.form .btn { width: 100%; justify-content: center; padding: 18px 26px; margin-top: 12px; }

.form-note {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  text-align: center;
}

/* contact form questionnaire — 3 yes/no questions */
.quiz {
  margin: 8px 0 22px;
  padding: 22px 0;
  border-top: 1px dashed var(--rule);
  border-bottom: 1px dashed var(--rule);
  display: grid;
  gap: 16px;
}
.quiz-intro {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 4px;
}
.quiz-q {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
}
.quiz-q .q-text {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.3;
}
.quiz-pills {
  display: inline-flex;
  background: rgba(28, 24, 18, 0.06);
  padding: 3px;
  border-radius: 999px;
  position: relative;
}
.quiz-pills input { display: none; }
.quiz-pills label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  user-select: none;
}
.quiz-pills label:hover { color: var(--ink); }
.quiz-pills input:checked + label {
  background: var(--ink);
  color: var(--paper);
}
.quiz-pills input[value="yes"]:checked + label { background: var(--red); }

/* faq */
.faq {
  margin-top: 100px;
  border-top: 1px solid var(--rule);
  padding-top: 80px;
}
.faq-head { margin-bottom: 40px; }
.faq-list { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
  cursor: pointer;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.005em;
}
.faq-q .plus {
  font-family: var(--serif);
  color: var(--red);
  font-size: 28px;
  font-weight: 400;
  transition: transform 0.3s ease;
}
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  opacity: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  max-width: 70ch;
}
.faq-item.open .faq-a {
  max-height: 400px;
  opacity: 1;
  padding-top: 14px;
}

/* =========================================================
   footer
   ========================================================= */
.foot {
  border-top: 1px solid var(--rule);
  padding: 48px var(--gutter) 36px;
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.foot a:hover { color: var(--red); }

/* big foot wordmark */
.foot-wordmark {
  font-family: 'Sacramento', var(--script), cursive;
  font-style: normal;
  font-weight: 400;
  font-size: clamp(140px, 28vw, 380px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  padding: 60px var(--gutter) 80px;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  opacity: 0.94;
}
.foot-wordmark .stet-dots {
  display: inline-block;
  position: relative;
  padding: 0 0.12em 0.4em;
}
.foot-wordmark .stet-dots::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0.34em;
  height: 14px;
  background-image: radial-gradient(circle, var(--red) 5px, transparent 6px);
  background-size: 34px 14px;
  background-repeat: repeat-x;
}

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 980px) {
  .hero-row { grid-template-columns: 1fr; gap: 32px; }
  .hero-figure { grid-template-columns: 1fr; gap: 24px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .svc { grid-template-columns: 50px 1fr; gap: 18px; }
  .svc-num { font-size: 22px; }
  .svc-body { grid-column: 2; }
  .svc-meta { grid-column: 2; text-align: left; }
  .proc-grid { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; gap: 40px; }
  .about-body { grid-template-columns: 1fr; gap: 24px; }
  .credentials { grid-template-columns: 1fr; gap: 24px; }
  .shelf-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .definition { margin-top: 72px; max-width: 100%; }
  .def-mark .def-stet { font-size: 56px; }
  .def-body { font-size: 17px; }
  .nav { padding: 16px var(--gutter); }
  .nav-links { gap: 18px; }
  .brand .tag { display: none; }
  .form { padding: 28px; }
  .hero { padding-top: 40px; }
}
@media (max-width: 640px) {
  .nav-links { font-size: 11px; gap: 14px; }
  .brand { font-size: 22px; }
  .shelf-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .about-portrait .badge { width: 100px; height: 100px; font-size: 13px; top: -10px; right: -10px; }
}

/* =========================================================
   reveal on scroll
   ========================================================= */
.reveal { transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js-ready .reveal:not(.in) { opacity: 0; transform: translateY(20px); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }

/* =========================================================
   tweaks panel
   ========================================================= */
.tweaks-toggle-only {} /* placeholder */

/* theme variants */
body[data-theme="ivory"] {
  --paper: #f5efe2;
  --paper-2: #ece4cf;
  --paper-deep: #e2d6b8;
}
body[data-theme="sage"] {
  --paper: #e5e6d6;
  --paper-2: #d8dac3;
  --paper-deep: #c8caaf;
  --red: #6e3a1d;
}
body[data-theme="ink"] {
  --paper: #1d1812;
  --paper-2: #28201a;
  --paper-deep: #322920;
  --ink: #f0e6cf;
  --ink-soft: #cdc1a4;
  --ink-mute: #8a8068;
  --rule: rgba(240, 230, 207, 0.18);
  --rule-soft: rgba(240, 230, 207, 0.10);
  --red: #d6896a;
}

body[data-script="caveat"] { --script: 'Caveat', cursive; }
body[data-script="homemade"] { --script: 'Homemade Apple', cursive; }
body[data-script="reenie"] { --script: 'Reenie Beanie', cursive; }

/* =========================================================
   FIRST-CHAPTER ASSESSMENT — POPUP
   A reader's note slipped onto the desk. Centered on a dimmed
   backdrop for maximum attention; styled to invite a click.
   ========================================================= */
.fc-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 17, 12, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, background 0.5s ease, backdrop-filter 0.5s ease;
}
.fc-overlay.open {
  opacity: 1;
  pointer-events: auto;
  background: rgba(20, 17, 12, 0.58);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.fc-card {
  position: relative;
  width: min(460px, 100%);
  background: var(--paper);
  background-image:
    linear-gradient(135deg, rgba(255,255,255,0.35), rgba(255,255,255,0) 40%),
    radial-gradient(120% 80% at 0% 0%, rgba(0,0,0,0.015), transparent 60%);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 46px 44px 40px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.4) inset,
    0 28px 60px -20px rgba(20,17,12,0.55),
    0 8px 22px -12px rgba(20,17,12,0.4);
  transform: translateY(24px) scale(0.96) rotate(-0.6deg);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16,0.84,0.3,1), opacity 0.45s ease;
}
.fc-overlay.open .fc-card {
  transform: translateY(0) scale(1) rotate(-0.6deg);
  opacity: 1;
}

/* torn/deckled left margin rule, like a page edge */
.fc-card::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 18px;
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--red) 0 6px,
    transparent 6px 12px
  );
  opacity: 0.42;
}

.fc-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1;
  color: var(--ink-mute);
  transition: color 0.2s ease, transform 0.2s ease;
}
.fc-close:hover { color: var(--red); transform: rotate(90deg); }

/* red wafer-seal price stamp */
.fc-seal {
  position: absolute;
  top: -24px;
  right: -18px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--red);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(-9deg);
  box-shadow: 0 10px 22px -10px rgba(110,29,20,0.7);
  border: 2px solid rgba(245,239,226,0.25);
}
.fc-seal::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(245,239,226,0.4);
}
.fc-seal-amt {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.fc-seal-cur {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.24em;
  margin-top: 3px;
  opacity: 0.85;
}

.fc-script {
  display: block;
  font-family: var(--script);
  color: var(--red);
  font-size: 30px;
  line-height: 1;
  transform: rotate(-3deg);
  transform-origin: left center;
  margin-bottom: 6px;
}

.fc-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 16px;
}

.fc-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 6vw, 40px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}
.fc-title em {
  font-style: italic;
  color: var(--red);
}

.fc-body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 40ch;
  margin-bottom: 20px;
}

.fc-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--rule-soft);
}
.fc-meta .fc-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex: none;
}

.fc-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.fc-cta { cursor: pointer; }
.fc-later {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-mute);
  transition: color 0.2s ease;
}
.fc-later:hover { color: var(--ink); }

@media (max-width: 520px) {
  .fc-card { padding: 42px 28px 34px; }
  .fc-seal { width: 78px; height: 78px; top: -20px; right: -8px; }
  .fc-seal-amt { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .fc-overlay, .fc-card { transition: opacity 0.3s ease; }
  .fc-card { transform: rotate(-0.6deg); }
  .fc-overlay.open .fc-card { transform: rotate(-0.6deg); }
  .fc-close:hover { transform: none; }
}
