/* jasenhunt.com
   Sky blue and black come from Jasen's YouTube banner. The type is Atkinson
   Hyperlegible Next, because lettering on a plat has one job: be read.
   Layout: left aligned, one wide column, facts set as schedules the way a
   plat sets its line table. The one loud thing is the lot in the header. */

@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-italic.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --sky: #89D0F0;
  --sky-pale: #E4F4FC;
  --ink: #000000;
  --paper: #FFFFFF;
  --mute: #44525C;
  --rule: #C4D3DC;
  --flag: #E5007A;
  --mark: #FFE45C;

  --font: "Atkinson Hyperlegible Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --t-small: 0.875rem;
  --t-body: 1.125rem;
  --t-lead: 1.375rem;
  --t-h3: 1.5rem;
  --t-h2: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  --t-h1: clamp(2.75rem, 1.4rem + 5.4vw, 4.75rem);
  --t-name: clamp(4.75rem, 1rem + 15vw, 12.5rem);

  --gutter: clamp(1.125rem, 4vw, 3rem);
  --band: clamp(3.5rem, 2rem + 6vw, 7rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  font-optical-sizing: auto;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 0.09em; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 0.18em; }
:focus-visible { outline: 3px solid var(--flag); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--t-h2); font-weight: 800; letter-spacing: -0.022em; }
h3 { font-size: var(--t-h3); font-weight: 700; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

.skip {
  position: absolute; left: var(--gutter); top: -4rem;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; z-index: 20;
}
.skip:focus { top: 0.5rem; }

.wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band); }
.band-pale { background: var(--sky-pale); }
.band-sky { background: var(--sky); }
.band-tight { padding-block: calc(var(--band) * 0.6); }
.stack > * + * { margin-top: 1.1em; }
.measure { max-width: 40rem; }
.lead { font-size: var(--t-lead); line-height: 1.42; }
.small { font-size: var(--t-small); line-height: 1.5; }
.mute { color: var(--mute); }
.head { display: grid; gap: 1rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); max-width: 46rem; }

/* Header */
.site-header { background: var(--sky); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.5rem 2rem; padding-block: 1.1rem;
}
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; list-style: none; font-size: 1.0625rem; }
.nav a { text-decoration: none; padding-block: 0.35rem; display: inline-block; }
.nav a:hover { text-decoration: underline; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 0.16em; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.8rem 1.35rem; border: 2px solid var(--ink); border-radius: 2px;
  font: inherit; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper);
}
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.nav .btn { padding: 0.5rem 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Home hero */
.hero { background: var(--sky); overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 33rem); align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 5rem);
}
.hero-text { display: grid; gap: 1.75rem; padding-bottom: clamp(0rem, 3vw, 2.5rem); min-width: 0; }
.name { font-size: var(--t-name); line-height: 0.84; letter-spacing: -0.045em; font-weight: 800; }
.name span { display: block; }
.hero .lead { max-width: 30rem; }
.hero-plat { margin: 0; min-width: 0; }
.hero-plat figcaption { margin-top: 0.6rem; font-size: var(--t-small); line-height: 1.45; }

