:root {
  --paper: #f3efe6;
  --receipt: #fffdf8;
  --ink: #1c1a17;
  --ink-2: #45403a;
  --muted: #6a645a;   /* 5.1:1 on paper (WCAG AA); was #736d63 at 4.47:1 */
  --rule: #d8d1c3;
  --rule-dark: #b2a998;
  --green: #1f4d3b;
  --green-dark: #153628;
  --red: #a8321f;
  --steel: #a7acb0;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
h1, h2, h3 { margin: 0 0 .5em; font-family: var(--serif); font-weight: 400; line-height: 1.15; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 12px; background: var(--ink); color: var(--paper); }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header and navigation */
.site-header { position: relative; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; min-height: 72px; }
.brand { color: var(--ink); font-family: var(--serif); font-size: 1.45rem; text-decoration: none; letter-spacing: -.01em; }
.brand b { font-weight: 700; }
.menu-btn { display: none; margin-left: auto; padding: 8px 14px; background: none; border: 1.5px solid var(--ink); border-radius: 3px; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: .95rem; }
.nav > a, .drop-btn { color: var(--ink-2); text-decoration: none; }
.nav > a:hover, .drop-btn:hover { color: var(--green); }
.nav > a[aria-current="page"], .drop-btn.current, .drop-menu a[aria-current="page"] b { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
.drop { position: relative; }
.drop-btn { display: inline-flex; align-items: center; gap: 8px; padding: 0; background: none; border: 0; font: inherit; cursor: pointer; }
.drop-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.drop-menu { display: none; position: absolute; top: calc(100% + 16px); left: -20px; z-index: 60; width: 310px; margin: 0; padding: 8px 0; background: var(--receipt); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); list-style: none; }
.drop-menu::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; }
.drop:hover .drop-menu, .drop.open .drop-menu { display: block; }
.drop-menu a { display: block; padding: 10px 20px; color: var(--ink); text-decoration: none; }
.drop-menu a:hover { background: var(--paper); color: var(--ink); }
.drop-menu b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }
.drop-menu span { display: block; color: var(--muted); font-size: .86rem; }
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .site-header .cta { display: none; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 0 0 14px; border-top: 1px solid var(--rule); }
  .site-header.open .nav { display: flex; }
  .nav > a, .drop-btn { padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .drop-btn { width: 100%; cursor: default; }
  .drop-btn::after { display: none; }
  .drop-menu { display: block; position: static; width: auto; padding: 4px 0 8px; background: none; border: 0; border-bottom: 1px solid var(--rule); box-shadow: none; }
  .drop-menu a { padding: 8px 0 8px 14px; }
}

/* Buttons */
.btn { display: inline-block; padding: 13px 22px; background: var(--green); border: 1.5px solid var(--green); border-radius: 3px; color: #fff; font: inherit; font-size: .98rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-small { padding: 9px 16px; font-size: .92rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.push { margin-left: auto; }

/* Heroes */
.hero, .page-hero { padding: 64px 0 88px; }
.hero .wrap, .page-hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.page-hero { padding: 48px 0 80px; }
.page-hero.solo .wrap { grid-template-columns: 1fr; }
.crumb { margin: 0 0 22px; color: var(--muted); font-family: var(--mono); font-size: .8rem; }
.crumb a { color: var(--muted); }
.lead { max-width: 31em; color: var(--ink-2); font-size: 1.2rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.actions .text { font-weight: 600; }
.hero-note { margin: 44px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--muted); font-family: var(--mono); font-size: .82rem; }
@media (max-width: 860px) {
  .hero, .page-hero { padding: 40px 0 64px; }
  .hero .wrap, .page-hero .wrap { grid-template-columns: 1fr; gap: 48px; }
}

/* Torn paper edge, shared by the receipt and the kitchen tickets */
.receipt::after, .ticket::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; background: linear-gradient(135deg, var(--receipt) 33.33%, transparent 33.33%) 0 0 / 20px 10px repeat-x, linear-gradient(-135deg, var(--receipt) 33.33%, transparent 33.33%) 0 0 / 20px 10px repeat-x; }

