/* ============================================================
   whitney page — natural materials + healthy home consulting
   set as a print feature: masthead, columns, plates, folios
   ============================================================ */

/* ---------- tokens ---------- */
:root {
  --paper:        #FFFFFF;
  --paper-warm:   #F7F6F2;
  --paper-deep:   #ECEAE3;
  --ink:          #121212;
  --ink-soft:     #46443E;
  --ink-faint:    #85837A;
  --clay:         #9C4A2C;
  --clay-deep:    #7C3821;
  --moss:         #2F3B2F;
  --moss-soft:    #61705C;
  --holly:        #171512;
  --brass:        #A98B4B;
  --blush:        #C98D82;
  --blush-deep:   #A66657;
  --blush-wash:   #F3EDE9;
  --line:         #E3E1D9;
  --line-strong:  #CDCABF;

  --display: 'Bodoni Moda', 'Didot', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --serif: 'Cormorant Garamond', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --laid:
    repeating-linear-gradient(0deg, rgba(18, 18, 18, .022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(18, 18, 18, .015) 0 1px, transparent 1px 5px);

  --max:    78rem;
  --narrow: 44rem;

  --s-1: .5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2.25rem;
  --s-5: 3.5rem;
  --s-6: 5rem;
  --section: clamp(4rem, 8vw, 7.5rem);

  --col-gap: clamp(1.6rem, 3.2vw, 2.75rem);
  --article: clamp(1.08rem, 1.3vw, 1.22rem);

  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background-color: var(--paper);
  background-image: var(--laid);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0; }

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

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
}

/* ---------- layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section { padding-block: var(--section); scroll-margin-top: 6rem; }

.section-warm { background-color: var(--paper-warm); }
.section-blush { background-color: var(--blush-wash); }

.section-warm,
.section-blush {
  background-image: var(--laid);
  border-block: 1px solid var(--line-strong);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: .75rem;
  top: .75rem;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  border-radius: var(--radius);
  font-size: .85rem;
}

/* ============================================================
   editorial typography
   ============================================================ */

/* section label / standfirst kicker — rules flank it inside a head */
.kicker {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: .9rem;
}
.kicker::before,
.kicker::after {
  content: "";
  width: clamp(1.75rem, 4vw, 3rem);
  height: 1px;
  flex: none;
  background: var(--brass);
  opacity: .8;
}
.kicker::before { display: none; }

.headline {
  font-size: clamp(2.05rem, 4.8vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -.018em;
}

.headline-xl {
  font-size: clamp(2.5rem, 7vw, 5.3rem);
  line-height: 1;
  letter-spacing: -.024em;
}

.h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.8rem);
  line-height: 1.08;
}

.h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  line-height: 1.2;
}

/* the standfirst under a headline */
.deck {
  font-family: var(--serif);
  font-size: clamp(1.26rem, 2.2vw, 1.75rem);
  font-style: italic;
  line-height: 1.44;
  color: var(--ink-soft);
  max-width: 48ch;
  margin-top: var(--s-3);
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 44ch;
}

/* a small figure set beside a lede paragraph, not below it */
.lede-with-figure { display: flow-root; }

.lede-figure {
  float: left;
  margin: 0 clamp(1.25rem, 3vw, 2rem) .75rem 0;
  max-width: clamp(7rem, 26vw, 11rem);
}
.lede-figure img { width: 100%; height: auto; background: var(--paper-deep); }

.byline {
  font-family: var(--sans);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: var(--s-4);
}
.byline strong { color: var(--ink); font-weight: 500; }
.byline-sep { color: var(--brass); margin-inline: .5rem; }

/* numbered running subhead — "I. The materials" */
.subhead {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.1;
  padding-bottom: var(--s-2);
  border-bottom: 3px double var(--line-strong);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.subhead-num {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--clay);
  flex: none;
  transform: translateY(-.35em);
}

/* printer's ornament divider */
.ornament {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  margin-block: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--line-strong);
}
.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
}
.ornament span {
  width: .42rem;
  height: .42rem;
  flex: none;
  background: var(--brass);
  transform: rotate(45deg);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 1rem 1.9rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--clay); border-color: var(--clay); transform: translateY(-2px); }

/* quieter second call to action, paired with a solid one */
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

/* two calls to action side by side, stacking on narrow screens */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.btn-row .btn { min-width: 0; }
.article-head .btn-row { justify-content: center; }

