/* =============================================================================
   Caterina Alvarez · Grand Avenue Editing & Publications
   Black and white, warmed with stone, beige and sand; thin hairline shapes for depth.
   Type: Spectral (display, quotes) + Jost (text, interface). Fonts are self-hosted (fonts.css).
   House rules: no em or en dashes in the copy; no thin hairline display fonts.
   ========================================================================== */

:root {
  /* colour: ink and warm whites, with in-between tones for depth */
  --ink: #0e0e0e;
  --ink-2: #1c1916;          /* warm black for panels */
  --paper: #fcfbf8;          /* page: warm white, never glaring */
  --white: #ffffff;          /* mats, cards */
  --stone: #f4f1ec;          /* light warm grey bands */
  --wall: #f4eee5;           /* client swatch: gallery wall */
  --sand: #e9e1d5;           /* deeper beige: pressed states */
  --select: #e2ded8;         /* faint warm grey: the chosen option, the current tab */
  --greige: #d7cec2;         /* hairlines of boxes and frames */
  --clay: #b07d62;           /* client swatch: kept for reference, not used (orange on black read as a stock theme) */
  --umber: #54453a;          /* client swatch: labels, captions, small marks */

  /* paper: a faint grain laid over the whole page, like uncoated stock */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .26 0 0 0 0 .2 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --text: #1c1b1a;
  --mute: #5b534c;
  --line: rgba(40, 30, 22, .14);
  --line-mid: rgba(40, 30, 22, .32);
  --line-dark: rgba(255, 255, 255, .18);
  --on-dark: rgba(255, 255, 255, .76);

  /* type */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Century Gothic", "Helvetica Neue", Arial, sans-serif;
  /* one type scale for the whole site: every page's main title, every section title, every introductory line,
     all running text and all small notes use these sizes (phones step each one down, below). Set quiet, after
     Maven Travel: modest titles, small airy running text, and the space between doing the work */
  --t-title: clamp(34px, 3vw, 44px);
  --t-heading: clamp(21px, 1.6vw, 24px);
  --t-lead: 17.5px;
  --t-body: 15.5px;
  --t-body-lh: 1.8;
  --t-small: 12.5px;

  /* space */
  --maxw: 1320px;
  --gutter: clamp(20px, 4.4vw, 72px);
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(72px, 7.6vw, 112px); /* one interval between sections, everywhere */
  --space-open: clamp(56px, 6vw, 88px);  /* from the header to a page's opening */
  --header-h: 104px;
  --header-compact: 76px;

  /* motion: unhurried, after Maven Travel's reveal curve */
  --ease: cubic-bezier(.25, .1, .25, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-reveal: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 900px) {
  :root { --header-h: 68px; --header-compact: 68px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-compact) + 32px);
}

/* page to page: one soft dissolve, the new page settling over the old one so nothing flashes in between
   (browsers without support simply load the page) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: page-in .6s cubic-bezier(.4, 0, .2, 1) both; mix-blend-mode: normal; }
@keyframes page-in { from { opacity: 0; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open { overflow: hidden; }

/* the paper grain, over everything (it never catches clicks) */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  background-image: var(--grain);
  opacity: .3;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
em, i { font-style: italic; }

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

:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }
.on-dark :focus-visible { outline-color: var(--paper); }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  background: var(--ink); color: var(--paper);
  padding: 12px 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ----------------------------------------------------------------- layout */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.section { padding-block: var(--section); }
.section--ruled { border-top: 1px solid var(--line); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* bands: the in-between tones that give the page depth */
.band-paper { background: var(--paper); }
.band-stone { background: var(--stone); }
.band-wall { background: var(--wall); }
.on-dark { background: var(--ink-2); color: var(--paper); }

/* ----------------------------------------------------------------- type */
.eyebrow {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--umber);
}
.on-dark .eyebrow { color: rgba(255, 255, 255, .62); }

/* titles are set small, like a well made book: a little larger than the text, in a firmer weight */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-title);
  line-height: 1.05;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.display em, .h2 em, .h3 em { font-style: italic; }

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-heading);
  line-height: 1.2;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(21px, 1.7vw, 25px);
  line-height: 1.25;
}

.statement {
  font-family: var(--serif);
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.55;
  text-wrap: pretty;
}

.lede {
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: var(--t-body-lh);
  color: var(--text);
}

/* a drop capital to open a passage, as in a book */
.dropcap::first-letter {
  float: left;
  margin: .1em .01em 0 -.03em;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 3.5em;
  line-height: .78;
  color: var(--ink);
}
/* and the rest of its first line in capitals, so the opening word reads whole */
.dropcap::first-line { text-transform: uppercase; letter-spacing: .1em; font-size: .86em; }
.on-dark .lede { color: var(--on-dark); }

.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.15em; }

.mute { color: var(--mute); }

/* ----------------------------------------------------------------- thin shapes */
/* a hairline box with a second hairline inside it */
.frame {
  position: relative;
  border: 1px solid var(--greige);
  background: var(--white);
  /* a card of paper resting on the page */
  box-shadow: 0 1px 1px rgba(60, 40, 25, .04), 0 16px 30px -24px rgba(60, 40, 25, .3);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line);
  pointer-events: none;
  transition: border-color .6s var(--ease);
}
.on-dark .frame, .frame--dark { background: transparent; border-color: var(--line-dark); box-shadow: none; }
.on-dark .frame::after, .frame--dark::after { border-color: rgba(255, 255, 255, .1); }

/* a box whose label sits in its top border, like an engraved plate */
.plate { position: relative; border: 1px solid var(--greige); padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 72px) clamp(36px, 4.4vw, 64px); }
.plate__label {
  position: absolute;
  top: 0;
  left: clamp(20px, 4vw, 56px);
  transform: translateY(-50%);
  padding: 0 16px;
  background: var(--paper);
}
.plate--stack { display: flex; flex-direction: column; gap: 36px; }
.band-stone .plate__label { background: var(--stone); }
.band-wall .plate__label { background: var(--wall); }
.on-dark .plate { border-color: var(--line-dark); }
.on-dark .plate__label { background: var(--ink-2); }

/* numerals set inside a thin circle */
.badge {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1;
  color: var(--ink);
  flex: none;
}
.on-dark .badge { border-color: rgba(255, 255, 255, .35); color: var(--paper); }

/* diamond bullets */
.diamonds { display: flex; flex-direction: column; gap: 10px; }
.diamonds li { display: grid; grid-template-columns: 22px 1fr; align-items: baseline; }
.diamonds li::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1px solid var(--umber);
  transform: translateY(-2px) rotate(45deg);
}

/* ----------------------------------------------------------------- links & buttons */
.link {
  display: inline-flex;
  align-items: center;
  gap: .75em;
  padding-bottom: 7px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  line-height: 1.4;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .7s var(--ease), color .3s ease;
}
.link:hover { background-size: 0 1px; background-position: right bottom; }
.link:active { color: var(--umber); }
.link__arrow { display: inline-block; transition: transform .6s var(--ease-out); }
.link:hover .link__arrow, a:hover > .link .link__arrow { transform: translateX(5px); }

.text-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  text-decoration-color: var(--line-mid);
  transition: text-decoration-color .35s ease, color .35s ease;
}
.text-link:hover { text-decoration-color: currentColor; }
.text-link:active { color: var(--umber); }

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8em;
  min-height: 54px;
  padding: 0 38px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .2s var(--ease);
}
.button:hover { background: transparent; color: var(--ink); }
.button:active { background: var(--sand); color: var(--ink); transform: scale(.985); }
.button:focus-visible { outline: 1px solid var(--ink); outline-offset: 5px; }
.button--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button--light:hover { background: transparent; color: var(--paper); }
.button--outline-light { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, .5); }
.button--outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.button--outline-light:active { background: var(--sand); color: var(--ink); }

/* ----------------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgba(244, 238, 229, .97); /* her wall colour */
  border-bottom: 1px solid transparent;
  transition: border-color .4s ease;
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(244, 238, 229, .9); backdrop-filter: saturate(1.3) blur(12px); }
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  height: var(--header-h);
  transition: height .5s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: var(--header-compact); }

.site-nav ul { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 48px); }
.site-nav--right ul { justify-content: flex-end; }
.site-nav a {
  position: relative;
  display: inline-block;
  padding: 10px 0;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  transition: color .3s ease;
}
.site-nav a::after {
  content: "";
  position: absolute; left: 0; right: .24em; bottom: 4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a:active { color: var(--umber); }

/* the pages inside Editing and Publications, in a thin framed panel on hover or keyboard focus */
.site-nav li { position: relative; }
.site-nav__sub {
  position: absolute;
  top: 100%;
  left: -30px;
  z-index: 2;
  min-width: 240px;
  padding: 16px 0;
  background: var(--paper);
  border: 1px solid var(--greige);
  box-shadow: 0 28px 48px -34px rgba(60, 40, 25, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.site-nav__sub::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.site-nav li:hover > .site-nav__sub, .site-nav li:focus-within > .site-nav__sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.site-nav__sub ul { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
.site-nav .site-nav__sub a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 30px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
  transition: background-color .35s ease, color .3s ease;
}
.site-nav .site-nav__sub a::after { display: none; }
.site-nav__sub a::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--line-mid); border-radius: 50%; flex: none; transition: background-color .35s ease, border-color .35s ease; }
.site-nav__sub a:hover { background: var(--stone); }
.site-nav__sub a:hover::before { border-color: var(--ink); }
.site-nav__sub a:active { background: var(--sand); }
.site-nav__sub a[aria-current="page"] { font-style: italic; background: var(--select); }
.site-nav__sub a[aria-current="page"]::before { background: var(--ink); border-color: var(--ink); }

.wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  line-height: 1;
}
.wordmark__name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-right: -.32em;
  white-space: nowrap;
}
.wordmark__sub {
  display: grid;
  justify-items: center;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--umber);
  margin-right: -.34em;
  white-space: nowrap;
}