/* Home: the till receipt */
.receipt { position: relative; justify-self: center; width: 100%; max-width: 330px; margin: 6px 0 0; padding: 24px 22px 16px; background: var(--receipt); color: #2a2722; font-family: var(--mono); font-size: .8rem; line-height: 1.55; transform: rotate(1.2deg); filter: drop-shadow(0 8px 14px rgba(28, 26, 23, .12)) drop-shadow(0 1px 1px rgba(28, 26, 23, .1)); }
.receipt .c { margin: 0; text-align: center; }
.receipt .c b { font-weight: 500; letter-spacing: .14em; }
.receipt table { width: 100%; margin: 14px 0 12px; border-collapse: collapse; }
.receipt td { padding: 1px 0; }
.receipt td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.receipt tr.cut td { padding-top: 8px; border-top: 1px dashed #9c9488; }
.receipt tr.total td { font-weight: 500; }
.receipt .neg { color: var(--red); }
@media (max-width: 860px) { .receipt { transform: rotate(.6deg); } }

/* Reporting: the Monday email */
.email { justify-self: center; width: 100%; max-width: 390px; margin: 6px 0 0; background: #fff; border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); font-size: .9rem; }
.email-head { padding: 12px 16px; border-bottom: 1px solid var(--rule); color: var(--muted); font-family: var(--mono); font-size: .74rem; line-height: 1.75; }
.email-head b { color: var(--ink); font-weight: 500; }
.email-body { padding: 16px 16px 14px; }
.email .subject { margin: 0 0 12px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; }
.email ul { display: grid; gap: 7px; margin: 0 0 14px; padding: 0; list-style: none; }
.email li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 6px; border-bottom: 1px dotted var(--rule-dark); }
.email li b { font-family: var(--mono); font-weight: 500; font-variant-numeric: tabular-nums; }
.email .up { color: var(--green); font-family: var(--mono); font-size: .82rem; }
.email .flag { margin: 0 0 12px; padding: 10px 12px; background: var(--paper); border-left: 3px solid var(--red); font-size: .86rem; }
.email .foot { margin: 0; color: var(--muted); font-family: var(--mono); font-size: .72rem; }

/* Automation: kitchen tickets on a rail */
.rail { position: relative; justify-self: center; width: 100%; max-width: 420px; padding-top: 10px; }
.rail::before { content: ""; position: absolute; top: 0; left: -10px; right: -10px; z-index: 2; height: 16px; background: linear-gradient(#e4e6e8, var(--steel) 60%, #8a8f93); border-radius: 3px; box-shadow: 0 2px 3px rgba(28, 26, 23, .25); }
.tickets { display: flex; align-items: flex-start; gap: 12px; }
.ticket { position: relative; flex: 1; min-width: 0; padding: 18px 10px 12px; background: var(--receipt); color: #2a2722; font-family: var(--mono); font-size: .72rem; line-height: 1.5; transform-origin: top center; filter: drop-shadow(0 6px 10px rgba(28, 26, 23, .14)); }
.ticket:nth-child(1) { transform: rotate(-2deg); }
.ticket:nth-child(2) { transform: rotate(1.5deg); margin-top: 4px; }
.ticket:nth-child(3) { transform: rotate(-1deg); margin-top: 2px; }
.ticket p { margin: 0; }
.ticket .no { color: var(--muted); }
.ticket .job { margin: 6px 0 8px; padding-bottom: 8px; border-bottom: 1px dashed #9c9488; font-weight: 500; letter-spacing: .04em; }
.ticket .done { margin-top: 8px; color: var(--green); font-weight: 500; }
@media (max-width: 420px) { .ticket { padding: 16px 7px 10px; font-size: .64rem; } .tickets { gap: 8px; } }

/* Websites: the phone */
.phone-wrap { position: relative; justify-self: center; margin-top: 6px; }
.phone { width: 270px; padding: 11px; background: var(--ink); border-radius: 38px; box-shadow: 0 22px 44px rgba(28, 26, 23, .25); }
.screen { display: flex; flex-direction: column; min-height: 520px; overflow: hidden; background: #fbf8f2; border-radius: 28px; font-size: .78rem; }
.screen .bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; border-bottom: 1px solid #e6dfd2; }
.screen .bar b { font-family: var(--serif); font-size: 1.05rem; font-style: italic; font-weight: 400; }
.screen .bar span { color: var(--muted); font-size: .7rem; }
.screen .photo { height: 150px; background: radial-gradient(circle at 50% 55%, #b5532e 0 14%, transparent 15%), radial-gradient(circle at 50% 55%, #f6efe2 0 27%, #e3d6bf 28% 31%, transparent 32%), linear-gradient(135deg, #2f3b2f, #4d5b44); }
.screen .book { margin: -18px 16px 0; padding: 10px; background: var(--green); border-radius: 3px; color: #fff; font-weight: 600; text-align: center; position: relative; }
.screen .menu-mini { padding: 14px 16px 0; }
.screen .menu-mini .mini-head { margin: 0 0 8px; font-family: var(--serif); font-size: .95rem; font-weight: 400; }
.screen .item { display: flex; align-items: baseline; gap: 6px; margin-bottom: 7px; }
.screen .item i { flex: 1; border-bottom: 1.5px dotted var(--rule-dark); transform: translateY(-3px); }
.screen .item em { color: var(--muted); font-size: .66rem; font-style: normal; }
.screen .synced { margin: auto 16px 14px; padding-top: 10px; border-top: 1px solid #e6dfd2; color: var(--muted); font-family: var(--mono); font-size: .64rem; }
.stamp-big { position: absolute; top: 38px; right: -46px; z-index: 3; padding: 8px 12px; background: rgba(255, 253, 248, .92); border: 2.5px solid var(--red); border-radius: 3px; color: var(--red); font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .08em; line-height: 1.35; text-align: center; text-transform: uppercase; transform: rotate(8deg); }
@media (max-width: 560px) { .stamp-big { right: -12px; top: -14px; } }
@media (max-width: 400px) { .phone { margin-inline: 0; } }   /* <figure> has 40px side margins by default: too wide for 360px phones */

/* Experience strip */
.creds { padding: 22px 0; border-top: 1px solid var(--rule); }
.creds p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0; color: var(--muted); font-family: var(--mono); font-size: .82rem; }
.creds .brands { color: var(--ink); font-family: var(--serif); font-size: 1.35rem; }

/* Sections */
section { scroll-margin-top: 16px; }
.section { padding: 88px 0; border-top: 1px solid var(--rule); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head p { margin: 0; color: var(--ink-2); font-size: 1.08rem; }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* Services, set like a menu */
.menu { max-width: 860px; }
.dish { padding: 30px 0; border-bottom: 1px solid var(--rule); }
.dish:first-child { padding-top: 0; }
.dish h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 2px; }
.dish h3 a { color: var(--ink); text-decoration: none; }
.dish h3 a:hover { color: var(--green); }
.leader { flex: 1; min-width: 24px; border-bottom: 2px dotted var(--rule-dark); transform: translateY(-6px); }
.cost { font-family: var(--mono); font-size: 1.05rem; font-weight: 500; white-space: nowrap; }
.dish p { max-width: 62ch; color: var(--ink-2); }
.dish p.terms { max-width: none; margin: 0 0 12px; color: var(--muted); font-family: var(--mono); font-size: .82rem; text-align: right; }
.go { font-weight: 600; }
.stamp { display: inline-block; margin: 2px 0 16px; padding: 7px 14px; border: 2px solid var(--red); border-radius: 3px; color: var(--red); font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; transform: rotate(-1.5deg); }
@media (max-width: 600px) { .dish h3 { font-size: 1.25rem; } .cost { font-size: .95rem; } }

/* Price lists with dotted leaders */
.price-list { max-width: 860px; margin: 0; padding: 0; list-style: none; }
.price-list li { display: flex; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.price-list .name { max-width: 60%; }
.price-list .name b { display: block; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.price-list .name span { display: block; color: var(--muted); font-size: .92rem; }
@media (max-width: 600px) { .price-list .name { max-width: 58%; } .price-list .name b { font-size: 1.15rem; } }

/* Reporting plans table */
.table-wrap { max-width: 860px; overflow-x: auto; }
.plans { width: 100%; border-collapse: collapse; font-size: .97rem; }
.plans th, .plans td { padding: 12px 10px; border-bottom: 1px solid var(--rule); text-align: center; }
.plans thead th { padding-bottom: 10px; border-bottom: 1.5px solid var(--ink); font-family: var(--serif); font-size: 1.3rem; font-weight: 400; }
.plans tbody th { padding-left: 0; color: var(--ink-2); font-weight: 400; text-align: left; }
.plans .price td { color: var(--ink); font-family: var(--mono); font-size: 1.15rem; font-weight: 500; }
.plans .price th { color: var(--ink); font-weight: 600; }
.plans .yes { color: var(--green); font-weight: 600; }
.plans .no { color: var(--muted); }   /* was rule-dark (2.3:1), below the 3:1 needed */
.plans .setup th, .plans .setup td { color: var(--muted); font-size: .9rem; }
.fine { max-width: 860px; margin: 18px 0 0; color: var(--muted); font-family: var(--mono); font-size: .8rem; line-height: 1.7; }
@media (max-width: 600px) {
  .plans th, .plans td { padding: 10px 5px; font-size: .86rem; }
  .plans thead th { font-size: 1.02rem; }
  .plans .price td { font-size: .98rem; }
}

/* Dark band */
.band { padding: 64px 0; background: var(--ink); color: var(--paper); }
.band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.band .say { max-width: 30em; margin: 0; font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.05rem); line-height: 1.3; }
.band .band-note { margin: 14px 0 0; max-width: 40em; opacity: .88; }
.band .btn { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.band .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
@media (max-width: 800px) { .band .wrap { grid-template-columns: 1fr; } }

/* "Another way" comparison */
.compare { width: 100%; max-width: 980px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.compare thead th { border-bottom: 1.5px solid var(--ink); color: var(--muted); font-family: var(--mono); font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.compare tbody th { width: 26%; font-weight: 600; }
.compare td { color: var(--ink-2); }
.compare .num { display: block; color: var(--ink); font-family: var(--mono); font-weight: 500; }
.compare .us .num { color: var(--green); }
@media (max-width: 700px) {
  .compare thead { display: none; }
  .compare tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .compare th, .compare td, .compare tbody th { display: block; width: auto; padding: 2px 0; border: 0; }
  .compare td::before { content: attr(data-label); display: block; margin-top: 8px; color: var(--muted); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
}

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 980px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps.four { grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: none; }
.steps li { padding-top: 16px; border-top: 1.5px solid var(--ink); counter-increment: step; }
.steps li::before { content: counter(step); display: block; margin-bottom: 10px; color: var(--green); font-family: var(--serif); font-size: 2.4rem; font-style: italic; line-height: 1; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .steps.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .steps, .steps.four { grid-template-columns: 1fr; gap: 28px; } }

/* Feature points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; max-width: 980px; margin: 0; }
.points.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; }
.points div { padding-top: 16px; border-top: 1.5px solid var(--ink); }
.points dt { margin-bottom: 6px; font-family: var(--serif); font-size: 1.25rem; }
.points dd { margin: 0; color: var(--ink-2); }
.points .tier { display: block; margin-top: 6px; color: var(--muted); font-family: var(--mono); font-size: .76rem; }
@media (max-width: 820px) { .points, .points.two { grid-template-columns: 1fr; } }
.aside-note { max-width: 640px; margin: 36px 0 0; color: var(--ink-2); font-family: var(--serif); font-size: 1.2rem; font-style: italic; }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; max-width: 980px; margin: 0; }
.faq div { padding-top: 16px; border-top: 1px solid var(--rule); }
.faq dt { margin-bottom: 6px; font-weight: 600; }
.faq dd { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .faq { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-aside p { color: var(--ink-2); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
.form { display: grid; gap: 18px; padding: 28px; background: var(--receipt); border: 1px solid var(--rule); border-radius: 3px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } .form { padding: 20px; } }
label, legend { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 600; }
input, select, textarea { width: 100%; padding: 11px 12px; background: #fff; border: 1px solid var(--rule-dark); border-radius: 2px; color: var(--ink); font: inherit; font-size: 1rem; }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: 2px solid var(--green); outline-offset: 0; }
textarea { min-height: 110px; resize: vertical; }
fieldset { margin: 0; padding: 0; border: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 400; cursor: pointer; }
.checks input { width: 18px; height: 18px; margin: 0; accent-color: var(--green); }
.req { color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.small { margin: 0; color: var(--muted); font-size: .85rem; }
.status { margin: 0; font-weight: 600; }
.status.ok { color: var(--green); }
.status.err { color: var(--red); }

/* Footer */
.site-footer { padding: 28px 0 40px; border-top: 1px solid var(--ink); color: var(--muted); font-size: .88rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink-2); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* Smooth fade between pages (Chrome, Edge and Safari; other browsers just load normally) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* Websites: the "stand out" playground. Each ticked box adds fx-<name> to .pad */
.pad { position: relative; max-width: 940px; overflow: hidden; background: var(--receipt); border: 1px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); transition: background .45s, color .45s; --mx: 50%; --my: 50%; }
.pad::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(280px circle at var(--mx) var(--my), rgba(31, 77, 59, .16), transparent 70%); opacity: 0; pointer-events: none; transition: opacity .3s; }
.pad.fx-mouse:hover::before { opacity: 1; }
.cursor-ring { position: absolute; left: 0; top: 0; z-index: 4; width: 36px; height: 36px; border: 2px solid var(--green); border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .2s; }
.pad.fx-mouse:hover .cursor-ring { opacity: 1; }
.pad-row { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(230px, 1fr) 1.3fr; gap: 14px 28px; align-items: center; min-height: 84px; padding: 16px 24px; border-bottom: 1px dashed var(--rule-dark); transition: border-color .45s; }
.pad-row:last-child { border-bottom: 0; }
.pad-row.wide { grid-template-columns: 1fr; }
.pad-name { display: flex; align-items: center; gap: 14px; margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 400; cursor: pointer; }
.pad-name input { appearance: none; -webkit-appearance: none; color: inherit; display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin: 0; background: transparent; border: 2px solid currentColor; border-radius: 2px; cursor: pointer; }
.pad-name input::after { content: ""; width: 14px; height: 7px; margin-top: -4px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg) scale(0); transition: transform .18s cubic-bezier(.3, 1.6, .5, 1); }
.pad-name input:checked::after { transform: rotate(-45deg) scale(1); }
.needs-mouse { display: none; color: var(--muted); font-family: var(--mono); font-size: .72rem; }
@media (hover: none) { .needs-mouse { display: inline; } }
@media (max-width: 700px) { .pad-row { grid-template-columns: 1fr; padding: 16px 18px; } }

.wave { display: flex; flex-wrap: wrap; gap: 0 .35em; font-size: clamp(1.4rem, 3.4vw, 2.1rem); }
.wave .w { display: inline-block; transition: color .3s; }
.pad.fx-animate .wave .w { color: var(--green); animation: bob 1.3s ease-in-out infinite; }
.pad.fx-animate .wave .w:nth-child(2) { color: var(--red); animation-delay: .15s; }
.pad.fx-animate .wave .w:nth-child(3) { animation-delay: .3s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-12px) rotate(-4deg); } 60% { transform: translateY(3px) rotate(2deg); } }

.mag-zone { display: inline-block; padding: 18px 44px; }
.mag { display: inline-block; padding: 10px 20px; background: var(--green); border-radius: 3px; color: #fff; font-weight: 600; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }

.tilt-zone { display: inline-block; perspective: 600px; }
.tilt { position: relative; display: block; width: 150px; height: 100px; overflow: hidden; border-radius: 8px; background: radial-gradient(circle at 50% 55%, #b5532e 0 15%, transparent 16%), radial-gradient(circle at 50% 55%, #f6efe2 0 30%, #e3d6bf 31% 34%, transparent 35%), linear-gradient(135deg, #2f3b2f, #4d5b44); box-shadow: 0 10px 20px rgba(28, 26, 23, .2); transition: transform .2s ease-out; --gx: 50%; --gy: 50%; }
.tilt::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx) var(--gy), rgba(255, 255, 255, .38), transparent 55%); opacity: 0; transition: opacity .3s; }
.pad.fx-tilt .tilt::after { opacity: 1; }

.live { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1.5px solid currentColor; border-radius: 999px; font-family: var(--mono); font-size: .85rem; }
.live .dot { width: 10px; height: 10px; background: var(--muted); border-radius: 50%; }
.pad.fx-live .live .dot { background: #2e8b57; animation: pulse 1.6s ease-out infinite; }
.pad.fx-live .live.closed .dot { background: var(--red); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 139, 87, .55); } 100% { box-shadow: 0 0 0 12px rgba(46, 139, 87, 0); } }

.filter { display: grid; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 12px; background: transparent; border: 1.5px solid currentColor; border-radius: 999px; color: inherit; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.chip:disabled { opacity: .4; cursor: not-allowed; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.minis { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; padding: 0; font-size: .9rem; list-style: none; }
.mini-dish { transition: opacity .35s, transform .35s; }
.mini-dish small { margin-left: 4px; color: var(--muted); font-family: var(--mono); font-size: .7rem; }
.mini-dish.out { opacity: .18; transform: scale(.94); }

.flap { display: inline-flex; gap: 2px; }
.flap .ch { position: relative; display: inline-block; width: 1.05em; padding: 5px 0; background: var(--ink); border-radius: 2px; color: var(--paper); font-family: var(--mono); font-size: .95rem; font-weight: 500; line-height: 1.2; text-align: center; white-space: pre; }
.flap .ch::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }

.pad.fx-night { background: #15171c; color: #eee7da; }
.pad.fx-night::before { background: radial-gradient(280px circle at var(--mx) var(--my), rgba(255, 214, 150, .15), transparent 70%); }
.pad.fx-night .pad-row { border-color: #3b3e46; }
.pad.fx-night .needs-mouse, .pad.fx-night .mini-dish small { color: #a7a093; }
.pad.fx-night .flap .ch { background: var(--paper); color: var(--ink); }
.pad.fx-night.fx-animate .wave .w { color: #8fc9a9; }
.pad.fx-night.fx-animate .wave .w:nth-child(2) { color: #ec8a6f; }

/* Privacy notice page */
.prose { max-width: 720px; padding-top: 56px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.prose h2 { margin-top: 1.6em; font-size: 1.4rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* =====================================================================
   Depth and motion. Each page has one thing that moves by itself, all
   of it taken from the paperwork the services replace. Pointer effects
   need a fine pointer; everything stops for reduced motion.
   ===================================================================== */

/* Header: stays at the top, becomes a solid bar once you scroll */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: background .3s, box-shadow .3s, color .3s, border-color .3s; }
.site-header.solid { box-shadow: 0 8px 24px rgba(28, 26, 23, .08); }
.brand { color: inherit; }
.btn { translate: var(--pull-x, 0) var(--pull-y, 0); transition: background .15s, color .15s, border-color .15s, translate .15s ease-out; }

/* Home: the header is ink over the dark hero until you scroll */
.dark-top .site-header:not(.solid) { background: var(--ink); border-bottom-color: rgba(243, 239, 230, .14); color: var(--paper); }
.dark-top .site-header:not(.solid) .nav > a,
.dark-top .site-header:not(.solid) .drop-btn { color: rgba(243, 239, 230, .82); }
.dark-top .site-header:not(.solid) .nav > a:hover,
.dark-top .site-header:not(.solid) .drop-btn:hover { color: #fff; }
.dark-top .site-header:not(.solid) .menu-btn { border-color: var(--paper); color: var(--paper); }
@media (max-width: 860px) {
  .dark-top .site-header:not(.solid) .drop-menu a { color: var(--paper); }
  .dark-top .site-header:not(.solid) .drop-menu span { color: rgba(243, 239, 230, .6); }
  .dark-top .site-header:not(.solid) .nav > a, .dark-top .site-header:not(.solid) .drop-btn { border-color: rgba(243, 239, 230, .14); }
}

/* Home hero: after close, lamp on, the week's paperwork printing itself */
.hero.hero-dark { position: relative; overflow: hidden; padding: 72px 0 96px; background: radial-gradient(55% 65% at 76% 28%, rgba(255, 196, 120, .17), transparent 62%), radial-gradient(40% 50% at 8% 100%, rgba(31, 77, 59, .38), transparent 70%), var(--ink); color: var(--paper); }
.hero-dark .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
.hero-dark h1 { color: var(--paper); }
.hero-dark .lead { color: rgba(243, 239, 230, .78); }
.hero-dark .actions .text { color: var(--paper); }
.hero-dark .hero-note { color: rgba(243, 239, 230, .58); border-color: rgba(243, 239, 230, .16); }

.stage { position: relative; height: 560px; }
.layer { position: absolute; translate: var(--dx, 0) var(--dy, 0); }
.l-email { top: 0; right: -12px; z-index: 1; width: 330px; rotate: 4deg; opacity: .92; }
.l-email .email { max-width: none; margin: 0; border-color: #000; box-shadow: 0 26px 50px rgba(0, 0, 0, .5); color: var(--ink); font-size: .8rem; }
.l-email .email .subject { font-size: 1.05rem; }
.printer { top: 54px; left: 6%; z-index: 3; width: 312px; }
.slot { position: relative; z-index: 2; display: block; height: 18px; margin: 0 -16px; background: linear-gradient(#433c35, #221e1a); border-radius: 9px; box-shadow: 0 8px 18px rgba(0, 0, 0, .55), inset 0 2px 0 rgba(255, 255, 255, .08); }
.feed { margin-top: -9px; padding-bottom: 16px; overflow: hidden; }
.printer .receipt { max-width: none; margin: 0; transform: none; }
.printer.printing .receipt { animation: feed 2.8s steps(28, end) .35s both; }
@keyframes feed { from { translate: 0 -101%; } }
.l-ticket { bottom: -6px; left: -11%; z-index: 4; width: 160px; rotate: -7deg; color: var(--ink); }
.l-ticket .ticket { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); }
@media (max-width: 860px) {
  .hero.hero-dark { padding: 44px 0 60px; }
  .hero-dark .wrap { grid-template-columns: 1fr; }
  .stage { height: 470px; }
  .l-email { display: none; }
  .printer { left: 50%; margin-left: -146px; width: 292px; top: 20px; }
  .l-ticket { left: -14px; bottom: -64px; width: 124px; }
  .hero.hero-dark { padding-bottom: 110px; }
}

/* Services list: the dotted leader inks in when you point at a service */
.dish .leader { transition: border-color .25s; }
.dish:hover .leader { border-bottom-color: var(--red); }
.dish:hover h3 a { color: var(--green); }

/* Ledger paper behind the step-by-step sections */
.ledger { background-image: linear-gradient(90deg, transparent 47px, rgba(168, 50, 31, .22) 47px, rgba(168, 50, 31, .22) 48px, transparent 48px), repeating-linear-gradient(0deg, transparent 0 31px, rgba(28, 26, 23, .06) 31px 32px); }

/* Reporting: the Monday email arrives, and the warning gets highlighted */
.page-hero .email { position: relative; animation: arrive .8s cubic-bezier(.2, .8, .2, 1) .2s both; }
@keyframes arrive { from { opacity: 0; translate: 0 -26px; } }
.toast { position: absolute; top: -20px; right: -16px; z-index: 3; padding: 8px 12px; background: var(--ink); border-radius: 6px; box-shadow: 0 10px 22px rgba(28, 26, 23, .3); color: var(--paper); font-size: .8rem; font-weight: 600; animation: toast 5s ease 1s both; }
@keyframes toast { 0% { opacity: 0; translate: 0 -10px; } 10%, 82% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 -6px; } }
.page-hero .email .flag { background: linear-gradient(var(--note), var(--note)) no-repeat left / 0% 100% var(--paper); animation: mark 1s ease 2.3s forwards; }
@keyframes mark { to { background-size: 100% 100%; } }

/* Automation: tickets clip onto the rail, tick off their steps, get stamped */
.page-hero .ticket { animation: clip .6s cubic-bezier(.2, .8, .2, 1) var(--t) both; }
.ticket:nth-child(1) { --t: .3s; }
.ticket:nth-child(2) { --t: 1.3s; }
.ticket:nth-child(3) { --t: 2.3s; }
@keyframes clip { from { opacity: 0; translate: 0 -44px; } }
.page-hero .ticket p { animation: type-on .2s ease both; animation-delay: calc(var(--t) + var(--k, 0) * .12s); }
.ticket p:nth-child(1) { --k: 1; } .ticket p:nth-child(2) { --k: 2; } .ticket p:nth-child(3) { --k: 3; }
.ticket p:nth-child(4) { --k: 4; } .ticket p:nth-child(5) { --k: 5; } .ticket p:nth-child(6) { --k: 6; }
@keyframes type-on { from { opacity: 0; } }
.page-hero .ticket .done { transform-origin: left center; animation: stamp .4s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--t) + 1s); }
@keyframes stamp { from { opacity: 0; scale: 1.9; } }

/* Websites: the stamp comes down, and a menu price updates from the sheet */
.stamp-big { animation: thump .45s cubic-bezier(.3, 1.5, .5, 1) .9s both; }
@keyframes thump { from { opacity: 0; scale: 2.2; } }
.screen .item b { transition: background .3s, color .3s; border-radius: 3px; }
.screen .item b.flash { background: var(--note); }

@media (prefers-reduced-motion: reduce) {
  .printer.printing .receipt, .page-hero .email, .toast, .page-hero .email .flag, .page-hero .ticket, .page-hero .ticket p, .page-hero .ticket .done, .stamp-big { animation: none !important; }
  .toast { display: none; }
  .page-hero .email .flag { background-size: 100% 100%; }
  .btn { translate: none; }
}

/* Reporting price calculator (reporting.html#calc). Hidden until script.js shows it. */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 860px; margin-top: 40px; padding: 28px; background: var(--receipt); border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.calc[hidden] { display: none; }
.calc h3 { margin-bottom: 18px; }
.calc fieldset { margin: 18px 0 0; padding: 0; border: 0; }
.calc-sites { display: flex; align-items: center; gap: 14px; }
.calc-sites input[type="range"] { flex: 1; padding: 0; background: none; border: 0; accent-color: var(--green); }
.calc-sites input[type="number"] { width: 88px; font-family: var(--mono); }
.calc-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-opts label { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 14px; background: #fff; border: 1px solid var(--rule-dark); border-radius: 2px; font-weight: 400; cursor: pointer; }
.calc-opts input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.calc-opts label:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.bill div { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.bill i { flex: 1; transform: translateY(-4px); border-bottom: 1.5px dotted var(--rule-dark); }
.bill b { font-family: var(--mono); font-weight: 500; white-space: nowrap; }
.bill .total { margin-top: 8px; padding-top: 12px; border-top: 1.5px solid var(--ink); font-size: 1.2rem; }
.bill .total b { color: var(--green); }
.calc-note { margin: 12px 0 16px; color: var(--muted); font-family: var(--mono); font-size: .78rem; line-height: 1.6; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; gap: 20px; padding: 20px; } }

/* Stops a brief sideways scroll on phones while the ticket "DONE" stamps animate in (automation.html). */
body { overflow-x: clip; }