.arr {
  display: inline-block;
  transition: transform .35s var(--ease);
}
.btn:hover .arr,
.link-quiet:hover .arr { transform: translateX(4px); }

.link-quiet {
  color: var(--clay);
  text-decoration: none;
  border-bottom: 1px solid rgba(156, 74, 44, .38);
  padding-bottom: 1px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.link-quiet:hover { border-color: var(--clay); color: var(--clay-deep); }

/* ============================================================
   masthead — folio strip, nameplate, section nav
   ============================================================ */
.folio {
  background-color: var(--holly);
  background-image: var(--laid);
  color: rgba(250, 246, 236, .8);
  border-bottom: 1px solid rgba(169, 139, 75, .5);
}

.folio-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .9rem;
  min-height: 2.1rem;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  text-align: center;
}

.folio-mark {
  width: .3rem;
  height: .3rem;
  flex: none;
  background: var(--brass);
  transform: rotate(45deg);
}

.folio-inner .folio-aside,
.folio-inner .folio-mark { display: none; }

/* the nameplate */
.masthead {
  background: var(--paper);
  background-image: var(--laid);
  padding-block: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 1.85rem);
  text-align: center;
}

.masthead-photo {
  background-color: var(--blush-wash);
  background-image: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)), url("https://media.freewave.dev/k1d8k5/images/IMG_1646.webp");
  background-size: cover;
  background-position: 50% 60%;
}

.masthead-photo .masthead-line,
.masthead-photo .masthead-line-lower { color: var(--ink); }

.masthead-name {
  display: block;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.85rem, 10.5vw, 7.5rem);
  line-height: .94;
  letter-spacing: .045em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  margin-block: clamp(.6rem, 1.4vw, 1rem);
}

.masthead-logo {
  display: block;
  width: clamp(200px, 48vw, 450px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.masthead-line {
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.5;
}

.masthead-line-lower {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(.95rem, 1.5vw, 1.12rem);
  letter-spacing: .04em;
  text-transform: none;
  color: var(--ink-soft);
  max-width: 42ch;
  margin-inline: auto;
}

/* section nav — the rule-bounded strip under the nameplate */
.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
}

.site-nav {
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  backdrop-filter: saturate(150%) blur(10px);
  border-block: 1px solid var(--ink);
  border-bottom-width: 3px;
  border-bottom-style: double;
  border-bottom-color: var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 3.1rem;
}

.nav-mark {
  font-family: var(--display);
  font-size: clamp(.9rem, 2.2vw, 1.05rem);
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}

.nav-list {
  list-style: none;
  display: none;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 1.9rem);
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  padding-block: .3rem;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.nav-list a:hover { color: var(--ink); border-color: var(--clay); }
.nav-list a[aria-current="page"] { color: var(--ink); border-color: var(--clay); }

/* mobile nav — pure CSS via <details> */
.nav-mobile { position: relative; }

.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: .5rem .9rem;
}
.nav-mobile > summary::-webkit-details-marker { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: .85rem;
  height: .55rem;
}
.burger i {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-mobile[open] .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile[open] .burger i:nth-child(2) { opacity: 0; }
.nav-mobile[open] .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + .6rem);
  min-width: 13rem;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 18px 40px -22px rgba(35, 33, 29, .45);
  padding: .5rem;
}

.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav-panel a {
  display: block;
  padding: .6rem .75rem;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-panel a:hover { background: var(--paper-warm); color: var(--ink); }
.nav-panel a[aria-current="page"] { color: var(--ink); background: var(--paper-warm); }

/* ============================================================
   the feature — head, lead art, columns
   ============================================================ */
.article-head {
  padding-block: clamp(2.5rem, 5.5vw, 4.5rem) clamp(1.75rem, 3.5vw, 2.75rem);
  text-align: center;
}

.article-head .wrap { max-width: calc(var(--narrow) + 14rem); }

.article-head .kicker::before { display: block; }

.article-head .deck,
.article-head .lede {
  margin-inline: auto;
  text-align: center;
}

.article-head .headline,
.article-head .headline-xl { margin-inline: auto; max-width: 24ch; }

.article-head .byline {
  display: inline-block;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-strong);
}

/* full-bleed lead art */
.feature-figure {
  margin: 0;
  background: var(--paper-deep);
}

.feature-img {
  width: 100%;
  height: clamp(20rem, 54vw, 38rem);
  object-fit: cover;
  object-position: 58% 50%;
}