/* pointing at the name swaps its small line for where it leads */
.wordmark__sub > span { grid-area: 1 / 1; transition: opacity .55s var(--ease), translate .55s var(--ease); }
.wordmark__home { opacity: 0; translate: 0 5px; color: var(--ink); }
.wordmark:not([aria-current]):is(:hover, :focus-visible) .wordmark__line { opacity: 0; translate: 0 -5px; }
.wordmark:not([aria-current]):is(:hover, :focus-visible) .wordmark__home { opacity: 1; translate: none; }
.wordmark:active .wordmark__name { color: var(--umber); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 14px;
  justify-self: end;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.menu-toggle__icon { position: relative; width: 26px; height: 9px; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 8px; }
.menu-open .menu-toggle__icon::before { top: 4px; transform: rotate(35deg); }
.menu-open .menu-toggle__icon::after { top: 4px; transform: rotate(-35deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  background: var(--paper);
  padding-top: var(--header-h);
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s var(--ease), visibility 0s linear .6s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .6s var(--ease); }
.menu__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-block: 24px 40px; overflow-y: auto; }
/* just the five page names, in the serif, no rules or numerals; the page you are on in italics */
.menu__list > li > a {
  display: block;
  padding: 12px 0;
  font-family: var(--serif);
  font-size: clamp(25px, 6.6vw, 36px);
  line-height: 1.2;
  transition: color .3s ease;
}
.menu__list > li > a:active { color: var(--umber); }
.menu__list > li > a[aria-current] { font-style: italic; }
/* the pages inside a section, one small line under its name */
.menu__sub { display: flex; flex-wrap: wrap; gap: 0 16px; margin-top: -6px; padding: 0 0 14px; }
.menu__sub a { display: inline-block; padding: 6px 0; font-size: 13px; letter-spacing: .02em; white-space: nowrap; color: var(--mute); transition: color .3s ease; }
.menu__sub a:active { color: var(--umber); }
.menu__sub a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.menu__foot { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.menu__social { display: flex; gap: 28px; }

@media (max-width: 900px) {
  .site-header__inner { grid-template-columns: minmax(0, 1fr) auto; }
  .site-nav { display: none; }
  .wordmark { align-items: flex-start; text-align: left; gap: 7px; }
  .wordmark__sub { justify-items: start; }
  .wordmark__name { font-size: 16px; letter-spacing: .26em; }
  .wordmark__sub { font-size: 8px; letter-spacing: .28em; }
  .menu-toggle { display: inline-flex; }
}

/* ----------------------------------------------------------------- home: hero */
.hero {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(56px, 7vw, 120px);
  background: var(--wall);
}
/* on the same grid as the hello section above, mirrored: the words where the portrait is, the drawing
   where the introduction is */
.hero__inner { align-items: center; row-gap: 48px; }
.hero__text {
  grid-column: 2 / 7;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(26px, 2.8vw, 38px);
}
.hero__art { grid-column: 8 / 12; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; }
.hero__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: var(--t-lead);
  line-height: 1.6;
  text-wrap: pretty;
  text-indent: -.4em; /* the opening quote hangs in the margin, as typesetters set it */
  padding-left: .4em; /* room for the hanging quote inside the box, so the reveal sweep shows it too */
  margin-left: -.4em;
}
.hero__quote::before { content: "\201C"; }
.hero__quote::after { content: "\201D"; }

/* framed artwork: the client's drawing, hung like a gallery piece */
.artwork { display: flex; flex-direction: column; gap: 22px; width: min(100%, 520px); }
.artwork__frame {
  position: relative;
  background: var(--white);
  padding: 13%;
  border: 7px solid #121212;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .04), 0 46px 70px -50px rgba(70, 48, 30, .55);
}
.artwork__frame::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(40, 30, 22, .1); pointer-events: none; }
.artwork__frame img { width: 100%; }
.artwork__label { display: grid; gap: 3px; padding-left: 2px; }
.artwork__title { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.4; color: var(--ink); }
.artwork__meta { font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--umber); }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-block: 56px 72px; }
  .hero__art, .hero__text { grid-column: 1 / -1; grid-row: auto; }
  .hero__art { justify-content: center; }
  .artwork { width: min(100%, 380px); }
}
}

/* ----------------------------------------------------------------- credits band */
.credits { background: var(--stone); border-block: 1px solid var(--line); }
.credits__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 56px;
  padding-block: 34px;
}
.credits__group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 26px; }
.credits__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.credits__list li {
  display: inline-flex;
  align-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.25vw, 18px);
  color: var(--ink);
}
.credits__list li + li::before {
  content: "";
  width: 4px; height: 4px; margin-inline: 18px;
  border-radius: 50%;
  background: var(--umber);
}
.credits__award {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px;
  border: 1px solid var(--greige);
  background: var(--paper);
  font-family: var(--serif);
  font-size: clamp(15px, 1.15vw, 17px);
}
.credits__award em { font-style: italic; }
.credits__award .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--umber); }

/* ----------------------------------------------------------------- intro statement */
.intro { row-gap: 28px; }
.intro__label { grid-column: 1 / 4; padding-top: 14px; }
.intro__body { grid-column: 4 / 12; display: flex; flex-direction: column; gap: 40px; }
.intro__wide { grid-column: 2 / 12; }
@media (max-width: 900px) {
  .intro__label, .intro__body, .intro__wide { grid-column: 1 / -1; padding-top: 0; }
}

/* ----------------------------------------------------------------- doors (Editing / Publications) */
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 26px;
  min-height: clamp(420px, 38vw, 540px);
  padding: clamp(64px, 7vw, 120px) clamp(36px, 6.4vw, 112px);
  transition: background-color .8s var(--ease);
}
.door::after {
  content: "";
  position: absolute;
  inset: clamp(14px, 1.6vw, 24px);
  border: 1px solid var(--greige);
  pointer-events: none;
  transition: border-color .8s var(--ease), inset .8s var(--ease);
}
.door--light { background: var(--stone); }
.door--light:hover { background: var(--wall); }
.door--light:hover::after { border-color: var(--ink); }
.door--dark { background: var(--ink-2); color: var(--paper); }
.door--dark::after { border-color: rgba(255, 255, 255, .14); }
.door--dark:hover { background: #24201c; }
.door--dark:hover::after { border-color: rgba(255, 255, 255, .55); }
.door:active::after { inset: clamp(18px, 1.9vw, 28px); }
/* The numeral stays in the flow: its auto margin holds it at the top while the card has room,
   and when the text wraps it is pushed down with everything else, so it never sits on the label. */
.door .badge { align-self: flex-start; margin-top: calc(clamp(44px, 5vw, 76px) - clamp(64px, 7vw, 120px)); margin-bottom: auto; }
.door__title { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; }
.door__title em { font-style: italic; }
.door__text { max-width: 30em; color: var(--mute); }
.door--dark .door__text { color: var(--on-dark); }
.door__meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; padding-top: 18px; border-top: 1px solid var(--line); }
.door--dark .door__meta { border-top-color: var(--line-dark); }
.door__price { font-family: var(--serif); font-size: 19px; }
.door__price small { display: block; margin-bottom: 2px; font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--umber); }
.door--dark .door__price small { color: rgba(255, 255, 255, .6); }
.door__price .tbd { white-space: nowrap; }
@media (max-width: 900px) {
  .doors { grid-template-columns: 1fr; }
  .door { min-height: 0; justify-content: flex-start; padding-block: 64px 72px; }
  .door .badge { margin-top: 0; }
}

/* ----------------------------------------------------------------- home: hello (her portrait beside her introduction)
   Quiet and editorial: the arched portrait, an upright heading ("Introduction", as a book opens), her introduction set
   in the serif. */
.hello {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(56px, 7vw, 120px);
}
.hello__inner { align-items: center; row-gap: 44px; }
/* the portrait is set into the page like an arched window: a slim band of her wall colour, flat and even,
   around the photo; no shading, so it stays crisp */
.hello__portrait { grid-column: 2 / 6; justify-self: end; width: min(100%, 440px); }
/* every picture on the site is framed alike, as a window in the book: a slim band of her wall colour held by a
   fine greige outline, so it reads on the page and on her tan bands alike (the portraits, the draft, the engraving) */
.window {
  padding: clamp(6px, .55vw, 8px);
  border: 1px solid var(--greige);
  border-radius: 999px 999px 0 0;
  background: var(--wall);
}
.window__pane {
  overflow: hidden;
  aspect-ratio: 394 / 560;
  border-radius: 999px 999px 0 0;
  background: var(--wall);
}
.window__pane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hello__text { grid-column: 7 / 12; display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }
.hello__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-title);
  line-height: 1.05;
  letter-spacing: -.018em;
  color: var(--ink);
}
/* the home page's body paragraphs share one style */
.hello__body,
.page-hero__text {
  max-width: 31em;
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: 1.85; /* airier than the rest by design: the drop capital M is set to two of these lines */
  color: var(--mute);
  text-wrap: pretty;
}
.hello__body p + p { margin-top: 1.2em; }
@media (max-width: 900px) {
  .hello { min-height: 0; }
  .hello__portrait { grid-column: 1 / -1; justify-self: center; width: min(100%, 340px); }
  .hello__text { grid-column: 1 / -1; }
}

/* ----------------------------------------------------------------- home as one room
   Between the header and the footer the home page is one warm white ground. Both pictures are framed in her
   wall colour, like the header and footer, the drawing without its black frame or shadow, and all the words share one ink. */
.home { background: var(--paper); }
.home .hero { background: none; }
/* the greeting and the motto read as one section: no full-screen heights, a modest gap between them */
.home .hello { min-height: 0; padding-top: var(--space-open); padding-bottom: var(--section); }
.home .hero { min-height: 0; padding-top: clamp(36px, 4vw, 64px); padding-bottom: var(--section); }
.home .window,
.home .window__pane { background: var(--wall); }
.home .artwork { width: min(100%, 440px); }
.home .artwork__frame { background: var(--paper); border: 0; box-shadow: inset 0 0 0 clamp(6px, .55vw, 8px) var(--wall); }
@media (max-width: 900px) { .home .artwork { width: min(100%, 340px); } }
.home .artwork__frame::after { display: none; }
.home .hello__title,
.home .hello__body,
.home .hero__quote,
.home .pager__link,
.home .pager__dir { color: var(--text); }

/* ----------------------------------------------------------------- the cover (index.html)
   Set as the title page of a fine book: one white page resting on her ivory, framed like the site's cards (.frame: a
   fine outline, a second hairline just inside it, a soft shadow). On it, centred, her name in spaced capitals with the
   imprint beneath, a short rule, her spiral and her motto beneath it; in the page's lower right corner, a fine drawn
   arrow that opens the site at the Introduction. The ivory frames the page evenly all round. The spiral takes the height
   the rest leaves free (--cover-words), so the whole cover fits in one view. Still: no animation, no grain */
