/* Chore Bell (hillbillyhosting.us) - "Porch bell at dusk". Own design system; shares nothing with sibling sites.
   Type: Ultra (display) + Proza Libre (text) + Oxygen Mono (crontab). Palette: dusk, linen, copper, moss, lamp gold, iron. */
@font-face { font-family: "Ultra"; src: url("fonts/ultra-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Proza Libre"; src: url("fonts/proza-libre-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Proza Libre"; src: url("fonts/proza-libre-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Proza Libre"; src: url("fonts/proza-libre-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Proza Libre"; src: url("fonts/proza-libre-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Oxygen Mono"; src: url("fonts/oxygen-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --dusk: #16232f; --dusk-2: #1f3242; --dusk-3: #2c455a; --linen: #f2ebdd; --linen-2: #e8dec9; --linen-3: #d9ccb2;
  --copper: #b4612a; --copper-d: #8f4a1d; --moss: #3f5a3c; --moss-d: #2f4530; --gold: #e2a93b; --iron: #1d1915; --ink-2: #4a423a;
  --paper: #fbf8f1; --stop: #a2342a; --fix: #2f6b4f; --warn: #a86a12; --info: #3a5a78;
  --t0: #b4612a; --t1: #4e7a49; --t2: #2f6f9a; --t3: #c08a12; --t4: #9a3c55; --t5: #2b7a78; --t6: #6a5fa3; --t7: #7a5230;
  --display: "Ultra", "Rockwell Extra Bold", "Rockwell", Georgia, serif;
  --text: "Proza Libre", "Gill Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "Oxygen Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --r: 14px; --shadow: 0 1px 0 rgba(29,25,21,.06), 0 10px 30px -12px rgba(29,25,21,.28);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--iron); font: 400 1.0625rem/1.65 var(--text); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--copper-d); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--copper); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.3rem); }
.h3 { font: 600 1.1rem/1.3 var(--text); }
.h4 { font: 600 .98rem/1.3 var(--text); margin-top: 1.1rem; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--mono); font-size: .92em; }
code { background: rgba(180,97,42,.1); padding: .05em .35em; border-radius: 4px; overflow-wrap: anywhere; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--iron); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(860px, 100% - 2.5rem); }
.small { font-size: .9rem; color: var(--ink-2); }
.eyebrow { font: 700 .78rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.eyebrow--copper { color: var(--copper); }
.eyebrow--gold { color: var(--gold); }
.lead { font-size: 1.2rem; color: #d8d2c4; max-width: 38em; }
.lead--ink { color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; font: 700 1rem/1 var(--text); padding: .95rem 1.35rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .12s ease, background .12s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--copper { background: var(--copper); color: #fff8ee; box-shadow: 0 6px 18px -6px rgba(180,97,42,.7); }
.btn--copper:hover { background: var(--copper-d); color: #fff; }
.btn--ink { background: var(--dusk); color: var(--linen); }
.btn--ink:hover { background: var(--dusk-3); color: #fff; }
.btn--linen { background: var(--linen); color: var(--iron); border-color: var(--linen-3); }
.btn--linen:hover { background: #fff; color: var(--iron); }
.btn--small { padding: .5rem .9rem; font-size: .88rem; }
.btn--wide { width: 100%; }
.btn__bell { width: 22px; height: 22px; }
.btn__bell .bell__bracket, .btn__bell .bell__hand { stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }
.btn__bell .bell__body, .btn__bell .bell__clapper { fill: currentColor; }
.btn__bell .bell__ring { fill: none; stroke: currentColor; stroke-width: 2; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--copper-d); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.linkish--danger { color: var(--stop); }

/* ---------- header (porch) ---------- */
.porch { background: var(--dusk); color: var(--linen); position: relative; z-index: 20; border-bottom: 1px solid rgba(226,169,59,.18); }
.porch__in { width: min(1180px, 100% - 2.5rem); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--linen); text-decoration: none; }
.brand:hover { color: #fff; text-decoration: none; }
.brand__bell { width: 40px; height: 40px; flex: none; }
.bell__bracket, .bell__hand { stroke: var(--gold); stroke-width: 1.8; fill: none; stroke-linecap: round; }
.bell__body { fill: var(--copper); }
.bell__clapper { fill: var(--linen); }
.bell__ring { fill: none; stroke: var(--linen); stroke-width: 1.6; opacity: .85; }
.brand__words { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 400 1.45rem/1 var(--display); letter-spacing: .01em; }
.brand__by { font: 600 .68rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: .35rem; }
.porch__nav { display: flex; gap: 1.4rem; margin-left: auto; }
.porch__nav a { color: #d6d0c3; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4rem 0; position: relative; }
.porch__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.porch__nav a:hover { color: #fff; }
.porch__nav a:hover::after, .porch__nav a[aria-current="page"]::after { transform: scaleX(1); }
.porch__nav a[aria-current="page"] { color: #fff; }
.porch__nav a[aria-current="page"]::before { content: ""; position: absolute; left: 50%; bottom: -7px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--gold); }
.porch__pass { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--linen); border: 1px solid rgba(242,235,221,.25); border-radius: 10px; padding: .4rem .75rem; font-size: .82rem; line-height: 1.25; }
.porch__pass span { font-weight: 700; }
.porch__pass em { font-style: normal; color: var(--gold); font-size: .74rem; }
.porch__pass:hover { border-color: var(--gold); color: #fff; }
.sheet { display: none; margin-left: auto; }
.sheet summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .55rem; font-weight: 700; padding: .55rem .9rem; border-radius: 999px; border: 1px solid rgba(242,235,221,.3); }
.sheet summary::-webkit-details-marker { display: none; }
.sheet__rope { width: 18px; height: 12px; border-top: 2px solid var(--linen); border-bottom: 2px solid var(--linen); position: relative; }
.sheet__rope::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 2px; background: var(--gold); }
.sheet[open]::before { content: ""; position: fixed; inset: 0; background: rgba(10,16,22,.55); }
.sheet__panel { position: fixed; left: 0; right: 0; bottom: 0; background: var(--paper); color: var(--iron); border-radius: 22px 22px 0 0; padding: 1.4rem 1.25rem 1.6rem; box-shadow: 0 -20px 60px rgba(0,0,0,.45); display: grid; gap: .1rem; max-height: 85vh; overflow-y: auto; }
.sheet__panel::before { content: ""; width: 48px; height: 5px; border-radius: 3px; background: var(--linen-3); justify-self: center; margin-bottom: .8rem; }
.sheet__panel a { color: var(--iron); text-decoration: none; font: 600 1.15rem/1.2 var(--text); padding: .85rem .2rem; border-bottom: 1px solid var(--linen-2); }
.sheet__panel a[aria-current="page"] { color: var(--copper); }
.sheet__price { margin: 1rem 0 0; font-size: .92rem; color: var(--ink-2); }

/* ---------- hero (dusk) ---------- */
.dusk { background: radial-gradient(900px 480px at 82% 18%, rgba(226,169,59,.16), transparent 60%), radial-gradient(700px 420px at 8% 110%, rgba(180,97,42,.22), transparent 60%), linear-gradient(180deg, var(--dusk) 0%, #1b2c3a 100%); color: var(--linen); }
.dusk__in { width: min(1180px, 100% - 2.5rem); margin-inline: auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; padding: 4.5rem 0 3.5rem; }
.dusk h1 { color: #fff7e8; margin-bottom: .35em; }
.hero-form { margin-top: 1.8rem; background: rgba(242,235,221,.06); border: 1px solid rgba(242,235,221,.16); border-radius: 18px; padding: 1.1rem; }
.hero-form__label { display: block; font: 700 .8rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: .2rem .2rem .7rem; }
.hero-form textarea, .ringer textarea { width: 100%; resize: vertical; font: 400 .95rem/1.6 var(--mono); color: var(--iron); background: var(--linen); border: 2px solid transparent; border-radius: 12px; padding: .85rem 1rem; min-height: 7.5rem; }
.hero-form textarea:focus, .ringer textarea:focus { outline: none; border-color: var(--gold); }
.hero-form__row { display: flex; gap: .8rem; align-items: flex-end; margin-top: .8rem; flex-wrap: wrap; }
.hero-form__tz { flex: 1 1 220px; display: grid; gap: .35rem; font-size: .85rem; color: #cfc8b8; }
.hero-form select { font: inherit; font-size: 1rem; padding: .8rem .9rem; border-radius: 12px; border: 1px solid rgba(242,235,221,.3); background: var(--dusk-2); color: var(--linen); width: 100%; }
.hero-form__more { margin: .8rem .2rem 0; font-size: .88rem; color: #bdb6a6; }
.hero-form__more a, .hero-form__more .linkish { color: var(--gold); }
.dusk__dial { margin: 0; display: grid; gap: 1.2rem; justify-items: center; }
.dusk__dial .dial { width: min(440px, 100%); filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.dusk__dial figcaption { width: min(460px, 100%); }
.dial-cap { font-size: .86rem; color: #bdb6a6; margin-bottom: .6rem; }
.chips { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem; color: #e7e0d1; }
.chips li { display: flex; gap: .6rem; align-items: baseline; }
.ledge { background: rgba(0,0,0,.22); border-top: 1px solid rgba(226,169,59,.2); }
.ledge p { width: min(1180px, 100% - 2.5rem); margin: 0 auto; padding: 1rem 0; font-size: .98rem; color: #e9e2d2; }
.ledge em { color: var(--gold); font-style: normal; font-weight: 700; }
.ledge a { color: var(--gold); margin-left: .4rem; }

/* ---------- dial ---------- */
.dial__face { fill: var(--linen); }
.dial__rim { fill: none; stroke: var(--linen-3); stroke-width: 1; }
.dial__night { fill: none; stroke: rgba(22,35,47,.07); stroke-width: 20; }
.dial__tick { stroke: var(--ink-2); stroke-width: 1.2; }
.dial__tick--big { stroke: var(--iron); stroke-width: 2.4; }
.dial__hour { font: 700 13px var(--text); fill: var(--ink-2); }
.dial__track { fill: none; stroke: rgba(29,25,21,.07); stroke-width: 7; }
.dial__mark { stroke-width: 2.6; stroke-linecap: round; }
.dial__band { fill: none; stroke-width: 7; stroke-linecap: butt; opacity: .85; }
.dial__hub { fill: var(--dusk); }
.dial__mark--few { stroke-width: 3.5; }
.dial__dot { stroke: var(--linen) !important; stroke-width: 2; }
.dial .dial__dot.t0 { fill: var(--t0); } .dial .dial__dot.t1 { fill: var(--t1); } .dial .dial__dot.t2 { fill: var(--t2); } .dial .dial__dot.t3 { fill: var(--t3); }
.dial .dial__dot.t4 { fill: var(--t4); } .dial .dial__dot.t5 { fill: var(--t5); } .dial .dial__dot.t6 { fill: var(--t6); } .dial .dial__dot.t7 { fill: var(--t7); }
.dial__hubtext { font: 400 26px var(--display); fill: var(--linen); }
.dial__hubsub { font: 700 11px var(--text); letter-spacing: .14em; text-transform: uppercase; fill: var(--gold); }
.dial .t0 { stroke: var(--t0); } .dial .t1 { stroke: var(--t1); } .dial .t2 { stroke: var(--t2); } .dial .t3 { stroke: var(--t3); }
.dial .t4 { stroke: var(--t4); } .dial .t5 { stroke: var(--t5); } .dial .t6 { stroke: var(--t6); } .dial .t7 { stroke: var(--t7); }
.chip { display: inline-flex; align-items: center; gap: .35rem; font: 700 .74rem/1 var(--text); letter-spacing: .04em; text-transform: uppercase; padding: .3rem .55rem; border-radius: 999px; color: #fff; background: var(--t0); white-space: nowrap; flex: none; }
.chip.t1 { background: var(--t1); } .chip.t2 { background: var(--t2); } .chip.t3 { background: var(--t3); color: var(--iron); } .chip.t4 { background: var(--t4); }
.chip.t5 { background: var(--t5); } .chip.t6 { background: var(--t6); } .chip.t7 { background: var(--t7); }

/* ---------- bands ---------- */
.band { padding: 5rem 0; }
.band--paper { background: var(--paper); }
.band--rules { background: var(--linen); background-image: repeating-linear-gradient(0deg, transparent 0 31px, rgba(29,25,21,.05) 31px 32px); }
.band--moss { background: var(--moss-d); color: var(--linen); }
.band--moss h2 { color: #fff7e8; }
.band--faq { padding-top: 1rem; }
.band__head { max-width: 46rem; margin-bottom: 2.4rem; }
.swap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.2rem; align-items: stretch; }
.swap__side { background: #fff; border: 1px solid var(--linen-2); border-radius: var(--r); padding: 1.1rem; box-shadow: var(--shadow); min-width: 0; }
.swap__side--after { border-color: rgba(47,107,79,.35); }
.swap__label { font: 700 .76rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.swap__arrow { display: grid; place-items: center; }
.swap__bell { width: 54px; height: 54px; }
.crontab { margin: 0; background: var(--dusk); color: #e6dfcf; border-radius: 10px; padding: 1rem 1.1rem; font: 400 .86rem/1.7 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.crontab--after { background: #14251c; color: #e2ecd9; }
.heard { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 2rem; }
.heard li { display: flex; gap: .55rem; align-items: baseline; font-size: .96rem; border-top: 1px solid var(--linen-2); padding-top: .8rem; flex-wrap: wrap; }

/* tags: hanging brass tag with a punched hole */
.tag { display: inline-flex; align-items: center; gap: .3rem; font: 700 .72rem/1 var(--mono); letter-spacing: .02em; padding: .32rem .5rem .32rem .42rem; border-radius: 4px 9px 9px 4px; color: #fff; background: var(--ink-2); text-decoration: none; white-space: nowrap; flex: none; }
.tag::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.85); }
a.tag:hover { color: #fff; filter: brightness(1.12); text-decoration: none; }
.tag--stop { background: var(--stop); } .tag--fix { background: var(--fix); } .tag--warn { background: var(--warn); } .tag--info { background: var(--info); }
.tag--ok { background: var(--moss); } .tag--plain { background: var(--copper); }

.rules { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.rules__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .2rem 1.6rem; }
.rules__list li { display: flex; gap: .7rem; align-items: center; padding: .7rem 0; border-bottom: 1px dashed rgba(29,25,21,.18); font-weight: 600; font-size: .96rem; }
.rules__list .tag { min-width: 3.4rem; }

.clockback { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.clockback p { color: #dfe6d7; }
.clockback__days { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.clockback__days li { background: rgba(255,255,255,.06); border: 1px solid rgba(226,169,59,.28); border-radius: var(--r); padding: 1.1rem 1.2rem; display: grid; gap: .25rem; }
.clockback__date { font: 400 1.25rem/1.2 var(--display); color: #fff7e8; }
.clockback__what { font-weight: 600; }
.is-gap .clockback__what { color: #f4c58a; } .is-twice .clockback__what { color: #bfe0b6; }
.clockback__zone { font: .8rem var(--mono); color: #b8c3b1; }

/* plaques (pricing) */
.plaque-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; align-items: stretch; }
.plaque { position: relative; background: #fff; border: 1px solid var(--linen-2); border-radius: 6px; padding: 1.8rem 1.6rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plaque--pass { background: linear-gradient(180deg, #fbefe0, #f6e4cc); border: 2px solid var(--copper); }
.plaque__nail { position: absolute; top: 12px; left: 14px; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d9d2c6, #6f655a); }
.plaque__nail--r { left: auto; right: 14px; }
.plaque__name { font: 700 .82rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--copper-d); text-align: center; }
.plaque__price { font: 400 3rem/1 var(--display); text-align: center; margin: .4rem 0 .3rem; }
.plaque__price small { font: 600 1rem var(--text); color: var(--ink-2); }
.plaque__alt { text-align: center; color: var(--ink-2); font-size: .95rem; }
.plaque ul { margin: .6rem 0 1.2rem; padding-left: 1.1rem; display: grid; gap: .35rem; }
.plaque .btn { margin-top: auto; }
.plaque__preview { background: var(--dusk); color: var(--linen); border-radius: 8px; padding: .7rem .8rem; font-size: .9rem; }
.plaque__preview strong { color: var(--gold); }
.plaque--year { border-style: dashed; }

.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--linen-3); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--linen-3); }
.faq summary { cursor: pointer; font: 600 1.1rem/1.4 var(--text); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--display); color: var(--copper); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: .7rem 0 0; color: var(--ink-2); }
.faq--tight { margin-top: 3rem; }

/* ---------- inner pages ---------- */
.deck { padding: 3.5rem 0 5rem; background: linear-gradient(180deg, var(--linen) 0, var(--paper) 340px); }
.deck__head { max-width: 50rem; margin-bottom: 2rem; }
.deck__head--center { margin-inline: auto; text-align: center; }
.deck__head--center .eyebrow { justify-content: center; }
.deck--message { text-align: center; padding: 5rem 0; }
.deck--message .lead { margin-inline: auto; }
.message__bell, .empty__bell { width: 72px; height: 72px; margin-bottom: 1rem; }
.note { border-radius: 10px; padding: .8rem 1rem; border-left: 5px solid var(--info); background: #eef2f6; font-size: .97rem; }
.note--ok { border-color: var(--fix); background: #eaf3ec; }
.note--stop { border-color: var(--stop); background: #f8e9e6; }
.note--warn { border-color: var(--warn); background: #fbf1df; }
.note--plain { border-color: var(--copper); background: #fff; margin-top: 2rem; }

.ringer { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1.4rem 2rem; }
.ringer__main, .ringer__side { background: #fff; border: 1px solid var(--linen-2); border-radius: var(--r); padding: 1.3rem; box-shadow: var(--shadow); min-width: 0; }
.ringer__side { display: grid; gap: 1rem; align-content: start; }
.ringer__label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; margin-bottom: .6rem; flex-wrap: wrap; }
.ringer textarea { background: var(--paper); border: 1px solid var(--linen-3); min-height: 11rem; }
.ringer__hint { font-size: .85rem; color: var(--ink-2); margin: .6rem 0 0; }
.field { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { font-weight: 600; margin-bottom: .35rem; padding: 0; }
.field select, .field input[type=text], .field input[type=number], .field input[type=time] { font: 400 1rem var(--text); padding: .7rem .8rem; border-radius: 10px; border: 1px solid var(--linen-3); background: var(--paper); color: var(--iron); width: 100%; min-width: 0; }
.radio { display: flex; gap: .5rem; align-items: baseline; font-weight: 400; font-size: .93rem; }
.radio input { accent-color: var(--copper); }
.tally { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; background: var(--dusk); color: var(--linen); border-radius: var(--r); padding: 1rem 1.3rem; margin-top: 1rem; }
.tally__lead { margin: 0; }
.tally__list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.tally__i { font-weight: 700; font-size: .86rem; padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.1); }
.tally__i--stop { background: var(--stop); } .tally__i--fix { background: var(--fix); } .tally__i--warn { background: var(--warn); } .tally__i--info { background: var(--info); } .tally__i--ok { background: var(--moss); }
.tally .note { margin: 0; width: 100%; color: var(--iron); }
.view { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; background: #fff; border: 1px solid var(--linen-2); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow); }
.view__dial { margin: 0; }
.view__dial .dial { width: 100%; max-width: 420px; display: block; margin: 0 auto .6rem; }
.view__dial figcaption { font-size: .86rem; color: var(--ink-2); text-align: center; }
.board { width: 100%; height: auto; display: block; }
.board__slot { fill: var(--linen); }
.board__bar { stroke: none; }
.board .t0 { fill: var(--t0); } .board .t1 { fill: var(--t1); } .board .t2 { fill: var(--t2); } .board .t3 { fill: var(--t3); }
.board .t4 { fill: var(--t4); } .board .t5 { fill: var(--t5); } .board .t6 { fill: var(--t6); } .board .t7 { fill: var(--t7); }
.board__hour { font: 700 12px var(--text); fill: var(--ink-2); }
.crowd { list-style: none; margin: .5rem 0 .8rem; padding: 0; display: grid; gap: .4rem; }
.crowd li { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.crowd__time { font: 700 .95rem var(--mono); min-width: 3.4rem; }
.section-title { grid-column: 1 / -1; margin: 1.6rem 0 0; }
.rings { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.ring { background: #fff; border: 1px solid var(--linen-2); border-left: 6px solid var(--t0); border-radius: var(--r); padding: 1.2rem 1.3rem; box-shadow: var(--shadow); min-width: 0; }
.ring.t1 { border-left-color: var(--t1); } .ring.t2 { border-left-color: var(--t2); } .ring.t3 { border-left-color: var(--t3); } .ring.t4 { border-left-color: var(--t4); }
.ring.t5 { border-left-color: var(--t5); } .ring.t6 { border-left-color: var(--t6); } .ring.t7 { border-left-color: var(--t7); }
.ring__top { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.ring__line { background: var(--paper); border: 1px solid var(--linen-2); padding: .3rem .55rem; font-size: .88rem; flex: 1 1 260px; min-width: 0; }
.ring__no { font-size: .8rem; color: var(--ink-2); }
.ring__say { font: 400 1.35rem/1.3 var(--display); margin: .9rem 0 1rem; }
.ring__say--bad { font: 600 1rem/1.5 var(--text); color: var(--stop); display: flex; gap: .6rem; align-items: baseline; }
.ring__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.6rem; }
.runs { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: .7rem; }
.runs th { text-align: left; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); border-bottom: 2px solid var(--linen-2); padding: .3rem .4rem; }
.runs td { white-space: nowrap; padding: .32rem .4rem; border-bottom: 1px solid var(--linen-2); font-family: var(--mono); font-size: .84rem; }
.runs tr.is-gap td { background: #fbf1df; } .runs tr.is-twice td { background: #eef2f6; }
.runs em { font-family: var(--text); font-style: normal; font-weight: 700; color: var(--warn); font-size: .8rem; }
.more summary { cursor: pointer; font-weight: 700; font-size: .88rem; color: var(--copper-d); margin: -.2rem 0 .6rem; }
.len { display: flex; align-items: center; gap: .5rem; font-size: .88rem; flex-wrap: wrap; }
.len input { width: 5.5rem; font: 400 1rem var(--text); padding: .5rem .6rem; border-radius: 8px; border: 1px solid var(--linen-3); background: var(--paper); }
.ring__checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; align-content: start; }
.check { display: flex; gap: .65rem; align-items: baseline; font-size: .93rem; line-height: 1.5; }
.handback, .keep { grid-column: 1 / -1; background: #fff; border: 1px solid var(--linen-2); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); }
.handback__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.handback__head h2 { margin: 0; }
.keep { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.6rem; background: linear-gradient(180deg, #fbefe0, #f6e4cc); border-color: rgba(180,97,42,.4); }
.keep__price { font-size: .95rem; }
.keep__form { display: grid; gap: .8rem; align-content: start; }
.keep__links { font-size: .9rem; margin: 0; }

.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.6rem; background: #fff; border: 1px solid var(--linen-2); border-radius: var(--r); padding: 1.4rem; box-shadow: var(--shadow); }
.builder__kinds { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; }
.builder__kinds legend { font-weight: 700; margin-bottom: .6rem; }
.pick input { position: absolute; opacity: 0; }
.pick span { display: block; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--linen-3); background: var(--paper); font-weight: 600; cursor: pointer; }
.pick input:checked + span { border-color: var(--copper); background: #fbefe0; box-shadow: inset 4px 0 0 var(--copper); }
.pick input:focus-visible + span { outline: 3px solid var(--gold); }
.builder__opts { display: grid; gap: .9rem; align-content: start; }
.days { display: flex; flex-wrap: wrap; gap: .4rem; }
.day input { position: absolute; opacity: 0; }
.day span { display: inline-block; padding: .45rem .7rem; border-radius: 999px; border: 1px solid var(--linen-3); font-weight: 600; font-size: .88rem; cursor: pointer; }
.day input:checked + span { background: var(--dusk); color: var(--linen); border-color: var(--dusk); }
.day input:focus-visible + span { outline: 3px solid var(--gold); }
.built { margin-top: 1.6rem; background: var(--dusk); color: var(--linen); border-radius: var(--r); padding: 1.4rem; }
.built__label { font: 700 .76rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.built__spec { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.built__spec code { background: var(--linen); color: var(--iron); font-size: 1.5rem; padding: .3rem .8rem; }
.built__say { font: 400 1.35rem/1.35 var(--display); color: #fff7e8; }
.built .small { color: #cfc8b8; } .built a { color: var(--gold); } .built code { color: var(--iron); background: var(--linen); }

.empty { text-align: center; background: #fff; border: 1px dashed var(--linen-3); border-radius: var(--r); padding: 2.4rem 1.4rem; }
.linkbox { background: var(--dusk); color: var(--linen); border-radius: var(--r); padding: 1.2rem 1.3rem; margin-bottom: 1.6rem; }
.linkbox__label { font: 700 .78rem/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.linkbox__row { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.linkbox code { background: var(--linen); color: var(--iron); font-size: .95rem; }
.linkbox .small { color: #cfc8b8; margin: .6rem 0 0; }
.shelf { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .8rem; }
.shelf__item { background: #fff; border: 1px solid var(--linen-2); border-radius: var(--r); padding: 1rem 1.2rem; display: grid; gap: .2rem; box-shadow: var(--shadow); }
.shelf__name { font: 400 1.25rem/1.3 var(--display); text-decoration: none; color: var(--iron); }
.shelf__meta { font-size: .88rem; color: var(--ink-2); }
.shelf__links { font-size: .88rem; display: flex; gap: .9rem; }
.forget { display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--linen-3); }

.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.method__rule { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1rem; background: #fff; border: 1px solid var(--linen-2); border-radius: var(--r); padding: 1.2rem 1.3rem; scroll-margin-top: 1rem; }
.method__rule h2 { font: 700 1.15rem/1.3 var(--text); margin-bottom: .3rem; }
.method__rule p { margin: 0; color: var(--ink-2); }
.method__rule .tag { justify-self: start; }
.method__more { margin-top: 2.6rem; }
.method__more h2 { font-size: 1.5rem; margin-top: 1.6rem; }
.levels { list-style: none; padding: 0; display: grid; gap: .6rem; }
.levels li { display: flex; gap: .8rem; align-items: baseline; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .4rem; }

/* ---------- footer ---------- */
.foot { background: var(--iron); color: #d8d0c0; padding: 3.5rem 0 1.5rem; }
.foot__in { width: min(1180px, 100% - 2.5rem); margin-inline: auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; }
.brand--foot .brand__name { color: var(--linen); }
.foot__brand p { margin: 1rem 0 0; max-width: 28rem; }
.foot__price { color: var(--gold); font-size: .92rem; }
.foot__price strong { color: #fff; }
.foot__col { display: grid; gap: .5rem; align-content: start; }
.foot__h { font: 700 .76rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .4rem; }
.foot__col a { color: #e6dfcf; text-decoration: none; }
.foot__col a:hover { color: #fff; text-decoration: underline; }
.foot__base { width: min(1180px, 100% - 2.5rem); margin: 2.6rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(242,235,221,.14); font-size: .88rem; color: #b9b1a1; }
.foot__base strong { color: #efe7d6; }
.foot__powered a { color: var(--gold); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .porch__nav { gap: 1rem; }
  .porch__pass { display: none; }
}
@media (max-width: 900px) {
  .porch__nav { display: none; }
  .sheet { display: block; }
  .sheet[open] summary { position: relative; z-index: 2; }
  .dusk__in { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.6rem 0 2.4rem; }
  .swap { grid-template-columns: 1fr; }
  .swap__arrow { transform: rotate(90deg); }
  .heard, .rules__list { grid-template-columns: 1fr; }
  .rules, .clockback { grid-template-columns: 1fr; gap: 2rem; }
  .ringer, .view, .ring__grid, .keep, .builder { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .band { padding: 3.4rem 0; }
}
@media (max-width: 520px) {
  body { font-size: 1rem; }
  .wrap, .narrow, .porch__in, .dusk__in, .ledge p, .foot__in, .foot__base { width: calc(100% - 2rem); }
  .brand__name { font-size: 1.25rem; }
  .brand__bell { width: 34px; height: 34px; }
  .hero-form { padding: .8rem; }
  .hero-form__row .btn { width: 100%; }
  .ringer__main, .ringer__side, .view, .ring, .handback, .keep, .builder { padding: 1rem; }
  .ring__say { font-size: 1.15rem; }
  .runs td { font-size: .78rem; padding: .3rem .25rem; }
  .runs th { font-size: .68rem; }
  .method__rule { grid-template-columns: 1fr; gap: .5rem; }
  .plaque__price { font-size: 2.5rem; }
  .built__spec code { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .porch, .foot, .ringer__side, .keep, .hero-form, .sheet { display: none !important; }
  body { background: #fff; } .ring, .view, .handback { box-shadow: none; break-inside: avoid; }
}

/* ---------- v1.1.0: AdEngine banner (adengine.us) ----------
   One labelled slot between the main content and the footer, on the public pages only (the controllers opt in). The label
   and the reserved height are on the <ins>, so when tag.js (or ae-size.js) hides a slot it cannot fill, the label, the
   reserved space and the space around it go with it. 110px = 16px label + 4px gap + 90px banner; 270px on phones
   (300x250). The footer has no top margin, so the <ins> carries the space above and below it. display stays in this file
   and is never !important. */
.ae-slot { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.ae-slot ins.adengine { display: block; max-width: 728px; min-height: 110px; margin: clamp(28px, 4vw, 40px) auto clamp(40px, 6vw, 56px); text-align: center; text-decoration: none; }
.ae-slot ins.adengine::before { content: "Advertisement"; display: block; margin-bottom: 4px; font: 700 11px/16px var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.ae-slot ins.adengine a { display: inline-block; vertical-align: top; }
.ae-slot:has(> ins.adengine[style*="none"]) { display: none; }
@media (max-width: 767px) { .ae-slot ins.adengine { max-width: 300px; min-height: 270px; } }
@media print { .ae-slot { display: none; } }