/* lead art whose subject sits high in the frame */
.feature-img-upper { object-position: 50% 34%; }

/* lead art whose subject sits low and centred in the frame */
.feature-img-lower { object-position: 50% 60%; }

/* lead art shown in full, uncropped, so nothing in the frame is cut off */
.feature-img-contain { object-fit: contain; }

/* homepage lead art, widened to the page width and kept at its natural proportions */
.feature-img-wide {
  display: block;
  height: auto;
  max-width: var(--max);
  margin-inline: auto;
}

.figure-caption {
  margin: .8rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-faint);
  max-width: 54ch;
}

.caption-lead {
  font-family: var(--sans);
  font-style: normal;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  margin-right: .5rem;
}

.caption-credit {
  display: block;
  margin-top: .3rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--ink-faint);
}

/* the body text, set as columns */
.article-body {
  font-family: var(--serif);
  font-size: var(--article);
  line-height: 1.62;
  color: var(--ink);
  hyphens: auto;
  text-align: left;
}

.h2 + .article-body { margin-top: var(--s-3); }

.article-body > p + p { text-indent: 1.3em; }

.article-body > .subhead-inline,
.article-body > .subhead-inline + p,
.article-body > .jump { text-indent: 0; }

.article-body > p + .subhead-inline { margin-top: var(--s-3); }

.subhead-inline {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .35rem;
}

.article-body em { color: var(--ink-soft); }

.article-body strong { font-weight: 600; }

@media (min-width: 46rem) {
  .columns-2,
  .columns-3 {
    column-gap: var(--col-gap);
    column-rule: 1px solid var(--line-strong);
    text-align: justify;
  }
  .columns-3 { column-count: 2; }
}

@media (min-width: 52rem) {
  .columns-2 { column-count: 2; }
}

@media (min-width: 66rem) {
  .columns-3 { column-count: 3; }
}

/* text set beside a sidebar rail waits for room before it splits */
@media (max-width: 74rem) {
  .article-grid .columns-2 { column-count: 1; }
}

/* opening drop cap */
.dropcap > p:first-of-type::first-letter {
  float: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 3.6em;
  line-height: .78;
  margin: .04em .09em 0 0;
  color: var(--clay);
}

/* pull quote, spanning the measure */
.pullquote {
  column-span: all;
  margin-block: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-block: clamp(1.25rem, 2.5vw, 1.85rem);
  border-block: 1px solid var(--ink);
  border-bottom-width: 3px;
  border-bottom-style: double;
  text-align: center;
}

.pullquote p {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  line-height: 1.24;
  letter-spacing: -.012em;
  color: var(--ink);
  max-width: 34ch;
  margin-inline: auto;
  text-indent: 0;
  text-align: center;
}

.pullquote-attr {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: var(--s-2);
}

/* "continued" jump line */
.jump {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: var(--s-2);
  border-top: 1px solid var(--line-strong);
  font-family: var(--sans);
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.jump a { color: var(--clay); text-decoration: none; }
.jump a:hover { color: var(--clay-deep); }

/* article with a sidebar rail */
.article-grid {
  display: grid;
  gap: clamp(2rem, 4.5vw, 3.5rem);
  align-items: start;
}

.rail { display: grid; gap: var(--s-4); }

/* boxed sidebar / "the file" */
.sidebar {
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: clamp(1.15rem, 2.4vw, 1.6rem);
}

.sidebar-head {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: .7rem;
  margin-bottom: var(--s-2);
  border-bottom: 3px double var(--line-strong);
}

.credentials {
  display: grid;
  gap: .85rem;
  margin: 0;
}

.cred { display: grid; gap: .15rem; }

.cred dt {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  overflow-wrap: anywhere;
}

.cred dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.cred-badge {
  display: block;
  width: 8rem;
  height: auto;
  margin: .6rem auto 0;
  border-radius: 50%;
  background: transparent;
}

.portrait { margin: 0; }

.portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.portrait figcaption {
  margin-top: var(--s-2);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ink-faint);
}

/* ============================================================
   plates — the material pictures
   ============================================================ */
.plates { padding-block: var(--section); }

.plate-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(8.5rem, 1fr);
  gap: clamp(.6rem, 1.6vw, 1.15rem);
  overflow-x: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.plate {
  margin: 0;
  scroll-snap-align: start;
}

