@font-face {
  font-family: "Barlow Condensed";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Barlow Condensed";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
}
/* The Oak House style guide (Nov 24, 2026): black, gray and white on a white ground. */
:root {
  --bg: #ffffff;
  --ink: #0c0c0c;
  --gray: #8b8782; /* large type and rules only: about 3.6:1 on white */
  --body: #3a3532;
  --muted: #6b6763;
  --line: #dedcd9;
  --go: #3f6b2a; /* done */
  --stop: #8a1f33; /* problem */
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --gutter: 24px;
  --header-h: 60px;
}
@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 72px; } }
@media (min-width: 1100px) { :root { --gutter: 64px; } }

* { box-sizing: border-box; }
/* Anchor targets stop below the locked header. */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 1.4em 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: 2.9rem; margin-top: 0.5em; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.4rem; line-height: 1.05; }
.g { color: var(--gray); }
a { color: var(--ink); text-underline-offset: 3px; }

/* ---- locked header ---- */
.skip { position: absolute; left: 12px; top: 8px; z-index: 60; padding: 10px 14px; background: var(--ink); color: var(--bg); border-radius: 4px; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.js .site-header:not(.stuck) { border-bottom-color: transparent; }
.header-in { display: flex; align-items: center; gap: 12px; height: var(--header-h); max-width: 430px; margin: 0 auto; padding: 0 var(--gutter); }
.brand { display: flex; align-items: center; flex-shrink: 0; min-height: 44px; }
.brand img { display: block; height: 40px; width: auto; }
.nav { display: none; }
.header-right { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-link { display: flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.header-link[aria-current] { text-decoration-thickness: 2px; font-weight: 600; }
.btn.btn-sm { width: auto; min-height: 44px; padding: 8px 20px; font-size: 1.15rem; }
.site-header .header-join { display: none; }

.menu summary { list-style: none; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 0 0 10px; font-size: 15px; font-weight: 500; cursor: pointer; user-select: none; -webkit-user-select: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-icon { position: relative; width: 18px; height: 12px; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.menu-icon::before { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: var(--ink); }
.menu[open] .menu-icon { border-color: transparent; }
.menu[open] .menu-icon::before { transform: rotate(45deg); }
.menu[open] .menu-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: var(--ink); transform: rotate(-45deg); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; display: grid; padding: 4px var(--gutter) 20px; background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 18px 28px rgba(12, 12, 12, 0.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.menu-panel a:not(.btn) { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none; }
.menu-panel a[aria-current] { color: var(--gray); }
.menu-panel .btn { margin-top: 18px; }

@media (min-width: 768px) {
  .header-in { max-width: 1440px; gap: 20px; }
  .brand img { height: 46px; }
  .header-right { gap: 14px; }
  .site-header .header-join { display: flex; }
  .menu-panel { left: auto; right: var(--gutter); width: 340px; border: 1px solid var(--line); border-radius: 0 0 4px 4px; padding-left: 24px; padding-right: 24px; }
  .menu-panel .btn { display: none; }
}
@media (min-width: 960px) {
  .menu { display: none; }
  .nav { display: flex; align-items: stretch; gap: 30px; height: 100%; margin-left: 28px; }
  .nav a { position: relative; display: flex; align-items: center; font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left center; transition: transform 0.2s ease-out; }
  .nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
}

/* ---- shared footer ---- */
.site-footer { margin-top: 72px; border-top: 1px solid var(--line); }
.footer-in { display: grid; gap: 14px; max-width: 430px; margin: 0 auto; padding: 28px var(--gutter) 32px; }
.site-footer address { font-style: normal; font-size: 14px; line-height: 1.5; color: var(--muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--body); }
.footer-nav a[aria-current] { font-weight: 600; color: var(--ink); }
@media (min-width: 768px) {
  .footer-in { max-width: 1440px; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-top: 32px; padding-bottom: 40px; }
}

/* ---- page columns ---- */
.wrap { max-width: 430px; margin: 0 auto; padding: 0 var(--gutter) 24px; min-height: calc(100vh - var(--header-h) - 260px); }
@media (min-width: 768px) {
  .wrap { padding-top: 28px; }
  .wrap-narrow { max-width: calc(560px + 2 * var(--gutter)); }
  .wrap-read { max-width: calc(720px + 2 * var(--gutter)); }
  .wrap-wide { max-width: calc(640px + 2 * var(--gutter)); }
  .wrap h1 { font-size: 3.6rem; }
}
@media (min-width: 960px) {
  .wrap { padding-top: 44px; }
  .wrap-wide { max-width: calc(1080px + 2 * var(--gutter)); }
  .wrap h1 { font-size: 4.5rem; }
  .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; }
  .split-intro { position: sticky; top: calc(var(--header-h) + 32px); }
  .split-intro h1 { margin-top: 0; }
  .split-intro .lede { font-size: 1.2rem; }
  .split-main > :first-child { margin-top: 0; }
  .split-main { border-top: 3px solid var(--ink); padding-top: 28px; }
}

/* ---- where the guest is in the join flow ---- */
.flow { margin: 14px 0 6px; }
.flow ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.flow li { border-top: 3px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.25; font-weight: 500; }
.flow li > * { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; min-height: 44px; color: inherit; text-decoration: none; }
.flow-n { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1; }
.flow li.done { border-top-color: var(--go); color: var(--body); }
.flow li.done .flow-n { color: var(--go); }
.flow li[aria-current] { border-top-color: var(--ink); color: var(--ink); font-weight: 600; }
.flow a:hover .flow-t { text-decoration: underline; }
.back { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); }
.back + h1 { margin-top: 0.15em; }
@media (min-width: 768px) {
  .flow { margin: 0 0 28px; }
  .flow ol { gap: 12px; }
  .flow li { font-size: 15px; }
  .flow li > * { flex-direction: row; align-items: baseline; gap: 10px; padding-top: 12px; }
  .flow-n { font-size: 1.6rem; }
}

.aside-link { font-size: 15px; color: var(--body); }
.page-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--line); }
.page-links a { display: flex; align-items: center; min-height: 44px; }
.actions { display: grid; gap: 12px; margin-top: 20px; }
.empty { padding-bottom: 8px; }
@media (min-width: 768px) {
  .actions { grid-template-columns: 1fr 1fr; }
  .empty { padding: 48px 0 24px; }
  .empty .btn { max-width: 320px; }
  .empty .actions .btn { max-width: none; }
}
.next-h { margin-top: 1.6em; }
.next { list-style: none; counter-reset: next; margin: 0; padding: 0; }
.next li { counter-increment: next; position: relative; display: grid; gap: 4px; padding: 16px 0 16px 42px; border-top: 1px solid var(--line); }
.next li::before { content: counter(next); position: absolute; left: 0; top: 14px; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 0.9; color: var(--gray); }
.next b { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.next span { font-size: 15px; color: var(--body); }

/* ---- photo band: a full-width shop photo with an optional caption. Not used on a page yet.
   <figure class="photo-band"><img src="/img/..." alt="..." width="2400" height="1030" loading="lazy" /><figcaption>...</figcaption></figure> ---- */
.photo-band { margin: 56px 0 0; }
.photo-band img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--line); }
.photo-band figcaption { margin: 0; padding: 10px var(--gutter) 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
.photo-band.tall img { aspect-ratio: 4 / 5; }
@media (min-width: 768px) {
  .photo-band { margin-top: 96px; }
  .photo-band img, .photo-band.tall img { aspect-ratio: 16 / 9; }
}
@media (min-width: 1100px) {
  .photo-band img { aspect-ratio: 21 / 9; }
  .photo-band.tall img { aspect-ratio: 16 / 9; }
  .photo-band figcaption { max-width: 1440px; margin: 0 auto; }
}
.lede { font-size: 1.0625rem; line-height: 1.45; color: var(--body); text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.stack { display: grid; gap: 12px; margin: 12px 0; }
label { font-weight: 500; }
input {
  width: 100%;
  min-height: 56px;
  padding: 10px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 2px solid var(--gray);
  border-radius: 4px;
}
input:focus { border-color: var(--ink); }
input:focus-visible, .btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 2px; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 10px 18px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.1s ease-out;
}
.btn:active { transform: scale(0.98); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-line { background: var(--bg); color: var(--ink); min-height: 56px; }
.btn:disabled, .btn.off { opacity: 0.45; cursor: not-allowed; }

.status { min-height: 1.5em; font-weight: 600; }
.notice { border: 2px solid var(--ink); border-radius: 4px; padding: 12px 14px; }
.chip { border: 1px solid var(--gray); border-radius: 99px; padding: 2px 10px; font-size: 0.9rem; }
ul.plain { list-style: none; padding: 0; display: grid; gap: 8px; }
[hidden] { display: none !important; }

/* ---- join form ---- */
.join-grid { display: grid; gap: 12px; margin: 12px 0; }
.join-grid .stack { margin: 0; }
fieldset.plans { border: 0; padding: 0; margin: 0; min-width: 0; }
.plans { display: grid; gap: 12px; }
/* The two column labels are for the wide layout; on a phone the legend is still read out. */
.plans legend, .form-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.assure { display: none; }
@media (min-width: 960px) {
  .join-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: start; margin-top: 28px; }
  .join-club { position: sticky; top: calc(var(--header-h) + 32px); }
  .join-club, .join-fields { border-top: 3px solid var(--ink); padding-top: 20px; }
  .plans legend, .form-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; margin: 0 0 14px; padding: 0; font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
  .form-label { margin-bottom: 2px; }
  .assure { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--body); }
  .assure li { position: relative; padding-left: 26px; }
  .assure li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 12px; height: 6px; border-left: 2px solid var(--go); border-bottom: 2px solid var(--go); transform: rotate(-45deg); }
}
.plan { display: block; border: 2px solid var(--line); border-radius: 4px; padding: 16px; cursor: pointer; }
.plan:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan input { width: 28px; min-height: 28px; height: 28px; float: right; margin: 0 0 0 12px; accent-color: var(--ink); }
.plan-name { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1.05; }
.plan-price { display: block; font-weight: 500; margin-top: 4px; }
.plan-covers { display: block; margin-top: 2px; font-size: 15px; color: var(--body); }
.plan.disabled { opacity: 0.6; cursor: not-allowed; }
.check { display: flex; gap: 14px; align-items: flex-start; font-weight: 400; }
.check input { width: 28px; min-width: 28px; min-height: 28px; height: 28px; margin: 2px 0 0; accent-color: var(--ink); }

