/* TylerTamboline.com
   Blue (#001DC8) everywhere. The one exception is the Front 9 golf scorecard, which is green via .golf. */

:root {
  --paper: #FAFAF8;
  --ink: #0D1330;
  --muted: #565C72;
  --grid: #D9DCE6;
  --accent: #001DC8;
  --accent-deep: #00169C;
  --accent-tint: #EEF0FC;
  --on-accent-muted: #C9D0F7;
  --focus: #001DC8;
  --photo: #B6B7BB; /* the grey of the headshot's studio backdrop */

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

.golf {
  --paper: #FAFBF7;
  --ink: #13261C;
  --muted: #55665B;
  --grid: #C9D5CA;
  --accent: #1E5A3C;
  --accent-deep: #163F2B;
  --accent-tint: #EEF3EC;
  --on-accent-muted: #CFE0D4;
  --focus: #1E5A3C;
  --birdie: #C42B2B;
  --sand: #E8DFC4;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

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

h1, h2, h3 { font-family: var(--sans); color: var(--ink); margin: 0; }
h2 {
  font-size: clamp(2.25rem, 4.4vw, 3.25rem);
  font-stretch: 78%;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;
}
h3 { font-size: 1.375rem; font-stretch: 88%; font-weight: 700; line-height: 1.2; }
p { margin: 0; }
[id] { scroll-margin-top: 84px; }

.lede { font-size: 1.3125rem; line-height: 1.55; max-width: 34em; }
.lede + .lede { margin-top: 1em; }
.note { font-family: var(--sans); font-size: 0.875rem; line-height: 1.45; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--grid);
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 10px 24px -18px color-mix(in srgb, var(--ink) 45%, transparent); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.wordmark {
  font-family: var(--sans); font-weight: 800; font-stretch: 112%;
  font-size: 1.0625rem; letter-spacing: 0.01em; color: var(--ink); text-decoration: none; white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); font-family: var(--sans); font-size: 0.9375rem; }
.nav a { color: var(--ink); text-decoration: none; }
.nav .nav-link:hover { color: var(--accent); text-decoration: underline; }
.nav .nav-link[aria-current="page"] { color: var(--accent); font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav .nav-cta { color: #fff; background: var(--accent); padding: 9px 16px; border-radius: 6px; font-weight: 600; }
.nav .nav-cta:hover { background: var(--accent-deep); color: #fff; }

.menu-toggle {
  display: none; font: 600 0.9375rem var(--sans); color: var(--ink); background: none;
  border: 1.5px solid var(--grid); border-radius: 6px; padding: 7px 12px; cursor: pointer;
}
.mobile-nav { display: none; }
@media (max-width: 760px) {
  .nav .nav-link { display: none; }
  .site-header .wrap { gap: 12px; }
  .nav { gap: 8px; }
  .nav .nav-cta { padding: 8px 12px; }
  .menu-toggle { display: inline-block; }
  .site-header.nav-open .mobile-nav { display: block; }
  .mobile-nav { border-top: 1px solid var(--grid); padding: 8px var(--gutter) 16px; }
  .mobile-nav a {
    display: block; padding: 12px 0; font: 700 1.25rem var(--sans); font-stretch: 85%;
    color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--grid);
  }
  .mobile-nav a[aria-current="page"] { color: var(--accent); }
}

/* ---------- Home hero (after philgalfond.com: photo, current focus, roles) ---------- */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 96px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(32px, 6vw, 88px);
  grid-template-areas: "focus photo" "title photo" "lede photo" "signup photo";
  grid-template-rows: auto auto auto 1fr; align-items: start;
}
.hero-grid .portrait { grid-area: photo; }
.hero-grid .focus { grid-area: focus; justify-self: start; }
.hero-grid h1 { grid-area: title; }
.hero-grid .lede { grid-area: lede; }
.hero-grid .signup { grid-area: signup; }
.hero h1 {
  margin: 22px 0 24px; font-size: clamp(3rem, 6.2vw, 5rem); font-stretch: 70%; font-weight: 900;
  line-height: 0.92; letter-spacing: -0.02em;
}
/* each role rises in on its own; lines only break between roles */
.hero h1.roles span { display: inline-block; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "photo" "focus" "title" "lede" "signup"; grid-template-rows: none; }
  .hero-grid .portrait { margin-bottom: 28px; }
}

.focus {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent); font: 600 0.875rem/1.3 var(--sans); text-decoration: none;
}
.focus:hover { color: var(--accent-deep); background: color-mix(in srgb, var(--accent) 14%, var(--paper)); }
.focus .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; animation: pulse 2.4s ease-out infinite; }