.plate img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--paper-deep);
  transition: transform .8s var(--ease);
}

.plate-plaster img { object-position: 62% 28%; }
.plate-wood img    { object-position: 8% 62%; }
.plate-house img   { object-position: 50% 18%; }

.plate:hover img { transform: scale(1.03); }

/* a plate row set in black and white, below a section's column text */
.plate-row-bw { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.plate-row-bw img { filter: grayscale(1) contrast(1.03); }

.plate figcaption {
  margin-top: .7rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-style: italic;
  font-size: .98rem;
  line-height: 1.35;
  color: var(--ink-soft);
}

.plate-num {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--brass);
  margin-bottom: .2rem;
}

/* a single plate set whole, uncropped, in the flow */
.inset-figure {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 52rem;
}

.inset-figure img {
  width: 100%;
  height: auto;
  background: var(--paper-deep);
}

/* the same, for a portrait plate that shouldn't run the full measure */
.inset-figure-tall { max-width: 30rem; }

/* a single figure set below the plates needs air above it */
.plate-grid + .inset-figure,
.plate + .inset-figure { margin-top: clamp(2.75rem, 6vw, 4.5rem); }

/* one set directly under a subheading only needs a line of air */
.h3 + .inset-figure { margin-top: var(--s-3); }

/* gallery plates — the portfolio grid */
.plate-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
}

.shot { margin: 0; overflow: hidden; }

.shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.shot:hover img { transform: scale(1.03); }

.shot figcaption {
  margin-top: .8rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.shot-wide img { aspect-ratio: 16 / 9; }

/* a painting hangs whole — a pastel is never cropped to fit a grid */
.shot-art img {
  aspect-ratio: auto;
  background: var(--paper-deep);
  border: 1px solid var(--line-strong);
}
.shot-art:hover img { transform: none; }

/* one work set large, with close-ups of the surface beneath it —
   never a plate sitting in a row, which keeps its column and its top line */
:not(.plate-row) > .plate {
  max-width: 52rem;
  margin-inline: auto;
}

/* an upright work shouldn't run the whole measure */
.plate-upright { max-width: 36rem; }

:not(.plate-row) > .plate + .plate { margin-top: clamp(2.75rem, 6vw, 4.5rem); }

/* two details, side by side even on a phone — they are meant to be read together */
.plate-closeups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.6rem, 1.6vw, 1rem);
  margin-top: clamp(.8rem, 1.8vw, 1.2rem);
}

.plate-closeups img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
  border: 1px solid var(--line-strong);
}

/* a photograph of the work hung in a room, sitting under the work itself */
.work-figures .shot-art + .shot { margin-top: clamp(.8rem, 1.8vw, 1.2rem); }

/* ============================================================
   the gallery — works hung with air around them
   ============================================================ */
.gallery {
  margin-top: clamp(2rem, 4vw, 3rem);
  columns: 2;
  column-gap: clamp(1.25rem, 3vw, 2rem);
}

.gallery-item {
  display: block;
  break-inside: avoid;
  margin: 0 0 clamp(1.25rem, 3vw, 2rem);
  text-decoration: none;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  background: var(--paper-deep);
  border: 1px solid var(--line-strong);
  transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: translateY(-4px);
  box-shadow: 0 1.25rem 2.5rem rgba(18, 18, 18, .1);
}

.gallery-caption {
  display: block;
  margin-top: .7rem;
  padding-top: .5rem;
  border-top: 1px solid var(--line-strong);
}

.gallery-title {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.2;
}

.gallery-meta {
  display: block;
  margin-top: .45rem;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  transition: color .3s var(--ease);
}

.gallery-item:hover .gallery-meta,
.gallery-item:focus-visible .gallery-meta { color: var(--clay); }

/* ============================================================
   one work, shown close — details, measurements, price
   ============================================================ */
.work-slot { margin-top: clamp(3rem, 7vw, 5rem); }

/* with scripting the same panel opens over the page instead */
.has-js .work-slot { display: none; }

.work-detail {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.work-detail .shot-art img { width: 100%; }

.work-body > .h3 { margin-top: .45rem; }

.work-body > p {
  margin-top: var(--s-2);
  font-family: var(--serif);
  font-size: var(--article);
  line-height: 1.62;
  color: var(--ink-soft);
}

.work-specs { margin: var(--s-3) 0 0; }

.work-spec {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-2);
  padding: .6rem 0;
  border-bottom: 1px solid var(--line);
}

