/* Sable: site styles
   Quiet and typographic. Warm ink and a fur-brown accent on white.
   The one bold moment is the dark sable band that closes every page. */

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

:root {
  --paper: #ffffff;
  --ink: #2a201b;        /* sable */
  --brown: #7a5236;      /* sable fur, the only accent on white */
  --sand: #d2b394;       /* the same brown, lightened for dark backgrounds */
  --muted: #6b615a;
  --stone: #f3f2f0;
  --line: #e4dfda;
  --field: #8b817a;      /* form field borders, 3:1 on white */
  --night-text: #d9d1cb;
  --night-line: #42362f;
  --focus: var(--ink);

  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --space: clamp(3.5rem, 8vw, 6.5rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 {
  max-width: 18ch;
  margin-bottom: 0.45em;
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
  font-weight: 560;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.125rem;
  font-weight: 680;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin-bottom: 0.35em;
}

p, ul, ol, dl { margin: 0 0 1.1em; }
p { max-width: 62ch; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 0.22em;
}
a:hover {
  color: var(--brown);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

main:focus { outline: none; }

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -10rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; color: var(--paper); }

.wrap {
  width: 100%;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.measure:not(.wrap),
.wrap.measure > * { max-width: 44rem; }

.lede {
  max-width: 38rem;
  font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem);
  line-height: 1.55;
  color: var(--muted);
}

.note {
  font-size: 1rem;
  color: var(--muted);
}

/* Header */

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 2rem;
  padding-block: 0.75rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.wordmark:hover { color: var(--ink); }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: var(--muted);
  text-decoration: none;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brown);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
}

/* Page openings */

.page-intro { padding-top: clamp(3.5rem, 10vw, 8rem); }

.page-intro .wrap > :last-child { margin-bottom: 0; }

.page-intro--last { padding-bottom: var(--space); }


/* Home: the two starting points, set as plain links under the headline */

.paths {
  display: grid;
  gap: 2rem;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 48rem) {
  .paths { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.path {
  display: block;
  height: 100%;
  padding-top: 1.25rem;
  border-top: 2px solid var(--paper);
  text-decoration: none;
}
.path:hover { color: var(--paper); border-top-color: var(--sand); }

.path__title {
  display: block;
  margin-bottom: 0.4rem;
  font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.path:hover .path__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.path__text {
  display: block;
  max-width: 34rem;
  color: var(--night-text);
}

/* Home: dark opening. Header and hero share the sable background. */

.site-header--dark {
  --focus: var(--paper);
  background: var(--ink);
}
.site-header--dark .wordmark { color: var(--paper); }
.site-header--dark .nav a { color: var(--night-text); }
.site-header--dark .nav a:hover { color: var(--paper); }
.site-header--dark .nav a[aria-current="page"] {
  color: var(--paper);
  text-decoration-color: var(--sand);
}

.hero {
  --focus: var(--paper);
  padding-top: clamp(2rem, 6vw, 4.5rem);
  padding-bottom: var(--space);
  background: var(--ink);
  color: var(--paper);
}
.hero h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.25rem);
}
.hero .lede { color: var(--night-text); }

.hero__top {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 60rem) {
  .hero__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; }
}

.hero__text > :last-child { margin-bottom: 0; }

/* Example graphic: a spreadsheet becomes a booking page */

.demo { margin: 0; }

.demo__panels {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

@media (min-width: 36rem) {
  .demo__panels { grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.75rem; }
}
@media (min-width: 60rem) {
  .demo__panels { gap: 1rem; }
  .demo__sheet,
  .demo__page { max-width: 22rem; padding: 1.125rem; font-size: 0.9375rem; }
}

.demo__sheet,
.demo__page {
  width: 100%;
  max-width: 20rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.3;
}

.demo__sheet {
  background: #3a2d26;
  border: 1px solid var(--night-line);
  color: var(--night-text);
}
.demo__title { max-width: none; margin: 0 0 0.75rem; font-weight: 600; }

.demo__grid {
  display: grid;
  grid-template-columns: 1.25rem repeat(3, 1fr);
  gap: 1px;
  background: var(--night-line);
  border: 1px solid var(--night-line);
}
.demo__grid > span { display: block; min-height: 1.75rem; background: #3a2d26; }
.demo__col,
.demo__row {
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #c6bbb3;
  background: #46372f !important;
}
.demo__cell { position: relative; }
.demo__cell::before {
  content: "";
  position: absolute;
  inset: 50% auto auto 0.4rem;
  height: 0.4rem;
  transform: translateY(-50%);
  border-radius: 2px;
  background: #6a584d;
}
.demo__cell--w1::before { width: 30%; }
.demo__cell--w2::before { width: 55%; }
.demo__cell--w3::before { width: 75%; }

.demo__arrow {
  width: 2.25rem;
  height: 1.125rem;
  color: var(--sand);
  transform: rotate(90deg);
}
@media (min-width: 36rem) {
  .demo__arrow { transform: none; }
}

.demo__page {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1.5rem 3rem -1rem rgb(0 0 0 / 0.5);
}
.demo__page-title { max-width: none; margin: 0 0 0.75rem; font-weight: 650; font-size: 1rem; }

.demo__days,
.demo__times { display: grid; gap: 0.375rem; margin-bottom: 0.75rem; }
.demo__days { grid-template-columns: repeat(5, 1fr); }
.demo__times { grid-template-columns: repeat(3, 1fr); }

.demo__days span,
.demo__times span {
  padding: 0.4rem 0.25rem;
  border: 1px solid var(--field);
  border-radius: 4px;
  text-align: center;
}
.demo__days .is-on,
.demo__times .is-on {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.demo__button {
  display: block;
  margin-top: 1rem;
  padding: 0.6rem;
  border-radius: 4px;
  background: var(--brown);
  color: var(--paper);
  font-weight: 600;
  text-align: center;
}

.demo__caption {
  margin-top: 1rem;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--night-text);
}

/* Sections: heading on the left, content on the right */

.section { padding-top: var(--space); }

.split {
  display: grid;
  gap: 1rem 3rem;
  padding-top: 1.5rem;
  /* Rule across the content only, not the wrapper's side padding */
  background: linear-gradient(var(--line), var(--line)) no-repeat top center / calc(100% - 2 * var(--inset, 0px)) 1px;
}
.wrap.split { --inset: var(--gutter); }

@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
}

.split__head { margin: 0; }
.split__head > :last-child,
.split__body > :last-child { margin-bottom: 0; }
.split__body { margin: 0; }

/* Lists of services */

.services {
  display: grid;
  gap: 2rem 3rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 40rem) {
  .services { grid-template-columns: 1fr 1fr; }
}

.services p { margin-bottom: 0; color: var(--muted); }

/* Numbered steps */

.steps {
  display: grid;
  gap: 2rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 2.5rem;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  content: counter(step) / "";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brown);
  font-size: 1.125rem;
  font-weight: 680;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}

