@font-face{font-family:"Castoro Titling";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/castoro-titling-normal-400.woff2) format("woff2")}
@font-face{font-family:"Castoro";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/castoro-italic-400.woff2) format("woff2")}
@font-face{font-family:"Castoro";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/castoro-normal-400.woff2) format("woff2")}
@font-face{font-family:"Source Sans 3";font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/source-sans-normal-400_700.woff2) format("woff2")}
@font-face{font-family:"Noto Music";font-style:normal;font-weight:400;font-display:block;src:url(/fonts/noto-music-clef.woff2) format("woff2")}
/* Piper Mike v2 look. Light theme: mist ground, pine and deep blue cloth, one red thread.
   The cloth is COUNTY MAYO, the green tartan Mike wears (he named it on 13 Nov 2026): the sett K8 G32 DB22 DR32 G50 LY4,
   pivot blue 6, from the tartan registers (Scottish Register ref 2867, no restriction listed), drawn at half the thread count.
   Layer order in the hero, back to front: threads, ridge, name, Mike, mist, copy. */
:root {
  --mist: #f2f4f7; --paper: #fbfcfd; --cool: #e6ebf2;
  --ink: #10151c; --soft: #46515f; --line: rgb(16 21 28 / .14);
  --pine: #0d3f27; --pine-deep: #082a1a; --blue: #172c78; --sky: #b5bbde;
  --t-g: #1f5a36; --t-k: #14181c; --t-b: #1c2a66; --t-r: #8f1d24; --t-y: #d9a520; --t-a: #3d7fb0;
  --red: #c4162c;
  --caps: "Castoro Titling", "Castoro", Georgia, serif;
  --display: "Castoro", "Iowan Old Style", Georgia, serif;
  --text: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 4.6vw, 88px);
  --top: 72px;
  --u: 1px;
  --sett: var(--t-k) calc(var(--u)*0) calc(var(--u)*4), var(--t-g) calc(var(--u)*4) calc(var(--u)*20), var(--t-b) calc(var(--u)*20) calc(var(--u)*31), var(--t-r) calc(var(--u)*31) calc(var(--u)*47), var(--t-g) calc(var(--u)*47) calc(var(--u)*72), var(--t-y) calc(var(--u)*72) calc(var(--u)*74), var(--t-a) calc(var(--u)*74) calc(var(--u)*77), var(--t-y) calc(var(--u)*77) calc(var(--u)*79), var(--t-g) calc(var(--u)*79) calc(var(--u)*104), var(--t-r) calc(var(--u)*104) calc(var(--u)*120), var(--t-b) calc(var(--u)*120) calc(var(--u)*131), var(--t-g) calc(var(--u)*131) calc(var(--u)*147);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 400 1.125rem/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; text-wrap: balance; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* The woven cloth, used as a band. Warp and weft are the same sett, crossed at half strength like twill. */
.tartan { position: relative; background: repeating-linear-gradient(90deg, var(--sett)); }
.tartan::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, var(--sett)); opacity: .5; }
.tartan::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgb(255 255 255 / .2) 0 1px, transparent 1px 3px); }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--top); display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); padding: 0 var(--pad); transition: background-color 300ms ease, box-shadow 300ms ease; }
.top.is-stuck { background: rgb(242 244 247 / .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.mark { font: 400 1.5rem/1 var(--display); letter-spacing: -.01em; text-decoration: none; margin-right: auto; }
.nav { display: none; gap: clamp(18px, 2vw, 34px); font-weight: 600; font-size: 1rem; }
.nav a { text-decoration: none; padding: 12px 0; background: linear-gradient(var(--red), var(--red)) 0 calc(100% - 8px) / 0 2px no-repeat; transition: background-size 320ms var(--ease); }
.round { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: rgb(251 252 253 / .7); color: var(--ink); cursor: pointer; transition: transform 160ms var(--ease), background-color 200ms ease, border-color 200ms ease; }
.round.is-on { background: var(--pine); color: var(--paper); border-color: var(--pine); }
.round:active, .btn:active { transform: scale(.97); }
.tel { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; white-space: nowrap; min-height: 46px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 54px; padding: 0 1.7rem; background: var(--pine); color: var(--paper); font: 700 1.0625rem/1 var(--text); text-decoration: none; white-space: nowrap; border: 0; border-radius: 2px; position: relative; overflow: hidden; transition: transform 160ms var(--ease), background-color 220ms ease; }
.btn::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 380ms var(--ease); }
.btn-sm { min-height: 46px; padding: 0 1.2rem; font-size: 1rem; }
.ghost { display: inline-flex; align-items: center; gap: .5em; min-height: 54px; font-weight: 700; text-decoration: none; background: linear-gradient(var(--ink), var(--ink)) 0 calc(100% - 12px) / 100% 2px no-repeat; }
.top .btn, .top .tel span:not(.ic) { display: none; }
@media (max-width: 419px) { .top .tel { width: 46px; justify-content: center; border-radius: 50%; border: 1px solid var(--line); background: rgb(251 252 253 / .7); } }
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { background-size: 100% 2px; }
  .btn:hover { background: var(--pine-deep); } .btn:hover::before { transform: scaleX(1); }
  .round:hover { border-color: var(--ink); }
  .ghost:hover { background-image: linear-gradient(var(--red), var(--red)); }
}
@media (min-width: 420px) { .top .tel span:not(.ic) { display: inline; } }
@media (min-width: 1000px) { .nav { display: flex; } .top .btn { display: inline-flex; } .menu { display: none; } :root { --top: 84px; } .mark { font-size: 1.7rem; } }

