/* Three Putt Pete — threeputtpete.com
   Still a 15. Still three-putting. */

/* ---------- Fonts (self-hosted, latin + latin-ext subsets) ---------- */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Brand tokens (match Pete's Yardage Book PDF) ---------- */

:root {
  --forest: #1F3B2D;
  --cream: #F2EADB;
  --kelly: #3E8E41;
  --yellow: #FFD400;
  --red: #D9452B;
  --charcoal: #1E1E1E;
  --muted: #5B6B60;
  --grid: #C9D8BE;

  /* Kelly with cream text is 3.4:1, fine for 19px+ bold buttons; small buttons use this deeper step (4.6:1) */
  --kelly-deep: #2F7733;
  --forest-rgb: 31 59 45;
  --cream-soft: rgb(242 234 219 / 0.82);

  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-label: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --outline: 1.2px solid var(--charcoal);
  --radius: 8px;
  --shadow: 4px 4px 0 var(--charcoal);
  --header-h: 60px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, p, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--charcoal);
  font-weight: 700;
  border: var(--outline);
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) {
  .container { padding-inline: 32px; }
}

/* Yardage-book paper: thin light-green grid on cream */
.grid-paper {
  background-color: var(--cream);
  background-image:
    linear-gradient(to right, var(--grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
}

.label {
  margin-bottom: 14px;
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--forest);
}
.label--yellow { color: var(--yellow); }

.section-title {
  color: var(--forest);
  font-size: clamp(2rem, 1.45rem + 2.4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0.6em 1.3em;
  background: var(--kelly);
  color: var(--cream);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: inherit;
  font-size: 1.1875rem; /* 19px bold = WCAG large text */
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--charcoal);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--charcoal);
}
.btn__icon {
  flex: none;
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
}
.btn--outline {
  background: transparent;
  border-color: var(--cream);
}
.btn--outline:hover { background: rgb(242 234 219 / 0.08); }
.btn--small {
  min-height: 38px;
  padding: 0.4em 0.85em;
  background: var(--kelly-deep);
  box-shadow: 3px 3px 0 var(--charcoal);
  font-size: 0.8125rem;
}
.btn--small:active { box-shadow: 0 0 0 var(--charcoal); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--forest);
  color: var(--cream);
  border-bottom: var(--outline);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.brand__logo { width: 36px; height: 36px; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-header__nav .btn { margin-left: 8px; }
.icon-link {
  display: none; /* no room next to the button on small phones; both links sit right below in the hero */
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: var(--cream);
}
.icon-link svg { width: 22px; height: 22px; fill: currentColor; }
.icon-link:hover { color: var(--yellow); }

@media (min-width: 480px) {
  .icon-link { display: grid; }
}
@media (min-width: 768px) {
  .brand { gap: 10px; font-size: 1.0625rem; }
  .btn--small { font-size: 0.875rem; padding-inline: 1em; }
}

/* ---------- 1. Hero ---------- */

.hero {
  position: relative;
  z-index: 2; /* Pete's feet hang over the next section */
  isolation: isolate;
  background: var(--forest);
  color: var(--cream);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__bg picture,
.hero__bg img {
  width: 100%;
  height: 100%;
}
.hero__bg img {
  object-fit: cover;
  object-position: 70% 100%;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgb(var(--forest-rgb) / 0.95) 0%,
    rgb(var(--forest-rgb) / 0.88) 50%,
    rgb(var(--forest-rgb) / 0.35) 100%);
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 44px;
}
.hero__copy {
  width: 100%;
  max-width: 620px;
}
.hero__title {
  font-size: clamp(2.25rem, 1.35rem + 4.2vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
@media (min-width: 480px) {
  .hero__line { display: block; } /* one sentence per line, like the OG card */
}
.hero__sub {
  max-width: 36ch;
  margin-top: 18px;
  color: var(--cream-soft);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.hero__pete {
  position: relative;
  z-index: 3;
  width: 230px;
  margin-top: 28px;
  align-self: center;
  margin-bottom: -48px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__pete { animation: pete-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s both; }
}
@keyframes pete-in {
  from { opacity: 0; transform: translateY(48px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .hero__pete {
    align-self: flex-end;
    width: 280px;
    margin-right: 24px;
  }
}

@media (min-width: 1024px) {
  .hero {
    display: flex;
    min-height: 90vh;
    min-height: 90svh;
  }
  .hero__bg::after {
    background: linear-gradient(90deg,
      rgb(var(--forest-rgb) / 0.96) 0%,
      rgb(var(--forest-rgb) / 0.9) 36%,
      rgb(var(--forest-rgb) / 0.45) 60%,
      rgb(var(--forest-rgb) / 0) 82%);
  }
  .hero__inner {
    flex-direction: row;
    align-items: center;
    padding-block: 64px 96px;
  }
  .hero__copy { max-width: 660px; }
  .hero__title { font-size: clamp(2.75rem, 4.6vw, 4.25rem); } /* "Still three-putting." stays on one line, clear of Pete */
  .hero__pete {
    position: absolute;
    right: 40px;
    bottom: -56px;
    width: auto;
    margin: 0;
  }
  .hero__pete img {
    width: auto;
    height: min(78vh, 700px, 56vw);
  }
}

/* ---------- 2. The yardage book ---------- */

.book {
  position: relative;
  z-index: 1;
  padding-block: 96px 80px;
  border-bottom: var(--outline);
}
.book__inner {
  display: grid;
  gap: 48px;
  align-items: center;
}
.book-stack {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  padding-block: 12px 20px;
}
.book-stack__cover {
  position: relative;
  z-index: 2;
  width: 62%;
  margin-left: 6%;
  transform: rotate(-3deg);
}
.book-stack__page {
  position: absolute;
  z-index: 1;
  top: 16%;
  right: 2%;
  width: 54%;
  transform: rotate(5deg);
}
.book-stack img {
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.lede {
  max-width: 42ch;
  margin-top: 16px;
  font-size: 1.125rem;
}
.checks {
  display: grid;
  gap: 12px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}
.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  line-height: 1.5;
}
.checks svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--kelly);
}

@media (min-width: 960px) {
  .book { padding-block: 136px 112px; }
  .book__inner {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

/* ---------- 3. Follow along ---------- */

.follow {
  padding-top: 80px;
  background: var(--cream);
}
.follow__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.follow__copy {
  width: 100%;
  padding-bottom: 40px;
}
.link-cards {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 24px 28px;
  background: #fff;
  color: var(--charcoal);
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.link-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--charcoal);
}
.link-card:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--charcoal);
}
.link-card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  background: var(--forest);
  color: var(--cream);
  border: var(--outline);
  border-radius: var(--radius);
}
.link-card__icon svg { width: 26px; height: 26px; fill: currentColor; }
.link-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}
.link-card__text {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}
.link-card__arrow {
  position: absolute;
  top: 24px;
  right: 22px;
  width: 24px;
  height: 24px;
  color: var(--forest);
  transition: transform 0.12s ease;
}
.link-card:hover .link-card__arrow { transform: translateX(3px); }
.follow__pete { width: 240px; }

@media (min-width: 640px) {
  .link-cards { grid-template-columns: 1fr 1fr; }
  .link-card { min-height: 220px; padding: 28px 28px 32px; }
}
@media (min-width: 960px) {
  .follow { padding-top: 56px; }
  .follow__inner {
    display: grid;
    grid-template-columns: minmax(260px, 330px) 1fr;
    gap: 56px;
    align-items: end;
  }
  .follow__pete { order: -1; width: 100%; }
  .follow__copy { align-self: center; padding-block: 40px 96px; }
}

/* ---------- 4. Footer ---------- */

.site-footer {
  padding-block: 40px 32px;
  background: var(--forest);
  color: var(--cream);
  border-top: var(--outline);
  font-size: 0.9375rem;
}
.site-footer__inner {
  display: grid;
  gap: 24px;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__name { font-weight: 700; line-height: 1.3; }
.site-footer__tagline {
  color: var(--cream-soft);
  font-style: italic;
  line-height: 1.4;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__links li:not(:last-child)::after {
  content: "·";
  margin-inline: 10px;
  color: var(--cream-soft);
}
.site-footer__links a {
  display: inline-block;
  padding-block: 6px;
  text-decoration-color: rgb(242 234 219 / 0.4);
  text-underline-offset: 3px;
}
.site-footer__links a:hover { color: var(--yellow); }
.site-footer__legal {
  padding-top: 20px;
  border-top: 1px solid rgb(242 234 219 / 0.15);
  color: var(--cream-soft);
  font-size: 0.8125rem;
}

@media (min-width: 960px) {
  .site-footer__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .site-footer__legal { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .link-card, .link-card__arrow { transition: none; }
}

/* ======================================================================
   Inner pages
   ====================================================================== */

.page-title {
  color: var(--forest);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Outline button on cream */
.btn--ghost {
  background: transparent;
  color: var(--charcoal);
}
.btn--ghost:hover { background: rgb(30 30 30 / 0.05); }
.btn:disabled {
  cursor: progress;
  opacity: 0.85;
  transform: none;
  box-shadow: var(--shadow);
}

/* ---------- /book: signup ---------- */

/* Phones and tablets: a poster-style top. Label and big stacked title on the left,
   Pete with the cover tucked behind him on the right, both standing on one ground line.
   The copy wrapper drops out (display: contents) so its children join this grid. */
.signup__inner {
  --pete-h: clamp(200px, 62vw, 330px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head   visual"
    "ground ground"
    "sub    sub"
    "checks checks"
    "form   form";
  column-gap: 4px;
  padding-block: 20px 64px;
}
.signup__copy { display: contents; }
.signup__head {
  grid-area: head;
  align-self: end;
  padding-bottom: 14px;
}
.signup__head .label { margin-bottom: 10px; text-wrap: balance; }
.signup__visual {
  grid-area: visual;
  display: flex;
  align-items: flex-end;
  height: var(--pete-h);
  padding-right: calc(var(--pete-h) * 0.18); /* room for the cover peeking out */
}
.signup__ground {
  grid-area: ground;
  margin-inline: calc(50% - 50vw); /* full-bleed */
  border-top: var(--outline);
}
.pete-book {
  position: relative;
  isolation: isolate;
  height: 100%;
}
.pete-book__pete,
.pete-book__pete img { height: 100%; width: auto; }
.pete-book__cover {
  position: absolute;
  z-index: -1;
  top: 13%;
  left: 42%;
  width: 82%;
  transform: rotate(6deg);
}
.pete-book__cover img {
  border: var(--outline);
  border-radius: 4px;
  box-shadow: 3px 3px 0 var(--charcoal);
}
.signup__title {
  color: var(--forest);
  font-size: clamp(1.875rem, 10vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.signup__sub {
  grid-area: sub;
  max-width: 44ch;
  margin-top: 16px;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.signup .checks {
  grid-area: checks;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 0.9375rem;
}
.signup .checks svg { width: 20px; height: 20px; }

.signup-form {
  grid-area: form;
  position: relative;
  max-width: 520px;
  margin-top: 24px;
  padding: 18px;
  background: #fff;
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.signup-form__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  line-height: 1.3;
}
.signup-form__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: var(--cream);
  color: var(--charcoal);
  border: var(--outline);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1.0625rem;
}
.signup-form__input:focus-visible,
.signup-form .btn:focus-visible {
  outline: 3px solid var(--kelly-deep);
  outline-offset: 2px;
}
.signup-form .btn {
  width: 100%;
  margin-top: 12px;
  padding-inline: 0.8em;
  white-space: normal;
}
.signup-form__consent {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.signup-form__consent a { color: var(--forest); }
.signup-form__trust {
  margin-top: 8px;
  color: var(--forest);
  font-size: 0.8125rem;
  font-weight: 500;
}
/* Honeypot: off-screen for people and hidden from screen readers; bots fill it in */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Short phones (iPhone SE and similar): tighten so the email field is above the fold */
@media (max-width: 639px) and (max-height: 720px) {
  .signup__inner { --pete-h: 176px; padding-top: 12px; }
  .signup__title { font-size: 1.875rem; }
  .signup__sub { margin-top: 10px; }
  .signup .checks { gap: 6px; margin-top: 12px; }
  .signup-form { margin-top: 16px; }
}
@media (min-width: 640px) {
  .signup .checks { font-size: 1rem; }
  .signup-form { padding: 24px; }
}
@media (min-width: 1024px) {
  .signup__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
    grid-template-areas: none;
    column-gap: 56px;
    min-height: calc(100vh - var(--header-h));
    padding-block: 0;
  }
  .signup__copy {
    display: block;
    grid-area: auto;
    align-self: center;
    padding-block: 56px 72px;
  }
  .signup__head { padding: 0; }
  .signup__head .label { margin-bottom: 14px; }
  .signup__ground { display: none; }
  .signup__visual {
    grid-area: auto;
    order: 2;
    align-self: end;
    justify-content: flex-end;
    height: auto;
    padding: 40px 0 0;
  }
  .pete-book { height: auto; }
  .pete-book__pete img { height: min(640px, 74vh); }
  .pete-book__cover {
    top: 18%;
    right: 52%;
    left: auto;
    width: 72%;
    transform: rotate(-8deg);
  }
  .signup__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); }
  .signup__sub { font-size: 1.1875rem; margin-top: 16px; }
  .signup .checks { gap: 10px; margin-top: 22px; }
}

/* ---------- /book/thanks, /book/confirmed ---------- */

.center-page {
  padding-block: 40px 88px;
  text-align: center;
}
.center-page__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin-inline: auto;
}
.center-page__pete {
  width: 190px;
  margin-bottom: 24px;
}
.center-page .lede {
  max-width: 46ch;
  margin-inline: auto;
}
.small-print {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.small-print a { color: var(--forest); font-weight: 500; }
.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.button-row--secondary { margin-top: 16px; }
@media (min-width: 768px) {
  .center-page { padding-block: 56px 112px; }
  .center-page__pete { width: 250px; }
}

/* ---------- /privacy ---------- */

.prose {
  max-width: 680px;
  margin-inline: auto;
  padding-block: 48px 88px;
}
.prose .meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9375rem;
}
.prose h2 {
  margin-top: 36px;
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 1.3125rem;
  line-height: 1.3;
}
.prose p + p,
.prose p + ul,
.prose ul + p { margin-top: 12px; }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--forest); font-weight: 500; }
.prose address { font-style: normal; }

/* ---------- 404 ---------- */

.notfound {
  padding-block: 40px 88px;
}
.notfound__inner {
  display: grid;
  gap: 32px;
  align-items: center;
}
.notfound__image {
  width: min(100%, 460px);
  margin-inline: auto;
}
.notfound__image img {
  border: var(--outline);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.notfound .lede { margin-bottom: 28px; }
@media (min-width: 900px) {
  .notfound { padding-block: 88px 120px; }
  .notfound__inner {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 64px;
  }
}