/* The lot */
.plat { width: 100%; overflow: visible; font-family: var(--font); }
.plat-boundary { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linejoin: miter; }
.plat-adjoin line { stroke: var(--ink); stroke-width: 1; }
.plat-centerline { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 26 6 5 6; }
.plat-courses text, .plat-road, .plat-pob, .plat-scale text { font-size: 13px; font-weight: 600; fill: var(--ink); letter-spacing: 0.02em; }
.plat-road { font-size: 14px; letter-spacing: 0.14em; }
.plat-monuments .found { fill: var(--sky); stroke: var(--flag); stroke-width: 3; }
.plat-monuments .set { fill: var(--flag); stroke: var(--flag); stroke-width: 3; }
.plat-north path { fill: var(--ink); }
.plat-north text { font-size: 20px; font-weight: 800; fill: var(--ink); }
.plat-scale .fill { fill: var(--ink); stroke: var(--ink); stroke-width: 1.5; }
.plat-scale .open { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.key { display: inline-flex; align-items: center; gap: 0.4em; margin-right: 1em; white-space: nowrap; }
.key i { width: 0.7em; height: 0.7em; border-radius: 50%; border: 0.16em solid var(--flag); display: inline-block; }
.key .set { background: var(--flag); }

@media (prefers-reduced-motion: no-preference) {
  .plat-boundary { stroke-dasharray: 1; stroke-dashoffset: 1; animation: plat-draw 1.5s 0.15s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
  .plat-photo { opacity: 0; animation: plat-in 0.7s 1.2s ease-out forwards; }
  .plat-courses, .plat-monuments, .plat-pob { opacity: 0; animation: plat-in 0.5s 1.55s ease-out forwards; }
}
@keyframes plat-draw { to { stroke-dashoffset: 0; } }
@keyframes plat-in { to { opacity: 1; } }

/* Inner page header */
.page-head { background: var(--sky); }
.page-head .wrap { padding-block: clamp(1.5rem, 5vw, 4rem) clamp(2rem, 5vw, 4rem); display: grid; gap: 1.25rem; }
.page-head .lead { max-width: 42rem; }

/* Schedules: facts set like the tables on a plat */
.schedule { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.schedule caption { text-align: left; font-weight: 800; font-size: var(--t-h3); letter-spacing: -0.015em; padding-bottom: 0.75rem; }
.schedule th, .schedule td { text-align: left; vertical-align: top; padding: 0.8rem 1.25rem 0.8rem 0; border-bottom: 1px solid var(--ink); }
.schedule thead th { border-bottom-width: 2.5px; font-weight: 700; padding-block: 0.5rem; }
.schedule tbody th { font-weight: 700; }
.schedule tr > :last-child { padding-right: 0; }
.schedule .num { white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.table-scroll .schedule { min-width: 34rem; }

/* What I do */
.work { display: grid; }
.work-row { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: 0.5rem 3rem; padding-block: 1.6rem; border-top: 2.5px solid var(--ink); }
.work-row:last-child { border-bottom: 2.5px solid var(--ink); }
.work-row p + p { margin-top: 0.8em; }

/* Two columns of prose with a side note */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.split-photo img { border: 2.5px solid var(--ink); width: 100%; }
.split-photo figcaption { margin-top: 0.6rem; font-size: var(--t-small); color: var(--mute); }
figure { margin: 0; }

/* Story steps: this one is a sequence, so it is numbered */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0 1.25rem; padding-block: 1.5rem; border-top: 1px solid var(--ink); }
.steps > li:first-child { border-top-width: 2.5px; }
.steps > li::before { content: counter(step); font-size: 2.25rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.steps h3 { margin-bottom: 0.5rem; }
.steps p + p { margin-top: 0.8em; }
.source { display: block; margin-top: 0.7rem; font-size: var(--t-small); color: var(--mute); }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 1.75rem; list-style: none; }
.video a { text-decoration: none; display: grid; gap: 0.7rem; }
.video img { border: 2.5px solid var(--ink); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.video strong { font-size: 1.1875rem; line-height: 1.25; font-weight: 700; }
.video a:hover strong { text-decoration: underline; }
.video span { font-size: var(--t-small); color: var(--mute); }
.videos-detail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.videos-detail .video span { font-size: 1rem; line-height: 1.5; color: var(--ink); }

/* Ratings shown with each site's own logo. The Trustpilot numbers refresh from Trustpilot when the page loads. */
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.proof-card { display: grid; gap: 0.8rem; align-content: start; padding: 1.75rem; border: 2.5px solid var(--ink); text-decoration: none; min-width: 0; }
.proof-tp { background: var(--paper); color: var(--ink); }
.proof-whop { background: var(--ink); color: var(--paper); }
.proof-logo { height: 2.1rem; width: auto; }
.proof-stars { width: 11.5rem; height: auto; }
.proof-score { font-size: 1.25rem; font-weight: 600; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2em 0.5em; }
.proof-score b { font-size: 3.25rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.proof-meta { font-size: 1rem; line-height: 1.45; }
.proof-card:hover .proof-meta { text-decoration: underline; }
.proof-whop:focus-visible { outline-color: var(--flag); }
.trustbox-wrap { margin-top: 1.25rem; max-width: 15rem; min-height: 52px; }

/* Reviews list */
.reviews { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.reviews li { padding-block: 1.15rem; border-top: 1px solid var(--ink); display: grid; gap: 0.25rem; }
.reviews q { font-weight: 700; font-size: 1.1875rem; line-height: 1.3; quotes: "\201C" "\201D"; }
.reviews span { font-size: var(--t-small); color: var(--mute); }

/* Questions */
.qa-layout { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.qa-index { position: sticky; top: 1.5rem; list-style: none; display: grid; gap: 0.55rem; font-size: 1rem; line-height: 1.35; }
.qa-index a { text-decoration: none; }
.qa-index a:hover { text-decoration: underline; }
.qa { display: grid; }
.qa > section { padding-block: 2rem; border-top: 1px solid var(--ink); max-width: 44rem; scroll-margin-top: 1rem; }
.qa > section:first-child { border-top-width: 2.5px; }
.qa h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); margin-bottom: 0.9rem; }
.qa p + p, .qa p + ul, .qa ul + p { margin-top: 0.8em; }
.qa ul, .prose ul { padding-left: 1.2em; }
.qa li + li, .prose li + li { margin-top: 0.3em; }
.home-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3.5rem; }
.home-qa > div { padding-block: 1.5rem; border-top: 1px solid var(--ink); }
.home-qa h3 { margin-bottom: 0.5rem; }

.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }

/* Contact */
.contact-list { list-style: none; display: grid; }
.contact-list li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 0.25rem 2rem; padding-block: 1.25rem; border-top: 1px solid var(--ink); align-items: baseline; }
.contact-list li:first-child { border-top-width: 2.5px; }
.contact-list strong { font-size: 1.1875rem; }
.copy { font: inherit; font-size: var(--t-small); font-weight: 700; padding: 0.25rem 0.6rem; margin-left: 0.5rem; border: 1.5px solid var(--ink); border-radius: 2px; background: var(--paper); color: var(--ink); cursor: pointer; }
.copy:hover { background: var(--ink); color: var(--paper); }
.bio-box { border: 2.5px solid var(--ink); padding: 1.25rem 1.4rem; background: var(--paper); }
.bio-box + .bio-box { margin-top: 1.25rem; }
.bio-box h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }

/* Footer: a title block, with the facts a title block carries */
.site-footer { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.titleblock { border: 2.5px solid var(--ink); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.titleblock > div { padding: 0.9rem 1.1rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); min-width: 0; }
.titleblock dt { font-size: var(--t-small); color: var(--mute); }
.titleblock dd { margin: 0.1rem 0 0; font-weight: 700; overflow-wrap: anywhere; }
.titleblock .tb-wide { grid-column: span 2; }
.titleblock .tb-full { grid-column: 1 / -1; border-right: 0; }
.titleblock .tb-end { border-right: 0; }
.titleblock .tb-last { border-bottom: 0; }
.titleblock .links { display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; font-weight: 700; }
.fineprint { margin-top: 1.25rem; font-size: var(--t-small); color: var(--mute); max-width: 60rem; }
.fineprint p + p { margin-top: 0.6em; }

/* Review mode: things only Jasen can fill in. Remove data-review from <html> to ship. */
.needs-jasen { display: none; }
[data-review] .needs-jasen { display: inline; background: var(--mark); padding: 0.05em 0.3em; box-decoration-break: clone; -webkit-box-decoration-break: clone; font-weight: 600; }
[data-review].review-off .needs-jasen { background: none; font-weight: inherit; padding: 0; }
.review-bar { display: none; }
[data-review] .review-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; position: fixed; z-index: 30;
  left: max(0.75rem, env(safe-area-inset-left)); bottom: max(0.75rem, env(safe-area-inset-bottom));
  max-width: calc(100vw - 1.5rem); background: var(--ink); color: var(--paper);
  padding: 0.6rem 0.9rem; font-size: var(--t-small); border-radius: 2px;
}
.review-bar b { color: var(--mark); }
.review-bar button { font: inherit; font-weight: 700; padding: 0.2rem 0.6rem; border: 1.5px solid var(--paper); border-radius: 2px; background: transparent; color: var(--paper); cursor: pointer; }
.review-bar button:hover { background: var(--paper); color: var(--ink); }

@media (max-width: 62rem) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-plat { max-width: 30rem; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-photo { max-width: 28rem; }
  .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qa-layout { grid-template-columns: minmax(0, 1fr); }
  .qa-index { position: static; padding-bottom: 0.5rem; }
  .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .titleblock > div:nth-child(2n) { border-right: 0; }
  .titleblock .tb-wide { grid-column: 1 / -1; border-right: 0; }
}
@media (max-width: 44rem) {
  .work-row, .contact-list li { grid-template-columns: minmax(0, 1fr); }
  .reviews, .home-qa, .proof { grid-template-columns: minmax(0, 1fr); }
  .videos, .videos-detail { grid-template-columns: minmax(0, 1fr); }
  .table-scroll .schedule { min-width: 0; }
  .schedule .wide-only { display: none; }
  .schedule th, .schedule td { padding-right: 0.9rem; }
  .steps > li { grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0 0.9rem; }
  .steps > li::before { font-size: 1.75rem; }
  .plat-courses text, .plat-pob, .plat-scale text { font-size: 15.5px; letter-spacing: 0; }
  .plat-road { font-size: 16px; letter-spacing: 0.08em; }
  .site-header .wrap { padding-block: 0.8rem; }
  .nav { gap: 0.1rem 1.1rem; font-size: 1rem; }
  .titleblock { grid-template-columns: minmax(0, 1fr); }
  .titleblock > div { border-right: 0; }
}
@media print {
  .site-header .nav, .review-bar, .actions { display: none; }
  .hero, .page-head, .band-pale, .site-header { background: none; }
}