.home.cover {
  --cover-words: 430px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100svh;
  padding: clamp(18px, 3.4svh, 36px) clamp(16px, 4vw, 32px);
  background: var(--wall);
}
.cover-page::after { opacity: 0; } /* no paper grain on the cover */

/* the page */
.cover__page {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 760px);
  position: relative;
  padding: clamp(30px, 5svh, 56px) clamp(24px, 5vw, 64px) clamp(62px, 8.4svh, 84px);
  text-align: center;
}
.cover__page::after { inset: clamp(7px, 1vw, 10px); }

/* the head: her name in spaced capitals, the imprint beneath */
.cover__head { display: flex; flex-direction: column; align-items: center; }
.cover__name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 5.4vw, 46px);
  line-height: 1.05;
  letter-spacing: .1em;
  margin-right: -.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
}
.cover__imprint { margin-top: 12px; font-family: var(--sans); font-weight: 500; font-size: 10px; line-height: 1.5; letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; color: var(--umber); }

/* the spiral and her motto beneath it on the same centre line; the motto, in her brown, set no wider than the drawing
   (on the narrowest phones, the width of the page); on larger screens one sentence a line */
.cover__plate {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: clamp(24px, 4svh, 44px);
}
.cover__plate picture { display: block; width: min(64vw, 460px, 52vh, max(200px, 100vh - var(--cover-words))); width: min(64vw, 460px, 52svh, max(200px, 100svh - var(--cover-words))); }
.cover__plate img { display: block; width: 100%; height: auto; }
.cover__quote { max-width: 27em; margin-top: clamp(20px, 3.4svh, 36px); font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.65; color: var(--umber); text-wrap: balance; }
.cover__quote p::before { content: "\201C"; }
.cover__quote p::after { content: "\201D"; }
.cover__break { display: none; }
@media (min-width: 900px) {
  .cover__quote { width: max-content; max-width: 100%; line-height: 1.8; }
  .cover__break { display: inline; }
}

/* the arrow: in the page's lower right corner, just inside its inner hairline, where a book is turned; a long, fine
   line with a curved head drawn as with a pen, in her brown, gliding on when pointed at */
.cover__enter {
  position: absolute;
  right: clamp(20px, 2.8vw, 34px);
  bottom: clamp(16px, 2.6svh, 26px);
  display: block;
  padding: 10px 6px;
  color: var(--umber);
  transition: color .4s ease;
}
.cover__enter svg { display: block; width: clamp(76px, 7vw, 104px); height: auto; overflow: visible; transition: transform .7s var(--ease-out); }
.cover__enter path { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.cover__enter:hover { color: var(--text); }
.cover__enter:hover svg { transform: translateX(8px); }
.cover__enter:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .cover__enter svg { transition: none; } .cover__enter:hover svg { transform: none; } }

/* at the foot of the page */

/* phones: a smaller name, a longer motto, a narrower margin inside the page */
@media (max-width: 600px) {
  .home.cover { --cover-words: 410px; }
  .cover__plate picture { width: min(72vw, 52vh, max(180px, 100vh - var(--cover-words))); width: min(72vw, 52svh, max(180px, 100svh - var(--cover-words))); }
}

/* the introduction opens like the first page of a book: a drop capital, then the opening words in spaced capitals.
   The M stands exactly two lines deep: its top level with the capitals beside it, its foot on the second line's
   baseline. Measured from Spectral, whose capitals stand .66 of the type size; the M sits outside the small
   capitals' span so it is sized from the paragraph. The float stays shorter than two lines so the third runs full. */
.home .hello__body .dropcap::first-letter {
  color: var(--text);
  font-size: 3.66em;
  line-height: .8;
  margin: .14em 0 0 -.05em;
}
/* Firefox sets a floated first letter a little higher than Chrome and Safari; bring it down onto the same lines */
@supports (-moz-appearance: none) {
  .home .hello__body .dropcap::first-letter { margin-top: .182em; }
}
.home .hello__body .dropcap::first-line { text-transform: none; letter-spacing: normal; font-size: 1em; }
.home .lead-in { text-transform: uppercase; letter-spacing: .1em; font-size: .86em; }
.home .hero__quote { text-wrap: balance; }

/* the drawing is traced in once, the first time it comes into view: the ink appears where her handwriting
   begins (about ten o'clock) and follows the pen round the circle. Left whole without scripts, for visitors
   who ask for less motion, and in print. */
@property --ink-sweep { syntax: "<angle>"; inherits: false; initial-value: 372deg; }
.js .home [data-ink] img {
  --ink-sweep: 0deg;
  -webkit-mask-image: conic-gradient(from 290deg at 50% 50%, #000 calc(var(--ink-sweep) - 12deg), transparent var(--ink-sweep));
  mask-image: conic-gradient(from 290deg at 50% 50%, #000 calc(var(--ink-sweep) - 12deg), transparent var(--ink-sweep));
  transition: --ink-sweep 2.8s cubic-bezier(.5, .1, .3, 1) .35s;
}
.js .home [data-ink].is-inked img { --ink-sweep: 372deg; }
@media (prefers-reduced-motion: reduce) {
  .js .home [data-ink] img { -webkit-mask-image: none; mask-image: none; }
}
@media print {
  .js .home [data-ink] img { -webkit-mask-image: none !important; mask-image: none !important; }
}

/* ----------------------------------------------------------------- portraits: arch-topped frames */
.profile { align-items: center; row-gap: 56px; }
.profile__portrait { grid-column: 2 / 6; }
.profile__text { grid-column: 7 / 12; display: flex; flex-direction: column; gap: 30px; }
@media (max-width: 900px) {
  .profile__portrait { grid-column: 1 / -1; width: min(100%, 340px); margin-inline: auto; }
  .profile__text { grid-column: 1 / -1; }
}

.portrait { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.portrait figcaption { display: flex; flex-direction: column; align-items: center; }
.portrait__arch {
  position: relative;
  width: 100%;
  padding: clamp(6px, .55vw, 8px); /* framed like every picture: see .window */
  border: 1px solid var(--greige);
  border-radius: 999px 999px 0 0;
  background: var(--wall);
}
.portrait__arch img {
  width: 100%;
  aspect-ratio: 394 / 560;
  object-fit: cover;
  object-position: center top;
  border-radius: 999px 999px 0 0;
}
.portrait__name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-right: -.32em;
  text-align: center;
}
.portrait__role { margin-top: 6px; font-family: var(--serif); font-style: italic; font-size: var(--t-body); color: var(--umber); text-align: center; }

/* ----------------------------------------------------------------- testimonials */
.testimonials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
/* two note cards, set square so the full testimonials read evenly */
.testimonial { display: flex; flex-direction: column; gap: 28px; padding: clamp(40px, 4.4vw, 64px); }
.testimonial__mark { font-family: var(--serif); font-size: 48px; line-height: .5; color: var(--greige); height: 20px; }
.testimonial blockquote { font-family: var(--serif); font-style: italic; font-size: var(--t-body); line-height: var(--t-body-lh); }
.testimonial blockquote p + p { margin-top: .9em; }
/* the rule, name and description sit at the foot of each card, so side by side they line up across the row whatever
   the length of each testimonial (the shorter one simply has more space above its rule) */
.testimonial figcaption { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.testimonial__name { font-size: 10px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.testimonial__work { font-family: var(--serif); font-style: italic; font-size: var(--t-body); color: var(--umber); }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- section header */
.section-head { row-gap: 28px; margin-bottom: clamp(56px, 6vw, 88px); align-items: end; }
.section-head__title { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 22px; }
.section-head__aside { grid-column: 9 / 13; color: var(--mute); }
.on-dark .section-head__aside { color: var(--on-dark); }
@media (max-width: 900px) { .section-head__title, .section-head__aside { grid-column: 1 / -1; } }

/* ----------------------------------------------------------------- closing call to action */
.cta { text-align: center; }
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 34px; padding-block: var(--section); }

/* ----------------------------------------------------------------- footer */
.site-footer { background: var(--wall); } /* follows straight on from the previous / next links, no rule between */
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
  gap: 48px var(--gap);
  padding-block: clamp(12px, 1.6vw, 24px) clamp(56px, 6vw, 80px);
}
.site-footer .wordmark { align-items: flex-start; text-align: left; }
.footer-brand { display: flex; flex-direction: column; gap: 26px; }
.footer-brand p { max-width: 24em; font-size: 14px; color: var(--mute); }
.footer-col { display: flex; flex-direction: column; gap: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.footer-col a { transition: color .3s ease; }
.footer-col a:hover { color: var(--umber); }
.footer-col a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.footer-brand__email { font-size: 14px; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  padding-block: 26px 40px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--mute);
}
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.legal-links a { transition: color .3s ease; }
.legal-links a:hover, .legal-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
@media (max-width: 1100px) { .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* ----------------------------------------------------------------- inner page opening, set like a chapter opening */
.page-hero { padding-block: var(--space-open); border-bottom: 1px solid var(--line); }
.page-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.page-hero__title { max-width: 18em; }
.page-hero__text { margin-inline: auto; }
.contact__welcome { font-style: italic; color: var(--umber); } /* her welcome, beneath "Write to me" */

/* the page's own name, in small italic just above its part number */
.page-label { margin-bottom: -10px; font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.3; color: var(--ink); }
.on-dark .page-label { color: var(--paper); }

/* ----------------------------------------------------------------- pager: previous and next, wrapping round within the section */
.pager { background: var(--wall); border-top: 1px solid var(--line); } /* part of the footer */

/* ----------------------------------------------------------------- the scroll cue (the longer pages)
   A soft band of her wall colour, the header's and footer's, at the foot of the screen: clear at its top, fading down
   into the wall colour, a fine point (just the head of an arrow) set in its middle, pointing down and drifting gently.
   It is there only at the top of the page: once the page is scrolled the band and its point sink away together.
   Built by main.js on pages with body[data-scroll-cue] */
.scroll-cue {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(76px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  /* one even fade along the whole width: a soft top edge, then solid wall colour, so anything on the page behind it
     (the service box's spine, say) fades out well before it reaches the point */
  background: linear-gradient(to bottom, rgba(244, 238, 229, 0), rgba(244, 238, 229, .8) 12%, var(--wall) 24%);
  pointer-events: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease-out), visibility 0s;
}
.scroll-cue.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.scroll-cue__arrow {
  display: block;
  padding: 12px 18px;
  border: 0;
  background: none;
  color: var(--umber);
  pointer-events: auto;
  cursor: pointer;
  transition: color .3s ease;
}
.scroll-cue__arrow svg { display: block; width: 20px; height: 14px; overflow: visible; animation: scroll-cue 2.8s var(--ease) infinite; }
.scroll-cue__arrow:hover { color: var(--text); }
.scroll-cue__arrow:focus-visible { outline-offset: 2px; }
@keyframes scroll-cue { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
.menu-open .scroll-cue { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  .scroll-cue, .scroll-cue.is-hidden { transform: none; transition: opacity .3s ease, visibility 0s .3s; }
  .scroll-cue:not(.is-hidden) { transition: opacity .3s ease, visibility 0s; }
  .scroll-cue__arrow svg { animation: none; }
}
@media print { .scroll-cue { display: none; } }
.pager__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding-block: clamp(44px, 5vw, 72px) clamp(28px, 3vw, 44px);
}
.pager__link { display: inline-flex; align-items: center; gap: 20px; justify-self: start; min-height: 44px; color: var(--ink); transition: color .3s ease; }
.pager__link--next { justify-self: end; text-align: right; }
/* just the arrow: a long, thin line that steps forward when you point at it */
.pager__icon { display: block; flex: none; line-height: 0; }
.pager__icon svg { display: block; width: 64px; height: auto; overflow: visible; transition: transform .6s var(--ease-out); } /* the cover's pen-drawn arrow */
.pager__text { display: flex; flex-direction: column; gap: 4px; }
.pager__dir { font-size: 10px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--umber); }
.pager__title { font-family: var(--serif); font-size: var(--t-lead); line-height: 1.2; }
.pager__link--prev:hover svg { transform: translateX(-8px); }
.pager__link--next:hover svg { transform: translateX(8px); }
.pager__link:active { color: var(--umber); }
.pager__link--prev:active svg { transform: translateX(-12px); }
.pager__link--next:active svg { transform: translateX(12px); }
.pager__where { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pager__dots { display: flex; }
.pager__dots a { display: grid; place-items: center; width: 24px; height: 24px; }
.pager__dots a::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--umber);
  border-radius: 50%;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.pager__dots a:hover::before { background: var(--umber); transform: scale(1.25); }
.pager__dots a[aria-current="page"]::before { background: var(--ink); border-color: var(--ink); transform: scale(1.25); }
@media (max-width: 600px) {
  .pager__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; padding-block: 34px 24px; }
  .pager__where { grid-column: 1 / -1; grid-row: 1; }
  .pager__link { gap: 12px; }
  .pager__icon svg { width: 46px; }
  .pager__dir { font-size: 9.5px; letter-spacing: .2em; }
  .pager__title { font-size: 15.5px; }
}

/* ----------------------------------------------------------------- editing: one page, composed like a magazine feature
   No rules between the parts. Every part shares one measure (the same two edges) and one interval of space. The
   approach opens the page as a masthead, in the manner of the Publications page before it; the
   service stands on its own, flush left, without a box; the writers' kind words, their name over them like a running
   head, are two cards, each opening with a line of it in italics. Ink (#1c1b1a) for the words, her brown (#54453a) for what is
   secondary */
.editing {
  --ed-space: var(--section);
  --ed-gap: clamp(48px, 6.4vw, 92px);
  /* the colours the shared masthead (.pub-masthead, .pub-hero) is drawn in */
  --p-ink: var(--text);
  --p-brown: var(--umber);
  --p-ivory: var(--wall);
}
.ed-frame { max-width: calc(1040px + var(--gutter) * 2); }
.service { margin-top: var(--ed-space); }
/* each part's name, standing over it */
.ed-label { margin-bottom: clamp(28px, 3vw, 40px); }

/* the approach: laid out like the Publications masthead (see there), but on the page's own ground, without its band
   (the service below carries the page's band): her words on the left, opening with a drop capital; the marked-up
   draft through a window on the right, its top level with the page label. Where her words run longer than the draft
   is tall, the window grows to their height and the draft is trimmed a little at its right side, never stretched */
.ed-approach { --hang: 0px; --ed-art: clamp(360px, calc(30vw + 80px), 470px); }
.ed-approach .pub-masthead { --hang: inherit; }
.ed-approach .pub-masthead::before { content: none; } /* on the page's own ground: the service below has the band */
.ed-approach .pub-hero__art { align-self: stretch; display: flex; flex-direction: column; width: var(--ed-art); }
/* the draft seen through a window, as the portraits are: a slim band of her wall colour, and, the draft being a
   landscape page, a wide elliptical arch over it (a fanlight's curve rather than the portrait's half circle) so the
   whole page stays in view */
.ed-approach .ed-window {
  --arch: 50% 50% 0 0 / 46% 46% 0 0;
  padding: clamp(6px, .55vw, 8px); /* framed like every picture: see .window */
  border: 1px solid var(--greige);
  border-radius: var(--arch);
  background: var(--wall);
}
.ed-window__pane { flex: 1 0 auto; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--arch); background: var(--wall); }
.ed-window__pane picture { flex: 1 0 auto; display: block; }
.ed-approach .pub-hero__art img { height: 100%; object-fit: cover; object-position: 0 50%; }
.ed-approach .pub-hero__quote { max-width: 30em; }
/* her words open the part as the Introduction opens the book: a drop capital two lines deep, its top level with the
   capitals beside it, then the opening words in spaced capitals (the same measures as the Introduction's M) */
