@font-face {
  font-family: "Graduate";
  src: url("/assets/fonts/graduate-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Zilla Slab";
  src: url("/assets/fonts/zilla-slab-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #141414;
  --paper: #faf7f2;
  --paper-dark: #eee8df;
  --timber: #b8865a;
  --field: #fff;
  --muted: #6b655d;
  --line: #d8d0c6;
  --max: 720px;
  --wide: 1040px;
  --booking-wide: 1320px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Zilla Slab", Georgia, serif;
  font-size: 18px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--timber); }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--field);
  background: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
}

.header-inner {
  width: min(calc(100% - 40px), var(--wide));
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand { display: inline-block; text-decoration: none; }
.brand img { width: 230px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
}

.header-link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.header-link:hover,
.header-link[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--timber);
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 11px 20px 10px;
  border: 2px solid var(--ink);
  border-radius: 2px;
  color: var(--field);
  background: var(--ink);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease, transform 140ms ease;
}

.button:hover {
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid var(--timber);
  outline-offset: 3px;
}

.button-small { min-height: 44px; padding: 9px 17px 8px; font-size: 16px; }

.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 96px;
  overflow: hidden;
}

.hero-mark {
  position: absolute;
  z-index: -1;
  right: -42px;
  top: 38px;
  color: var(--timber);
  font-family: "Graduate", Georgia, serif;
  font-size: clamp(240px, 44vw, 390px);
  line-height: 1;
  opacity: .08;
  transform: rotate(-3deg);
  transform-origin: 52% 52%;
  user-select: none;
}

@keyframes tally-breathe {
  from { opacity: .08; transform: rotate(-3deg) translate3d(0, 0, 0) scale(1); }
  to { opacity: .15; transform: rotate(1deg) translate3d(-12px, 5px, 0) scale(1.025); }
}

@media (hover: hover) and (pointer: fine) {
  .hero:hover .hero-mark,
  .about-hero:hover .hero-mark {
    animation: tally-breathe 1.45s ease-in-out infinite alternate;
  }
}

.eyebrow {
  margin: 0 0 21px;
  color: var(--muted);
  font-family: "Graduate", Georgia, serif;
  font-size: 13px;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  font-family: "Graduate", Georgia, serif;
  font-weight: 400;
  letter-spacing: .015em;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { max-width: 680px; font-size: clamp(42px, 8vw, 68px); }
h2 { font-size: clamp(31px, 5vw, 44px); }

.hero-copy {
  max-width: 650px;
  margin: 28px 0 32px;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.48;
  text-wrap: pretty;
}

.button-note { margin: 13px 0 0 2px; color: var(--muted); font-size: 15px; }

.rule {
  position: relative;
  height: 1px;
  background: var(--line);
}

.rule span {
  position: absolute;
  left: 0;
  top: 50%;
  padding-right: 15px;
  color: var(--timber);
  background: var(--paper);
  font-family: "Graduate", Georgia, serif;
  font-size: 18px;
  transform: translateY(-52%);
}

.section { padding-block: 112px; }
.section h2 { margin-bottom: 36px; }
.prose p { margin: 0 0 22px; font-size: 20px; }
.prose p:last-child { margin-bottom: 0; }

.counter-section {
  padding-block: 112px;
  color: var(--field);
  background: var(--ink);
}

.eyebrow-light { color: #cfc7bc; }
.counter-section h2 { margin-bottom: 45px; }

.counter-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #4b4741;
}

.counter-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 23px 0;
  border-bottom: 1px solid #4b4741;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.42;
}

