/* pinesgolf.com/voicemail/ — the Both Sides of Par voicemail, in the show's own brand (2026-12-04).
   Values copied from bothpar.com: `both sides of par/site/src/styles/tokens.css` and DESIGN.md
   (direction D, approved 1 Dec 2026). If the brand changes there, change the :root block here.
   This page does not load /assets/site.css (that is In the Pines' look). */

@font-face {
  font-family: "Playfair Display"; font-style: normal; font-weight: 900; font-display: swap;
  src: url("fonts/playfair-display-latin-900-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display"; font-style: italic; font-weight: 900; font-display: swap;
  src: url("fonts/playfair-display-latin-900-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("fonts/archivo-latin-standard-normal.woff2") format("woff2");
}

:root {
  --green: #17392e;
  --green-deep: #10281f;
  --cream: #efdfc2;
  --cream-muted: rgb(239 223 194 / 0.78);
  --gold: #a3854e;
  --gold-hover: #b89a62;
  --gold-light: #b89c69;
  --bronze: #7d6330;
  --on-gold: #17140a;
  --paper: #f6f0e3;
  --surface: #fffdf8;
  --ink: #14231d;
  --muted: #4f5a52;
  --rule: #d9d0ba;
  --warn: #a8530a;        /* last 30 seconds: text on paper 4.9:1 */
  --warn-fill: #c2650f;   /* last 30 seconds: ring and button */
  --display: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --measure: 40rem;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.08; margin: 0; color: var(--green);
  text-wrap: balance; font-variant-numeric: lining-nums; }
h1 em, h2 em { font-style: italic; color: var(--bronze); }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
a { color: var(--green); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 var(--s5); }

/* ---- masthead: the bothpar.com logo, no nav ---- */
.mast { background: var(--green); }
.mast-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 72px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; color: var(--cream); text-decoration: none;
  font: 900 20px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.logo:hover { color: var(--cream); }
.logo em { font-style: italic; color: var(--gold-light); }
.logo svg { width: 50px; height: 37px; flex: none; fill: none; }
.logo circle { stroke: var(--gold); stroke-width: 4; }
.logo circle.in { stroke-width: 1.5; }
.logo rect { stroke: var(--cream); stroke-width: 3.5; }
.mast-tag { margin: 0; color: var(--cream-muted); font-size: 15px; }
.mast :focus-visible { outline-color: var(--gold-light); }

/* ---- intro ---- */
.intro { padding: var(--s7) 0 var(--s5); }
.kicker { margin: 0 0 var(--s3); font: 700 14px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kicker .mk { margin-right: var(--s2); }
.intro h1 { font-size: clamp(38px, 9vw, 60px); text-transform: uppercase; line-height: .98; margin-bottom: var(--s4); }
.intro h1 em { display: block; }
.lead { font-size: 19px; line-height: 1.55; margin: 0; }
.intro-go { margin: var(--s5) 0 0; }
#vm-rec { scroll-margin-top: var(--s4); }

/* Ross circle, Colin square, as on bothpar.com */
.mk { display: inline-block; width: 12px; height: 12px; vertical-align: 0; background: var(--gold); }
.mk.circle { border-radius: 50%; }
.mk.square { border-radius: 2px; }

/* ---- what to leave: the prompt cards ---- */
.prompts { padding: var(--s4) 0 var(--s6); }
.prompts h2 { font-size: 22px; text-transform: uppercase; margin-bottom: var(--s2); }
.prompts-note { color: var(--muted); font-size: 16px; margin-bottom: var(--s4); }
.prompt-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); }
.prompt { position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left;
  background: var(--surface); color: var(--ink); border: 1px solid var(--rule); border-top: 4px solid var(--green);
  border-radius: 0 0 6px 6px; padding: var(--s4) var(--s4) var(--s4); cursor: pointer;
  transition: border-color .15s ease-out, background-color .15s ease-out; }
.prompt:hover { border-color: var(--gold); border-top-color: var(--green); }
.prompt[aria-pressed="true"] { background: var(--cream); border-color: var(--gold); border-top-color: var(--gold);
  box-shadow: inset 0 0 0 2px var(--gold); }
.prompt-tag { font: 700 12px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); margin-bottom: var(--s2); }
.prompt-tag.new { color: var(--on-gold); background: var(--gold); align-self: flex-start; padding: 2px 7px; border-radius: 3px; }
.prompt-title { font: 900 21px/1.12 var(--display); font-variant-numeric: lining-nums; color: var(--green); margin-bottom: var(--s2); }
.prompt-body { font-size: 16px; line-height: 1.5; color: var(--ink); }
.prompt-pick { margin-top: auto; padding-top: var(--s3); font-weight: 700; font-size: 15px; color: var(--green); }
.prompt-pick::after { content: " \2192"; }
.prompt[aria-pressed="true"] .prompt-pick::after { content: " \2713"; }
.prompt-chosen { margin: var(--s4) 0 0; font-size: 16px; color: var(--muted); min-height: 1.6em; }
.prompt-chosen strong { color: var(--green); }
@media (min-width: 40rem) {
  .prompt-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- the recorder ---- */
.rec { background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--gold);
  border-radius: 0 0 6px 6px; padding: var(--s6) var(--s5) var(--s5); margin-bottom: var(--s5); }