/* ---- member page ---- */
.club-title { font-size: clamp(2rem, 11.5vw, 2.8rem); margin: 22px 0 0; }
.member-line { margin: 8px 0 0; font-size: 15px; color: var(--body); }
.code-block { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 18px; padding: 20px 0 18px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
.qr { width: min(252px, 72vw); }
.qr svg { display: block; width: 100%; height: auto; }
.code-title { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; letter-spacing: 0.04em; }
.code-help { margin: 0; font-size: 13px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: end; padding: 18px 0; border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-big { font-family: var(--display); font-weight: 800; font-size: 4.75rem; line-height: 0.82; }
.stat-mid { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 2.1rem; line-height: 0.95; }
.stat-note { font-size: 14px; line-height: 1.35; color: var(--body); }
.renewal { font-size: 14px; color: var(--muted); }
.membership + .membership { border-top: 3px solid var(--ink); margin-top: 40px; padding-top: 8px; }
.inline-form { margin: 16px 0 0; }
@media (min-width: 960px) {
  .club-title { font-size: 4.5rem; margin-top: 0; }
  .member-line { font-size: 17px; }
  .member-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 80px; align-items: center; margin-top: 28px; border-top: 3px solid var(--ink); }
  .code-block { margin-top: 0; padding: 36px 0; border-top: 0; border-bottom: 0; }
  .qr { width: 340px; }
  .code-title { font-size: 1.9rem; }
  .code-help { font-size: 15px; }
  .stats { padding-top: 0; gap: 32px; }
  .stat-big { font-size: 8.5rem; }
  .stat-mid { font-size: 3.2rem; }
  .stat-note { font-size: 16px; }
  .renewal { font-size: 15px; }
  .member-info .btn { max-width: 320px; }
  .membership + .membership { margin-top: 64px; padding-top: 48px; }
  .account-more { max-width: 560px; margin-top: 56px; }
  .account-more .link-button { margin-left: 0; padding-left: 0; }
}

details.options { margin-top: 32px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
details.options > summary { min-height: 56px; display: flex; align-items: center; cursor: pointer; font-weight: 500; }
.signout { margin-top: 16px; }
.link-button { display: block; margin: 0 auto; min-height: 44px; padding: 0 12px; border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.terms-body { border-top: 1px solid var(--line); padding-top: 8px; }
@media (min-width: 768px) { .terms-body { font-size: 1.125rem; line-height: 1.6; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) { .btn, .nav a::after { transition: none; } }

/* guest photo and birthday (account page, join form) */
.birthday { border: 0; padding: 0; margin: 4px 0; min-width: 0; }
.birthday legend { padding: 0; font-weight: 600; }
.birthday-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
.profile { margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.profile-photo { display: flex; gap: 20px; align-items: flex-start; margin: 16px 0 24px; }
.profile-photo .stack { margin: 0; }
.profile-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--line); }
.c-photo-msg { display: block; margin-top: 8px; color: var(--body); }
@media (max-width: 520px) { .profile-photo { flex-direction: column; } }

/* ---- trial and pause ---- */
.trial-box { margin: 32px 0; padding: 24px var(--gutter); border: 1px solid var(--line); border-radius: 4px; }
.trial-list { margin: 12px 0; padding-left: 20px; line-height: 1.5; }
.trial-choice { margin: 16px 0; }
.trial-terms { margin: 12px 0; }
.trial-words { font-size: 14px; line-height: 1.5; color: var(--body); }
.trial-status { margin: 16px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; }
.trial-status-h { font-weight: 700; margin: 0 0 4px; }
.pause-line { margin: 12px 0 0; font-size: 15px; }
.pause-list { margin: 16px 0 24px; padding-left: 20px; line-height: 1.6; }
.pause-box { margin: 16px 0 24px; }
/* text-message consent boxes (join form, account page) */
.text-consent { border: 0; padding: 0; margin: 4px 0; min-width: 0; display: grid; gap: 14px; }
.text-consent legend { padding: 0; font-weight: 600; margin-bottom: 6px; }
/* Price lines and the yearly prompt on the member page, and the promo box on the join form */
.price-block { margin: 8px 0 16px; }
.price-line { margin: 0 0 6px; font-weight: 600; }
.annual-offer { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; }
.promo-box { border: 2px solid var(--ink); border-radius: 4px; padding: 14px 16px; display: grid; gap: 8px; }
.promo-box .promise { margin: 0; }

/* A row of small text actions (Cancel, Pause, Add a person...): each is a tap target at least 44px tall. */
.tap-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin: 0 0 4px; }
.tap-row a, .tap-row .link-button { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; margin: 0; color: var(--muted); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.tap-row form { display: inline-flex; margin: 0; }
.tap-row .tap-label { margin-right: 6px; }