.ed-approach__text { max-width: 31em; margin-top: 28px; font-family: var(--serif); font-size: var(--t-body); line-height: 1.85; color: var(--text); text-wrap: pretty; }
.ed-approach__text .dropcap::first-letter { margin: .14em .06em 0 -.05em; font-size: 3.66em; line-height: .8; color: var(--text); }
@supports (-moz-appearance: none) {
  .ed-approach__text .dropcap::first-letter { margin-top: .182em; }
}
.ed-approach__text .dropcap::first-line { text-transform: none; letter-spacing: normal; font-size: 1em; }
.ed-approach__text .lead-in { text-transform: uppercase; letter-spacing: .1em; font-size: .86em; }

/* the service, "a story, closely read": the page's defining moment. A full-width band of her ivory, inside it the
   page's own margins (the inner container is a size container, so the title can be set to the width it has):
   - a small label, a fine rule running on from it across the rest of the width;
   - the title as one composition: "Developmental" on the first line, "editing" a tenth larger in italics on the
     second, stepped two grid columns in (a sixth of the width and one gap); up to 92px, scaling down with the width
     so the longest word always fits with room to spare; in the space beneath the first line and before "editing", a small upright
     annotation in her brown, its last line on "editing"'s baseline;
   - then three white cards of paper: for your manuscript, what you receive, what we explore (her description,
     divided, each detail once);
   - generous space, then the commission line: the rate on the left, the way to begin on the right, in the site's
     Read style (small capitals, a fine underline and an arrow that steps forward).
   The title's two words arrive as words, fading up from 10px; everything is visible without scripts */
.service { --p-ink: var(--text); --p-accent: var(--clay); padding-block: clamp(64px, 7vw, 112px); background: var(--wall); }
.service__inner { container-type: inline-size; }
.service__intro { display: flex; align-items: center; gap: 22px; }
.service__intro::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.service__composition {
  --ts: min(92px, 100cqi / 8);
  --indent: calc((100cqi + 24px) / 6);
  position: relative;
  margin-top: clamp(40px, 5vw, 72px);
}
.service__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--ts);
  line-height: .92;
  letter-spacing: -.026em;
  color: var(--text);
}
.service__word { display: block; }
.service__word--second { margin-left: var(--indent); margin-top: .11em; font-size: 1.1em; font-style: italic; letter-spacing: -.02em; } /* clear of the first line's descenders */
.js .service__title [data-reveal] { translate: 0 10px; }
.service__aside {
  position: absolute;
  left: 0;
  bottom: calc(var(--ts) * .2 - .61em); /* its last line on "editing"'s baseline */
  width: calc(var(--indent) - 28px);
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: 1.5;
  color: var(--umber);
}

/* the offer on three white cards of paper resting on her ivory, framed like the testimonials (.frame), each as tall
   as the tallest, lifting a little toward you when pointed at, as they do */
.service__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  margin-top: clamp(48px, 5.2vw, 76px);
}
.service__col { padding: clamp(28px, 2.8vw, 38px) clamp(26px, 2.6vw, 34px) clamp(30px, 3vw, 40px); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
@media (hover: hover) {
  .service__col:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 2px 2px rgba(60, 40, 25, .04), 0 30px 46px -28px rgba(60, 40, 25, .42); }
  .service__col:hover::after { border-color: var(--line-mid); }
}
@media (prefers-reduced-motion: reduce) { .service__col:hover { transform: none; } }
.service__key { margin-bottom: 14px; font-family: var(--sans); font-weight: 500; font-size: 10px; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; color: var(--umber); }
.service__col p,
.service__gets li { font-family: var(--serif); font-size: var(--t-lead); line-height: 1.6; color: var(--text); text-wrap: pretty; }
.service__gets li + li { margin-top: 4px; }