/* Edge furniture: nine chanter notes for progress */
.notes { position: fixed; z-index: 40; left: calc(var(--pad) / 2 - 4px); top: 50%; translate: 0 -50%; display: none; flex-direction: column; gap: 13px; pointer-events: none; }
.notes i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background-color 300ms ease, transform 300ms var(--ease); }
.notes i.is-on { background: var(--ink); } .notes i.is-now { background: var(--red); border-color: var(--red); transform: scale(1.35); }
@media (min-width: 1000px) { .notes { display: flex; } }

/* HERO */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate; }
.h-threads { position: absolute; inset: 0; z-index: 0; }
.h-threads i { position: absolute; top: 0; bottom: 0; width: 1px; opacity: .2; transform-origin: top; }
.h-threads b { position: absolute; left: 0; right: 0; height: 1px; opacity: .3; transform-origin: left; }
.h-ridge { position: absolute; z-index: 1; left: -30%; right: -30%; top: 27%; height: 44%; -webkit-mask-image: linear-gradient(#0000, #000 22%, #000 62%, #0000 96%); mask-image: linear-gradient(#0000, #000 22%, #000 62%, #0000 96%); }
.h-ridge picture { height: 100%; }
.h-ridge img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; mix-blend-mode: multiply; }
.h-name { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--top) + 1.5svh); margin: 0; text-align: center; font: 400 31vw/.86 var(--caps); letter-spacing: -.02em; color: var(--pine); white-space: nowrap; user-select: none; }
.h-name span { display: block; }
.h-name .ch { display: inline-block; }
.h-mike { position: absolute; z-index: 3; left: 50%; bottom: 206px; height: min(56svh, 100svh - 206px - 196px); aspect-ratio: 1536 / 4032; translate: -52% 0; transform-origin: 50% 96%; }
.h-lawn { position: absolute; left: -48.44%; width: 196.88%; top: 80.6%; height: 19.4%;
  -webkit-mask-image: radial-gradient(ellipse 48% 60% at 52% 58%, #000 16%, #0000 100%); mask-image: radial-gradient(ellipse 48% 60% at 52% 58%, #000 16%, #0000 100%); }
.h-lawn picture, .h-lawn img { width: 100%; height: 100%; }
.h-mike > picture { position: relative; display: block; height: 100%; }
.h-mike img { position: relative; width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
.h-shadow { display: none; position: absolute; z-index: 2; left: 50%; bottom: calc(17svh - 2.2svh); width: 34svh; height: 5svh; translate: -46% 0; background: radial-gradient(closest-side, rgb(16 21 28 / .34), transparent); filter: blur(6px); }
.h-mist { position: absolute; z-index: 2; inset: auto 0 0 0; height: 330px; background: linear-gradient(#0000, rgb(242 244 247 / .9) 34%, var(--mist) 62%); pointer-events: none; }
.h-copy { position: absolute; z-index: 5; left: var(--pad); right: var(--pad); bottom: clamp(18px, 3.2svh, 44px); }
.h-copy h1 { font-size: clamp(1.75rem, 8.1vw, 2.5rem); line-height: 1.06; }
.h-copy p { margin-top: 10px; max-width: 44ch; color: var(--soft); font-size: 1.0625rem; line-height: 1.5; }
.h-act { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.h-pause { position: absolute; z-index: 6; right: var(--pad); bottom: clamp(18px, 3.2svh, 44px); }
@media (max-width: 999px) { .h-pause { display: none; } }
@media (min-width: 700px) and (max-width: 999px) {
  .h-name { font-size: 24vw; } .h-mike { height: 62svh; bottom: 150px; }
}
@media (min-width: 1000px) {
  .h-ridge { top: 9%; height: 64%; left: 0; right: 0; }
  .h-name { top: 17svh; font-size: min(14.2vw, 38svh); line-height: 1; display: grid; grid-template-columns: 1fr 19svh 1fr; }
  .h-name span:first-child { text-align: right; grid-column: 1; } .h-name span:last-child { text-align: left; grid-column: 3; }
  .h-mike { height: 91svh; bottom: 1svh; left: 50%; }
  .h-mist { z-index: 2; height: 30svh; background: linear-gradient(#0000, var(--mist) 80%); }

  .h-copy { right: auto; bottom: clamp(36px, 7svh, 84px); max-width: 30vw; }
  .h-copy h1 { font-size: clamp(2.6rem, 3.5vw, 4.4rem); max-width: 11ch; }
  .h-copy p { font-size: 1.1875rem; margin-top: 16px; }
  .h-act { margin-top: 26px; }
}

/* STATEMENT */
.say { position: relative; padding: clamp(96px, 18svh, 220px) var(--pad) clamp(88px, 14svh, 180px); background: var(--mist); }
.say-in { max-width: 1280px; margin: 0 auto; display: grid; gap: clamp(40px, 6vw, 96px); }
.say blockquote { margin: 0; font: 400 clamp(2rem, 4.5vw, 4.5rem)/1.12 var(--display); letter-spacing: -.015em; text-wrap: pretty; }
.say blockquote em { font-style: italic; color: var(--pine); }
.say .w { display: inline-block; }
.say-facts { display: grid; gap: 28px; }
.fact b { display: block; font: 400 clamp(2.6rem, 5vw, 4.6rem)/1 var(--caps); color: var(--pine); }
.fact span { display: block; margin-top: 8px; max-width: 26ch; color: var(--soft); }
.thread { position: absolute; left: var(--pad); top: 0; width: 2px; height: 100%; background: var(--red); transform-origin: top; }
.thread::after { content: ""; position: absolute; left: -4px; bottom: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
@media (min-width: 900px) {
  .say-in { grid-template-columns: 8fr 3fr; align-items: end; padding-left: clamp(40px, 6vw, 120px); }
  .thread { left: calc(var(--pad) + clamp(0px, 2vw, 40px)); }
}
@media (max-width: 899px) { .say { padding-left: calc(var(--pad) + 22px); } .say-facts { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* CHAPTER: funerals. Cool, still light. */
.chap { position: relative; background: var(--cool); overflow: hidden; }
.chap-band { position: relative; height: 22px; --u: .5px; }
.chap-in { position: relative; min-height: 100svh; display: grid; align-items: center; gap: 28px; padding: clamp(56px, 9svh, 110px) var(--pad); }
.chap-ghost { position: absolute; z-index: 0; left: 0; top: 50%; translate: 0 -54%; white-space: nowrap; font: italic 400 clamp(6rem, 21vw, 26rem)/1 var(--display); color: var(--blue); opacity: .07; pointer-events: none; }
.chap-photo { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; background: #d9dfe8; }
.chap-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.chap-copy { position: relative; z-index: 2; }
.chap-copy h2 { font-size: clamp(2.5rem, 5.6vw, 6rem); line-height: .98; }
.chap-copy h2 em { font-style: italic; color: var(--blue); }
.chap-copy > p { margin-top: 22px; max-width: 40ch; color: var(--soft); font-size: 1.1875rem; }
.tune { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 4px; max-width: 30rem; }
.tune small { font: 400 .8125rem/1 var(--caps); letter-spacing: .14em; color: var(--soft); }
.tune em { font-style: normal; color: var(--soft); font-size: 1.0625rem; margin-top: 6px; }
.tune strong { font: italic 400 clamp(1.7rem, 2.6vw, 2.6rem)/1.1 var(--display); }
.chap-act { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
@media (min-width: 900px) {
  .chap-in { grid-template-columns: 43vw minmax(0, 1fr); gap: clamp(56px, 7vw, 140px); padding: 0 clamp(56px, 9vw, 180px) 0 0; }
  .chap-photo { aspect-ratio: auto; height: 100svh; min-height: 640px; }
  .chap-copy { padding: 12svh 0; }
  .chap-ghost { left: 30vw; }
}

/* Phone action bar */
.bar { position: fixed; inset: auto 0 0 0; z-index: 55; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); transform: translateY(105%); transition: transform 420ms var(--ease); }
.bar.is-up { transform: none; }
.bar a { display: flex; align-items: center; justify-content: center; gap: .45em; min-height: 58px; font-weight: 700; text-decoration: none; border-right: 1px solid var(--line); }
.bar a:last-child { background: var(--pine); color: var(--paper); border: 0; }
@media (min-width: 1000px) { .bar { display: none; } }

.foot-band { position: relative; height: 64px; --u: 1.4px; }
.end { padding: 40px var(--pad) 120px; color: var(--soft); font-size: 1rem; }

/* Piper Mike v2, everything after the approved look (v2/look/look.css is concatenated before this file by build.mjs).
   Light theme, one accent system: pine buttons, blue italics in the cool sections, one red thread. Radius 2px. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
:root { --warm: #f6f2ec; --formal: #e7ebf3; --wrap: 1320px; }
.ic { display: inline-flex; } .ic svg { width: 100%; height: 100%; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--paper); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.band { height: 22px; --u: .5px; }
h2 em, h1 em { font-style: italic; }
main > section[id] { scroll-margin-top: var(--top); }

/* header extras: sound, menu, phone panel */
[data-hear] .ic + .ic, .menu .ic + .ic { display: none; }
.nav-open .menu .ic:first-child { display: none; } .nav-open .menu .ic + .ic { display: inline-flex; }
.nav a[aria-current] { background-size: 100% 2px; }
.nav-book, .nav-tel { display: none; }
@media (max-width: 999px) {
  .nav { display: flex; position: fixed; inset: var(--top) 0 0 0; z-index: 59; flex-direction: column; gap: 4px; padding: 20px var(--pad) 40px; background: var(--mist); overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 240ms ease, transform 320ms var(--ease), visibility 0s 320ms; }
  .nav-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav > a { font: 400 2.1rem/1.15 var(--display); padding: 12px 0; border-bottom: 1px solid var(--line); background: none; }
  .nav .nav-book { display: flex; margin-top: 22px; background: var(--pine); color: var(--paper); font: 700 1.125rem/1 var(--text); min-height: 58px; align-items: center; justify-content: center; border: 0; }
  .nav .nav-tel { display: flex; font: 700 1.125rem/1 var(--text); min-height: 52px; align-items: center; border: 0; }
  .nav-open .top { background: var(--mist); }
  .nav-open body, html.nav-open { overflow: hidden; }
}
/* the tune credit: a small quiet caption tucked under the speaker button (site.js places it), never a bar across the page */
.hear-note { position: fixed; z-index: 70; left: 50%; top: calc(var(--top) + 2px); translate: -50% 0; margin: 0; padding: 5px 10px; width: max-content; max-width: min(250px, calc(100vw - 24px)); background: var(--paper); color: var(--ink); border: 1px solid var(--line); font-size: .75rem; line-height: 1.35; text-align: center; border-radius: 2px; box-shadow: 0 2px 10px rgba(20, 24, 28, .08); }
.hear-note[hidden] { display: none; }

/* chapter tints */
.chap--still { background: var(--cool); }
.tune em { font-style: normal; color: var(--soft); font-size: 1.0625rem; margin-top: 6px; display: block; }

/* WEDDINGS: the photograph holds the whole screen, the words sit on a paper card */
.wed { position: relative; background: var(--warm); }
.wed-photo { overflow: hidden; aspect-ratio: 4 / 5; }
.wed-photo picture, .wed-photo img { width: 100%; height: 100%; }
.wed-photo img { object-fit: cover; object-position: 50% 30%; }
.wed-card { position: relative; z-index: 2; margin: -56px var(--pad) 0; padding: 30px 26px 34px; background: var(--paper); box-shadow: 0 24px 60px -30px rgb(60 40 20 / .35); }
.wed-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: repeating-linear-gradient(90deg, var(--sett)); --u: .5px; }
.wed-card h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); line-height: 1; }
.wed-card h2 em { color: var(--pine); }
.wed-card > p { margin-top: 18px; color: var(--soft); max-width: 40ch; }
.wed { padding-bottom: clamp(64px, 10svh, 120px); }
@media (min-width: 900px) {
  .wed { padding-bottom: 0; }
  .wed-photo { aspect-ratio: auto; height: 100svh; min-height: 660px; }
  .wed-card { position: absolute; right: clamp(40px, 6vw, 120px); bottom: clamp(40px, 8svh, 96px); margin: 0; width: min(540px, 40vw); padding: 44px 44px 48px; }
}

/* HONORS: the title stands either side of a tall photograph, as the name does in the opening */
.hon { background: var(--formal); padding: clamp(72px, 12svh, 160px) var(--pad); display: grid; gap: 28px; overflow: hidden; }
.hon-title { font-size: clamp(2.8rem, 12vw, 4rem); line-height: .95; display: grid; }
.hon-title span:first-child { font-family: var(--caps); color: var(--blue); letter-spacing: -.01em; }
.hon-title span + span { font-style: italic; font-size: .62em; margin-top: .2em; }
.hon-photo { width: 78%; justify-self: center; aspect-ratio: 9 / 16; overflow: hidden; max-height: 78svh; }
.hon-photo picture, .hon-photo img { width: 100%; height: 100%; } .hon-photo img { object-fit: cover; }
.hon-copy > p:first-child { color: var(--soft); font-size: 1.1875rem; max-width: 40ch; }
@media (min-width: 900px) {
  .hon { grid-template-columns: minmax(0, 1fr) min(30vw, 48svh) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 4vw, 80px); row-gap: 0; align-items: start; }
  .hon-title { display: contents; }
  .hon-title span:first-child { grid-column: 1; grid-row: 1 / 3; align-self: center; text-align: right; font-size: clamp(4rem, 9vw, 11rem); line-height: .9; }
  .hon-title span + span { grid-column: 3; grid-row: 1; font: italic 400 clamp(2.4rem, 4.2vw, 5rem)/1 var(--display); margin-top: 10svh; }
  .hon-photo { grid-column: 2; grid-row: 1 / 3; width: 100%; max-height: 84svh; }
  .hon-copy { grid-column: 3; grid-row: 2; padding-top: 36px; }
}

/* THE MUSIC: a line of pipe music that draws itself */
.music { background: var(--paper); padding: clamp(88px, 15svh, 200px) 0; overflow: hidden; }
.music-in { max-width: 1180px; margin-inline: auto; padding-inline: var(--pad); }
.music h2 { font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1; }
.grace-wrap { margin-top: clamp(32px, 6svh, 72px); overflow-x: auto; scrollbar-width: none; } .grace-wrap::-webkit-scrollbar { display: none; }
.grace { display: block; width: 100%; min-width: 820px; height: auto; color: var(--ink); overflow: visible; }
.grace text { font: italic 400 17px var(--display); fill: var(--soft); }
.grace .sig text { font: 400 27px var(--display); fill: var(--ink); }
.grace .gn:nth-of-type(n) ellipse, .grace .gn line, .grace .gn circle { color: var(--pine); }
.grace .beam { color: var(--pine); }
.music-cap { margin-top: 20px; font: 400 .8125rem/1.5 var(--caps); letter-spacing: .12em; color: var(--soft); }
.music-body { margin-top: clamp(28px, 5svh, 56px); max-width: 46ch; font: 400 clamp(1.3rem, 2vw, 1.75rem)/1.4 var(--display); }
@media (min-width: 900px) { .music-body { margin-left: auto; } }

/* THE WORDS: all five reviews on one spread, set like a printed programme */
.words { background: var(--mist); }
.words-in { max-width: 1240px; margin-inline: auto; padding: clamp(80px, 13svh, 170px) var(--pad); }
.words h2 { font: 400 .875rem/1 var(--caps); letter-spacing: .2em; color: var(--soft); text-align: center; text-transform: uppercase; }
.words h2::after { content: ""; display: block; width: 1px; height: 54px; margin: 22px auto 0; background: var(--red); }
.word { margin: 0; } .word p { font-family: var(--display); font-style: italic; text-wrap: balance; }
.words-lead { margin-top: 30px; text-align: center; }
.words-lead .word p { font-size: clamp(1.9rem, 4.4vw, 4.2rem); line-height: 1.12; max-width: 22ch; margin-inline: auto; color: var(--pine); }
.words-pair, .words-trio { display: grid; gap: 34px; margin-top: clamp(44px, 8svh, 96px); padding-top: clamp(34px, 6svh, 64px); border-top: 1px solid var(--line); }
.words-pair .word p { font-size: clamp(1.45rem, 2.4vw, 2.2rem); line-height: 1.22; }
.words-trio .word p { font-size: clamp(1.2rem, 1.7vw, 1.55rem); line-height: 1.3; }
.words-note { font: 400 .8125rem/1.6 var(--caps); letter-spacing: .1em; color: var(--soft); align-self: end; }
@media (min-width: 900px) {
  .words-pair { grid-template-columns: 6fr 5fr; gap: clamp(48px, 7vw, 120px); } .words-pair .word + .word { margin-top: 9svh; }
  .words-trio { grid-template-columns: 4fr 4fr 3fr; gap: clamp(40px, 5vw, 90px); }
}

/* THE MAN */
.man { background: var(--paper); }
.man-in { max-width: var(--wrap); margin-inline: auto; padding: clamp(80px, 13svh, 170px) var(--pad); display: grid; gap: 40px; }
.man-photo { margin: 0; width: min(300px, 70%); padding: 10px; background: #fff; box-shadow: 0 30px 60px -34px rgb(16 21 28 / .5); rotate: -2deg; }
.man-copy h2 { font-size: clamp(2.2rem, 3.8vw, 4rem); line-height: 1.02; } .man-copy h2 em { color: var(--pine); }
.man-copy p { margin-top: 20px; color: var(--soft); max-width: 46ch; } .man-copy .ghost { margin-top: 14px; }
.played-list h3, .venues h2, .venues h3 { font: 400 .8125rem/1 var(--caps); letter-spacing: .16em; color: var(--soft); text-transform: uppercase; }
.played-list ul, .venues ul { list-style: none; margin: 16px 0 0; padding: 0; }
.played-list li, .venues li { font: 400 clamp(1.5rem, 2.3vw, 2.3rem)/1.15 var(--display); padding: 13px 0; border-top: 1px solid var(--line); }
.played-list li:last-child, .venues li:last-child { border-bottom: 1px solid var(--line); }
.played-list p, .venues p { margin-top: 16px; color: var(--soft); font-size: 1rem; max-width: 34ch; }
@media (min-width: 900px) { .man-in { grid-template-columns: 300px minmax(0, 5fr) minmax(0, 4fr); gap: clamp(48px, 5vw, 96px); align-items: start; } .man-photo { width: 100%; margin-top: 12px; } }

/* THE CLOSE */
.close { position: relative; background: var(--mist); }
.thread--close { left: var(--pad); height: clamp(110px, 20svh, 220px); }
.close-in, .book { max-width: var(--wrap); margin-inline: auto; padding: clamp(150px, 26svh, 290px) var(--pad) clamp(72px, 11svh, 140px); display: grid; gap: 48px; }
.close-lead h2, .book-lead h1 { font: 400 clamp(3.4rem, 9vw, 9rem)/.92 var(--caps); letter-spacing: -.02em; color: var(--pine); }
.close-lead > p, .book-lead .lede { margin-top: 20px; color: var(--soft); max-width: 36ch; font-size: 1.1875rem; }
.reach { list-style: none; margin: 34px 0 0; padding: 0; }
.reach-a { display: grid; gap: 4px; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; }
.reach li:last-child .reach-a { border-bottom: 1px solid var(--line); }
.reach-k { display: inline-flex; align-items: center; gap: .5em; font: 400 .8125rem/1 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.reach-v { font: 400 clamp(1.9rem, 3.2vw, 3rem)/1.1 var(--display); transition: color 200ms ease; }
.reach-v--mail { font-size: clamp(1.3rem, 2.2vw, 2rem); overflow-wrap: anywhere; }
.close-form h3, .book-form h2 { font: 400 1.6rem/1.2 var(--display); margin-bottom: 20px; }
.close-form, .book-form { background: var(--paper); padding: clamp(22px, 3vw, 44px); box-shadow: 0 30px 70px -40px rgb(16 21 28 / .4); }
@media (min-width: 900px) { .close-in, .book { grid-template-columns: 5fr 6fr; gap: clamp(56px, 7vw, 130px); align-items: start; } }
@media (hover: hover) and (pointer: fine) { .reach-a:hover .reach-v { color: var(--pine); } }

/* form */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 7px; } .field-row { display: grid; gap: 16px; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 700; font-size: 1rem; }
input, select, textarea { width: 100%; min-height: 54px; padding: 12px 14px; background: #fff; color: var(--ink); border: 1px solid rgb(16 21 28 / .34); border-radius: 2px; font: 400 1.0625rem/1.4 var(--text); transition: border-color 200ms ease, box-shadow 200ms ease; }
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgb(13 63 39 / .18); }
.help { margin: -6px 0 0; font-size: 1rem; color: var(--soft); }
.form-note { padding: 12px 14px; background: #fbe9ea; border-left: 3px solid var(--red); font-weight: 600; } .form-note[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; cursor: pointer; }

/* THE LAST PICTURE */
.last { background: var(--paper); padding: clamp(72px, 12svh, 160px) var(--pad) clamp(64px, 10svh, 130px); display: grid; justify-items: center; }
.last-photo { width: min(560px, 86vw); } .last-photo picture, .last-photo img { width: 100%; height: auto; }
.last-copy { text-align: center; margin-top: -.5em; position: relative; }
.slainte { font: italic 400 clamp(4rem, 12vw, 11rem)/1 var(--display); color: var(--pine); padding-bottom: .08em; }
.slainte--sm { font-size: clamp(2.6rem, 6vw, 4.5rem); margin-top: 40px; }
.slainte-by { font: 400 .8125rem/1 var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-top: 6px; }

/* FOOTER */
.foot { background: var(--paper); padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
.foot > .band { height: 64px; --u: 1.4px; }
.foot-in, .foot-base { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.foot-in { padding-top: 56px; padding-bottom: 40px; display: grid; gap: 32px; }
.foot-brand { font: 400 2rem/1 var(--display); } .foot-line { margin-top: 10px; color: var(--soft); max-width: 34ch; font-size: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-nav a, .foot-contact a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; font-weight: 600; }
.foot-base { padding-top: 22px; padding-bottom: 30px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: .9375rem; color: var(--soft); }
.foot-credit { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .foot-credit img { height: 34px; width: auto; }
@media (min-width: 900px) { .foot-in { grid-template-columns: 5fr 3fr 3fr; gap: 64px; } }
@media (min-width: 1000px) { .foot { padding-bottom: 0; } }
@media (hover: hover) and (pointer: fine) { .foot-nav a:hover, .foot-contact a:hover, .foot-legal a:hover { color: var(--pine); } }
.bar .ic { width: 1.1em; height: 1.1em; } .bar a span + span, .bar a > span:not(.ic) { display: inline; }

/* ------------------------------------------------------------ inner pages: the same system, calmer */
.sub main { padding-top: var(--top); }
.sub-hero { background: var(--mist); } .sub-hero.light-still { background: var(--cool); } .sub-hero.light-warm { background: var(--warm); } .sub-hero.light-formal { background: var(--formal); }
.sub-hero-in { display: grid; gap: 32px; padding-top: clamp(28px, 6svh, 72px); padding-bottom: clamp(48px, 8svh, 96px); }
.sub-hero h1 { font-size: clamp(2.5rem, 5.4vw, 5.6rem); line-height: 1; max-width: 13ch; }
.phone-xl { margin-top: 22px; } .phone-xl a { font: 400 clamp(2.6rem, 6vw, 5.4rem)/1 var(--caps); color: var(--pine); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.phone-xl-note { margin-top: 8px; font-weight: 600; }
.lede { margin-top: 20px; font-size: clamp(1.1875rem, 1.5vw, 1.4rem); line-height: 1.5; color: var(--soft); max-width: 44ch; }
.hero-act, .cta-act { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.sub-hero-media { overflow: hidden; aspect-ratio: 4 / 5; } .sub-hero-media picture, .sub-hero-media img { width: 100%; height: 100%; } .sub-hero-media img { object-fit: cover; object-position: 50% 35%; }
@media (min-width: 900px) { .sub-hero-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 6vw, 110px); align-items: center; } .sub-hero-media { aspect-ratio: auto; height: min(78svh, 820px); } }
.rows { padding: clamp(40px, 7svh, 90px) 0; }
.row { display: grid; gap: 10px; padding: 30px 0; border-top: 1px solid var(--line); } .row:last-child { border-bottom: 1px solid var(--line); }
.row h2 { font-size: clamp(1.6rem, 2.3vw, 2.3rem); line-height: 1.1; } .row-body p { color: var(--soft); max-width: 60ch; font-size: 1.1875rem; } .row-body p + p { margin-top: 12px; } .row-body a { color: var(--pine); font-weight: 600; }
@media (min-width: 900px) { .row { grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 110px); padding: 38px 0; } }
.pair { display: grid; gap: 20px; padding-top: clamp(24px, 5svh, 60px); padding-bottom: clamp(24px, 5svh, 60px); } .pair figure { margin: 0; overflow: hidden; } .pair img { width: 100%; height: auto; }
.pair-note h2 { font-size: clamp(1.8rem, 2.6vw, 2.6rem); } .pair-note p { margin-top: 12px; color: var(--soft); max-width: 40ch; }
@media (min-width: 900px) { .pair { grid-template-columns: 7fr 4fr; gap: clamp(28px, 4vw, 72px); align-items: end; } .pair-b { margin-bottom: 9svh !important; } .pair--tall { grid-template-columns: 4fr 4fr 3fr; align-items: start; } .pair--tall .pair-b { margin-top: 12svh !important; margin-bottom: 0 !important; } .pair-note { align-self: end; } }
@media (max-width: 899px) { .pair-b { width: 72%; justify-self: end; } }
.quote { padding-top: clamp(64px, 11svh, 140px); padding-bottom: clamp(64px, 11svh, 140px); text-align: center; }
.quote blockquote { margin: 0; } .quote blockquote p { font: italic 400 clamp(1.8rem, 3.8vw, 3.6rem)/1.15 var(--display); max-width: 24ch; margin-inline: auto; color: var(--pine); text-wrap: balance; }
.quote-by { margin-top: 22px; font: 400 .8125rem/1 var(--caps); letter-spacing: .16em; text-transform: uppercase; color: var(--soft); }
.cta { padding-top: clamp(64px, 10svh, 130px); padding-bottom: clamp(72px, 12svh, 150px); border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1; } .cta p { margin-top: 16px; color: var(--soft); font-size: 1.1875rem; max-width: 44ch; }
.bio { display: grid; gap: 36px; padding-top: clamp(48px, 8svh, 110px); padding-bottom: clamp(48px, 8svh, 110px); }
.bio-copy p { font-size: 1.1875rem; max-width: 60ch; } .bio-copy p + p { margin-top: 18px; } .bio-copy p:first-child { font: 400 clamp(1.4rem, 2vw, 1.9rem)/1.35 var(--display); }
.bio-photo { margin: 0; width: min(320px, 78%); padding: 10px; background: #fff; box-shadow: 0 30px 60px -34px rgb(16 21 28 / .5); rotate: 2deg; }
.bio-photo figcaption { display: none; }
@media (min-width: 900px) { .bio { grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(56px, 8vw, 140px); align-items: start; } .bio-photo { width: 100%; } }
.played { display: grid; gap: 36px; padding-bottom: clamp(56px, 9svh, 120px); } .played figure { margin: 0; width: min(420px, 70%); } .played img { width: 100%; height: auto; }
@media (min-width: 900px) { .played { grid-template-columns: 3fr 8fr; gap: clamp(48px, 7vw, 120px); align-items: end; } .played figure { width: 100%; } }
.talks { background: var(--cool); } .talks-in { padding-top: clamp(64px, 10svh, 130px); padding-bottom: clamp(64px, 10svh, 130px); }
.talks h2 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1; } .talks-lede { margin-top: 18px; font-size: 1.25rem; max-width: 44ch; color: var(--soft); }
.talks blockquote { margin: 34px 0 22px; } .talks blockquote p { font: italic 400 clamp(1.6rem, 3vw, 2.8rem)/1.2 var(--display); color: var(--blue); max-width: 22ch; }
.book { padding-top: clamp(40px, 8svh, 100px); }
.plain { padding-top: clamp(48px, 10svh, 130px); padding-bottom: clamp(72px, 12svh, 150px); max-width: 860px; }
.plain h1 { font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; } .plain--text h2 { font-size: 1.6rem; margin-top: 34px; } .plain--text p { margin-top: 10px; max-width: 62ch; } .plain a { color: var(--pine); font-weight: 600; }
.plain-links { list-style: none; padding: 0; margin: 30px 0 0; } .plain-links a { display: block; padding: 14px 0; border-top: 1px solid var(--line); font: 400 1.7rem/1.2 var(--display); text-decoration: none; color: var(--ink); }
.note { margin-top: 18px; padding: 12px 14px; background: var(--cool); font-weight: 600; } .note[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }

/* round 1 fixes (13 Nov) */
.top .tel .ic { display: inline-flex; }
.chap-photo img { object-position: 50% 78%; }
@media (min-width: 900px) {
  .hon-title span:first-child { font-size: clamp(3rem, 6.6vw, 8.4rem); position: relative; z-index: 2; }
  .man-copy h2 { font-size: clamp(2rem, 2.9vw, 3.2rem); }
  .man-in { grid-template-columns: 280px minmax(0, 6fr) minmax(0, 4fr); }
}
.last-copy { margin-top: -.22em; z-index: 2; }
.grace .staff line { stroke-width: 1.3; }
.plain a.btn { color: var(--paper); }

/* round 2: the fresh judge's findings (13 Nov) */
.grace .clef { font: 400 62px "Noto Music", "Segoe UI Symbol", "Apple Symbols", serif; fill: var(--ink); }
/* one grade for every photograph: his pictures come from many cameras */
.chap-photo img, .wed-photo img, .hon-photo img, .sub-hero-media img, .pair img, .played img { filter: saturate(.84) contrast(.97); }
.wed-photo img { object-position: 50% 18%; }
/* the ghost tune sits under the copy, never through it */
.chap-ghost { top: auto; bottom: 1svh; translate: none; opacity: .06; font-size: clamp(5rem, 15vw, 18rem); }
/* reviews: one large, four equal */
.words-grid { display: grid; gap: 34px; margin-top: clamp(44px, 8svh, 96px); padding-top: clamp(34px, 6svh, 64px); border-top: 1px solid var(--line); }
.words-grid .word p { font-size: clamp(1.35rem, 1.9vw, 1.8rem); line-height: 1.26; }
.words-in > .words-note { margin-top: clamp(34px, 6svh, 64px); text-align: center; }
@media (min-width: 900px) { .words-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5svh, 64px) clamp(56px, 8vw, 140px); } }
.reach-v { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
/* the last picture: the toast sits under it, not over his feet */
.last-copy { margin-top: 26px; }
/* phones: less empty scroll between sections, and the name clears his cap and flag */
@media (max-width: 699px) {
  .say { padding-top: 64px; padding-bottom: 64px; }
  .close-in { padding-top: 132px; }
  .thread--close { height: 96px; }
  .h-name { font-size: 27vw; }
  .h-mike { bottom: 206px; height: min(56svh, calc(100svh - 206px - var(--top) - 1.5svh - 46.4vw + 26px)); }
}
/* inner pages: each one leads differently */
@media (min-width: 900px) {
  .sub-weddings .sub-hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .sub-weddings .sub-hero-media { order: -1; height: min(84svh, 900px); }
  .sub-events .sub-hero-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .sub-events .sub-hero-media { order: -1; }
  .sub-about .sub-hero-media { height: min(84svh, 900px); }
  .sub-about .sub-hero h1 { font-size: clamp(3.4rem, 8vw, 8rem); font-family: var(--caps); color: var(--pine); max-width: 8ch; line-height: .92; }
  .sub-funerals .sub-hero-in { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
}
.chap-ghost::before { content: attr(data-t); }

/* round 3 (15 Nov): Mike's own changes */
/* a small photograph is shown as a print, at its own size, never stretched (the two he sent on 13 Nov are 430 and 218 px wide) */
.chap-photo--print { margin: 0; aspect-ratio: auto; overflow: visible; background: #fff; padding: 12px; width: min(316px, 100%); justify-self: center; box-shadow: 0 30px 60px -34px rgb(16 21 28 / .5); }
.chap-photo--print .print-in { overflow: hidden; }
.chap-photo--print img { width: 100%; height: auto; object-fit: fill; }
.man-photo--card { width: 128px; }
.man-photo--card img { width: 100%; height: auto; }
@media (min-width: 900px) {
  .chap--print .chap-in { padding: clamp(56px, 9svh, 110px) clamp(56px, 9vw, 180px) clamp(56px, 9svh, 110px) 0; }
  .chap-photo--print { width: min(464px, 100%); height: auto; min-height: 0; align-self: center; }
  .man-photo--card { width: 194px; justify-self: center; }
}
/* the third chapter's name is longer now ("Retirements, Birthdays, and Corporate Events"), so it stands stacked on the
   left of the photograph and the words on the right */
.hon-title--stack { display: grid; font-size: clamp(1.9rem, 9.4vw, 3.4rem); line-height: 1; }
.hon-title--stack span, .hon-title--stack span + span { font-family: var(--caps); font-style: normal; font-size: 1em; color: var(--blue); letter-spacing: -.01em; margin-top: 0; }
.hon-title--stack span + span { margin-top: .12em; }
.hon-title--stack span:last-child { font: italic 400 .62em/1.12 var(--display); color: var(--ink); letter-spacing: 0; margin-top: .4em; }
@media (min-width: 900px) {
  .hon-title--stack { grid-column: 1; grid-row: 1 / 3; align-self: center; justify-items: end; text-align: right; font-size: clamp(1.75rem, 3.05vw, 5rem); }
  .hon-title--stack span:first-child, .hon-title--stack span + span { grid-column: auto; grid-row: auto; align-self: auto; text-align: right; font-size: 1em; line-height: 1; margin-top: 0; }
  .hon-title--stack span + span { margin-top: .12em; }
  .hon-title--stack span:last-child { font: italic 400 .62em/1.12 var(--display); margin-top: .4em; }
  .hon--stack .hon-copy { grid-column: 3; grid-row: 1 / 3; align-self: center; padding-top: 0; }
}
/* the weddings page leads with the tall chapel photograph */
.sub-weddings .sub-hero-media img { object-position: 50% 62%; }
/* two photographs side by side, and one on its own */
@media (min-width: 900px) {
  .pair--two { grid-template-columns: 1fr 4fr 4fr 1fr; align-items: start; }
  .pair--two .pair-a { grid-column: 2; } .pair--two .pair-b { grid-column: 3; margin-top: 12svh !important; margin-bottom: 0 !important; }
  .pair--one { grid-template-columns: 1fr; }
}
/* the weddings card holds Mike's longer words now: on a wide screen it is laid over the foot of the photograph and
   runs on below it, so it never covers a face (it used to sit wholly inside the picture) */
@media (min-width: 900px) {
  .wed { padding-bottom: clamp(56px, 9svh, 110px); }
  .wed-card { position: relative; right: auto; bottom: auto; margin: -24svh clamp(40px, 6vw, 120px) 0 auto; width: min(640px, 46vw); }
}
@media (min-width: 900px) { .wed-card > p { max-width: 54ch; } }

/* sharpness (15 Nov audit: scripts/pipermike/v2/audit-images.cjs). A photograph is never drawn larger than its own
   pixels allow on a laptop, and never more than about one and a half times on a phone or tablet.
   The three small sources (his business card photo 218 px, the color procession 584 px, the black and white
   procession 507 px) set the sizes of their prints above and here. */
.bio-photo { width: min(262px, 78%); }
.bio-photo img { width: 100%; height: auto; }
@media (min-width: 900px) { .bio-photo { width: 340px; justify-self: end; } }
/* tablets: a phone photograph (about 1,000 px wide) is not stretched across the whole width */
@media (min-width: 600px) and (max-width: 899px) { .sub-hero-media, .pair .pair-a, .pair--one .pair-a { max-width: 560px; } .pair .pair-b { max-width: 400px; } }
