/* ==========================================================================
   Eastern Memorials / "Hearth"
   Hand-written CSS. No framework, no build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   Base palette is the brief's. The -deep and -light members are derived
   shades of the same hues, added because the base accents fail WCAG AA as
   text surfaces. Measured ratios are noted next to each token.
   -------------------------------------------------------------------------- */
:root {
  /* surfaces */
  --linen:       #FAF6EF;   /* page surface */
  --sand:        #EFE7DA;   /* cards, mats, raised panels */
  --bark:        #33291F;   /* dark sections, primary text */
  --bark-raised: #3F3327;   /* cards on a bark surface */
  --bark-lift:   #4A3B2C;   /* hairlines on bark */

  /* text */
  --ink:         #33291F;   /* 13.19:1 on linen, 11.58:1 on sand */
  --ink-soft:    #6B5B4A;   /*  6.05:1 on linen,  5.31:1 on sand */
  --ink-invert:  #FAF6EF;   /* 13.19:1 on bark, 11.37:1 on bark-raised */
  --ink-muted:   #C8BCAC;   /*  7.61:1 on bark,  6.56:1 on bark-raised */
  --ink-faint:   #756552;   /*  5.21:1 on linen, 4.58:1 on sand (placeholders) */

  /* accents */
  --clay:        #B9714E;   /* identity accent: focus rings, rules, marks */
  --clay-deep:   #8B5337;   /*  5.75:1 on linen, 5.05:1 on sand, 6.19:1 under white */
  --clay-light:  #D99A78;   /*  5.98:1 on bark, 5.16:1 on bark-raised */
  --sage:        #7C8B6E;   /* secondary mark: dots, borders, never text bg */
  --sage-deep:   #4E5B42;   /*  6.72:1 on linen, 5.90:1 on sand, 6.72:1 under linen */

  /* scrim over photographs: near solid, keeps text at AA against the scrim */
  --scrim: rgba(51, 41, 31, 0.96);
  --scrim-solid: #33291F;

  /* type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* shape and depth: low, warm, diffuse, drawn from --bark */
  --r-lg: 12px;
  --r:    10px;
  --r-sm:  6px;
  --shadow-sm:   0 1px 2px rgba(51, 41, 31, 0.06);
  --shadow:      0 2px 4px rgba(51, 41, 31, 0.05), 0 14px 30px -18px rgba(51, 41, 31, 0.35);
  --shadow-lift: 0 3px 6px rgba(51, 41, 31, 0.06), 0 22px 44px -22px rgba(51, 41, 31, 0.42);

  /* rhythm */
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --measure: 62ch;

  /* focus, rebound per surface */
  --focus: var(--clay);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "SOFT" 60, "WONK" 0;
}

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--clay-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

button, input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

.skip {
  position: absolute;
  left: var(--gutter);
  top: -6rem;
  z-index: 100;
  background: var(--clay-deep);
  color: #fff;
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: top 160ms var(--ease);
}
.skip:focus { top: 0.75rem; color: #fff; }

.vh {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.75rem, 8vw, 6.5rem); position: relative; }

/* Soft tonal shift instead of a hard rule between bands. */
.section--sand {
  background: var(--sand);
}
.section--sand::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 44px;
  background: linear-gradient(180deg, var(--linen), var(--sand));
  pointer-events: none;
}

.section--bark {
  background: var(--bark);
  color: var(--ink-invert);
  --focus: var(--clay-light);
}
.section--bark h2, .section--bark h3 { color: var(--ink-invert); }
.section--bark a { color: var(--clay-light); }
.section--bark a:hover { color: var(--ink-invert); }