/* the tagline, reframed beyond DFS, gets its own band under the hero */
.tagline-band { padding: clamp(64px, 9vw, 120px) 0; border-top: 1px solid var(--grid); }
.tagline { font-family: var(--sans); font-stretch: 70%; font-size: clamp(3rem, 8.6vw, 7rem); line-height: 0.9; letter-spacing: -0.02em; }
.tagline span { display: block; }
.tagline .belief { font-weight: 300; color: var(--muted); }
.tagline .point { font-weight: 900; color: var(--ink); }
.tagline-note { margin-top: clamp(20px, 3vw, 32px); font-size: 1.3125rem; line-height: 1.55; max-width: 34em; }

/* cut-out headshot on its own studio grey; the cap rises above the panel's top edge.
   The source is 400px square, so the figure never grows past that. */
.portrait { margin: 0; max-width: 400px; }
.portrait .frame { position: relative; }
.portrait .frame::before { content: ""; position: absolute; inset: 17% 0 0; background: var(--photo); border-radius: 14px; }
.portrait img { position: relative; display: block; width: 100%; height: auto; border-radius: 0 0 14px 14px; }
.portrait figcaption { margin-top: 12px; font-family: var(--sans); font-size: 0.875rem; color: var(--muted); }
@media (max-width: 860px) { .portrait { max-width: 320px; } }