.steps p { margin-bottom: 0; color: var(--muted); }

.steps--grid { margin-bottom: 2.5rem; }

@media (min-width: 40rem) {
  .steps--grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
}

/* Pricing */

.prices { margin: 0 0 1.75rem; }

.prices div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.prices div:first-child { padding-top: 0; }

.prices dt { color: var(--muted); }

.prices dd {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: right;
}

.prices__detail {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

@media (max-width: 30rem) {
  .prices div { display: block; }
  .prices dd { text-align: left; }
}

/* "Not a fit if" and commitments */

.not-fit {
  padding-left: 1.25rem;
}
.not-fit li { margin-bottom: 0.6rem; padding-left: 0.25rem; }
.not-fit li::marker { color: var(--brown); }

.commitments {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
}
.commitments li { color: var(--muted); }
.commitments strong { color: var(--ink); font-weight: 650; }

/* FAQ: one row per question */

.section--faq .split + .split { margin-top: 2.5rem; }
.section--faq .split__head { font-size: 1.1875rem; }
.section--faq .split__body { color: var(--muted); }

/* Contact */

.section--flush { padding-block: clamp(2.5rem, 5vw, 3.5rem) var(--space); }

.contact {
  display: grid;
  gap: 3rem;
}

@media (min-width: 56rem) {
  .contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 5rem; }
}

.contact__aside { padding-top: 1.5rem; border-top: 1px solid var(--line); align-self: start; }
.contact__aside h2 { font-size: 1.125rem; font-weight: 680; margin-bottom: 0.35em; }
.contact__aside p { color: var(--muted); }
.contact__aside h2 + p { margin-bottom: 2rem; }
.contact__aside > :last-child { margin-bottom: 0; }

.form { max-width: 36rem; }
.form__note { font-size: 1rem; color: var(--muted); }

.field {
  margin: 0 0 1.5rem;
  padding: 0;
  border: 0;
}

.field > label,
.field > legend {
  display: block;
  margin-bottom: 0.4rem;
  padding: 0;
  font-weight: 600;
}

input[type="text"],
input[type="email"],
textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--field);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 0;
  border-color: var(--ink);
}

textarea { resize: vertical; min-height: 10rem; }

.choice {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
}
.choice input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  accent-color: var(--ink);
}

.form__privacy {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted);
}

.trap { display: none; }

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--brown); color: var(--paper); }

/* Closing band: the sable field at the end of every page, running into the footer */

.cta {
  --focus: var(--paper);
  position: relative;
  overflow: hidden;
  margin-top: var(--space);
  padding-block: var(--space);
  background: var(--ink);
  color: var(--night-text);
}

/* Heraldic engraving for sable: crossed horizontal and vertical lines, fading out toward the text */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 0.09) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 0.09) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
  mask-image: linear-gradient(100deg, transparent 35%, #000 100%);
  pointer-events: none;
}
.cta > .wrap { position: relative; }

.cta h2 {
  max-width: 20ch;
  margin-bottom: 0.5em;
  color: var(--paper);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.cta a { color: var(--paper); }
.cta a:hover { color: var(--paper); text-decoration-color: currentColor; }

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin: 2rem 0 0;
}

.cta .button { background: var(--paper); color: var(--ink); }
.cta .button:hover { background: var(--stone); color: var(--ink); }

/* Footer */

.site-footer {
  --focus: var(--paper);
  padding-block: 3rem 2rem;
  background: var(--ink);
  color: var(--night-text);
  font-size: 1rem;
}
main:has(> .cta:last-child) + .site-footer { padding-top: 0; }
main:has(> .cta:last-child) + .site-footer .site-footer__inner {
  padding-top: 2.5rem;
  background: linear-gradient(var(--night-line), var(--night-line)) no-repeat top center / calc(100% - 2 * var(--gutter)) 1px;
}

.site-footer a { color: var(--paper); }
.site-footer a:hover { color: var(--paper); text-decoration-color: currentColor; }

.site-footer__inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 48rem) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
}

.site-footer__name {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.site-footer__nav {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 2rem;
}
.site-footer__nav a {
  display: inline-block;
  padding-block: 0.6rem;
  text-decoration: none;
}
.site-footer__nav a:hover { text-decoration: underline; }

.site-footer__legal {
  max-width: none;
  margin: 2.5rem 0 0;
  color: #b8ada5;
}