.head { max-width: 46ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.head--wide { max-width: 62ch; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 0.9rem;
}
.section--bark .eyebrow { color: var(--clay-light); }

h1 { font-size: clamp(2.4rem, 6.2vw, 4.15rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin-top: 1.25rem;
}
.section--bark .lede { color: var(--ink-muted); }

/* The spoken aside: the one place the display face turns italic. */
.aside {
  font-family: var(--serif);
  font-style: italic;
  font-variation-settings: "SOFT" 90, "WONK" 1;
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  line-height: 1.42;
  color: var(--clay-deep);
  max-width: 34ch;
}
.section--bark .aside { color: var(--clay-light); }

.note {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-soft);
  border-left: 3px solid var(--sage);
  padding-left: 1rem;
  max-width: 60ch;
}
.section--bark .note { color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
              border-color 160ms var(--ease), box-shadow 160ms var(--ease),
              transform 160ms var(--ease);
}
.btn--lg { padding: 0.92rem 1.5rem; font-size: 1rem; }

.btn--primary {
  background: var(--clay-deep);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: #77462E; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(51, 41, 31, 0.28);
}
.btn--ghost:hover { background: var(--sand); color: var(--ink); border-color: var(--clay); }
.section--bark .btn--ghost { color: var(--ink-invert); border-color: rgba(250, 246, 239, 0.34); }
.section--bark .btn--ghost:hover { background: var(--bark-raised); color: var(--ink-invert); border-color: var(--clay-light); }

.btn--quiet {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
  padding-inline: 0.6rem;
}
.btn--quiet:hover { color: var(--clay-deep); background: var(--sand); }

.btn--text {
  padding: 0;
  background: none;
  border: none;
  color: var(--clay-deep);
  font-weight: 500;
  font-size: 0.94rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}
.btn--text:hover { color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* --------------------------------------------------------------------------
   5. Photograph system
   Every slot is a matted plate: --sand mat, inset hairline, warm wash beneath.
   An unfetched slot reads as an intentional captioned plate, never a hole.
   -------------------------------------------------------------------------- */
.frame { margin: 0; }

.frame__stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  padding: 8px;
  background: var(--sand);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.section--bark .frame__stage { background: var(--bark-raised); }

.frame__plate {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 4 / 3;
  background: linear-gradient(158deg, var(--linen), var(--sand) 72%);
  box-shadow: inset 0 0 0 1px rgba(51, 41, 31, 0.10);
  display: grid;
  place-items: end start;
}
.section--bark .frame__plate {
  background: linear-gradient(158deg, var(--bark-lift), var(--bark-raised) 72%);
  box-shadow: inset 0 0 0 1px rgba(250, 246, 239, 0.09);
}

.frame--portrait .frame__plate { aspect-ratio: 4 / 5; }
.frame--wide .frame__plate     { aspect-ratio: 16 / 9; }
.frame--square .frame__plate   { aspect-ratio: 1 / 1; }
.frame--tall .frame__plate     { aspect-ratio: 3 / 4; }

.frame__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 620ms var(--ease);
}
.frame__img.is-in { opacity: 1; }

/* The caption exists for the empty state only. A loaded photo replaces it,
   so no text ever sits on raw image pixels. */
.frame__plate.has-photo .frame__ph { display: none; }

.frame__ph {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 34ch;
}
.section--bark .frame__ph { color: var(--ink-muted); }

.frame__status {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 0.3rem;
}
.section--bark .frame__status { color: var(--clay-light); }
.frame__status[hidden] { display: none; }

.credit {
  margin-top: 0.55rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.credit a { color: var(--clay-deep); }
.credit a:hover { color: var(--ink); }
.section--bark .credit { color: var(--ink-muted); }
.section--bark .credit a { color: var(--clay-light); }
.credit:empty { display: none; }

/* --------------------------------------------------------------------------
   6. Masthead
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 239, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(51, 41, 31, 0.10);
}

.masthead__in {
  /* Grid rather than flex so the tiers are decided by breakpoint, never by
     whatever happens to fit. Three states: one row, two tiers, mobile stack. */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.5rem clamp(1rem, 2.4vw, 2rem);
  padding-block: 0.65rem;
  max-width: 1264px;
}

.brand { grid-column: 1; grid-row: 1; text-decoration: none; color: var(--ink); display: block; }
.brand__name {
  display: block;
  font-family: var(--serif);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.brand__line {
  display: block;
  font-size: 0.75rem;
  color: var(--ink-soft);
  margin-top: 0.12rem;
}
.brand:hover .brand__name { color: var(--clay-deep); }

.masthead__nav {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(51, 41, 31, 0.09);
}
.masthead__nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.masthead__nav a:hover, .masthead__nav a[aria-current="page"] { color: var(--clay-deep); }
.masthead__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.3em; }

.masthead__acts { grid-column: 2; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 0.4rem; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { padding-block: clamp(2.75rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6rem); }
.hero__in {
  display: grid;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}
.hero__text { max-width: 40rem; }
.hero h1 {
  font-variation-settings: "SOFT" 100, "WONK" 1;
  letter-spacing: -0.028em;
}
.hero .lede { margin-top: 1.4rem; }
.hero .actions { margin-top: 2rem; }
.hero .aside { margin-top: 2.25rem; padding-top: 1.6rem; border-top: 1px solid rgba(185, 113, 78, 0.32); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.cards {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  grid-template-columns: minmax(0, 1fr);
}
/* Counts are explicit rather than auto-fit: four and six items should never
   leave a single orphan on the last row. */
@media (min-width: 560px) {
  .cards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 780px) {
  .cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1040px) {
  .cards--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: var(--linen);
  border: 1px solid rgba(51, 41, 31, 0.09);
  border-radius: var(--r-lg);
  padding: 0.75rem 0.75rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms var(--ease), transform 200ms var(--ease), border-color 200ms var(--ease);
}
.section--sand .card { background: var(--linen); }
.card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); border-color: rgba(185, 113, 78, 0.35); }

.card .frame__stage { padding: 0; background: none; box-shadow: none; }
.card .frame__plate { box-shadow: inset 0 0 0 1px rgba(51, 41, 31, 0.10); }
.card .credit { padding-inline: 0.65rem; font-size: 0.68rem; margin-top: 0.4rem; }

.card__body { display: flex; flex-direction: column; gap: 0.6rem; padding-inline: 0.65rem; flex: 1; }
.card__body p { font-size: 0.95rem; color: var(--ink-soft); }

.spec { display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.35rem; }
.spec__row { display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.25rem 0.9rem; align-items: baseline; }
.spec__key {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.spec__val { font-size: 0.9rem; color: var(--ink); line-height: 1.5; }

.card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.9rem 0.65rem 0;
  border-top: 1px solid rgba(51, 41, 31, 0.10);
}
.price { font-size: 0.85rem; color: var(--ink-soft); }
.price b { font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   9. Process steps
   Numbering earns its place: this is a real sequence with real handoffs.
   The tag on each step says who carries it.
   -------------------------------------------------------------------------- */
.steps { position: relative; display: grid; gap: clamp(1.75rem, 3.5vw, 2.5rem); }
.steps::before {
  content: "";
  position: absolute;
  left: 1.32rem;
  top: 1.6rem;
  bottom: 2.2rem;
  width: 2px;
  background: var(--sand);
  border-radius: 2px;
}
.section--bark .steps::before { background: var(--bark-lift); }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 2.65rem minmax(0, 1fr);
  gap: 0.35rem 1.15rem;
  align-items: start;
}
.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 50%;
  background: var(--linen);
  border: 1px solid rgba(185, 113, 78, 0.4);
  font-family: var(--serif);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--clay-deep);
  font-feature-settings: "tnum";
}
.step__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 0.85rem; min-height: 2.65rem; }
.step__body { grid-column: 2; max-width: 58ch; color: var(--ink-soft); font-size: 0.98rem; margin-top: 0.35rem; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  white-space: nowrap;
}
.tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.tag--us { background: var(--sage-deep); color: var(--linen); }
.tag--you { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(51, 41, 31, 0.34); }
.tag--you::before { background: var(--clay); }