.service__commission {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-top: clamp(48px, 5vw, 76px);
}
.service__price { font-family: var(--serif); font-size: clamp(30px, 2.9vw, 40px); line-height: 1; letter-spacing: -.01em; font-variant-numeric: oldstyle-nums; color: var(--text); }
.service__per { margin-left: .3em; font-size: var(--t-lead); font-style: italic; letter-spacing: 0; color: var(--umber); }
.service__remote { margin-top: 10px; font-size: var(--t-small); line-height: 1.5; letter-spacing: .02em; color: var(--umber); }
/* the way to begin: in the site's Read style (see .pub-read) */
/* where the title is too small to leave room beneath its first line, the annotation follows the whole title */
@media (max-width: 1000px) {
  .service__aside { position: static; width: auto; margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .service__title [data-reveal] { translate: none; }
}

/* the kind words: two cards of paper side by side, each as tall as its own words. Each opens with a line from the
   testimonial set large in italics (the only italics in the testimonials); then the testimonial in full, upright;
   then a short, fine rule in her brown and the writer. Pointed at, a card lifts a little toward you */
.kind { padding-block: var(--section); }
.editing .testimonials { column-gap: clamp(32px, 4vw, 56px); align-items: start; }
.editing .testimonial {
  gap: 0;
  padding: clamp(28px, 2.8vw, 38px) clamp(28px, 2.8vw, 38px) clamp(26px, 2.6vw, 34px);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.editing .testimonial__pull {
  margin-bottom: 16px;
  text-indent: -.4em; /* the opening quotation mark hangs just outside the edge */
  font-family: var(--serif);
  font-style: italic;
  max-width: 12em; /* both lines break the same way: two lines each */
  font-size: var(--t-heading);
  line-height: 1.3;
  color: var(--text);
  text-wrap: balance;
}
.editing .testimonial blockquote { font-style: normal; color: var(--text); }
.editing .testimonial figcaption { margin-top: 20px; padding-top: 0; border-top: 0; }
.editing .testimonial figcaption::before { content: ""; width: 28px; height: 1px; margin-bottom: 12px; background: var(--umber); opacity: .55; }
.editing .testimonial__work { font-style: normal; }
@media (hover: hover) {
  .editing .testimonial:hover {
    transform: translateY(-6px) scale(1.012);
    box-shadow: 0 2px 2px rgba(60, 40, 25, .04), 0 30px 46px -28px rgba(60, 40, 25, .42);
  }
  .editing .testimonial:hover::after { border-color: var(--line-mid); }
}
@media (prefers-reduced-motion: reduce) {
  .editing .testimonial { transition: box-shadow .3s ease; }
  .editing .testimonial:hover { transform: none; }
}


/* tablets: every part narrows to one 580px column, so all the parts share the same two edges, and each stacks in its
   reading order: the statement, the draft, her words; the service's name and rate, then what an author receives; one
   card after the other */
@media (max-width: 900px) {
  .service__inner, .kind { max-width: calc(580px + var(--gutter) * 2); }
  /* the service: "editing" stepped in less; the annotation beneath the whole title; the three columns as groups */
  .service__composition { --indent: 9cqi; }
  .service__grid { grid-template-columns: minmax(0, 1fr); }
  /* the masthead stacks as on Publications: the draft at the right below her words, still crossing the band's edge */
  .ed-approach { --hang: 0px; }
  .ed-approach .pub-hero__art { align-self: auto; width: min(100%, 440px); }
  .ed-approach .pub-hero__art img { height: auto; }
}
@media (max-width: 600px) {
  .service__composition { --indent: 7cqi; margin-top: 32px; }
  .service__commission { flex-direction: column; align-items: flex-start; }
  .editing .testimonial { padding: 26px 22px 24px; }
}

/* ----------------------------------------------------------------- publications: a gallery of her published work
   Black and white with a little warmth, in one 1080px measure. A compact opening (her title and line on the left, her
   handwritten circle on the right like a signature, a fine ink rule beneath), then her work as one horizontal gallery
   after the "Been there, Done That" row on Maven Travel's experiences page: square panels on her ivory, about two and
   a half in view, small details at the top and the title at the foot where a caption would sit. Terracotta appears
   only as one small mark and on hover. Nothing waits on a scroll animation. */
.publications {
  --p-ink: #201e1b;
  --p-brown: var(--umber);
  --p-ivory: var(--wall);
  --p-accent: var(--clay);
  --p-space: var(--section);
  --p-gap: 24px;
  color: var(--p-ink);
}
.page-publications::after { opacity: .06; } /* the paper grain, almost imperceptible here */
.pub-frame { max-width: calc(1080px + var(--gutter) * 2); }
.publications .eyebrow,
.pub-label,
.pub-panel__honour,
.pub-panel__journal { font-family: var(--sans); font-weight: 500; font-size: 10px; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; color: var(--p-brown); }

/* the opening as a masthead: a band of her wall colour that runs on from the header (the header's hairline only
   appears once the page scrolls). The engraving is the anchor: its top level with the page label, matted in
   near-white, and the band stops a fixed distance (--hang) above its foot, so it always overlaps the edge by the
   same amount, like a plate tipped into a book. The title sits at the top, level with it; her line settles at the
   foot of the band */
.pub-masthead { --hang: clamp(48px, 4.4vw, 64px); position: relative; isolation: isolate; }
.pub-masthead::before { content: ""; position: absolute; inset: 0 0 var(--hang); z-index: -1; background: var(--p-ivory); }
.pub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 56px;
  padding-top: var(--space-open);
}
.pub-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* the title at the top, her line at the foot of the band */
  padding-bottom: calc(var(--hang) + clamp(28px, 2.8vw, 44px));
}
/* one heading: a small upright word ("The") on its own line, then the title in italics at the site's title size
   ("Latest Stories" here, "Approach" on Editing) */
.pub-hero__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-title);
  line-height: 1.05;
  letter-spacing: -.018em;
  color: var(--p-ink);
}
.pub-hero__from { display: block; margin-bottom: .14em; font-size: var(--t-heading); font-style: normal; letter-spacing: -.005em; }
.pub-hero__title em { display: block; font-style: italic; }
.pub-hero__quote {
  max-width: 24em;
  margin-top: 28px;
  font-family: var(--serif);
  font-size: var(--t-body);
  line-height: var(--t-body-lh);
  font-style: italic;
  color: var(--p-brown);
  text-wrap: pretty;
}
.pub-hero__quote p::before { content: "\201C"; }
.pub-hero__quote p::after { content: "\201D"; }
/* the engraving for Wayne C. Booth's Rhetoric of Fiction, framed like every picture on the site (see .window), square
   rather than arched, its own lettering running to its top */
.pub-hero__art {
  align-self: start;
  width: clamp(270px, 23vw, 330px);
  padding: clamp(6px, .55vw, 8px); /* framed like every picture: see .window */
  border: 1px solid var(--greige);
  background: var(--wall);
}
.pub-hero__art img { width: 100%; height: auto; }

/* sections share one interval; labels sit a short step above what they label */
.pub-section { padding-top: var(--p-space); }
.pub-section--last { padding-bottom: 80px; }
.pub-label { margin-bottom: 22px; }

/* the small date style, wherever a date appears */
.pub-date { font-family: var(--sans); font-size: var(--t-small); line-height: 1.5; letter-spacing: .02em; color: var(--p-brown); }


/* the Read link (Publications, the newsletters on About, and "Discuss your manuscript" on Editing): small capitals with
   a restrained arrow that steps forward on hover; its underline warms to terracotta */
.pub-read {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--p-ink);
}
/* only the word is underlined, so the line never runs under the arrow */
.pub-read__word {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .55em;
  text-decoration-color: rgba(32, 30, 27, .3);
  transition: text-decoration-color .3s ease;
}
.pub-read__arrow { flex: none; width: 20px; height: auto; overflow: visible; transition: transform .45s var(--ease-out); } /* the cover's pen-drawn arrow, small */
.pub-read:hover .pub-read__word { text-decoration-color: var(--p-accent); }
.pub-read:hover .pub-read__arrow { transform: translateX(4px); }
.pub-read:focus-visible { outline: 1px solid var(--p-ink); outline-offset: 6px; }

/* the gallery: a row of small literary compositions that scrolls sideways (touch, trackpad, keys, or the line beneath).
   The native scrollbar is hidden: the line below takes its place */
.pub-gallery { padding-top: var(--section); }
.pub-masthead + .pub-gallery { padding-top: 44px; } /* a short step below the plate's foot */
.pub-gallery .pub-label { margin-bottom: 20px; }
.pub-gallery__track {
  position: relative; /* keeps the links' hidden screen-reader text inside the row, so the page never widens */
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding-block: 10px 40px; /* room for a panel to lift toward you, and its shadow, without being cut off */
  margin-block: -10px -40px;
}
.pub-gallery__track::-webkit-scrollbar { display: none; }
.pub-gallery__track:focus-visible { outline: 1px solid var(--p-ink); outline-offset: 6px; }

/* one shared grid: every panel's picture, journal, title and foot sit on the same lines across the row (subgrid), so
   the titles all start together and the feet align. About three panels and part of the next are in view */
.pub-gallery__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(300px, calc((100% - 3 * var(--p-gap)) / 3.3), 340px);
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  column-gap: var(--p-gap);
}
.pub-panel {
  --pad: 24px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-row: 1 / -1;
  grid-template-rows: subgrid;
  justify-items: start;
  padding: 0 var(--pad) 18px;
  background: var(--p-ivory);
  color: var(--p-ink);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
/* "Short Division": the one ink panel, its words in her ivory */
.pub-panel--ink { background: var(--p-ink); color: var(--p-ivory); }
.pub-panel--ink .pub-panel__journal,
.pub-panel--ink .pub-date { color: rgba(244, 238, 229, .72); }
.pub-panel--ink .pub-read { color: var(--p-ivory); }
.pub-panel--ink .pub-read__word { text-decoration-color: rgba(244, 238, 229, .4); }
.pub-panel--ink .pub-read:focus-visible { outline-color: var(--p-ivory); }

/* each work opens with the picture its journal ran it under, edge to edge across the top like the plate of a book,
   all six cut to one banner shape */
.pub-panel__plate { grid-row: 1; justify-self: stretch; margin: 0 calc(-1 * var(--pad)) 22px; overflow: hidden; }
.pub-panel__plate img { display: block; width: 100%; height: auto; transition: transform 1.6s var(--ease-out); }
/* an honour is set on the picture's upper corner as a round seal, as an award sits on a book's jacket: her ivory, a
   fine terracotta ring inside its edge, the medal, then the prize with its rank in italics */
.pub-panel__honour {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--p-ivory);
  color: var(--p-ink);
  text-align: center;
  font-size: 6.5px;
  letter-spacing: .2em;
  line-height: 1.3;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6);
}
.pub-panel__honour::before { content: ""; position: absolute; inset: 3px; border: 1px solid var(--p-accent); border-radius: 50%; opacity: .5; }
.pub-panel__seal-name, .pub-panel__seal-year { margin-right: -.2em; } /* the letter-spacing's last step, so the words sit centred */
.pub-panel__seal-rank { font-family: var(--serif); font-style: italic; font-size: 13.5px; line-height: 1.1; letter-spacing: 0; text-transform: none; }
/* the medal on its ribbon, drawn in a fine terracotta line: the ribbon's two tails crossing above it, lightly filled,
   and a filled star at its centre */
