/* Self-hosted typefaces (SIL OFL 1.1). */
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("fonts/host-grotesk-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("fonts/host-grotesk-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("fonts/host-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("fonts/host-grotesk-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* Orrery demo styles. Tokens from the Orrery Brass & Night design system. */
/* Layout: full-bleed photo heroes, a 1200px content column, booking sheets as one raised panel. */
:root, [data-theme="night"] {
  --ground: #0b0c0f; --raised: #15171b; --raised-2: #1e2126; --line: #2a2d33; --line-strong: #62666f;
  --text: #ece6da; --text-2: #b2aca1; --text-3: #908a80;
  --accent: #c9a35b; --on-accent: #1a1408; --sun: #e2532d;
  --good: #7fb894; --warn: #e0b25a; --critical: #ee7d6b; --focus: #f0d9a8;
  color-scheme: dark;
}
[data-theme="bone"] {
  --ground: #f1ece2; --raised: #faf7f1; --raised-2: #e7e0d3; --line: #d9d2c4; --line-strong: #8a826f;
  --text: #17161a; --text-2: #4c4740; --text-3: #696258;
  --accent: #7d5a1a; --on-accent: #fbf6ea; --sun: #c8401c;
  --good: #2f6b45; --warn: #8a5a00; --critical: #b3341f; --focus: #5a3d0c;
  color-scheme: light;
}
:root {
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-sans: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: max(16px, 4vw);
  --on-photo: #ece6da;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--ground); }
body { margin: 0; background: var(--ground); color: var(--text); font: 400 16px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
.num, .money { font-variant-numeric: tabular-nums; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.display { font-family: var(--font-display); font-weight: 400; line-height: 1; margin: 0; }
.kicker { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.demo-bar { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between; padding: 8px var(--gutter); background: var(--raised-2); color: var(--text-2); font-size: 13px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 24px; border-radius: 6px; border: 1px solid transparent; font: 500 15px/1 var(--font-sans); cursor: pointer; text-decoration: none; transition: background-color .15s ease-out, border-color .15s ease-out; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); filter: brightness(1.08); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-quiet:hover { background: var(--raised-2); color: var(--text); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn-icon { width: 44px; padding: 0; }
.btn-block { width: 100%; min-height: 48px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Chips */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); font: 600 12px/1.2 var(--font-sans); white-space: nowrap; }
.chip-good { color: var(--good); border-color: var(--good); }
.chip-warn { color: var(--warn); border-color: var(--warn); }
.chip-brass { color: var(--accent); border-color: var(--accent); }

/* Site header */
.site-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-name { font-family: var(--font-display); font-size: 28px; line-height: 1; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 15px; }
.site-nav a { color: var(--text-2); text-decoration: none; }
.site-nav a:hover { color: var(--text); }

/* Heroes */
.hero { position: relative; overflow: hidden; color: var(--on-photo); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-body { position: relative; display: flex; flex-direction: column; gap: 24px; padding-block: 120px 104px; background: linear-gradient(90deg, rgba(8,9,12,.82) 0%, rgba(8,9,12,.55) 45%, rgba(8,9,12,0) 78%); }
.hero h1 { font-size: clamp(48px, 7vw, 96px); line-height: .95; max-width: 13ch; letter-spacing: -.01em; }
.hero p { margin: 0; max-width: 46ch; font-size: 19px; line-height: 1.6; font-weight: 300; color: #d8d1c4; }
.hero .btn-quiet { color: var(--on-photo); border-color: rgba(236,230,218,.5); }
.hero .btn-quiet:hover { background: rgba(236,230,218,.12); }
.photo-head { position: relative; min-height: 300px; display: flex; align-items: end; color: var(--on-photo); }
.photo-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-head .wrap { position: relative; width: 100%; padding-block: 96px 28px; background: linear-gradient(180deg, rgba(8,9,12,0), rgba(8,9,12,.82)); max-width: none; }
.photo-head h1 { font-size: clamp(40px, 6vw, 76px); }

/* Sections */
.section { padding-block: 88px; }
.section-raised { background: var(--raised); border-block: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: start; }
.split > * { flex: 1 1 380px; min-width: 0; }
.section h2.display { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.02; }
.lede { margin: 0; max-width: 46ch; color: var(--text-2); line-height: 1.6; }
.presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 500px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.preset { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, 200px); gap: 20px; padding: 28px; background: var(--ground); color: var(--text); text-decoration: none; }
.preset:hover { background: var(--raised); color: var(--text); }
.preset h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.preset p { margin: 8px 0 0; color: var(--text-2); }
.preset img { width: 100%; height: 140px; object-fit: cover; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; color: var(--text-2); }
.ticks li { display: flex; gap: 12px; }
.ticks .icon { color: var(--accent); }
.orbit { position: relative; width: 100%; max-width: 560px; aspect-ratio: 4 / 3; margin: 0 auto; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit .core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--font-display); font-size: 22px; color: #fbf6ea; }
.orbit .planet { position: absolute; transform: translate(-50%, -50%); padding: 6px 12px; border: 1px solid var(--accent); border-radius: 999px; background: var(--ground); font-size: 14px; white-space: nowrap; }
.big-num { margin: 0; font-family: var(--font-display); font-size: clamp(72px, 12vw, 160px); line-height: .9; }
.site-foot { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding: 32px var(--gutter); border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }

/* Booking page */
.book { display: flex; flex-wrap: wrap; gap: 40px; align-items: start; padding-block: 40px 80px; }
.book-info { flex: 999 1 460px; min-width: 0; display: grid; gap: 28px; }
.book-info > p:first-child { margin: 0; max-width: 60ch; font-size: 18px; line-height: 1.65; font-weight: 300; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding: 1px 0 0 1px; }
.facts div { padding: 16px; margin: -1px 0 0 -1px; border: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.facts dd { margin: 4px 0 0; }
.sheet { flex: 1 1 380px; min-width: 0; display: grid; gap: 20px; padding: 24px; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; }
.sheet h2 { margin: 0; font-size: 20px; font-weight: 500; }
.step { display: grid; gap: 10px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.pick { display: grid; gap: 2px; justify-items: start; min-height: 52px; padding: 8px 12px; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--ground); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.days .pick { justify-items: center; padding: 6px 0; text-align: center; }
.pick:hover { border-color: var(--accent); }
.pick[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pick[aria-pressed="true"] .pick-note { color: var(--on-accent); }
.pick:disabled { background: transparent; border-style: dashed; border-color: var(--line); color: var(--text-3); cursor: not-allowed; }
.pick:disabled .pick-main { text-decoration: line-through; }
.pick-main { font-weight: 500; font-variant-numeric: tabular-nums; }
.pick-note { font-size: 12px; color: var(--text-2); }
.addon { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--ground); cursor: pointer; }
.addon:has(input:checked) { border-color: var(--accent); }
.addon span span { display: block; }
.addon-detail { font-size: 13px; color: var(--text-2); }
.check { appearance: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--ground); display: grid; place-content: center; cursor: pointer; }
.check:checked { background: var(--accent); border-color: var(--accent); }
.check:checked::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--on-accent); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.stepper { display: flex; align-items: center; gap: 8px; }
.stepper output { min-width: 24px; text-align: center; font-size: 18px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; font-variant-numeric: tabular-nums; }
.cal .dow { font-size: 12px; color: var(--text-3); padding-bottom: 6px; }
.cal button { height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.cal button:disabled { color: var(--text-3); text-decoration: line-through; cursor: not-allowed; }
.cal button.in { background: var(--raised-2); border-radius: 0; }
.cal button.end { background: var(--accent); color: var(--on-accent); font-weight: 600; }
label.field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; }
label.field input, .card-box { min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--ground); color: var(--text); font: 400 16px var(--font-sans); }
.card-box { display: flex; align-items: center; justify-content: space-between; color: var(--text-3); font-size: 15px; }
.consent { display: flex; gap: 12px; align-items: start; font-size: 14px; line-height: 1.45; cursor: pointer; }

/* Payment plan */
.plan { border: 1px solid var(--line); border-radius: 12px; background: var(--ground); }
.plan ol { list-style: none; margin: 0; padding: 0; }
.plan li { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: baseline; }
.plan .when { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); }
.plan .what { display: grid; gap: 2px; min-width: 0; }
.plan .label { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.plan .rule { font-size: 13px; color: var(--text-2); }
.plan .amt { font-weight: 500; font-variant-numeric: tabular-nums; text-align: right; }
.plan .hold .amt { color: var(--text-2); }
.plan .due { display: flex; justify-content: space-between; padding: 14px 16px; font-weight: 600; }
.plan .due .amt { font-size: 20px; }
.notice { padding: 12px 14px; border: 1px dashed var(--line-strong); border-radius: 6px; font-size: 14px; color: var(--text-2); }
.done { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--good); border-radius: 12px; }
.done h2 { color: var(--good); }

/* Classes list */
.sessions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sessions li { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.sessions .when { display: grid; font-variant-numeric: tabular-nums; }

@media (max-width: 480px) {
  .preset { grid-template-columns: 1fr; }
  .preset img { height: 160px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Legal pages: a contents rail beside a 68ch reading column. */
.legal-wrap { display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: start; padding-block: 48px 96px; }
.toc { flex: 1 1 220px; display: grid; gap: 8px; align-self: start; position: sticky; top: 24px; font-size: 14px; }
.toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.toc a { color: var(--text-2); text-decoration: none; }
.toc a:hover { color: var(--text); }
.legal { flex: 999 1 560px; min-width: 0; max-width: 68ch; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); }
.legal h2 { margin: 48px 0 12px; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.15; scroll-margin-top: 24px; }
.legal h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 600; }
.legal p, .legal li { line-height: 1.7; }
.legal ul, .legal ol { padding-left: 22px; display: grid; gap: 6px; }
.legal .meta { margin: 12px 0 0; font-size: 14px; color: var(--text-2); }
.legal .table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 6px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.legal th { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); background: var(--raised); }
.legal tr:last-child td { border-bottom: 0; }
.draft-note { margin: 24px 0 0; padding: 14px 16px; border: 1px dashed var(--warn); border-radius: 6px; color: var(--text); font-size: 15px; }
mark.ph { background: transparent; color: var(--warn); border-bottom: 1px dashed var(--warn); }
@media (max-width: 720px) { .toc { position: static; } }
.try { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--accent); font-size: 15px; font-weight: 500; }
.try .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.preset:hover .try .icon, .preset:focus-visible .try .icon { transform: translateX(3px); }
.preset-art { display: grid; place-items: center; height: 140px; background: var(--raised); color: var(--accent); }
.preset-art svg { width: 60%; max-height: 100px; }
.photo-head.plain { background: radial-gradient(120% 140% at 85% 0%, #3d6b66 0%, #1d3533 55%, #142422 100%); }
.live-book { padding-block: 40px 8px; }

/* Google sync modes on the product page */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.mode { display: grid; gap: 14px; align-content: start; padding: 28px; background: var(--ground); border: 1px solid var(--line); border-radius: 12px; }
.mode h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; }
.mode > p { margin: 0; line-height: 1.6; }
.weekmock { width: 100%; max-width: 420px; height: auto; font-size: 10px; fill: var(--text-3); }
.key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; color: var(--text-2); }
.key span { display: inline-flex; align-items: center; gap: 6px; }
.key i { width: 12px; height: 12px; border-radius: 3px; }
.k-book { background: var(--accent); }
.k-busy { background: color-mix(in srgb, var(--text-2) 30%, transparent); }
.k-open { border: 1px dashed var(--accent); }

/* Industries Orrery sets up */
.trades { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.trades li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--text-2); }