/* --------------------------------------------------------------------------
   10. Stone grid
   -------------------------------------------------------------------------- */
.stones {
  display: grid;
  gap: clamp(1rem, 2.2vw, 1.6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 760px) {
  .stones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stone__name {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 70, "WONK" 0;
  font-size: 1.08rem;
  font-weight: 600;
  margin-top: 0.9rem;
  letter-spacing: -0.01em;
}
.stone__desc { font-size: 0.88rem; line-height: 1.55; color: var(--ink-muted); margin-top: 0.3rem; }
.stone .credit { font-size: 0.68rem; margin-top: 0.45rem; }

/* --------------------------------------------------------------------------
   11. Split strips (who we are, band, options)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.split__text { max-width: 56ch; display: flex; flex-direction: column; gap: 1.1rem; }
.split__text p { color: var(--ink-soft); }
.section--bark .split__text p { color: var(--ink-muted); }

/* Page header band on services.html */
.band { position: relative; background: var(--bark); color: var(--ink-invert); --focus: var(--clay-light); }
.band__media { position: absolute; inset: 0; overflow: hidden; }
.band__media .frame__stage { padding: 0; height: 100%; border-radius: 0; box-shadow: none; background: var(--bark); }
.band__media .frame__plate {
  aspect-ratio: auto;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(158deg, var(--bark-lift), var(--bark) 70%);
  place-items: end start;
}
.band__media .frame__ph { padding-bottom: 2.6rem; }

/* A low bark scrim, applied only once a photograph is actually in, so the
   header reads as one graded field and the type never fights raw pixels. */
.band__media .frame__plate.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(51, 41, 31, 0.88) 0%,
    rgba(51, 41, 31, 0.58) 58%,
    rgba(51, 41, 31, 0.34) 100%);
  pointer-events: none;
}
.band__media .frame__ph { color: var(--ink-muted); }
.band__media .frame__status { color: var(--clay-light); }