.pub-panel__medal { flex: none; width: 9px; height: 11px; margin-bottom: 2px; overflow: visible; }
.pub-panel__medal path, .pub-panel__medal circle { fill: none; stroke: var(--p-accent); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.pub-panel__medal .pub-panel__star { fill: var(--p-accent); stroke: none; }
.pub-panel__medal .pub-panel__ribbon { fill: var(--p-accent); fill-opacity: .35; } /* the ribbon's two tails, crossing */
/* the journal as a small label over the title */
.pub-panel__journal { grid-row: 2; }
.pub-panel__journal em { font-style: normal; }
.pub-panel__body { grid-row: 3; align-self: start; padding-top: 12px; }
.pub-panel__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-heading);
  line-height: 1.12;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.pub-panel__title--long { font-size: calc(var(--t-heading) * .87); } /* a long title, a size down so it still reads as one shape */
/* the foot: a fine rule, the link on the left and the date on the right */
.pub-panel__foot {
  grid-row: 4;
  justify-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pub-panel--ink .pub-panel__foot { border-top-color: rgba(244, 238, 229, .18); }
.pub-panel__read .pub-read::after { content: ""; position: absolute; inset: 0; } /* the whole panel opens the work */
/* pointed at, the panel lifts a little toward you, as the testimonials do, and its picture slowly draws closer */
@media (hover: hover) {
  .pub-panel:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 2px 2px rgba(60, 40, 25, .04), 0 30px 46px -28px rgba(60, 40, 25, .42); }
  .pub-panel:hover .pub-panel__plate img { transform: scale(1.05); }
  .pub-panel:hover .pub-read__word { text-decoration-color: var(--p-accent); }
  .pub-panel:hover .pub-read__arrow { transform: translateX(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .pub-panel:hover, .pub-panel:hover .pub-panel__plate img, .pub-panel:hover .pub-read__arrow { transform: none; }
}

/* the navigation line: one continuous hairline with an equal part for each work; the part for the work in view is her
   deep brown. Each part is a generous invisible button named after its work */
.pub-line { display: flex; margin-top: 14px; }
.pub-line[hidden] { display: none; }
.pub-line__part { position: relative; flex: 1 1 0; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.pub-line__part::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(32, 30, 27, .14);
  transition: background-color .35s ease;
}
.pub-line__part:hover::before { background: rgba(32, 30, 27, .32); }
.pub-line__part[aria-current="true"]::before { background: var(--p-brown); }
.pub-line__part:focus-visible { outline: 1px solid var(--p-ink); outline-offset: -6px; }

@media (prefers-reduced-motion: reduce) {
  .pub-read__arrow, .pub-line__part::before { transition: none; }
  .pub-read:hover .pub-read__arrow { transform: none; }
}


/* tablets and phones: the opening stacks, the engraving at the right below her line, still crossing the band's edge */
@media (max-width: 900px) {
  .pub-masthead { --hang: 40px; }
  .pub-hero { grid-template-columns: minmax(0, 1fr); }
  .pub-hero__text { padding-bottom: 0; }
  .pub-hero__quote { margin-top: 20px; }
  .pub-hero__art { justify-self: end; width: min(72%, 300px); margin-top: 32px; }
}
/* phones: panels show one and a little of the next; swipe to move; the editorial blocks stack */
@media (max-width: 760px) {
  .publications { --p-gap: 20px; }
  .pub-hero__title { margin-top: 14px; }

  .pub-gallery__list { grid-auto-columns: min(78vw, 290px); }
  .pub-panel { --pad: 20px; }
  .pub-section--last { padding-bottom: 56px; }
}

/* ----------------------------------------------------------------- a passage of hers, set large on the dark band */
.quote-band .cta__inner { gap: 28px; }
.cta__quote { max-width: 31em; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.55; text-wrap: pretty; }
.cta__quote::before { content: "\201C"; }
.cta__quote::after { content: "\201D"; }

/* ----------------------------------------------------------------- note cards: numbered paper cards, one thought each */
.notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.note { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(40px, 4.4vw, 64px); }
.note__title { font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.25; }
.note__title em { font-style: italic; }
.note__text { color: var(--mute); }
.notes--four .note { min-height: clamp(220px, 18vw, 260px); }
.notes--four .note__title { margin-top: auto; }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr; } .notes--four .note { min-height: 0; } }

/* ----------------------------------------------------------------- questions: one numbered sheet */
.qa__sheet { padding: clamp(10px, 1.4vw, 18px) clamp(26px, 3.4vw, 52px); }

/* the questions as a numbered list on one sheet, ruled between */
.faq.faq--sheet { gap: 0; counter-reset: q; }
.faq.faq--sheet details { counter-increment: q; border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.faq.faq--sheet details:last-child { border-bottom: 0; }
.faq.faq--sheet details:hover, .faq.faq--sheet details[open] { background: transparent; border-color: var(--line); }
.faq.faq--sheet summary { justify-content: flex-start; gap: 0; padding: 26px 0; }
.faq.faq--sheet summary::before { content: counter(q, upper-roman) "."; flex: none; width: 52px; font-style: italic; font-size: 13.5px; color: var(--umber); }
.faq.faq--sheet summary .faq__icon { margin-left: auto; }
.faq.faq--sheet details[open] summary { font-style: italic; }
.faq.faq--sheet .faq__answer { padding: 0 48px 30px 52px; }

/* ----------------------------------------------------------------- questions (FAQ) */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 1px solid var(--greige);
  background: var(--white);
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.faq details:hover { border-color: var(--line-mid); }
.faq details[open] { background: var(--stone); border-color: var(--ink); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 44px;
  padding: 24px clamp(20px, 2.6vw, 36px);
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: var(--t-lead);
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:active { color: var(--umber); }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-mid);
  border-radius: 50%;
  transition: background-color .5s var(--ease), border-color .5s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 10px; right: 10px; top: 16px; height: 1px; background: currentColor;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq details[open] .faq__icon { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.faq details[open] .faq__icon::after { transform: rotate(0deg); opacity: 0; }
.faq__answer { max-width: 64ch; padding: 0 clamp(20px, 2.6vw, 36px) 30px; font-family: var(--serif); font-size: var(--t-body); line-height: var(--t-body-lh); color: var(--mute); }
.faq__answer p + p { margin-top: 1em; }

/* ----------------------------------------------------------------- publications */
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 64px clamp(28px, 4vw, 64px); }
.book { display: flex; flex-direction: column; gap: 24px; }
.book__cover {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  aspect-ratio: 2 / 3;
  padding: 12% 10%;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--ink);
  /* the page block showing past the cover's edge, and a soft shadow on the desk */
  --edges: 2px 2px 0 -1px var(--paper), 2px 2px 0 0 var(--greige), 4px 4px 0 -1px var(--paper), 4px 4px 0 0 var(--greige);
  box-shadow: var(--edges), 0 20px 34px -28px rgba(0, 0, 0, .45);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
/* the spine: a hinge line and a little shade where the cover folds */
.book__cover::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 14px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .09), rgba(0, 0, 0, 0) 70%);
  border-right: 1px solid rgba(0, 0, 0, .07);
  pointer-events: none;
}
.book__cover::after { content: ""; position: absolute; inset: 10px 10px 10px 22px; border: 1px solid var(--line); pointer-events: none; }
.book:hover .book__cover { transform: translateY(-6px); box-shadow: var(--edges), 0 34px 50px -38px rgba(0, 0, 0, .55); }
.book__cover--dark { background: var(--ink-2); color: var(--paper); }
.book__cover--dark::before { background: linear-gradient(90deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 70%); border-right-color: rgba(255, 255, 255, .08); }
.book__cover--dark::after { border-color: rgba(255, 255, 255, .14); }
.book__cover--wall { background: var(--wall); border-color: var(--greige); }
/* a ribbon marker hanging from the foot of the book */
.book__ribbon {
  position: absolute;
  top: 100%;
  right: 22%;
  width: 9px;
  height: 30px;
  background: var(--umber);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 80%, 0 100%);
  transition: height .8s var(--ease);
}
.book:hover .book__ribbon { height: 38px; }
.book__imprint { font-size: 9px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.book__cover-title { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.2; }
.book__cover-author { font-family: var(--serif); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; margin-right: -.3em; }
.book__emblem { width: 34%; opacity: .95; }
.book__info { display: flex; flex-direction: column; gap: 6px; }
.book__title { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.25; }
.book__meta { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--umber); }
.book__text { font-size: 16px; color: var(--mute); }
@media (max-width: 1000px) { .shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .shelf { grid-template-columns: 1fr; } .book { max-width: 360px; } }

.feature { align-items: end; row-gap: 40px; }
.feature__title { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 26px; }
.feature__title .display { font-style: italic; }
.feature__aside { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 22px; color: var(--on-dark); }
@media (max-width: 900px) { .feature__title, .feature__aside { grid-column: 1 / -1; } }

.rows { border-top: 1px solid var(--ink); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 32px;
  align-items: baseline;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.row__title { font-family: var(--serif); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.35; }
.row__title em { font-style: italic; }
.row__meta { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--umber); text-align: right; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } .row__meta { text-align: left; } }

