/* DapJack Media — one deliberate palette drawn from the office photographs. */

/* tokens:start — every adjustable default lives here, one declaration per line.
   scripts/apply-tuning.mjs rewrites the values between these two markers. */
:root {
  --panel: #24150f;      /* dark mahogany paneling */
  --wood: #331e15;       /* lighter desk wood */
  --leather: #5e2619;    /* oxblood chair */
  --ink: #161a25;        /* the logo's ink navy */
  --parchment: #efe4d0;  /* letter paper */
  --tweed: #c2b08f;      /* muted text, the suit */
  --ear: #e8683a;        /* the lit ear: the one accent */
  --brass: #8a6a3f;      /* rules and borders */
  --on-ear: #1a0e09;     /* dark text on the ear-orange button */
  /* Deeper panel tones for colour blocks, from the same office. */
  --brass-deep: #4a3820; /* old brass fittings */
  --forest: #1c2c25;     /* green library leather */
  --claret: #3b1a24;     /* the decanter */
  --slate: #232b36;      /* the window at dusk */
  --tobacco: #40291a;    /* the pipe tin */
  --ear-light: #f4a77f;  /* the accent, lifted for text on colour blocks */

  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

  /* Nav: scroll-linked transition (nav.js; screens wider than 640px). Tuned on a preview 2026-11-28. */
  --nav-scroll-start: 10px;
  --nav-scroll-end: 350px;
  --nav-ease: cubic-bezier(0, 0, 0.58, 1);
  --nav-smooth: 0.18;
  --nav-surface: var(--panel);
  --nav-bg-max: 0.77;
  --nav-blur-max: 9px;
  --nav-border-max: 0.5;
  --nav-height-top: 104px;
  --nav-height-compact: 57px;
  --nav-mark-top: 64px;
  --nav-mark-compact: 46px;

  /* Nav colours. */
  --nav-link: var(--parchment);
  --nav-link-compact: var(--parchment);
  --nav-link-active: var(--ear);
  --nav-link-hover: var(--parchment);
  --nav-wordmark: var(--parchment);

  /* Hero. */
  --hero-eyebrow: var(--ear-light);
  --hero-heading: var(--parchment);
  --hero-body: var(--parchment);
  --cta-bg: var(--ear);
  --cta-text: var(--on-ear);
  --hero-shade: 1;
  --home-hero-focus-x: 70%;
  --home-hero-focus-y: 30%;
  --services-hero-focus-x: 72%;
  --services-hero-focus-y: 0%;

  /* Home room tiles. */
  --room-fade: 0.2s;
  --room-products-bg: var(--panel);
  --room-services-bg: var(--brass-deep);
  --room-staff-bg: var(--leather);

  /* Products and Services colour blocks. */
  --product-1-bg: var(--wood);
  --product-2-bg: var(--leather);
  --product-3-bg: var(--ink);
  --product-4-bg: var(--forest);
  --product-5-bg: var(--claret);
  --product-6-bg: var(--brass-deep);
  --service-1-bg: var(--slate);
  --service-2-bg: var(--tobacco);
  --service-3-bg: var(--claret);
  --service-4-bg: var(--forest);
  --service-5-bg: var(--wood);
  --service-6-bg: var(--brass-deep);

  /* Staff page: the opening staff photo's focus view (about/slides.js). */
  --staff-focus-distance: 1;
  --staff-focus-size: 1;
  --staff-focus-shade: 0;

  /* Staff page: cross-fades (about/slides.js). Distances are in slots; one slot is one profile. */
  --staff-scroll-per: 1.3;
  --staff-hold: 0.1;
  --staff-fade-end: 0.6;
  --staff-fade-ease: cubic-bezier(0.3333, 0, 0.6667, 1);
  --staff-follow: 0.13;
  --staff-end-hold: 1;

  /* Staff page: the fish. */
  --fish-travel: 1;
  --fish-bob: 1;
  --fish-beat-scale: 1;
  --fish-flex-on: 1;
  --fish-flex-deg: 5deg;
  --fish-tail-deg: 16deg;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --measure: 34rem;
  color-scheme: dark;
}
/* tokens:end */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--panel);
  color: var(--parchment);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ear); }

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

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--parchment); color: var(--ink); padding: 0.5rem 1rem;
}
.skip:focus { top: 1rem; }