.band__in {
  position: relative;
  z-index: 2;
  /* extra bottom padding reserves room for the photo credit below the panel */
  padding-block: clamp(3rem, 7vw, 5.5rem) calc(clamp(3rem, 7vw, 5.5rem) + 1.75rem);
}
.band__panel {
  max-width: 46rem;
  background: var(--scrim);
  backdrop-filter: blur(3px);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}
.band__panel h1 {
  color: var(--ink-invert);
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.band__panel .lede { color: var(--ink-muted); }
.band__panel .eyebrow { color: var(--clay-light); }

.band .credit {
  position: absolute;
  right: var(--gutter);
  bottom: 0.85rem;
  z-index: 3;
  margin: 0;
  background: var(--scrim-solid);
  color: var(--ink-invert);
  padding: 0.3rem 0.6rem;
  border-radius: var(--r-sm);
  max-width: calc(100% - (2 * var(--gutter)));
}
.band .credit a { color: var(--clay-light); }
.band .credit a:hover { color: var(--ink-invert); }

/* --------------------------------------------------------------------------
   12. Option columns and details
   -------------------------------------------------------------------------- */
.options {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.options h3 { font-size: 1.12rem; margin-bottom: 0.9rem; }
.options li {
  font-size: 0.94rem;
  line-height: 1.5;
  padding: 0.45rem 0 0.45rem 1.1rem;
  position: relative;
  color: var(--ink-muted);
  border-top: 1px solid var(--bark-lift);
}
.options li:first-child { border-top: none; padding-top: 0; }
.options li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--clay-light);
}
.options li:first-child::before { top: 0.7em; }

.disclose {
  margin-top: 1.5rem;
  border: 1px solid rgba(51, 41, 31, 0.14);
  border-radius: var(--r);
  background: var(--linen);
}
.section--bark .disclose { border-color: var(--bark-lift); background: var(--bark-raised); }