/* ---------- Inner page hero ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 {
  font-size: clamp(3rem, 7.6vw, 6.25rem); font-stretch: 70%; font-weight: 900;
  line-height: 0.92; letter-spacing: -0.02em; margin-bottom: clamp(24px, 3vw, 36px); max-width: 12em;
}
.page-hero .lede { max-width: 36em; }
.page-hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Buttons + signup ---------- */
.btn {
  font-family: var(--sans); font-size: 1rem; font-weight: 650; cursor: pointer;
  border: 0; border-radius: 6px; padding: 13px 20px; background: var(--accent); color: #fff;
  text-decoration: none; display: inline-block; line-height: 1.25;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-quiet { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn-quiet:hover { background: var(--accent); color: #fff; }

.signup { margin-top: 36px; max-width: 34em; }
.signup h2 { font-size: 1.5rem; font-stretch: 85%; font-weight: 750; line-height: 1.2; margin-bottom: 6px; }
.signup p.blurb { font-size: 1.0625rem; color: var(--muted); margin-bottom: 16px; }
.signup form { display: flex; gap: 8px; flex-wrap: wrap; }
.signup input {
  flex: 1 1 240px; min-width: 0; font: inherit; font-family: var(--sans); font-size: 1rem;
  padding: 13px 14px; border: 1.5px solid var(--grid); border-radius: 6px; background: #fff; color: var(--ink);
}
.signup input:focus-visible, .apply input:focus-visible, .apply textarea:focus-visible {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent);
}
.signup .note { margin-top: 10px; }
.done { display: none; align-items: center; font-family: var(--sans); font-weight: 600; color: var(--accent); padding: 13px 0; }
.is-done form { display: none; }
.is-done .done { display: flex; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section + .section, .page-hero + .section, .hero + .section, .tagline-band + .section { border-top: 1px solid var(--grid); }
.page-hero + .section { padding-top: clamp(48px, 6vw, 80px); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 88px); }
.split > header p { margin-top: 16px; color: var(--muted); font-size: 1.0625rem; max-width: 22em; }
.split > header .more { margin-top: 20px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.more { margin-top: 24px; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin-top: 14px; color: var(--muted); font-size: 1.0625rem; max-width: 34em; }

/* ---------- Home: where to start ---------- */
.start { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.start a {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 40px; align-items: baseline;
  padding: clamp(22px, 3vw, 32px) 0; border-bottom: 1px solid var(--grid); color: var(--ink); text-decoration: none;
  transition: background-color 0.25s;
}
.start h3 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-stretch: 75%; font-weight: 850; }
.start h3 span {
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0% 3px no-repeat;
  padding-bottom: 2px; transition: background-size 0.35s cubic-bezier(.2, .7, .2, 1), color 0.2s;
}
.start a:hover h3 span, .start a:focus-visible h3 span { background-size: 100% 3px; color: var(--accent); }
.start p { color: var(--muted); font-size: 1.0625rem; }
@media (max-width: 700px) { .start a { grid-template-columns: 1fr; } }

/* ---------- Home: what I'm building ---------- */
.ventures { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.venture { border-top: 3px solid var(--accent); padding-top: 20px; }
.venture .role { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--accent); margin-top: 6px; }
.venture h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-stretch: 78%; font-weight: 850; }
.venture p.body { margin-top: 12px; font-size: 1.0625rem; color: var(--ink); max-width: 30em; }
.venture .links { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }
@media (max-width: 760px) { .ventures { grid-template-columns: 1fr; } }

/* ---------- Article lists ---------- */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.posts li { border-bottom: 1px solid var(--grid); }
.posts a {
  display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px 24px; align-items: baseline;
  padding: 20px 0; color: var(--ink); text-decoration: none;
}
.posts time { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
.posts h3 { font-size: 1.3125rem; grid-column: 2; }
.posts h3 span {
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0% 2px no-repeat;
  padding-bottom: 2px; transition: background-size 0.35s cubic-bezier(.2, .7, .2, 1), color 0.2s;
}
.posts a:hover h3 span, .posts a:focus-visible h3 span { background-size: 100% 2px; color: var(--accent); }
.posts .sum { grid-column: 2; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.posts time { grid-column: 1; grid-row: 1; }
.posts .status { padding: 20px 0; font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); }
.posts .status a { display: inline; padding: 0; color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) {
  .posts a { grid-template-columns: 1fr; }
  .posts h3, .posts .sum, .posts time { grid-column: 1; grid-row: auto; }
}

.video-note {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center;
  background: var(--accent-tint); border-left: 4px solid var(--accent); padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 32px);
  margin-bottom: clamp(32px, 4vw, 48px); border-radius: 0 6px 6px 0;
}
.video-note h2 { font-size: 1.625rem; font-stretch: 80%; }
.video-note p { margin-top: 6px; font-size: 1.0625rem; color: var(--muted); max-width: 34em; }
@media (max-width: 700px) { .video-note { grid-template-columns: 1fr; } }

/* ---------- Newsletter week + coaching call steps ---------- */
.week, .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.week li, .steps li { border-top: 3px solid var(--accent); padding-top: 18px; }
.week p, .steps p { margin-top: 8px; font-size: 1.0625rem; color: var(--muted); }
.week .day, .steps .day { margin-top: 0; font-family: var(--sans); font-weight: 900; font-stretch: 70%; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 0.9; color: var(--accent); }
.steps .day { font-size: clamp(2.5rem, 4.6vw, 3.5rem); }
.week h3, .steps h3 { margin-top: 14px; font-size: 1.5rem; font-stretch: 82%; font-weight: 800; }
@media (max-width: 760px) { .week, .steps { grid-template-columns: 1fr; } }

/* ---------- Coaching ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.quote { margin: 0; padding: clamp(24px, 3vw, 32px); background: #fff; border: 1px solid var(--grid); border-radius: 6px; }
.quote.lead { grid-column: 1 / -1; background: var(--accent); border-color: var(--accent); color: #fff; }
.quote blockquote { margin: 0; font-size: 1.25rem; line-height: 1.5; }
.quote.lead blockquote { font-family: var(--sans); font-stretch: 80%; font-weight: 800; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.12; letter-spacing: -0.01em; }
.quote figcaption { margin-top: 16px; font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.quote.lead figcaption { color: var(--on-accent-muted); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.ways article { background: #fff; border: 1px solid var(--grid); border-top: 4px solid var(--accent); border-radius: 0 0 6px 6px; padding: clamp(24px, 3vw, 36px); }
.ways .kind { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.ways h3 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-stretch: 75%; font-weight: 900; line-height: 1; }
.ways p.body { margin-top: 14px; font-size: 1.0625rem; }
.ways .links { margin-top: 18px; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }
.lengths { list-style: none; margin: 20px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lengths li {
  font-family: var(--sans); font-weight: 800; font-stretch: 85%; font-size: 1.125rem;
  padding: 8px 14px; border-radius: 999px; background: var(--accent-tint); color: var(--accent);
}
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }

.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); }
.topics li { border-top: 1px solid var(--grid); padding: 18px 0 20px; }
.topics li:nth-child(-n+2) { border-top: 1.5px solid var(--ink); }
.topics h3 { font-size: 1.3125rem; }
.topics p { margin-top: 6px; font-size: 1.0625rem; line-height: 1.5; color: var(--muted); }
@media (max-width: 600px) {
  .topics { grid-template-columns: 1fr; }
  .topics li:nth-child(2) { border-top: 1px solid var(--grid); }
}

.statement {
  margin-bottom: clamp(40px, 6vw, 72px); font-family: var(--sans); font-weight: 900; font-stretch: 70%;
  font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink);
}
.statement span { display: block; }

.apply { display: grid; gap: 16px; max-width: 40em; }
.apply .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .apply .row { grid-template-columns: 1fr; } }
.apply label { display: grid; gap: 6px; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }
.apply label small { font-weight: 400; color: var(--muted); }
.apply input, .apply textarea {
  font: inherit; font-family: var(--sans); font-size: 1rem; font-weight: 400; padding: 12px 14px;
  border: 1.5px solid var(--grid); border-radius: 6px; background: #fff; color: var(--ink); width: 100%;
}
.apply textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.apply .choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--sans); }
.apply .choice legend { padding: 0; margin-bottom: 8px; font-size: 0.9375rem; font-weight: 600; }
.apply .choice label { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.apply .choice input { width: auto; padding: 0; margin: 0; accent-color: var(--accent); }
.apply .btn { justify-self: start; }

/* ---------- DFS: the core two + tools ---------- */
.core { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.core article { background: #fff; border: 1px solid var(--grid); border-top: 4px solid var(--accent); border-radius: 0 0 6px 6px; padding: clamp(24px, 3vw, 36px); }
.core .role { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--accent); margin-top: 8px; }
.core h3 { font-size: clamp(2rem, 3.6vw, 2.75rem); font-stretch: 75%; font-weight: 900; line-height: 1; }
.core p.body { margin-top: 16px; font-size: 1.0625rem; }
.core .links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .core { grid-template-columns: 1fr; } }

.tool { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px clamp(28px, 5vw, 72px); border-top: 1.5px solid var(--ink); padding-top: 28px; }
.tool .name { font-family: var(--sans); font-weight: 900; font-stretch: 75%; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; }
.tool .tagline { margin-top: 12px; font-size: 1.375rem; line-height: 1.35; }
.tool .sub { margin-top: 8px; color: var(--muted); font-size: 1.0625rem; }
.tool .btn { margin-top: 20px; }
.tool ul { margin: 0; padding: 0 0 0 1.1em; font-size: 1.0625rem; line-height: 1.5; }
.tool li + li { margin-top: 8px; }
.tool li::marker { color: var(--accent); }
@media (max-width: 860px) { .tool { grid-template-columns: 1fr; } }

/* ---------- Scorecard (DFS page) ---------- */
.card-band { background: #fff; border-top: 1px solid var(--grid); border-bottom: 1px solid var(--grid); padding: clamp(56px, 7vw, 88px) 0; }
.card-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 28px; }
.card-head p { max-width: 30em; color: var(--muted); font-size: 1.0625rem; margin-top: 12px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); list-style: none; margin: 0; padding: 0; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend .mk { width: 18px; height: 18px; flex: none; }

.scorecard { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--sans); border: 1.5px solid var(--accent); }
.scorecard th, .scorecard td { border: 1px solid var(--grid); text-align: center; vertical-align: middle; }
.scorecard thead th { background: var(--accent); color: #fff; font-weight: 700; font-size: 0.8125rem; padding: 8px 4px; border-color: var(--accent-deep); }
.scorecard tbody th { width: 92px; text-align: left; padding: 10px 12px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); background: #F4F7F2; }
.scorecard .yr td { font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; padding: 10px 4px; }
.scorecard .score td { height: 92px; padding: 6px 4px; }
.scorecard .what td { font-family: var(--serif); font-size: 0.875rem; line-height: 1.35; padding: 12px 8px; vertical-align: top; text-align: left; color: var(--ink); }
.scorecard .out { background: var(--sand); }
.scorecard thead .out { background: var(--accent-deep); }
.scorecard .what .out { font-family: var(--sans); font-weight: 600; text-align: center; }
.scorecard caption { caption-side: bottom; text-align: left; padding-top: 12px; }

.mark {
  position: relative; display: inline-grid; place-items: center;
  min-width: 62px; height: 62px; padding: 0 6px;
  font-weight: 800; font-stretch: 80%; font-size: 1.25rem; color: var(--ink); font-variant-numeric: tabular-nums;
}
.mark svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mark svg * { fill: none; stroke-width: 1.8; }
.mark.word { min-width: 80px; font-size: 1rem; font-stretch: 85%; }
.mark.birdie, .mark.eagle { color: var(--birdie); }
.mark.birdie svg *, .mark.eagle svg * { stroke: var(--birdie); }
.mark.bogey svg * { stroke: var(--ink); }
.mark.par { font-weight: 600; font-size: 0.9375rem; font-stretch: 90%; color: var(--muted); }
.out-total { font-weight: 900; font-stretch: 75%; font-size: 1.625rem; color: var(--ink); }

/* the pencil marks draw in when the card scrolls into view */
.js .mark svg * { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .scorecard.inked .mark svg * { transition: stroke-dashoffset 0.7s cubic-bezier(.6, 0, .3, 1); transition-delay: var(--d, 0s); stroke-dashoffset: 0; }

/* phones: each hole becomes a row, built from the table by site.js */
.card-mobile { display: none; }
@media (max-width: 860px) {
  .card-desktop { display: none; }
  .scorecard.card-mobile { display: grid; border: 0; }
  .scorecard .hole-row {
    display: grid; grid-template-columns: 34px 56px minmax(0, 1fr) 76px; align-items: center;
    border: 1px solid var(--grid); border-top: 0; background: #fff;
  }
  .scorecard .hole-row:first-child { border-top: 1.5px solid var(--accent); }
  .scorecard .hole-row > * { padding: 12px 8px; text-align: left; }
  .scorecard .hole-row .h { font-weight: 700; font-size: 0.8125rem; color: #fff; background: var(--accent); align-self: stretch; display: grid; place-items: center; padding: 0; }
  .scorecard .hole-row .y { font-weight: 700; font-size: 0.9375rem; }
  .scorecard .hole-row .w { font-family: var(--serif); font-size: 0.9375rem; line-height: 1.35; }
  .scorecard .hole-row .s { display: grid; place-items: center; padding: 6px 4px; }
  .scorecard .hole-row.out-row { background: var(--sand); }
  .scorecard .hole-row.out-row .h { background: var(--accent-deep); font-size: 0.75rem; }
  .scorecard .hole-row.out-row .y { font-size: 0.75rem; white-space: nowrap; }
  .mark { min-width: 52px; height: 52px; font-size: 1.0625rem; }
  .mark.word { min-width: 66px; font-size: 0.875rem; }
  .out-total { font-size: 1.125rem; }
}

/* ---------- Shows + free stuff (DFS page) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.two-col h2 { margin-bottom: 12px; }
.two-col > div > p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 24px; }
.stack { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.stack li { padding: 20px 0; border-bottom: 1px solid var(--grid); }
.stack h3 { font-size: 1.25rem; }
.stack p { font-size: 1.0625rem; line-height: 1.5; color: var(--muted); margin-top: 4px; }
.stack .link { display: inline-block; margin-top: 8px; font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }

/* ---------- About ---------- */
.about-body p { max-width: 36em; }
.about-body p + p { margin-top: 1.1em; }
.handles { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-family: var(--sans); font-size: 0.9375rem; }
.handles dt { color: var(--muted); }
.handles dd { margin: 0; font-weight: 600; }
.handles div { display: flex; gap: 8px; }

/* ---------- Closing CTA ---------- */
.closing { background: var(--accent); color: #fff; padding: clamp(64px, 9vw, 112px) 0; }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: end; }
.closing h2 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.5rem); font-stretch: 70%; font-weight: 900; line-height: 0.95; }
.closing h2 span { display: block; }
.closing .signup { margin-top: 0; }
.closing .signup p.blurb, .closing .signup .note { color: var(--on-accent-muted); }
.closing .signup input { border-color: transparent; }
.closing .btn { background: #fff; color: var(--accent); }
.closing .btn:hover { background: var(--accent-tint); color: var(--accent-deep); }
.closing .done { color: #fff; }
.closing :focus-visible { outline-color: #fff; }
@media (max-width: 860px) { .closing .wrap { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 56px; font-family: var(--sans); font-size: 0.875rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { color: var(--ink); }
.site-footer .rg { flex-basis: 100%; max-width: 46em; line-height: 1.5; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes gain { from { font-weight: var(--gain-from, 300); } to { font-weight: 900; } }
@keyframes recede { from { color: var(--ink); } to { color: var(--muted); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  70%, 100% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 0%, transparent); }
}

/* page load: hero pieces rise in order (--d sets each one's delay) */
.js [data-hero] { opacity: 0; }
.ready [data-hero] { animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) both; }
/* the grey panel lands first, then Tyler rises into it */
.ready .portrait img { animation: rise 1s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0s) + 0.2s) both; }
/* the tagline: once it scrolls into view, the point gains weight while the belief recedes */
.tagline.in .belief { animation: recede 1s ease 0.5s both; }
.tagline.in .point { animation: gain 1.1s cubic-bezier(.65, 0, .25, 1) 0.3s both; }
@media (max-width: 860px) {
  /* the line wraps on phones, so start it at full weight to keep the layout still.
     Same animation list at every width, so resizing across the breakpoint doesn't replay it. */
  .tagline .point { --gain-from: 900; }
}

/* below the fold, things slide up once as they come into view */
.js [data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(.2, .7, .2, 1), transform 0.8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal].in { opacity: 1; transform: none; }

.done .tick { width: 22px; height: 22px; flex: none; margin-right: 10px; }
.done .tick * { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-done .done { animation: rise 0.5s cubic-bezier(.2, .7, .2, 1) both; }
.is-done .tick circle { animation: draw 0.6s ease 0.15s forwards; }
.is-done .tick path { animation: draw 0.35s ease 0.65s forwards; }

@media (prefers-reduced-motion: reduce) {
  .js [data-hero], .js [data-reveal], .ready .portrait img {
    opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important;
  }
  .js .mark svg * { stroke-dashoffset: 0; transition: none !important; }
  .focus .dot { animation: none; }
  .done .tick * { stroke-dashoffset: 0; animation: none !important; }
  .is-done .done { animation: none; }
  .btn:hover { transform: none; }
}