/* nothing left to show inside it (the thanks screen): drop the box too */
.rec:not(:has(> :not([hidden]))) { display: none; }
.rec-h { font-size: 22px; text-transform: uppercase; text-align: center; margin-bottom: var(--s5); }
.vm-panel { margin-bottom: var(--s5); text-align: center; }
.vm-panel:last-child { margin-bottom: 0; }
form.vm-panel { text-align: left; }
.vm-status { color: var(--muted); margin: var(--s3) auto 0; max-width: 30rem; min-height: 1.6em; text-wrap: balance; }

.vm-ring { position: relative; width: 11rem; height: 11rem; margin: 0 auto; }
.vm-ring svg { display: block; }
.vm-ring > svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.vm-ring circle { fill: none; stroke-width: 6; }
.vm-ring-track { stroke: var(--rule); }
.vm-ring-progress { stroke: var(--green); stroke-linecap: round; }
.vm-ring.is-warning .vm-ring-progress { stroke: var(--warn-fill); }
.vm-record { position: absolute; inset: 1.1rem; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: var(--gold); color: var(--on-gold);
  transition: background-color .15s ease-out; }
.vm-record:hover { background: var(--gold-hover); }
.vm-record:disabled { opacity: 0.6; cursor: wait; }
.vm-record svg { width: 3.75rem; height: 3.75rem; fill: currentColor; }
.vm-icon-stop { display: none !important; }
.vm-ring.is-recording .vm-record { background: var(--green); color: var(--cream); }
.vm-ring.is-recording .vm-icon-mic { display: none; }
.vm-ring.is-recording .vm-icon-stop { display: block !important; }
.vm-ring.is-warning .vm-record { background: var(--warn-fill); color: #fff; }

.vm-meter { width: 11rem; height: 0.6rem; margin: var(--s4) auto 0; background: var(--rule); border-radius: 999px; overflow: hidden; }
.vm-meter-bar { height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 80ms linear; }
.vm-ring.is-warning ~ .vm-meter .vm-meter-bar { background: var(--warn-fill); }
.vm-mic { margin: var(--s2) auto 0; }
.vm-mic select { max-width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 4px; padding: 0.2rem 0.3rem; }
.vm-mic-alert, .vm-level-note { text-align: left; margin: var(--s3) auto 0; max-width: 30rem; }
.vm-level-note { max-width: none; margin-bottom: var(--s3); }

.vm-time { margin: var(--s3) 0 0; font: 900 30px/1.2 var(--display); font-variant-numeric: tabular-nums lining-nums; color: var(--green); }
.vm-time-of { font: 400 16px/1 var(--body); color: var(--muted); }
.vm-ring.is-warning ~ .vm-status { color: var(--warn); font-weight: 700; }

.vm-switch, .vm-another { text-align: center; margin: 0 0 var(--s5); }
.vm-link { background: none; border: 0; padding: var(--s2) 0; min-height: 44px; cursor: pointer;
  font: inherit; font-size: 16px; color: var(--green); text-decoration: underline; text-underline-offset: .18em; }
.vm-link:hover { text-decoration-thickness: 2px; }
.vm-panel audio { display: block; width: 100%; margin: var(--s3) 0; }

/* ---- buttons ---- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border: 2px solid var(--gold); border-radius: 6px; background: var(--gold); color: var(--on-gold);
  font: 700 16px/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.button:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--on-gold); }
.button--quiet { background: transparent; border-color: var(--green); color: var(--green); }
.button--quiet:hover { background: rgb(23 57 46 / 0.08); border-color: var(--green); color: var(--green); }
.button:disabled { opacity: 0.6; cursor: wait; }

/* ---- the form ---- */
.vm-field { display: block; margin: 0 0 var(--s4); font-weight: 700; }
.vm-field em { font-weight: 400; font-style: normal; color: var(--muted); }
.vm-field input { display: block; width: 100%; margin-top: var(--s1); padding: 0.7rem 0.75rem; min-height: 48px;
  font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 6px; }
.vm-field input::placeholder { color: #5c6a61; }
.vm-field input:focus { outline: 3px solid var(--green); outline-offset: 1px; }
#vm-file .vm-field { text-align: left; }
.vm-tick { display: flex; gap: var(--s3); align-items: flex-start; margin: 0 0 var(--s4); cursor: pointer; }
.vm-tick input { flex: none; width: 1.2rem; height: 1.2rem; margin: 0.25rem 0 0; accent-color: var(--green); }
.vm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vm-small { font-size: 15px; color: var(--muted); }
.vm-error { background: #fbeee0; border-left: 4px solid var(--warn-fill); padding: var(--s3) var(--s4); margin: 0 0 var(--s4); color: var(--ink); }
.vm-progress { margin: 0 0 var(--s4); font-size: 16px; color: var(--muted); }
.vm-progress progress { display: block; width: 100%; height: 0.6rem; margin-bottom: var(--s1); accent-color: var(--green); }
.vm-send { width: 100%; font-size: 18px; min-height: 56px; }

/* ---- tips, under the recorder ---- */
.tips { padding: var(--s2) 0 var(--s7); }
.tips h2 { font-size: 22px; text-transform: uppercase; margin-bottom: var(--s4); }
.tips ul { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--green); }
.tips li { border-bottom: 1px solid var(--rule); padding: var(--s3) 0; }
.tips strong { color: var(--green); }

/* ---- thanks ---- */
.thanks { padding: var(--s7) 0 var(--s6); }
.thanks h2 { font-size: clamp(34px, 8vw, 52px); text-transform: uppercase; margin-bottom: var(--s4); }
#vm-thanks-heading:focus { outline: none; }
.vm-cards { display: grid; gap: var(--s4); margin: var(--s5) 0; }
.vm-card { background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--gold);
  border-radius: 0 0 6px 6px; padding: var(--s4) var(--s4) var(--s4); }
.vm-card h3 { font-size: 20px; text-transform: uppercase; margin: 0 0 var(--s2); }
.vm-card p { margin: 0 0 var(--s3); font-size: 16px; }
.vm-card p:last-child { margin-bottom: 0; }
.vm-card-art { float: right; width: 5.5rem; height: auto; margin: 0 0 var(--s2) var(--s3); border-radius: 4px; }
.vm-card-links { display: flex; flex-wrap: wrap; gap: var(--s2); }
.vm-card--show { background: var(--green); border-color: var(--green); border-top-color: var(--gold); color: var(--cream); }
.vm-card--show h3 { color: var(--cream); }
.vm-card--show :focus-visible { outline-color: var(--gold-light); }
@media (min-width: 40rem) {
  .vm-cards { grid-template-columns: 1fr 1fr; }
}

.callout { background: var(--cream); padding: var(--s4); border-left: 4px solid var(--green); margin-bottom: var(--s6); }

/* ---- footer ---- */
footer { background: var(--green-deep); color: var(--cream); padding: var(--s6) 0 var(--s7); font-size: 15px; }
footer p { margin: 0 0 var(--s2); color: var(--cream-muted); }
footer a { color: var(--cream); }
footer :focus-visible { outline-color: var(--gold-light); }

@media (max-width: 30rem) {
  .logo { font-size: 15px; gap: var(--s2); }
  .logo svg { width: 36px; height: 27px; }
  .mast-tag { display: none; }
  .rec { padding: var(--s5) var(--s4) var(--s4); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