.disclose > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.95rem 1.15rem;
  font-size: 0.94rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-radius: var(--r);
}
.disclose > summary::-webkit-details-marker { display: none; }
.disclose > summary::before {
  content: "";
  width: 9px; height: 9px;
  flex: none;
  border-right: 1.5px solid var(--clay-deep);
  border-bottom: 1.5px solid var(--clay-deep);
  transform: rotate(-45deg);
  transition: transform 200ms var(--ease);
}
.section--bark .disclose > summary::before { border-color: var(--clay-light); }
.disclose[open] > summary::before { transform: rotate(45deg); }
.disclose > summary:hover { color: var(--clay-deep); }
.section--bark .disclose > summary:hover { color: var(--clay-light); }

.disclose__body { padding: 0 1.15rem 1.15rem 2.85rem; font-size: 0.94rem; color: var(--ink-soft); }
.section--bark .disclose__body { color: var(--ink-muted); }
.disclose__body p + p { margin-top: 0.7rem; }

/* --------------------------------------------------------------------------
   13. Timeline: "what sets the pace"
   -------------------------------------------------------------------------- */
.pace { display: grid; gap: 1px; background: rgba(51, 41, 31, 0.13); border: 1px solid rgba(51, 41, 31, 0.13); border-radius: var(--r-lg); overflow: hidden; }
.pace__row {
  background: var(--linen);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem 2rem;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(1.1rem, 2.4vw, 1.75rem);
}
.pace__stage { display: flex; align-items: baseline; gap: 0.7rem; }
.pace__ord {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clay-deep);
  font-feature-settings: "tnum";
  flex: none;
}
.pace__title { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.pace__what { font-size: 0.95rem; color: var(--ink-soft); }
.pace__what b {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 0.25rem;
}

/* --------------------------------------------------------------------------
   14. Consultation
   -------------------------------------------------------------------------- */
.consult { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }

.facts { display: grid; gap: 1.35rem; }
.fact__key {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--clay-deep);
  margin-bottom: 0.3rem;
}
.fact__val { font-size: 1rem; line-height: 1.55; }
.fact__val a { font-weight: 500; }

.panel {
  background: var(--sand);
  border: 1px solid rgba(51, 41, 31, 0.10);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
  box-shadow: var(--shadow);
}
.section--sand .panel { background: var(--linen); }

.form { display: grid; gap: 1.15rem; margin-top: 1.4rem; }
.field { display: grid; gap: 0.4rem; }
.field__label { font-size: 0.88rem; font-weight: 500; }
.field__opt { color: var(--ink-soft); font-weight: 400; }
.field__hint { font-size: 0.82rem; color: var(--ink-soft); }

.field input, .field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  background: var(--linen);
  border: 1px solid rgba(51, 41, 31, 0.24);
  border-radius: var(--r-sm);
  font-size: 0.98rem;
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.section--sand .field input, .section--sand .field textarea { background: var(--sand); }
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); opacity: 1; }
.field input:hover, .field textarea:hover { border-color: rgba(51, 41, 31, 0.42); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] {
  border-color: var(--clay-deep);
  box-shadow: inset 0 0 0 1px var(--clay-deep);
}

.field__err {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--clay-deep);
  font-weight: 500;
  display: flex;
  gap: 0.45rem;
}
.field__err::before { content: ""; width: 3px; border-radius: 2px; background: var(--clay); flex: none; }
.field__err[hidden] { display: none; }

.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.25rem; }
.form__status { font-size: 0.88rem; color: var(--clay-deep); font-weight: 500; }
.form__status:empty { display: none; }
.form__legal { font-size: 0.82rem; color: var(--ink-soft); }

.done {
  border-left: 4px solid var(--sage);
  background: var(--linen);
  border-radius: var(--r-sm);
  padding: 1.35rem 1.4rem;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}
