/* In the Pines — pinesgolf.com. Same palette as the newsletter template (templates/email.html). */
:root {
  --pine: #01452d;
  --pine-deep: #023d27;
  --cream: #eee4ca;
  --paper: #faf6ec;
  --ink: #1f2a24;
  --ink-soft: #4a564f;
  --gold: #f9bf19;
  --rule: #d9ceb2;
  --measure: 38rem;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  line-height: 1.65;
}

a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine-deep); text-decoration-thickness: 2px; }

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

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1rem; }

/* Masthead */
.masthead {
  background: var(--pine);
  color: var(--cream);
  text-align: center;
  padding: 3.25rem 1rem 2.75rem;
}
.masthead--slim { padding: 1.4rem 1rem 1.2rem; }
.wordmark {
  font-family: "Anton", Impact, "Arial Black", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
  font-size: clamp(2.6rem, 11vw, 4.25rem);
}
.masthead--slim .wordmark { font-size: 1.9rem; }
.wordmark a { color: inherit; text-decoration: none; }
.tagline {
  margin: 0.9rem 0 0;
  font-style: italic;
  opacity: 0.9;
  font-size: 1.05rem;
}

/* Sections */
/* main also carries .wrap, whose shorthand padding would zero the top: set it here. */
main.wrap { padding-top: 2.75rem; padding-bottom: 1rem; }
section { margin: 0 0 2.75rem; }
h2 {
  font-family: "Anton", Impact, "Arial Black", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pine);
  font-size: 1.45rem;
  line-height: 1.2;
  margin: 0 0 0.9rem;
}
.lead { font-size: 1.25rem; line-height: 1.55; margin-top: 0; }
.kicker {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.4rem;
}

/* Sign-up card: our form (see below) renders inside */
.signup {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  padding: 1.25rem 1rem 0.75rem;
  margin: 1.75rem 0 0.5rem;
}
.signup-note { font-size: 0.9rem; color: var(--ink-soft); margin: 0.5rem 0 0; }

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 1.6rem; position: relative; margin: 0 0 0.55rem; }
ul.ticks li::before {
  content: "";
  position: absolute; left: 0.2rem; top: 0.62em;
  width: 0.55rem; height: 0.55rem; border-radius: 50%;
  background: var(--gold);
}

/* Archive photos: small 2007 images, shown framed rather than stretched */
figure.photo { margin: 1.5rem 0; }
figure.photo img {
  border: 6px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  margin: 0 auto;
}
figure.photo figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: 0.6rem;
}
.logo-old { width: 150px; margin: 0 auto 1rem; }

/* Episode list */
ol.episodes { list-style: none; padding: 0; margin: 0; counter-reset: ep; }
ol.episodes li {
  border-top: 1px solid var(--rule);
  padding: 0.9rem 0;
}
ol.episodes li:last-child { border-bottom: 1px solid var(--rule); }
ol.episodes .ep-num { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
ol.episodes a { font-weight: bold; }
ol.episodes p { margin: 0.25rem 0 0; font-size: 1rem; color: var(--ink-soft); }

.button {
  display: inline-block;
  background: var(--gold);
  color: var(--pine);
  font-weight: bold;
  text-decoration: none;
  padding: 0.75rem 1.4rem;
  letter-spacing: 0.02em;
}
.button:hover { background: #ffd04a; color: var(--pine-deep); }

.letter p { margin: 0 0 1.1rem; }
.signoff { margin-top: 1.5rem; }

.callout {
  background: var(--cream);
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--pine);
}
.callout p:last-child { margin-bottom: 0; }

/* Footer */
footer {
  background: var(--pine-deep);
  color: var(--cream);
  padding: 1.75rem 1rem 2rem;
  font-size: 0.9rem;
  text-align: center;
}
footer a { color: var(--cream); }
footer p { margin: 0.35rem 0; opacity: 0.85; }

@media (min-width: 40rem) {
  main.wrap { padding-top: 3.75rem; }
  .signup { padding: 1.5rem 1.5rem 1rem; }
}

/* Our own sign-up form inside .signup (posts to /api/subscribe.php; Kit's embed and its badge are
   gone since 2026-11-01). Email, button, a status line for the script. */
.signup { padding-bottom: 1rem; }
.signup-label { display: block; font-weight: bold; margin: 0 0 0.35rem; }
.signup-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.signup-row input {
  flex: 1 1 14rem; min-width: 0; padding: 0.7rem 0.75rem;
  font: inherit; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 0;
}
.signup-row input:focus { outline: 2px solid var(--pine); outline-offset: 1px; }
.signup-row .button { flex: 0 0 auto; white-space: nowrap; }
.signup-status { margin: 0.6rem 0 0; font-size: 0.95rem; color: var(--ink-soft); min-height: 0; }
.signup-status:empty { display: none; }
.signup-status.is-error { color: #a3261f; }

/* Lead magnet: the guide cover on /links/ and the download block on /welcome/ */
figure.guide-cover { margin: 1.5rem auto 0.5rem; max-width: 15rem; }
figure.guide-cover img, .gift-cover img { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22); }
.gift {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  padding: 1.1rem 1rem 0.4rem;
  margin: 1.25rem 0 1.75rem;
}
.gift p { margin: 0 0 0.9rem; }
.gift-cover { display: block; max-width: 8.5rem; margin: 0 auto 1rem; }
@media (min-width: 34rem) {
  .gift { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem 1.25rem 0.5rem; }
  .gift-cover { flex: 0 0 8rem; margin: 0; }
}

/* Course reports: /voicemail/. Two brands in the masthead, the recorder ring, the form, the promo cards. */
[hidden] { display: none !important; }
.vm-brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.2rem 0.7rem; }
.masthead--slim .vm-brands { font-size: clamp(1rem, 5vw, 1.9rem); }
.vm-plus { color: var(--gold); }
.vm-brand { display: inline-flex; align-items: center; gap: 0.45rem; }
.vm-logo { flex: none; width: 1.7em; height: 1.7em; object-fit: contain; }