.work-spec:first-child { border-top: 1px solid var(--line-strong); }
.work-spec:last-child { border-bottom: 1px solid var(--line-strong); }

.work-spec dt {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.work-spec dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
  text-align: right;
}

.work-spec-price dd { color: var(--clay); }

.work-body > .btn { margin-top: var(--s-4); }
.work-body > .offer-note { margin-top: var(--s-2); }

/* the panel a work opens into */
.work-dialog {
  width: min(62rem, calc(100% - 1.5rem));
  max-width: min(62rem, calc(100% - 1.5rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background-color: var(--paper);
  background-image: var(--laid);
  color: var(--ink);
  overflow: hidden;
}

.work-dialog::backdrop { background: rgba(18, 18, 18, .62); }

.work-dialog-body {
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.work-dialog-close {
  position: absolute;
  top: .55rem;
  right: .55rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.work-dialog-close:hover { background: var(--clay); border-color: var(--clay); color: var(--paper); }

/* ============================================================
   spreads — a plate set against its column, turning side to side
   ============================================================ */
.spreads { display: grid; gap: clamp(3rem, 6.5vw, 5.5rem); }

.lede + .spreads,
.lede + .spread,
.spread + .offers,
.spreads + .index-block { margin-top: clamp(2.25rem, 4.5vw, 3.25rem); }

.spread {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.25rem);
  align-items: center;
}

.spread-figure { margin: 0; overflow: hidden; }

.spread-figure img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: var(--paper-deep);
  transition: transform .8s var(--ease);
}
.spread:hover .spread-figure img { transform: scale(1.03); }

/* an upright photograph keeps its own proportion */
.spread-figure-tall img { aspect-ratio: 4 / 5; }

/* a photograph framed out of a larger screenshot: the frame holds 4:5,
   the image is scaled and offset so only the chosen region shows */
.photo-crop { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-deep); }
.spread-figure .photo-crop img {
  position: absolute;
  max-width: none;
  height: auto;
  aspect-ratio: auto;
  object-fit: fill;
}
.photo-crop-gallery-show img { width: 119.86%; left: -17.57%; top: -42.7%; transform-origin: 57% 64%; }

.spread-figure.slideshow { position: relative; }
.spread-figure.slideshow img {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  animation: slideshow-fade 20s infinite;
}
.spread-figure.slideshow img:nth-child(1) { position: relative; animation-delay: 0s; }
.spread-figure.slideshow img:nth-child(2) { animation-delay: -5s; }
.spread-figure.slideshow img:nth-child(3) { animation-delay: -10s; }
.spread-figure.slideshow img:nth-child(4) { animation-delay: -15s; }

@keyframes slideshow-fade {
  0%, 100% { opacity: 0; }
  4%, 21% { opacity: 1; }
  25% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .spread-figure.slideshow img { animation: none; opacity: 0; position: absolute; }
  .spread-figure.slideshow img:nth-child(1) { opacity: 1; position: relative; }
}

.spread-figure figcaption {
  margin-top: .7rem;
  padding-top: .55rem;
  border-top: 1px solid var(--line-strong);
  font-family: var(--serif);
  font-style: italic;
  font-size: .98rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.spread-body {
  max-width: 40rem;
  border-top: 3px double var(--ink);
  padding-top: var(--s-3);
}

.spread-body h3 { margin-bottom: .7rem; }

.spread-body p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.spread-body p + p { margin-top: var(--s-2); }

.spread-body > .offer-note { margin-top: var(--s-3); }
.spread-body > .btn { margin-top: var(--s-4); }

/* the jump line keeps its own voice inside a spread */
.spread-body > .jump {
  margin-top: var(--s-3);
  font-family: var(--sans);
  font-size: .63rem;
  line-height: 1.7;
  color: var(--ink-faint);
}

/* ============================================================
   image band with a quote across it
   ============================================================ */
.band {
  position: relative;
  min-height: clamp(20rem, 46vw, 30rem);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--moss);
}

.band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(24, 34, 22, .84), rgba(24, 34, 22, .5) 62%, rgba(24, 34, 22, .24));
}

.band .wrap {
  position: relative;
  z-index: 1;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  text-align: center;
  max-width: calc(var(--narrow) + 12rem);
}

.band-kicker {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-3);
}

.band-quote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  line-height: 1.24;
  color: var(--paper);
  max-width: 30ch;
  margin: 0 auto;
}