.section--sand .done { background: var(--sand); }
.done[hidden] { display: none; }
.done h3 {
  font-size: 1.2rem;
  color: var(--sage-deep);
  font-variation-settings: "SOFT" 80, "WONK" 0;
}
.done h3:focus-visible { outline-offset: 5px; }
.done p { font-size: 0.95rem; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.foot { background: var(--bark); color: var(--ink-muted); --focus: var(--clay-light); padding-block: clamp(2.5rem, 5vw, 3.5rem); font-size: 0.9rem; }
.foot__in { display: grid; gap: 2rem; }
.foot__brand {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 80, "WONK" 1;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink-invert);
  letter-spacing: -0.015em;
}
.foot__nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.foot a { color: var(--clay-light); }
.foot a:hover { color: var(--ink-invert); }
.foot__fine { border-top: 1px solid var(--bark-lift); padding-top: 1.4rem; font-size: 0.82rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   16. Breakpoints
   -------------------------------------------------------------------------- */
/* The tagline only shows where it fits on one line beside the actions. */
@media (max-width: 779px) {
  .brand__line { display: none; }
}

/* One row: brand, nav, actions. Only above the width where all three fit. */
@media (min-width: 1100px) {
  .masthead__in { grid-template-columns: auto minmax(0, 1fr) auto; }
  .masthead__nav {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    padding-top: 0;
    border-top: none;
  }
  .masthead__acts { grid-column: 3; grid-row: 1; }
}

/* Mobile: the nav lives in the footer, and the primary action gets its own
   full-width row so it stays a real target under the thumb. */
@media (max-width: 619px) {
  .brand__line { display: none; }
  .masthead__nav { display: none; }
  .masthead__acts { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .masthead__acts .btn--quiet { display: none; }
  .masthead__acts .btn--primary { flex: 1; }
  .brand { grid-column: 1 / -1; }
  html { scroll-padding-top: 7rem; }
}

@media (min-width: 620px) and (max-width: 1099px) {
  html { scroll-padding-top: 8rem; }
}

@media (max-width: 520px) {
  .spec__row { grid-template-columns: minmax(0, 1fr); }
  .band .credit { right: auto; left: var(--gutter); bottom: 0.7rem; }
}

@media (min-width: 1000px) {
  .step {
    grid-template-columns: 2.65rem minmax(0, 15rem) minmax(0, 1fr);
    column-gap: 1.75rem;
  }
  .step__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
    min-height: 0;
    padding-top: 0.3rem;
  }
  .step__body { grid-column: 3; grid-row: 1; margin-top: 0.4rem; max-width: 54ch; }
}

@media (min-width: 720px) {
  .pace__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: baseline; }
}

@media (min-width: 900px) {
  .hero__in { grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .consult { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  .foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; }
  .foot__fine { grid-column: 1 / -1; }
}

/* --------------------------------------------------------------------------
   17. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .frame__img { opacity: 1; }
  .card:hover, .btn--primary:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   18. Small named spacers and one-off elements
   Named rather than utility-numbered, so each one says what it is for.
   -------------------------------------------------------------------------- */
.section--sand .btn--ghost:hover { background: var(--linen); }

.cta-row { margin-top: clamp(1.75rem, 4vw, 2.5rem); }

.note--pad { margin-top: clamp(1.75rem, 4vw, 2.5rem); }
.stones--pad { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.options--pad { margin-top: clamp(0.5rem, 2vw, 1rem); }
.facts--pad { margin-top: clamp(1.75rem, 4vw, 2.25rem); }

.panel__title { font-size: 1.35rem; }
.field__hint--lead { margin-top: 0.5rem; }

.foot__tag { margin-top: 0.4rem; }
.foot__addr { margin-top: 1rem; }

/* The phone stays reachable on mobile even though the quiet button is hidden. */
.brand__phone { display: none; }
@media (max-width: 619px) {
  .brand__phone {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--clay-deep);
    text-decoration: none;
    margin-top: 0.1rem;
  }
  .brand__phone:hover { color: var(--ink); }
  .masthead__in { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { grid-column: 1; grid-row: 1; }
  .brand__phone { grid-column: 2; grid-row: 1; justify-self: end; }
  .masthead__acts { grid-column: 1 / -1; grid-row: 2; }
}