/* Masthead: one floating nav for every page (nav.js). Clear at the top, backed and compact once the page scrolls. */
html { scroll-padding-top: 6rem; }
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: var(--nav-pad, 20px) var(--gutter);
  /* Scroll-linked: nav.js sets these from 0 (top of page) to the compact values, frame by frame. */
  background: color-mix(in srgb, var(--nav-surface) calc(var(--nav-bg, 0) * 100%), transparent);
  box-shadow: 0 1px 0 rgba(138, 106, 63, var(--nav-border, 0));
}
@supports (backdrop-filter: blur(1px)) {
  .masthead { backdrop-filter: blur(var(--nav-blur, 0px)); -webkit-backdrop-filter: blur(var(--nav-blur, 0px)); }
}
.masthead .brand-mark { height: var(--nav-mark, 64px); }
.masthead nav a[aria-current="page"] { color: var(--nav-link-active); }

.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.brand-mark { flex: none; }
.brand-mark { height: 64px; width: auto; display: block; }
.brand-name { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--nav-wordmark); }
.brand-sub {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500; line-height: 1;
  text-transform: uppercase; letter-spacing: 0.18em; color: var(--tweed);
}
.masthead nav { display: flex; gap: clamp(0.9rem, 3vw, 2rem); font-size: 0.95rem; }
/* Link colour blends from the top colour to the compact colour with the nav's scroll progress (--nav-p). */
.masthead nav a {
  text-decoration: none; padding-block: 0.25rem;
  color: color-mix(in srgb, var(--nav-link-compact) calc(var(--nav-p, 0) * 100%), var(--nav-link));
}
.masthead nav a:hover { text-decoration: underline; color: var(--nav-link-hover); }

/* Hero: the office is the hero. */
.hero {
  position: relative;
  min-height: min(100svh, 56.25vw + 6rem);
  display: grid; align-items: end;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--home-hero-focus-x) var(--home-hero-focus-y);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: var(--hero-shade);
  background:
    linear-gradient(90deg, rgba(36, 21, 15, 0.92) 0%, rgba(36, 21, 15, 0.7) 32%, rgba(36, 21, 15, 0) 58%),
    linear-gradient(0deg, var(--panel) 0%, rgba(36, 21, 15, 0) 30%),
    linear-gradient(180deg, rgba(36, 21, 15, 0.7) 0%, rgba(36, 21, 15, 0) 18%);
}
.hero-copy {
  position: relative; z-index: 1;
  padding: 8rem var(--gutter) clamp(3rem, 8vw, 6rem);
  max-width: min(44rem, 56%);
}
.hero h1 {
  font-size: clamp(3rem, 7.4vw, 6.75rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero-copy p {
  margin-top: 1.5rem; max-width: 26rem;
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--parchment);
}
.hero-copy .button { margin-top: 2rem; }

.button {
  display: inline-block;
  background: var(--ear); color: #1a0e09;
  font: 600 1rem/1 var(--sans);
  padding: 1rem 1.5rem; border: 0; border-radius: 2px;
  text-decoration: none; cursor: pointer;
}
.button:hover { background: var(--parchment); color: var(--ink); }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* Products */
.work { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); }
.work-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; }
.work-head h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.work-head p { color: var(--tweed); font-family: var(--serif); font-style: italic; }

.products {
  list-style: none; margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--brass);
}
.product {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 2rem clamp(1.25rem, 2.5vw, 2.5rem) 2.25rem;
}
.product:nth-child(3n+1) { padding-left: 0; }
.product:not(:nth-child(3n+1)) { border-left: 1px solid var(--brass); }
.product:nth-child(n+4) { border-top: 1px solid var(--brass); }
.product h3 { font-size: clamp(2.5rem, 4.6vw, 4rem); line-height: 1; }
.product p { max-width: var(--measure); }
.product strong { font-weight: 600; color: var(--parchment); }
.product .fine { font-size: 0.9rem; color: var(--tweed); }
.product-foot {
  margin-top: auto; padding-top: 0.5rem;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem;
}
.product .status { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--ear); }
.updates {
  font-size: 0.9rem; font-weight: 500; color: var(--parchment);
  text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 0.25em;
}
.updates:hover { color: var(--ear); }