.two-col { row-gap: 56px; }
.two-col__a { grid-column: 1 / 6; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.two-col__b { grid-column: 7 / 13; }
@media (max-width: 900px) { .two-col__a, .two-col__b { grid-column: 1 / -1; } }

/* ----------------------------------------------------------------- about */
.about-hero { padding-block: var(--space-open) var(--section); row-gap: 64px; align-items: start; }
.about-hero__portrait { grid-column: 1 / 6; position: sticky; top: calc(var(--header-compact) + 40px); }
.about-hero__text { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 34px; }
/* her experience, under her story: a fine rule and a small label, then the text */
.experience { display: flex; flex-direction: column; gap: 16px; padding-top: 30px; border-top: 1px solid var(--line); }
/* her name on one line, "Alvarez" in italics, as the other pages set their titles; never broken across two lines,
   scaling down slightly on the narrowest phones so it still fits */
.name-display { font-family: var(--serif); font-weight: 400; font-size: min(var(--t-title), 11.5vw); line-height: 1.05; letter-spacing: -.018em; white-space: nowrap; }
.name-display em { font-style: italic; }
.role-line { font-family: var(--serif); font-style: italic; font-size: var(--t-lead); color: var(--umber); }
@media (max-width: 900px) {
  .about-hero__portrait { grid-column: 1 / -1; position: static; width: min(100%, 360px); margin-inline: auto; }
  .about-hero__text { grid-column: 1 / -1; }
}

/* her reading (About, below her story): the books on craft she loves, their covers at one height in a row that scrolls
   sideways like the Publications gallery (the same track and navigation line), each a little lifted off the page like
   a book set on a shelf, its title and author beneath; then the craft newsletters she reads (see below) */
.reading {
  --p-ink: var(--text);
  --p-brown: var(--umber);
  --shelf-h: clamp(280px, 27vw, 400px);
  padding-bottom: var(--section);
}
.reading__lead { margin-bottom: clamp(24px, 2.6vw, 36px); font-family: var(--serif); font-size: var(--t-heading); line-height: 1.3; color: var(--text); text-wrap: balance; }
.reading__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  column-gap: clamp(28px, 3vw, 44px);
  padding: 10px 6px 26px 2px; /* room for each book's lift, page edges and shadow inside the scrolling row */
}
.reading__book { width: min-content; } /* the caption wraps to its cover's width */
/* each cover made into a book, as the site's first books were: a spine with a hinge line and a little shade where
   the cover folds; the block of pages showing past the cover's edge; a soft shadow on the desk; the fore-edge corners
   a touch rounded; and a ribbon marker hanging from its foot. Pointed at, the book lifts a little toward you, as the
   testimonials do, and its ribbon drops a little further */
.reading__volume {
  --edges: 2px 2px 0 -1px var(--paper), 2px 2px 0 0 var(--greige), 4px 4px 0 -1px var(--paper), 4px 4px 0 0 var(--greige);
  position: relative;
  width: fit-content;
  border-radius: 1px 3px 3px 1px;
  box-shadow: var(--edges), 0 20px 30px -22px rgba(60, 40, 25, .45);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.reading__volume img {
  width: auto;
  height: var(--shelf-h);
  max-width: none;
  border-radius: 1px 3px 3px 1px;
}
.reading__volume::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(10px, 5.5%, 16px);
  background: linear-gradient(90deg, rgba(0, 0, 0, .16), rgba(255, 255, 255, .08) 55%, rgba(0, 0, 0, 0));
  border-right: 1px solid rgba(0, 0, 0, .12);
  border-radius: 1px 0 0 1px;
  pointer-events: none;
}
.reading__ribbon {
  position: absolute;
  top: 100%;
  right: 16%;
  width: 9px;
  height: 22px;
  background: var(--umber);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  transition: height .6s var(--ease-out);
}
@media (hover: hover) {
  .reading__book:hover .reading__volume { transform: translateY(-6px) scale(1.012); box-shadow: var(--edges), 0 2px 2px rgba(60, 40, 25, .04), 0 30px 46px -28px rgba(60, 40, 25, .42); }
  .reading__book:hover .reading__ribbon { height: 30px; }
}
.reading__title { margin-top: 38px; font-family: var(--serif); font-weight: 400; font-size: var(--t-body); line-height: 1.35; color: var(--text); }
.reading__author { margin-top: 6px; font-family: var(--sans); font-weight: 500; font-size: 10px; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; color: var(--umber); }

.reading__lead--letters { margin-top: clamp(64px, 6.4vw, 96px); }
/* the newsletters: three small cards of her wall colour, each its square cover beside where it is read, its name in
   italics, its writer and the Read link; the whole card opens the newsletter, and lifts a little toward you when
   pointed at, as the testimonials do */