.tally { color: var(--timber); font-family: "Graduate", Georgia, serif; }
.counter-close { max-width: 660px; margin: 40px 0 0; color: #e5ddd2; font-size: 19px; }

.founder blockquote { margin: 0; }
.founder blockquote p { margin: 0; font-size: clamp(23px, 3.7vw, 30px); line-height: 1.48; }
.founder blockquote footer { margin-top: 28px; color: var(--muted); font-size: 17px; font-style: normal; }
.story-link { display: inline-flex; gap: 12px; margin-top: 34px; font-weight: 600; }

.talk {
  padding-block: 112px;
  color: var(--field);
  background: #292621;
}

.talk-grid {
  width: min(calc(100% - 40px), var(--booking-wide));
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: clamp(38px, 5vw, 68px);
  align-items: start;
}

.talk-intro > p:not(.eyebrow):not(.direct-email) { margin: 28px 0 0; color: #e1d9ce; font-size: 19px; }
.direct-email { margin-top: 40px; color: #cfc7bc; font-size: 16px; }
.direct-email a { color: var(--field); font-size: 18px; }

.calendar-panel {
  min-width: 0;
  padding: 8px;
  color: var(--ink);
  background: var(--paper);
}

.cal-inline {
  width: 100%;
  height: 550px;
  overflow: hidden;
}

.calendar-panel noscript p { margin: 24px; }

.site-footer { padding-block: 55px; border-top: 1px solid var(--line); }
.footer-inner { width: min(calc(100% - 40px), var(--wide)); }
.footer-inner img { width: 185px; margin-bottom: 24px; }
.footer-inner p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.footer-inner .copyright { margin-bottom: 0; }

.about-hero {
  position: relative;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 110px;
  overflow: hidden;
}

.about-hero h1 { max-width: 700px; }
.about-hero .hero-copy { max-width: 700px; }
.founder-signoff { margin: 0; color: var(--muted); font-size: 17px; }

.story-section,
.story-band-inner {
  width: min(calc(100% - 40px), var(--wide));
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 100px);
  padding-block: 112px;
}

.story-label span {
  display: block;
  margin-bottom: 18px;
  color: #8a5b35;
  font-family: "Graduate", Georgia, serif;
  font-size: 28px;
}

.story-label .eyebrow { margin-bottom: 0; }
.story-copy h2 { margin-bottom: 38px; }
.story-copy p { margin: 0 0 24px; font-size: 20px; }
.story-copy p:last-child { margin-bottom: 0; }

.story-band {
  color: var(--field);
  background: var(--ink);
}

.story-band-inner { margin-inline: auto; }
.story-band .story-label span { color: var(--timber); }
.story-band .story-copy p { color: #e5ddd2; }
.story-label-light .eyebrow { color: #cfc7bc; }

.belief-section {
  padding-block: 102px;
  color: var(--field);
  background: var(--timber);
}

.belief-inner { width: min(calc(100% - 40px), var(--wide)); }
.belief-inner .eyebrow { color: var(--ink); }
.belief-inner h2 { max-width: 900px; font-size: clamp(34px, 6vw, 58px); }

.story-close .closing-line {
  margin-top: 42px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-size: clamp(24px, 3.5vw, 31px);
  font-weight: 600;
  line-height: 1.4;
}

.story-close .button { margin-top: 30px; }

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
.status-card { width: min(100%, 650px); }
.status-card .brand { margin-bottom: 70px; }
.status-card h1 { margin-bottom: 26px; font-size: clamp(38px, 8vw, 58px); }
.status-card p { max-width: 560px; margin-bottom: 28px; font-size: 21px; }

@media (max-width: 1100px) {
  .talk-grid { grid-template-columns: 1fr; gap: 48px; }
  .talk-intro { max-width: 720px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 72px; }
  .brand img { width: 176px; }
  .hero { min-height: 590px; padding-block: 76px; }
  .about-hero { min-height: 540px; padding-block: 82px; }
  .section, .counter-section, .talk { padding-block: 82px; }
  .cal-inline { height: 760px; }
  .story-section,
  .story-band-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-block: 82px;
  }
  .story-label { display: flex; align-items: baseline; gap: 18px; }
  .story-label span { margin-bottom: 0; font-size: 22px; }
  .story-copy h2 { margin-bottom: 30px; }
  .belief-section { padding-block: 82px; }
}

@media (max-width: 520px) {
  .shell, .header-inner, .talk-grid, .footer-inner { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { gap: 12px; }
  .brand img { width: 150px; }
  .header-actions { gap: 12px; }
  .header-link { font-size: 14px; }
  .button-small { padding-inline: 13px; font-size: 15px; }
  .button:not(.button-small) { width: 100%; }
  .hero-mark { right: -70px; }
  .counter-list li { grid-template-columns: 30px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .hero-mark { animation: none !important; }
}