/* Get updates dialog */
.updates-dialog {
  width: min(32rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem);
  padding: 0; border: 1px solid var(--brass); border-radius: 2px;
  background: var(--ink); color: var(--parchment);
}
.updates-dialog::backdrop { background: rgba(12, 8, 6, 0.72); }
.updates-form { display: grid; grid-template-columns: 1fr; gap: 1rem; padding: clamp(1.25rem, 4vw, 2rem); max-width: none; }
.updates-form .field:nth-of-type(n) { grid-column: auto; }
.dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; }
.dialog-head h2 { font-size: clamp(1.6rem, 5vw, 2.1rem); line-height: 1.1; }
.dialog-close {
  flex: none; width: 2.5rem; height: 2.5rem; margin: -0.5rem -0.5rem 0 0;
  background: none; border: 0; color: var(--parchment); font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.dialog-close:hover { color: var(--ear); }
.dialog-lede { margin-top: -0.5rem; color: var(--tweed); font-family: var(--serif); font-style: italic; }
.updates-form textarea { min-height: 5rem; }

/* Services */
.services { padding: 0 var(--gutter) clamp(4rem, 9vw, 7.5rem); }
.services .work-head { padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid rgba(138, 106, 63, 0.5); }
.service-list {
  list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 clamp(2rem, 4vw, 3rem); padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem clamp(1.5rem, 3vw, 3rem);
}
.service h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.1; margin-bottom: 0.6rem; }
.service p { max-width: var(--measure); }

/* Studio */
.studio {
  background: var(--forest);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center; gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.studio-portrait { margin: 0; }
.studio-portrait img { width: 100%; max-width: 30rem; border: 1px solid var(--brass); }
.studio-copy { max-width: var(--measure); }
.studio-copy h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin-bottom: 1.5rem; }
.studio-copy p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.7; }
.studio-copy p + p { margin-top: 1rem; color: var(--tweed); }
.studio-link { display: inline-block; margin-top: 1.75rem; font: 600 1rem/1 var(--sans); color: var(--ear); text-decoration: underline; text-decoration-color: var(--brass); }
.studio-link:hover { color: var(--parchment); }

/* Contact */
.contact {
  background: var(--ink);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 9vw, 7rem) var(--gutter);
}
.contact-intro h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); margin-bottom: 1.25rem; }
.contact-intro p { max-width: 24rem; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; max-width: 40rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field:nth-of-type(n+3) { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; color: var(--parchment);
  background: #1f2431;
  border: 1px solid #4a5063; border-radius: 2px;
  padding: 0.75rem 0.85rem;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tweed) 50%), linear-gradient(135deg, var(--tweed) 50%, transparent 50%); background-position: calc(100% - 1.15rem) 55%, calc(100% - 0.8rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.25rem; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--ear); }