.reading__letters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.reading__letter {
  position: relative;
  display: grid;
  grid-template-columns: clamp(92px, 8.4vw, 120px) minmax(0, 1fr);
  column-gap: clamp(16px, 1.6vw, 22px);
  align-items: center;
  padding: clamp(16px, 1.6vw, 20px);
  background: var(--wall);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.reading__cover img { width: 100%; height: auto; }
.reading__about { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
@media (hover: hover) {
  .reading__letter:hover { transform: translateY(-6px) scale(1.012); box-shadow: 0 2px 2px rgba(60, 40, 25, .04), 0 30px 46px -28px rgba(60, 40, 25, .42); }
}
.reading__via { font-family: var(--sans); font-weight: 500; font-size: 10px; line-height: 1.5; letter-spacing: .28em; text-transform: uppercase; color: var(--umber); }
.reading__name { margin-top: 10px; font-family: var(--serif); font-weight: 400; font-size: var(--t-heading); line-height: 1.15; color: var(--text); }
.reading__by { margin-top: 2px; font-family: var(--serif); font-size: var(--t-body); line-height: 1.5; color: var(--umber); }
.reading__go { margin-top: 12px; }
.reading__go::after { content: ""; position: absolute; inset: 0; } /* the whole card opens the newsletter */
.reading__letter:hover .pub-read__word { text-decoration-color: currentColor; }
.reading__letter:hover .pub-read__arrow { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .reading__letter:hover .pub-read__arrow, .reading__letter:hover, .reading__book:hover .reading__volume { transform: none; }
  .reading__ribbon { transition: none; }
}
@media (max-width: 760px) {
  .reading { --shelf-h: 250px; }
  .reading__letters { grid-template-columns: minmax(0, 1fr); }
  .reading__letter { grid-template-columns: 96px minmax(0, 1fr); }
}

.bio-plate .plate__label { color: rgba(255, 255, 255, .62); }
.bio-plate p { font-family: var(--serif); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.65; }
.bio-plate em { font-style: italic; }

.motto { align-items: center; row-gap: 56px; }
.motto__art { grid-column: 1 / 6; display: flex; justify-content: center; }
.motto__art .artwork { width: min(100%, 420px); }
.motto__text { grid-column: 7 / 13; }
.motto__quote { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.8vw, 27px); line-height: 1.5; text-indent: -.4em; }
.motto__quote::before { content: "\201C"; }
.motto__quote::after { content: "\201D"; }
.motto .plate { display: flex; flex-direction: column; gap: 30px; background: var(--white); }
.motto .plate .plate__label { background: var(--white); }
@media (max-width: 900px) { .motto__art, .motto__text { grid-column: 1 / -1; } }

/* ----------------------------------------------------------------- contact */
/* the form is a sheet of her letter paper: her name in spaced capitals and her imprint at its head, as on the cover,
   above a fine rule */
.letterhead { margin-bottom: clamp(30px, 3.2vw, 44px); padding-bottom: clamp(22px, 2.4vw, 30px); border-bottom: 1px solid var(--line); text-align: center; }
.letterhead__name { font-family: var(--serif); font-size: min(var(--t-heading), 6.2vw); line-height: 1.1; letter-spacing: .1em; margin-right: -.1em; text-transform: uppercase; white-space: nowrap; color: var(--text); }
.letterhead__imprint { margin-top: 10px; font-family: var(--sans); font-weight: 500; font-size: 10px; line-height: 1.5; letter-spacing: .28em; margin-right: -.28em; text-transform: uppercase; color: var(--umber); }
.contact { row-gap: 56px; align-items: start; }
.contact__form { grid-column: 1 / 8; padding: clamp(32px, 4.4vw, 64px); }
.contact__aside { grid-column: 9 / 13; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 1000px) { .contact__form, .contact__aside { grid-column: 1 / -1; } }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend, .field .label {
  padding: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .3s ease;
}
.field .optional { margin-left: 6px; color: var(--umber); letter-spacing: .01em; text-transform: none; font-weight: 400; font-style: italic; font-family: var(--serif); font-size: 13px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 0 13px;
  border: 0;
  border-bottom: 1px solid var(--line-mid);
  border-radius: 0;
  background: transparent;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color .35s ease, box-shadow .35s ease, background-color .35s ease;
  appearance: none;
}
/* the message box is a sheet of ruled writing paper, with a margin line */
.field textarea {
  min-height: 232px;
  resize: vertical;
  padding: 8px 18px 8px 46px;
  border: 1px solid var(--line-mid);
  background-color: var(--white);
  background-image:
    linear-gradient(90deg, transparent 33px, rgba(84, 69, 58, .28) 33px, rgba(84, 69, 58, .28) 34px, transparent 34px),
    repeating-linear-gradient(180deg, transparent 0 31px, rgba(40, 30, 22, .12) 31px 32px);
  background-position: 0 8px;
  background-attachment: local;
  line-height: 32px;
}
.field textarea::placeholder { font-family: var(--serif); font-style: italic; }
.field input::placeholder, .field textarea::placeholder { color: #857b72; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); background-color: rgba(233, 225, 213, .25); }
.field textarea:focus { background-color: #fffefb; }
.field:focus-within > label { color: var(--umber); }

/* choice chips, in the site's button format (.button): the same height, small spaced capitals and square edge, set in
   outline; the one chosen is filled in ink, exactly as the button, so it is always clear what is chosen */
.chips__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip, .field .chip { position: relative; cursor: pointer; font-size: 11.5px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), transform .2s var(--ease);
}
.chip:hover span { background: var(--sand); }
.chip input:active + span { transform: scale(.985); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 5px; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 48px; }
.form__note { font-size: 14px; color: var(--mute); max-width: 32em; }
.form__status { margin-top: 28px; padding: 22px 24px; border: 1px solid var(--greige); background: var(--wall); font-size: 15px; }
.form__status[hidden] { display: none; }

.aside-block { display: flex; flex-direction: column; gap: 12px; padding: 30px 32px; container-type: inline-size; }
/* the questions, in the column beside the form: the numbered sheet set close, each answer opening under its question */
.aside-block--questions { gap: 4px; padding-bottom: 14px; }
.aside-block--questions .faq.faq--sheet summary { padding: 15px 0; font-size: var(--t-body); line-height: 1.4; }
.aside-block--questions .faq.faq--sheet summary::before { width: 30px; font-size: 13px; }
.aside-block--questions .faq__icon { width: 26px; height: 26px; margin-left: 12px; }
.aside-block--questions .faq__icon::before, .aside-block--questions .faq__icon::after { left: 7px; right: 7px; top: 12px; }
.aside-block--questions .faq.faq--sheet .faq__answer { padding: 0 0 18px 30px; font-size: var(--t-body); color: var(--text); }
.aside-block--questions .faq__answer a { overflow-wrap: anywhere; } /* her email address, in the narrow column, may break */
/* every line in these tiles stays whole: the text keeps its size wherever it fits and only steps down, measured from
   the tile's own width, where the column is narrow (the email address is about 15.3em long at this size, the
   LinkedIn line with its mark about 16.9em) */
.aside-block__big { font-family: var(--serif); font-size: var(--t-lead); font-size: min(var(--t-lead), 100cqi / 15.6); line-height: 1.35; white-space: nowrap; }
.aside-block p { font-family: var(--serif); font-size: var(--t-body); } /* the body serif, like the rest of the page */
.aside-block .social { font-size: min(1em, 100cqi / 18.6); white-space: nowrap; } /* the longest line, in the serif, always fits */
.aside-block__big em { font-style: italic; }

/* ----------------------------------------------------------------- legal pages */
.legal { padding-block: var(--section); }
.legal__box { padding: clamp(32px, 5vw, 80px); }
.legal__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-bottom: 40px; padding-bottom: 28px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.legal h2 { margin: 52px 0 16px; font-family: var(--serif); font-weight: 400; font-size: var(--t-heading); line-height: 1.3; }
.legal h2:first-child { margin-top: 0; } /* only when nothing comes before it */
.legal p, .legal li { font-family: var(--serif); font-size: var(--t-body); line-height: var(--t-body-lh); color: var(--text); }
.legal .legal__meta { font-family: var(--sans); font-size: var(--t-small); line-height: 1.5; color: var(--mute); } /* the dates stay small notes */
.legal p + p { margin-top: 1em; }
.legal ul { margin-top: 14px; }

/* ----------------------------------------------------------------- 404 */
.notfound { min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; padding-block: 80px; }
.notfound__inner { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.notfound img { width: clamp(180px, 22vw, 280px); }

/* ----------------------------------------------------------------- phones: everything a size smaller, so lines stay whole */
@media (max-width: 600px) {
  :root { --section: 64px; --space-open: 48px; --gap: 14px; --t-title: 30px; --t-heading: 20px; --t-lead: 16px; --t-body: 15px; }
  body { font-size: 14.5px; line-height: 1.7; }
  .eyebrow { font-size: 9.5px; letter-spacing: .2em; }
  .statement { font-size: 19px; line-height: 1.55; }
  .link { font-size: 10.5px; letter-spacing: .2em; }
  .button { min-height: 50px; padding: 0 28px; font-size: 10.5px; letter-spacing: .2em; }

  /* header */
  .wordmark { gap: 6px; }
  .wordmark__name { font-size: 15px; letter-spacing: .22em; margin-right: -.22em; }
  .wordmark__sub { font-size: 7.5px; letter-spacing: .22em; margin-right: -.22em; }
  .menu-toggle { gap: 10px; font-size: 10px; letter-spacing: .2em; }
  .menu-toggle__icon { width: 22px; }

  /* home */
  .artwork { width: min(100%, 290px); gap: 16px; }
  .artwork__frame { border-width: 5px; }
  .artwork__frame::after { inset: 10px; }
  .hero__text { gap: 20px; }
  .credits__inner { gap: 16px; padding-block: 24px; }
  .credits__group { flex-direction: column; gap: 8px; }
  /* the four journals as a neat two by two list, each with its own dot */
  .credits__list { display: grid; grid-template-columns: repeat(2, max-content); gap: 4px 22px; }
  .credits__list li { font-size: 15px; white-space: nowrap; }
  .credits__list li::before, .credits__list li + li::before { content: ""; width: 4px; height: 4px; margin: 0 10px 0 0; border-radius: 50%; background: var(--umber); }
  .credits__award { gap: 10px; padding: 8px 14px; font-size: 14.5px; }
  .door { gap: 18px; padding: 48px 30px 52px; }
  .door::after { inset: 12px; }
  .door__title { font-size: 26px; }
  .door__text { font-size: 15.5px; }
  .door__price { font-size: 17px; }
  .profile { row-gap: 40px; }
  .profile__portrait { width: min(100%, 270px); }
  .profile__text { gap: 22px; }
  .portrait { gap: 18px; }
  .portrait__name { font-size: 15px; letter-spacing: .26em; margin-right: -.26em; }
  .testimonial { gap: 20px; padding: 32px 24px; }

  /* thin shapes, drawn a little closer */
  .frame::after { inset: 6px; }
  .plate { padding: 38px 20px 30px; }
  .plate__label { left: 14px; padding: 0 10px; }
  .plate--stack { gap: 26px; }
  .badge { width: 40px; height: 40px; font-size: 14px; }

  /* inner pages */
  .page-hero__inner { gap: 14px; }
  .section-head { row-gap: 16px; margin-bottom: 36px; }
  .intro { row-gap: 18px; }
  .intro__body { gap: 28px; }
  .note { gap: 14px; padding: 30px 22px; }
  .note__title { font-size: 20px; }
  .cta__quote { font-size: 20px; }
  .qa__sheet { padding: 4px 18px; }
  .faq.faq--sheet summary { padding: 18px 0; }
  .faq.faq--sheet summary::before { width: 38px; font-size: 14px; }
  .faq.faq--sheet .faq__answer { padding: 0 0 22px 38px; }
  .faq { gap: 10px; }
  .faq summary { gap: 16px; padding: 16px; }
  .faq__icon { width: 30px; height: 30px; }
  .faq__icon::before, .faq__icon::after { left: 9px; right: 9px; top: 14px; }
  .faq__answer { padding: 0 16px 22px; }
  .shelf { justify-items: center; gap: 44px; }
  .book { width: 100%; max-width: 290px; }
  .feature { row-gap: 26px; }
  .feature__title { gap: 18px; }
  .row { gap: 4px; padding-block: 16px; }
  .row__title { font-size: 18px; }
  .two-col { row-gap: 32px; }
  .two-col__a { gap: 16px; }

  /* about */
  .about-hero { row-gap: 40px; }
  .about-hero__portrait { width: min(100%, 270px); }
  .about-hero__text { gap: 22px; }
  .bio-plate p { font-size: 18px; }
  .motto { row-gap: 36px; }
  .motto__art .artwork { width: min(100%, 280px); }
  .motto__quote { font-size: 19.5px; }
  .motto .plate { gap: 22px; }

  /* contact */
  .contact { row-gap: 32px; }
  .contact__form { padding: 30px 20px 28px; }
  .form-grid { grid-template-columns: 1fr; gap: 26px; }
  .field input, .field textarea { font-size: 16px; }
  .field textarea { min-height: 200px; padding-left: 40px; background-image: linear-gradient(90deg, transparent 27px, rgba(84, 69, 58, .28) 27px, rgba(84, 69, 58, .28) 28px, transparent 28px), repeating-linear-gradient(180deg, transparent 0 31px, rgba(40, 30, 22, .12) 31px 32px); }
  .chips__list { gap: 8px; }
  .chip, .field .chip { flex: 1 1 auto; }
  .chip, .field .chip { font-size: 10.5px; letter-spacing: .2em; }
  .chip span { width: 100%; min-height: 50px; padding: 0 14px; white-space: nowrap; }
  .form__foot { gap: 16px; margin-top: 32px; }
  .form__foot .button { width: 100%; }
  .form__note { font-size: 13.5px; }
  .aside-block { gap: 8px; padding: 24px 22px; }

  /* closing band */
  .cta__inner { gap: 24px; }

  /* footer */
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; padding-block: 12px 40px; }
  .footer-brand { gap: 16px; }
  .footer-brand p, .footer-brand__email { font-size: 14px; }
  .footer-col { gap: 12px; }
  .footer-col ul { gap: 4px; font-size: 14px; }
  .site-footer__bottom { flex-direction: column; gap: 10px; padding-block: 20px 32px; font-size: 12px; }
  .legal-links { gap: 6px 20px; }

  /* legal */
  .legal { padding-block: 36px 64px; }
  .legal__box { padding: 30px 20px; }
  .legal__meta { margin-bottom: 28px; padding-bottom: 20px; }
  .legal h2 { margin: 36px 0 12px; }
}

/* ----------------------------------------------------------------- her social links
   Each name carries its platform's small mark, drawn in the link's own colour so it changes with it */
.social { display: inline-flex; align-items: center; gap: .55em; }
.social::before {
  content: "";
  flex: none;
  width: .9em;
  height: .9em;
  background: currentColor;
  -webkit-mask: var(--mark) center / contain no-repeat;
  mask: var(--mark) center / contain no-repeat;
}
.social--instagram { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill-rule='evenodd' d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm5 3.5a4.5 4.5 0 1 1 0 9a4.5 4.5 0 0 1 0-9zm0 2a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5zm5.3-4a1.2 1.2 0 1 1 0 2.4a1.2 1.2 0 0 1 0-2.4z'/%3E%3C/svg%3E"); }
.social--x { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932zM17.61 20.644h2.039L6.486 3.24H4.298z'/%3E%3C/svg%3E"); }
.social--linkedin { --mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 1 1 0-4.125 2.062 2.062 0 0 1 0 4.125zM7.119 20.452H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E"); }

/* ----------------------------------------------------------------- motion: slow fades as you scroll */
/* uses translate (not transform) so it never fights a card's own hover movement */
.js [data-reveal] {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 1.2s var(--ease-reveal), translate 1.2s var(--ease-reveal);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

/* the motto is unveiled with a slow, soft ink sweep */
.js [data-sweep] {
  -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
  mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  transition: -webkit-mask-position 3.2s cubic-bezier(.45, .05, .35, 1), mask-position 3.2s cubic-bezier(.45, .05, .35, 1);
  transition-delay: var(--d, 0ms);
}
.js [data-sweep].is-in { -webkit-mask-position: 0 0; mask-position: 0 0; }

/* reduced motion: keep a gentle fade, drop the movement */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { translate: none; transition: opacity 1s ease; transition-delay: 0ms; }
  .js [data-sweep] { -webkit-mask-image: none; mask-image: none; }
  .button, .chip span, .book__cover, .door::after, .pager__icon svg { transition-duration: .01ms; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ----------------------------------------------------------------- print */
@media print {
  .site-header, .menu, .pager, .cta, .site-footer__bottom, .skip-link { display: none !important; }
  body { font-size: 11pt; background: #fff; }
  .on-dark { background: none; color: #000; }
  .js [data-reveal], .js [data-sweep] { opacity: 1 !important; translate: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
}