.band-attr {
  margin-top: var(--s-3);
  font-size: .62rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, .74);
}

/* ============================================================
   letters — notes from clients, set as a letters page
   ============================================================ */
.letters { display: grid; }

.letter {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line-strong);
}

.letter-body {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
  line-height: 1.42;
  color: var(--ink);
}

.letter-sign {
  margin-top: var(--s-3);
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.letter-lead {
  border-top: 3px double var(--ink);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
}

.letter-lead .letter-body {
  font-family: var(--serif);
  font-style: normal;
  font-size: clamp(1.14rem, 1.8vw, 1.34rem);
  line-height: 1.55;
}
.letter-lead .letter-body + .letter-body { margin-top: var(--s-2); text-indent: 1.3em; }

.quote-mark {
  font-family: var(--display);
  font-size: 2.6rem;
  line-height: .5;
  color: var(--brass);
  display: block;
  margin-bottom: var(--s-2);
}

.letter-lead-inner { display: grid; gap: var(--s-3); }

.letter-person {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-3);
}

.letter-person img {
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  filter: sepia(.12) saturate(.94);
}

.letter-person span {
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  line-height: 1.5;
}

.letter-person strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--ink);
}

/* ============================================================
   numbered column lists — principles, audiences, offers
   ============================================================ */
.numbered {
  display: grid;
  gap: 0;
}

.numbered-item {
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--line-strong);
}

.numbered-num {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--clay);
  margin-bottom: .6rem;
}

.numbered-item h3,
.numbered-item h4 { margin-bottom: .45rem; }

.numbered-item h4 {
  font-size: 1.15rem;
  line-height: 1.2;
}

.numbered-item p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.audience { display: grid; }

.lede + .audience,
.lede + .numbered,
.lede + .inset-figure,
.lede + .plate,
.lede + .letters,
.lede-with-figure + .numbered,
.inset-figure + .lede,
.lede + .btn { margin-top: clamp(2rem, 4vw, 3rem); }

.audience-item {
  padding-block: clamp(1.25rem, 2.5vw, 1.75rem);
  border-top: 1px solid var(--line-strong);
}

.audience-item h4 {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.2;
  margin-bottom: .45rem;
}

.audience-item p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* the three services, set as ruled columns with plates */
.offers { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }

.offer {
  display: flex;
  flex-direction: column;
  border-top: 3px double var(--ink);
  padding-top: var(--s-3);
}

.offer-figure { margin: 0 0 var(--s-3); overflow: hidden; }

.offer-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--paper-deep);
  transition: transform .8s var(--ease);
}
.offer:hover .offer-figure img { transform: scale(1.03); }

.offer-num {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .24em;
  color: var(--clay);
  margin-bottom: .5rem;
}

.offer h3 { margin-bottom: .6rem; }

.offer p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.offer-note {
  margin-top: auto;
  padding-top: var(--s-2);
  border-top: 1px solid var(--line-strong);
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
}
.offer p + .offer-note { margin-top: var(--s-3); }

/* the specification index */
.index-block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

.index-list {
  list-style: none;
  margin: var(--s-3) 0 0;
  padding: 0;
  columns: 2;
  column-gap: var(--col-gap);
  column-rule: 1px solid var(--line);
}