.field [aria-invalid="true"] { border-color: #ff8f6b; }
.error { color: #ffab8f; font-size: 0.9rem; min-height: 0; }
.error:empty { display: none; }
.form .button { grid-column: 1 / -1; justify-self: start; }
.form-status { grid-column: 1 / -1; font-family: var(--serif); }
.form-status:empty { display: none; }
.form-status.ok { color: var(--parchment); }
.form-status.err { color: #ffab8f; }
.form-status a { color: var(--parchment); }

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

/* Footer: the letterhead. */
.footer {
  background: var(--parchment); color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem;
  padding: 2rem var(--gutter);
  font-size: 0.95rem;
}
.footer img { height: 96px; width: auto; margin-right: auto; }
.footer a:hover { color: var(--leather); }

/* Narrow screens */
@media (max-width: 860px) {
  .products { grid-template-columns: 1fr; border-top: 0; }
  .product, .product:nth-child(n) { padding: 2rem 0; border-top: 1px solid var(--brass); border-left: 0; }
  .service-list { grid-template-columns: 1fr; }
  .studio, .contact { grid-template-columns: 1fr; }
  .studio-portrait img { max-width: 22rem; }
}

@media (max-width: 640px) {
  .masthead { --nav-p: 1; gap: 1rem; padding-block: 0.55rem; background: color-mix(in srgb, var(--nav-surface) 96%, transparent); box-shadow: 0 1px 0 rgba(138, 106, 63, 0.55); }
  .masthead nav { gap: 0.9rem; }
  .brand-mark, .masthead .brand-mark { height: 46px; }
  body { padding-top: 3.6rem; }
  html { scroll-padding-top: 4.5rem; }
  .hero { min-height: 0; display: block; }
  .hero-img { position: relative; height: auto; aspect-ratio: 1 / 1; object-position: 74% 30%; }
  .hero::before { content: none; }
  .hero-img { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
  .hero-copy { padding-top: 0; margin-top: -2.5rem; max-width: none; }
  .hero h1 { font-size: 2.9rem; }
  .form { grid-template-columns: 1fr; }
  .field:nth-of-type(n) { grid-column: auto; }
  .footer { flex-direction: column; align-items: flex-start; }
}

/* Four nav links plus the wordmark do not fit on a phone: the bust alone stands for home there. */
@media (max-width: 520px) {
  .brand-sub, .brand-name { display: none; }
  .masthead nav { gap: 0.95rem; font-size: 0.92rem; }
}
@media (max-width: 360px) {
  .masthead nav { gap: 0.7rem; font-size: 0.85rem; }
}

/* Inner pages: a plain heading under the floating nav. */
.page-head { padding: calc(7rem + 2vw) var(--gutter) 0; max-width: 60rem; }
.kicker, .room-kicker { font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ear); }
.page-head h1 { margin-top: 0.6rem; font-size: clamp(2.75rem, 6vw, 5rem); line-height: 0.98; }
.page-head > p:last-child { margin-top: 1rem; color: var(--tweed); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.plain-page .work { padding-top: clamp(2rem, 4vw, 3rem); }
.plain-page .services { padding-top: clamp(1rem, 3vw, 2rem); }
.plain-page .contact { padding-top: calc(7rem + 2vw); min-height: calc(100svh - 10rem); }
.contact h1 { font-size: clamp(2.75rem, 6vw, 5rem); margin-bottom: 1.25rem; line-height: 0.98; }

/* Home: one tile per room of the studio, each its own colour panel. */
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.room {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter);
  text-decoration: none; color: var(--parchment);
  transition: background-color var(--room-fade) ease;
}
.room h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.room p { color: var(--tweed); font-family: var(--serif); }
.room-go { margin-top: auto; padding-top: 1rem; font: 600 1rem/1 var(--sans); color: var(--ear); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 0.25em; }
.room-products { background: var(--room-products-bg); }
.room-services { background: var(--room-services-bg); }
.room-services .room-go, .room-services .room-kicker { color: var(--ear-light); }
.room-staff { background: var(--room-staff-bg); }
.room-staff .room-kicker { color: var(--parchment); }
.room:hover { color: var(--parchment); }
.room:hover .room-go { color: var(--parchment); }
.room-products:hover { background: #2e1b13; }
.room-services:hover { background: #564127; }
.room-staff:hover { background: #6b2c1d; }

.contact-band {
  background: var(--ink);
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; align-items: center;
  gap: 1.5rem clamp(2rem, 5vw, 4rem);
  padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter);
}
.contact-band h2 { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.contact-band p { max-width: 28rem; }

@media (max-width: 860px) {
  .rooms { grid-template-columns: 1fr; }
  .contact-band { grid-template-columns: 1fr; }
  .contact-band .button { justify-self: start; }
}
@media (max-width: 640px) {
  .page-head, .plain-page .contact { padding-top: 2.5rem; }
}

/* Products and Services pages: every product and service is its own colour block, like the rooms on home. */
.plain-page .work, .plain-page .services { padding-inline: 0; padding-bottom: 0; }
.plain-page .products, .plain-page .service-list {
  margin: 0; border-top: 0; gap: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.plain-page .product, .plain-page .product:nth-child(n), .plain-page .service {
  border: 0; padding: clamp(2.25rem, 4.5vw, 3.75rem) var(--gutter);
}
.plain-page .service { display: flex; flex-direction: column; gap: 0.25rem; }
.plain-page .product:nth-child(1) { background: var(--product-1-bg); }
.plain-page .product:nth-child(2) { background: var(--product-2-bg); }
.plain-page .product:nth-child(3) { background: var(--product-3-bg); }
.plain-page .product:nth-child(4) { background: var(--product-4-bg); }
.plain-page .product:nth-child(5) { background: var(--product-5-bg); }
.plain-page .product:nth-child(6) { background: var(--product-6-bg); }
.plain-page .service:nth-child(1) { background: var(--service-1-bg); }
.plain-page .service:nth-child(2) { background: var(--service-2-bg); }
.plain-page .service:nth-child(3) { background: var(--service-3-bg); }
.plain-page .product .status { color: var(--ear-light); }
.plain-page .product .fine { color: var(--tweed); }
.plain-page .service h3 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.plain-page .services > .button { margin: clamp(2.5rem, 5vw, 3.5rem) var(--gutter) clamp(4rem, 8vw, 6rem); }
.plain-page .work { padding-bottom: 0; }
@media (max-width: 860px) {
  .plain-page .products, .plain-page .service-list { grid-template-columns: 1fr; }
}

/* Services page: What we do, How we work, Examples, then the consulting form. */
.plain-page .section-title { font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.plain-page .services > .section-title { padding: clamp(2rem, 4vw, 3rem) var(--gutter) clamp(1.5rem, 3vw, 2.25rem); }
.plain-page .service:nth-child(4) { background: var(--service-4-bg); }
.plain-page .service:nth-child(5) { background: var(--service-5-bg); }
.plain-page .service:nth-child(6) { background: var(--service-6-bg); }
.plain-page .service p { color: var(--parchment); }

.how { background: var(--leather); padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.steps {
  list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.5rem, 3vw, 2.5rem);
}
.step { counter-increment: step; border-top: 1px solid var(--ear-light); padding-top: 1.25rem; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 600 0.8rem/1 var(--sans); letter-spacing: 0.14em; color: var(--ear-light); margin-bottom: 0.9rem; }
.step h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); margin-bottom: 0.6rem; }
.step p { font-family: var(--serif); }

.examples { padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter); }
.examples-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem; }
.examples-head p { color: var(--tweed); font-family: var(--serif); font-style: italic; }
.example-list {
  list-style: none; margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem);
}
.example {
  display: flex; flex-direction: column; gap: 0.6rem;
  border: 1px solid var(--brass); padding: clamp(1.5rem, 2.5vw, 2rem);
}
.example-kicker { font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ear); }
.example h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
.example p:not(.example-kicker) { color: var(--tweed); font-family: var(--serif); }
.example-go { margin-top: auto; padding-top: 0.75rem; font: 600 0.95rem/1 var(--sans); color: var(--ear); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 0.25em; }
.example-go:hover { color: var(--parchment); }

.plain-page .contact.consult { padding-top: clamp(4rem, 9vw, 7rem); min-height: 0; }

@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .steps, .example-list { grid-template-columns: 1fr; }
  .plain-page .contact.consult { padding-top: clamp(3rem, 9vw, 4rem); }
}

/* Services hero: the tailor's workshop, with the floating nav backed as on other inner pages. */
.services-hero .hero-copy { padding-top: calc(7rem + 2vw); }
.services-hero .hero-copy .kicker { margin: 0 0 0.75rem; font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.14em; color: var(--hero-eyebrow); }
/* Full-bleed under the clear nav, as on home. Pinned to the image's top edge so Jack's antlers are never
   cropped away at any window shape; at the very top they show through the clear nav. */
.services-hero .hero-img { object-position: var(--services-hero-focus-x) var(--services-hero-focus-y); }
@media (max-width: 640px) {
  .services-hero .hero-img { aspect-ratio: 4 / 3; object-position: 80% 0%; }
  .services-hero .hero-copy { padding-top: 0; }
}

/* Hero text and CTA colours (tokens above). */
.hero h1 { color: var(--hero-heading); }
.hero-copy p:not(.kicker) { color: var(--hero-body); }
.hero .button { background: var(--cta-bg); color: var(--cta-text); }
.hero .button:hover { background: var(--parchment); color: var(--ink); }