.vm-panel { margin-bottom: 1.75rem; text-align: center; }
form.vm-panel { text-align: left; }
.vm-status { color: var(--ink-soft); margin: 0.75rem auto 0; max-width: 30rem; min-height: 1.65em; 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(--pine); stroke-linecap: round; }
.vm-ring.is-warning .vm-ring-progress { stroke: #d9730d; }
.vm-record {
  position: absolute; inset: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: var(--gold); color: var(--pine);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.vm-record:hover { background: #ffd04a; }
.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(--pine); 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: #d9730d; color: #fff; }

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

.vm-time { margin: 0.6rem 0 0; font-size: 1.6rem; line-height: 1.2; font-variant-numeric: tabular-nums; color: var(--pine); }
.vm-time-of { font-size: 1rem; color: var(--ink-soft); }
.vm-ring.is-warning ~ .vm-status { color: #a8530a; font-weight: bold; }

.vm-switch, .vm-another { text-align: center; margin: 0 0 1.75rem; }
.vm-link {
  background: none; border: 0; padding: 0;
  font: inherit; font-size: 1rem; color: var(--pine);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
  cursor: pointer;
}

.vm-panel audio { display: block; width: 100%; margin: 0.75rem 0; }
.button { border: 0; font-family: inherit; font-size: 1rem; cursor: pointer; }
.button--quiet { background: transparent; border: 1px solid var(--pine); padding: 0.5rem 1.1rem; }
.button--quiet:hover { background: var(--cream); }
.button:disabled { opacity: 0.6; cursor: wait; }

.vm-field { display: block; margin: 0 0 1rem; font-weight: bold; }
.vm-field em { font-weight: normal; color: var(--ink-soft); }
.vm-field input {
  display: block; width: 100%; margin-top: 0.3rem; padding: 0.6rem 0.7rem;
  font: inherit; font-weight: normal; color: var(--ink);
  background: #fff; border: 1px solid var(--rule); border-radius: 0;
}
.vm-field input:focus { outline: 2px solid var(--pine); outline-offset: 1px; }
#vm-file .vm-field { text-align: left; }
.vm-tick { display: flex; gap: 0.6rem; align-items: flex-start; margin: 0 0 1rem; cursor: pointer; }
.vm-tick input { flex: none; width: 1.2rem; height: 1.2rem; margin: 0.3rem 0 0; accent-color: var(--pine); }
.vm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vm-small { font-size: 0.9rem; color: var(--ink-soft); }
.vm-error { background: #fbeee0; border-left: 4px solid #d9730d; padding: 0.7rem 0.9rem; margin: 0 0 1rem; }
.vm-progress { margin: 0 0 1rem; font-size: 1rem; color: var(--ink-soft); }
.vm-progress progress { display: block; width: 100%; height: 0.6rem; margin-bottom: 0.3rem; accent-color: var(--pine); }
.vm-send { width: 100%; font-size: 1.125rem; }

.vm-cards { display: grid; gap: 1rem; margin: 1.5rem 0; }
.vm-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--gold);
  padding: 1rem 1rem 0.25rem;
}
.vm-card h3 {
  font-family: "Anton", Impact, "Arial Black", sans-serif;
  font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--pine); font-size: 1.15rem; line-height: 1.25; margin: 0 0 0.5rem;
}
.vm-card p { margin: 0 0 0.9rem; font-size: 1rem; }
.vm-card-art { float: right; width: 5.5rem; height: auto; margin: 0 0 0.5rem 0.75rem; }
.vm-card-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
#vm-thanks-heading:focus { outline: none; }
@media (min-width: 40rem) {
  .vm-cards { grid-template-columns: 1fr 1fr; }
}