.index-list li {
  break-inside: avoid;
  padding-block: .5rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* the ledger — what the work is, set beside what it isn't */
.ledger {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.ledger-col {
  border-top: 3px double var(--ink);
  padding-top: var(--s-3);
}

.ledger-head {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--s-3);
}

.ledger-col + .ledger-col .ledger-head { color: var(--ink-faint); }

/* a pair set side by side, both halves equally weighted */
.ledger-pair .ledger-col + .ledger-col .ledger-head { color: var(--clay); }

.ledger-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ledger-list li {
  padding-block: .8rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* the ladder — the offers set one rung above the next */
.ladder {
  margin-top: clamp(2.25rem, 4.5vw, 3.25rem);
  border-top: 3px double var(--ink);
  padding-top: var(--s-3);
}

.ladder-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ladder-step {
  display: grid;
  gap: .25rem;
  padding-block: .9rem;
  border-bottom: 1px solid var(--line);
}
.ladder-step:last-child { border-bottom: 0; }

.ladder-price {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
}

.ladder-name {
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.2;
}

.ladder-note {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.ladder + .spreads,
.ladder + .btn { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* an inclusions list set inside an offer */
.spread-body > .ledger-head {
  margin-top: var(--s-3);
  margin-bottom: var(--s-1);
}
.spread-body > .ledger-list + p { margin-top: var(--s-3); }

/* ---------- questions ---------- */
.accordion { margin-top: clamp(2rem, 4vw, 3rem); }

.acc { border-top: 1px solid var(--line-strong); }
.acc:last-of-type { border-bottom: 1px solid var(--line-strong); }

.acc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  padding: 1.15rem 0;
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: var(--ink);
  transition: color .3s var(--ease);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { color: var(--clay); }

.acc > summary::after {
  content: "";
  flex: none;
  width: .6rem;
  height: .6rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}
.acc[open] > summary::after { transform: rotate(225deg) translate(-2px, -2px); }

.acc-body {
  padding-bottom: 1.4rem;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ---------- flower journal ---------- */
.journal-list { display: grid; }

.journal-entry {
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-top: 1px solid var(--line-strong);
}
.journal-entry:last-child { border-bottom: 1px solid var(--line-strong); }

.journal-date {
  font-family: var(--sans);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: .6rem;
}

.journal-entry h3 { margin-bottom: .6rem; }

.journal-entry p {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 62ch;
}

/* ============================================================
   the notice — classified-style call to action
   ============================================================ */
.notice {
  padding-block: var(--section);
  background-color: var(--paper-warm);
  background-image: var(--laid);
  border-block: 1px solid var(--line-strong);
}

.notice-inner {
  max-width: calc(var(--narrow) + 4rem);
  text-align: center;
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 5px;
  background: var(--paper);
  padding: clamp(1.75rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem);
}

.notice-label {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: var(--s-2);
}

.notice-head {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.1;
}

.notice-text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: var(--s-2) auto 0;
}

.notice-inner .btn { margin-top: var(--s-4); }

/* ============================================================
   contact — the inquiry desk
   ============================================================ */
.contact-grid {
  display: grid;
  gap: clamp(2.25rem, 4.5vw, 3.5rem);
  align-items: start;
}

.contact-figure { margin: 0 0 var(--s-4); overflow: hidden; }

.contact-figure img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 20%;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.contact-list li {
  padding-block: var(--s-2);
  border-top: 1px solid var(--line-strong);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line-strong); }

.contact-label {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: .3rem;
}

.contact-list li strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
}

/* the form, set as a coupon */
.form {
  display: grid;
  gap: var(--s-2);
  background: var(--paper);
  border: 1px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 5px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-head {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
  padding-bottom: var(--s-2);
  border-bottom: 3px double var(--line-strong);
  margin-bottom: var(--s-1);
}

.field { display: grid; gap: .4rem; }

.field label {
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  padding: .8rem .9rem;
  width: 100%;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--ink-faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--clay);
}

.field-row { display: grid; gap: var(--s-2); }

.form .btn { margin-top: var(--s-1); width: 100%; }

.form-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--ink-faint);
  line-height: 1.5;
}

.form-status {
  margin-top: var(--s-2);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
  display: none;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: .6rem;
}

.slot-btn {
  padding: .6rem .7rem;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.slot-btn:hover:not(:disabled) {
  background: var(--paper-warm);
  border-color: var(--ink-soft);
}

.slot-btn.selected {
  background: var(--clay);
  color: var(--paper);
  border-color: var(--clay);
}

.slot-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   newsletter — the signup, set in the footer
   ============================================================ */
.footer-newsletter {
  padding-block: var(--s-4);
  border-bottom: 1px solid rgba(251, 248, 243, .14);
}

.newsletter-form {
  display: grid;
  gap: var(--s-2);
  max-width: 44rem;
}

.newsletter-invitation {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
  color: rgba(205, 197, 179, .82);
  margin: 0;
}

.newsletter-fields {
  display: grid;
  gap: var(--s-2);
}

.newsletter-form .field input {
  font-family: var(--sans);
  font-size: .95rem;
  color: var(--paper);
  background: rgba(251, 248, 243, .06);
  border: 1px solid rgba(251, 248, 243, .28);
  border-radius: 0;
  padding: .8rem .9rem;
  width: 100%;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.newsletter-form .field input::placeholder {
  color: rgba(205, 197, 179, .6);
}

.newsletter-form .field input:hover {
  border-color: rgba(251, 248, 243, .5);
}

.newsletter-form .field input:focus {
  outline: none;
  background: rgba(251, 248, 243, .1);
  border-color: var(--brass);
}

.newsletter-form .btn {
  width: 100%;
}

.newsletter-status {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
  display: none;
}

.newsletter-status.success {
  color: var(--paper);
  display: block;
}

.newsletter-status.error {
  color: #E8B4A0;
  display: block;
}

@media (min-width: 40rem) {
  .newsletter-fields {
    grid-template-columns: 1fr 1fr auto;
  }

  .newsletter-form .btn {
    width: auto;
  }
}

/* ============================================================
   footer — the back page
   ============================================================ */
.site-footer {
  background-color: var(--holly);
  background-image: var(--laid);
  color: #CDC5B3;
  border-top: 3px double var(--brass);
  padding-block: clamp(2.75rem, 5.5vw, 4rem) var(--s-4);
  font-size: .88rem;
}

.footer-top {
  display: grid;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(251, 248, 243, .14);
}

.footer-wordmark {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer-tag {
  max-width: 34ch;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(205, 197, 179, .82);
  margin-top: var(--s-2);
}

.footer-label {
  font-family: var(--sans);
  font-size: .58rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--s-2);
}

.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .5rem;
  font-size: .82rem;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(205, 197, 179, .82);
  transition: color .3s var(--ease);
}
.footer-nav a:hover { color: var(--paper); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-3);
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(205, 197, 179, .64);
}

.footer-bottom p:last-child {
  font-family: var(--serif);
  font-style: italic;
  font-size: .98rem;
  letter-spacing: 0;
}

.footer-bottom a { color: inherit; }

/* ============================================================
   responsive
   ============================================================ */
@media (min-width: 40rem) {
  .folio-inner .folio-aside,
  .folio-inner .folio-mark { display: inline; }

  .field-row { grid-template-columns: 1fr 1fr; }
  .form .btn { width: auto; justify-self: start; }

  .plate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shot-wide { grid-column: 1 / -1; }

  .numbered,
  .audience { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }

  .numbered-item + .numbered-item,
  .audience-item + .audience-item {
    padding-left: var(--col-gap);
    margin-left: calc(var(--col-gap) * -.5);
    border-left: 1px solid var(--line);
  }

  /* four departments: two-up on tablet, four-up on wide screens */
  .numbered-quartet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbered-quartet .numbered-item:nth-child(odd) {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
  }

  /* six sections: three-up, two rows */
  .numbered-sextet .numbered-item:nth-child(3n+1) {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
  }

  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .offers.offers-quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }

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

  .ladder-step {
    grid-template-columns: 9.5rem minmax(0, 14rem) minmax(0, 1fr);
    column-gap: var(--col-gap);
    align-items: baseline;
  }

  .index-list { columns: 3; }
  .gallery { columns: 3; }
}

@media (min-width: 56rem) {
  .nav-list { display: flex; }
  .nav-mobile { display: none; }

  .article-grid { grid-template-columns: .68fr 1.32fr; }
  .contact-grid { grid-template-columns: .82fr 1.18fr; }

  .letters { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); }
  .letter-lead { grid-column: 1 / -1; }
  .letter-lead-inner { display: grid; grid-template-columns: 1.55fr .95fr; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: center; }
  .letter + .letter:not(.letter-lead) {
    padding-left: var(--col-gap);
    margin-left: calc(var(--col-gap) * -.5);
    border-left: 1px solid var(--line);
  }
  .letter-lead + .letter {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
  }

  .plate-row {
    overflow-x: visible;
    max-width: var(--max);
    margin-inline: auto;
  }

  .spread {
    grid-template-columns: 1.04fr .96fr;
    gap: clamp(2.25rem, 5vw, 4.25rem);
  }
  .spread-flip .spread-figure { order: 2; }

  .gallery { columns: 4; }
  .work-detail { grid-template-columns: 1.05fr .95fr; }

  .numbered-quartet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .numbered-quartet .numbered-item + .numbered-item {
    padding-left: var(--col-gap);
    margin-left: calc(var(--col-gap) * -.5);
    border-left: 1px solid var(--line);
  }
  .numbered-quartet .numbered-item:first-child {
    padding-left: 0;
    margin-left: 0;
    border-left: 0;
  }

  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* ============================================================
   scroll-driven reveals (progressive enhancement, CSS only)
   ============================================================ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
