/* Byward Plumber Ottawa. Colours come from the logo: market-awning burgundy and brass gold. */
@font-face { font-family: "Bitter"; src: url("../fonts/bitter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --burg: #741827; --burg-d: #4a0f19; --burg-h: #8c2034; --burg-50: #f9f0f1; --burg-100: #f0dadd;
  --gold: #c59b23; --gold-l: #f1d98f; --gold-ink: #7a5c0a; --gold-50: #fbf6e6;
  --ink: #211a1b; --ink-2: #4b4244; --muted: #6a6063; --line: #e6dfdb; --stone: #f6f3f1; --white: #fff;
  --head: "Bitter", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px; --r: 6px;
  --awning: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22'%3E%3Crect width='24' height='8' fill='%23741827'/%3E%3Crect x='24' width='24' height='8' fill='%23c59b23'/%3E%3Cpath d='M1 10h22v1a11 11 0 0 1-22 0z' fill='%23741827'/%3E%3Cpath d='M25 10h22v1a11 11 0 0 1-22 0z' fill='%23c59b23'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img, svg { display: block; max-width: 100%; }
a { color: var(--burg); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--burg-h); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--white); padding: 8px 14px; }
.ic { width: 20px; height: 20px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.awning { height: 22px; background: var(--awning) repeat-x 0 0; }
.kicker { font: 700 .8rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 .9em; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 40em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: var(--r); font: 700 1rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-burg { background: var(--burg); color: var(--white); }
.btn-burg:hover { background: var(--burg-h); color: var(--white); }
.btn-call { font: 700 1.25rem/1.1 var(--head); padding: 15px 22px; }
.btn-call small { font: 600 .72rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--burg-d); padding: 5px 7px; border-radius: 3px; }
.btn-line { border-color: var(--burg); color: var(--burg); background: transparent; }
.btn-line:hover { background: var(--burg-50); }
.textlink { font-weight: 600; }

/* Header */
.hdr { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.hdr-in { max-width: var(--wrap); margin: 0 auto; padding: 14px 24px 16px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--burg); margin-right: auto; }
.brand img { width: 50px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand .b1 { font: 700 1.4rem/1 var(--head); letter-spacing: .01em; text-transform: uppercase; }
.brand .b2 { font: 600 .74rem/1 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--gold-ink); margin-top: 6px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.nav-link, .dd-btn { display: flex; align-items: center; gap: 4px; padding: 10px 12px; font: 600 .98rem/1 var(--body); color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 4px; }
.nav-link:hover, .dd-btn:hover { color: var(--burg); background: var(--burg-50); }
.nav-link[aria-current] { color: var(--burg); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.chev { width: 16px; height: 16px; transition: transform .15s; }
.dd { position: relative; }
.dd.open .chev { transform: rotate(180deg); }
.dd-panel { display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 270px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--burg); border-radius: 0 0 var(--r) var(--r); box-shadow: 0 18px 40px -16px rgba(33, 26, 27, .35); padding: 10px; }
.dd.open .dd-panel { display: block; }
.dd-panel ul { list-style: none; margin: 0; padding: 0; }
.dd-panel a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: 4px; font-weight: 500; }
.dd-panel a:hover, .dd-panel a[aria-current] { background: var(--burg-50); color: var(--burg); }
.dd-panel .dd-h { font: 700 .72rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 10px 12px 4px; }
.dd-panel .dd-h:first-child { margin-top: 4px; }
.hdr-call { display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; color: var(--burg); line-height: 1; }
.hdr-call .hc-k { font: 600 .72rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.hdr-call .hc-num { font: 700 1.3rem/1 var(--head); white-space: nowrap; }
.hdr-call:hover .hc-num { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-btn { display: none; }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.55rem); margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--burg); }
.hero .lead { margin-bottom: 1.6em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.hero-list { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.hero-list li { border-top: 3px solid var(--gold); padding-top: 12px; font-size: .95rem; color: var(--ink-2); }
.hero-list strong { display: block; font: 700 1.02rem/1.3 var(--head); color: var(--ink); margin-bottom: 4px; }
.sign { border: 2px solid var(--burg); border-radius: var(--r); overflow: hidden; background: var(--white); box-shadow: 8px 8px 0 var(--burg-100); }
.sign-h { background: var(--burg); color: var(--white); padding: 16px 22px 14px; }
.sign-h p { margin: 0; font: 600 .75rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-l); }
.sign-h h2 { color: var(--white); font-size: 1.45rem; margin: 8px 0 0; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 18px 22px 6px; }
.steps li { counter-increment: s; position: relative; padding: 0 0 14px 42px; font-size: .97rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--gold-50); border: 1.5px solid var(--gold); color: var(--burg); font: 700 .9rem/25px var(--head); text-align: center; }
.steps strong { display: block; }
.sign-call { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 22px 20px; padding: 13px 16px; background: var(--burg-50); border-radius: 4px; text-decoration: none; font: 700 1.2rem/1 var(--head); color: var(--burg); }
.sign-call span { font: 600 .82rem/1.2 var(--body); color: var(--ink-2); }
.hero-photo img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Sections */
.sec { padding: 72px 0; }
.sec-stone { background: var(--stone); }
.sec-head { max-width: 46em; margin-bottom: 36px; }
.sec-head p { color: var(--ink-2); margin: 0; }

/* Menu board (services) */
.board { background: var(--burg); color: var(--white); padding: 72px 0 76px; position: relative; }
.board::before { content: ""; position: absolute; inset: 0 0 auto; height: 22px; background: var(--awning) repeat-x; filter: brightness(1.35) saturate(.7); opacity: .22; }
.board h2 { color: var(--white); }
.board .kicker { color: var(--gold-l); }
.board .sec-head p { color: var(--burg-100); }
.board-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 44px; }
.board-col h3 { font: 700 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .25); margin-bottom: 6px; }
.board-col ul { list-style: none; margin: 0; padding: 0; }
.mb-item { display: block; padding: 14px 0; text-decoration: none; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.mb-line { display: flex; align-items: baseline; gap: 8px; }
.mb-name { font: 700 1.18rem/1.25 var(--head); }
.mb-dots { flex: 1; border-bottom: 2px dotted rgba(241, 217, 143, .5); transform: translateY(-4px); min-width: 16px; }
.mb-tag { font: 600 .82rem/1.2 var(--body); color: var(--gold-l); white-space: nowrap; }
.mb-blurb { display: block; font-size: .93rem; color: var(--burg-100); margin-top: 4px; }
.mb-item:hover { color: var(--white); }
.mb-item:hover .mb-name { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.mb-item:focus-visible { outline-offset: 4px; }

/* Light version of the board list, used under service pages */
.board-light .mb-item { color: var(--ink); border-bottom-color: var(--line); }
.board-light .mb-dots { border-bottom-color: var(--gold); opacity: .6; }
.board-light .mb-tag { color: var(--gold-ink); }
.board-light .mb-blurb { color: var(--muted); }
.board-light .mb-item:hover { color: var(--burg); }
.board-light h3 { color: var(--gold-ink); border-bottom-color: var(--line); }

/* Building-age timeline */
.ages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 22px; position: relative; }
.ages::before { content: ""; position: absolute; left: 0; right: 0; top: 52px; height: 2px; background: var(--burg-100); }
.ages li { position: relative; padding-top: 72px; }
.ages li::before { content: ""; position: absolute; left: 0; top: 45px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--stone); box-shadow: 0 0 0 2px var(--gold); }
.age-y { position: absolute; top: 0; left: 0; font: 700 1.55rem/1 var(--head); color: var(--burg); white-space: nowrap; }
.age-y small { font-size: .62em; font-weight: 600; }
.ages h3 { font-size: 1.02rem; margin-bottom: .35em; }
.ages p { font-size: .9rem; color: var(--ink-2); margin: 0; }
.src { font-size: .8rem; color: var(--muted); margin-top: 28px; }
.src a { color: var(--muted); }

/* Building types */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.type { border-top: 2px solid var(--ink); padding-top: 18px; }
.type .tic { width: 42px; height: 42px; color: var(--burg); margin-bottom: 14px; }
.type p { color: var(--ink-2); font-size: .98rem; }
.type ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); font-size: .95rem; }
.type li { margin-bottom: 4px; }

/* Neighbourhoods */
.hoods { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.hood-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hood-zone { font: 700 .76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.hood-cards + .hood-zone { margin-top: 30px; }
.hood-also { margin: 26px 0 0; color: var(--ink-2); font-size: .98rem; }
.hood { display: block; padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); background: var(--white); position: relative; }
.hood::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; border-radius: var(--r) var(--r) 0 0; background: repeating-linear-gradient(90deg, var(--burg) 0 14px, var(--gold) 14px 28px); }
.hood h3 { font-size: 1.15rem; margin: 6px 0 6px; color: var(--burg); }
.hood p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.hood:hover { border-color: var(--burg); color: var(--ink); }
.hood:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; }
.regions { margin: 0; }
.regions dt { font: 700 .76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 8px; }
.regions dd { margin: 0 0 18px; color: var(--ink-2); font-size: .98rem; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 700 1.1rem/1.35 var(--head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--body); color: var(--burg); flex: none; transform: translateY(-2px); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--burg); }
.faq .a { padding: 0 40px 14px 0; color: var(--ink-2); }

/* Closing: call first, form folded away */
.closing { background: var(--stone); }
.closing .awning { background-color: var(--white); }
.closing-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; padding-top: 52px; padding-bottom: 64px; align-items: start; }
.cl-call { background: var(--burg); color: var(--white); border-radius: var(--r); padding: 32px 32px 30px; }
.cl-call h2 { color: var(--white); font-size: 1.7rem; }
.cl-call .kicker { color: var(--gold-l); }
.cl-phone { display: inline-block; font: 700 clamp(1.9rem, 3.6vw, 2.5rem)/1.1 var(--head); color: var(--white); text-decoration: none; margin: 4px 0 14px; white-space: nowrap; border-bottom: 3px solid var(--gold); }
.cl-phone:hover { color: var(--gold-l); }
.cl-call p { color: var(--burg-100); margin: 0; }
.cl-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.cl-form summary { list-style: none; cursor: pointer; padding: 26px 70px 26px 28px; position: relative; display: block; }
.cl-form summary::-webkit-details-marker { display: none; }
.cl-form .kicker { margin-bottom: 6px; }
.cl-sum-h { display: block; font: 700 1.35rem/1.2 var(--head); }
.cl-sum-p { display: block; color: var(--muted); font-size: .95rem; margin-top: 4px; }
.cl-open { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--burg); color: var(--burg); font: 500 1.4rem/30px var(--body); text-align: center; }
.cl-form[open] .cl-open { transform: translateY(-50%) rotate(45deg); }
.cl-form[open] summary { border-bottom: 1px solid var(--line); }
.lead-form { padding: 22px 28px 26px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.fl { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .92rem; }
.fl em { font-style: normal; font-weight: 400; color: var(--muted); }
.fl-wide { grid-column: 1 / -1; }
.fl input, .fl select, .fl textarea { font: 400 1rem/1.4 var(--body); color: var(--ink); padding: 11px 12px; border: 1px solid #c9bfbb; border-radius: 4px; background: var(--white); width: 100%; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: 2px solid var(--burg); outline-offset: 0; border-color: var(--burg); }
.fl [aria-invalid="true"] { border-color: #b3261e; background: #fff7f6; }
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.ok { color: #1d6b38; }
.form-status.err { color: #b3261e; }

/* Page heads */
.phead { background: var(--stone); padding: 40px 0 46px; border-bottom: 1px solid var(--line); }
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b8aeaa; }
.crumbs a { color: var(--muted); }
.phead h1 { font-size: clamp(2rem, 4vw, 2.9rem); max-width: 22em; }
.phead .lead { margin-bottom: 1.3em; }
.phead-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; }
.phead-grid.nophoto { grid-template-columns: 1fr; }
.phead-photo img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; margin: 26px 0 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); max-width: 980px; }
.facts div { padding: 14px 18px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts dt { font: 700 .72rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; }
.facts dd { margin: 0; font: 600 1rem/1.35 var(--head); }

/* Page body: article and counter card */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 64px; align-items: start; }
.article { max-width: 720px; }
.article h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin-top: 1.7em; }
.article > h2:first-child, .article > :first-child { margin-top: 0; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.2em; }
.article li { margin-bottom: .45em; }
.article li::marker { color: var(--burg); }
.first { border: 2px solid var(--burg); border-radius: var(--r); padding: 20px 22px 8px; margin: 0 0 2em; background: var(--burg-50); }
.first h2 { margin-top: 0 !important; font-size: 1.3rem; color: var(--burg); }
.first .steps { padding: 4px 0 0; }
.first .steps li::before { background: var(--white); }
.note { border-left: 4px solid var(--gold); background: var(--gold-50); padding: 14px 18px; margin: 1.4em 0; border-radius: 0 4px 4px 0; font-size: .98rem; }
.note p:last-child { margin: 0; }
.pairs { margin: 1em 0 1.4em; }
.pairs div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); }
.pairs div:last-child { border-bottom: 1px solid var(--line); }
.pairs dt { font: 700 1rem/1.4 var(--head); color: var(--burg); }
.pairs dd { margin: 0; color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 1.2em 0 1.6em; }
.data-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font: 700 .76rem/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink); border-bottom: 2px solid var(--ink); }
.data-table tbody th { font-weight: 600; }
.data-table td.num { font-variant-numeric: tabular-nums; text-align: right; }
.counter { position: sticky; top: 24px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.counter .awning { height: 22px; }
.counter-in { padding: 18px 22px 22px; }
.counter .kicker { margin-bottom: 4px; }
.counter-phone { display: block; font: 700 1.6rem/1.15 var(--head); color: var(--burg); text-decoration: none; margin-bottom: 14px; white-space: nowrap; }
.counter-phone:hover { text-decoration: underline; }
.counter h2 { font-size: 1rem; margin: 16px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.counter ul { margin: 0; padding-left: 1.1em; font-size: .92rem; color: var(--ink-2); }
.counter li { margin-bottom: 5px; }
.counter .textlink { display: inline-block; margin-top: 14px; font-size: .95rem; }

/* Water hardness chart */
.hb { margin: 1.4em 0 .6em; }
.hb-row, .hb-axis { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 14px; align-items: center; }
.hb-row { padding: 5px 0; border-radius: 4px; cursor: default; }
.hb-row:hover .hb-name, .hb-row:focus-visible .hb-name { color: var(--ink); font-weight: 600; }
.hb-name { font-size: .9rem; color: var(--ink-2); text-align: right; line-height: 1.25; }
.hb-track { position: relative; height: 18px; background: linear-gradient(to right, #e3dcd8 1px, transparent 1px) 0 0 / 25% 100% repeat-x; border-right: 1px solid #e3dcd8; }
.hb-bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--burg); border-radius: 0 4px 4px 0; }
.hb-row:hover .hb-bar, .hb-row:focus-visible .hb-bar { background: var(--burg-h); }
.hb-val { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); font: 600 .85rem/1 var(--body); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hb-axis { margin-top: 4px; }
.hb-axis .hb-name { font-size: .78rem; color: var(--muted); }
.hb-ticks { position: relative; height: 16px; font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.hb-ticks span { position: absolute; transform: translateX(-50%); }
.hb-ticks span:first-child { transform: none; }
.hb-ticks span:last-child { transform: translateX(-100%); }
.tbl-toggle { margin-bottom: 1.4em; }
.tbl-toggle summary { cursor: pointer; font-weight: 600; color: var(--burg); font-size: .95rem; }
.tip { position: fixed; z-index: 60; background: var(--ink); color: var(--white); font-size: .85rem; padding: 7px 10px; border-radius: 4px; pointer-events: none; max-width: 260px; }

/* Area page side links */
.side-links { border-top: 3px solid var(--burg); padding-top: 14px; position: sticky; top: 24px; }
.side-links h2 { font-size: 1.05rem; margin-bottom: 10px; }
.side-links ul { list-style: none; margin: 0 0 18px; padding: 0; }
.side-links li a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; }
.side-links li a::after { content: "→"; color: var(--burg); }
.side-links li a:hover { color: var(--burg); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: .9rem; padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); color: var(--ink-2); }
.chips a { text-decoration: none; }
.chips li.here { border-color: var(--burg); color: var(--burg); font-weight: 600; }

/* About, contact, blog */
.flow { list-style: none; counter-reset: f; padding: 0 !important; }
.flow li { counter-increment: f; position: relative; padding: 0 0 18px 52px; }
.flow li::before { content: counter(f); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%; background: var(--burg); color: var(--white); font: 700 1rem/34px var(--head); text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ccard { border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.ccard h2 { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; color: var(--burg); }
.ccard p { margin: 0; color: var(--ink-2); }
.ccard .big { font: 700 1.45rem/1.2 var(--head); color: var(--burg); text-decoration: none; white-space: nowrap; }
.posts { list-style: none; margin: 0; padding: 0; max-width: 780px; }
.posts li { border-top: 1px solid var(--line); padding: 24px 0; }
.posts h2 { font-size: 1.4rem; margin-bottom: .3em; }
.posts h2 a { color: var(--ink); text-decoration: none; }
.posts h2 a:hover { color: var(--burg); }
.meta { font-size: .88rem; color: var(--muted); margin-bottom: .6em; }
.post-body { max-width: 720px; }
.toc { border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; margin: 0 0 2em; background: var(--stone); }
.toc p { font: 700 .76rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 10px; }
.toc-list { margin: 0; padding-left: 1.2em; }
.toc-list a { color: var(--ink); }
.nf { padding: 90px 0; text-align: center; }
.nf .actions { justify-content: center; }

/* Footer */
.ftr { background: var(--burg-d); color: #e9d6d9; }
.ftr .awning { background-color: var(--stone); }
.ftr-in { max-width: var(--wrap); margin: 0 auto; padding: 44px 24px 28px; display: grid; grid-template-columns: 1.3fr 1fr 1fr .7fr; gap: 36px; }
.ftr h2 { font: 700 .76rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.ftr li { margin-bottom: 7px; }
.ftr a { color: #f6e9eb; text-decoration: none; }
.ftr a:hover { color: var(--gold-l); text-decoration: underline; }
.ftr .brand { color: var(--white); margin: 0 0 16px; }
.ftr .brand .b2 { color: var(--gold-l); }
.ftr address { font-style: normal; font-size: .95rem; line-height: 1.7; }
.ftr-hours { font-size: .9rem; margin-top: 10px; color: var(--gold-l); }
.ftr-base { max-width: calc(var(--wrap) - 48px); width: calc(100% - 48px); margin: 0 auto; padding: 16px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; gap: 16px; font-size: .85rem; color: #c9adb2; }
.ftr-base a { color: #c9adb2; }
.callbar { display: none; }

/* Tablet */
@media (max-width: 1040px) {
  .hdr-in { gap: 16px; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 3px solid var(--burg); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3); }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 8px 16px 16px; gap: 0; }
  .nav-link, .dd-btn { width: 100%; justify-content: space-between; padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav-link[aria-current] { box-shadow: none; }
  .dd-panel { position: static; box-shadow: none; border: 0; padding: 4px 0 10px 8px; min-width: 0; }
  .nav-btn { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--white); font: 600 .95rem/1 var(--body); color: var(--ink); cursor: pointer; }
  .nb-lines { width: 18px; height: 12px; border-top: 2px solid; border-bottom: 2px solid; position: relative; }
  .nb-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid; }
  .hero-grid, .hoods, .page, .phead-grid { grid-template-columns: 1fr; }
  .hood-cards { grid-template-columns: 1fr 1fr; }
  .page { gap: 40px; }
  .counter, .side-links { position: static; }
  .ages { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .ages::before { display: none; }
  .ages li::before { display: none; }
  .ages li { padding-top: 44px; border-top: 2px solid var(--burg-100); }
  .age-y { top: 12px; }
  .board-cols { grid-template-columns: 1fr 1fr; }
  .ftr-in { grid-template-columns: 1fr 1fr; }
}

/* Phone */
@media (max-width: 680px) {
  body { font-size: 1rem; padding-bottom: 66px; }
  .wrap { padding: 0 16px; }
  .hdr-in { padding: 10px 16px 12px; }
  .brand img { width: 40px; }
  .brand .b1 { font-size: 1.12rem; }
  .brand .b2 { font-size: .64rem; letter-spacing: .26em; }
  .hdr-call { display: none; }
  .nb-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-btn { padding: 12px; }
  .hero { padding: 34px 0 44px; }
  .hero-list { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .btn-call { width: 100%; justify-content: center; }
  .actions .textlink { margin: 0 auto; }
  .sec, .board { padding: 52px 0; }
  .board-cols, .types, .hood-cards, .contact-grid, .fgrid { grid-template-columns: 1fr; }
  .ages { grid-template-columns: 1fr; }
  .closing-grid { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 44px; }
  .cl-call { padding: 26px 22px; }
  .cl-form summary { padding: 22px 64px 22px 20px; }
  .lead-form { padding: 18px 20px 22px; }
  .pairs div { grid-template-columns: 1fr; gap: 4px; }
  .facts div { border-left: 0; border-top: 1px solid var(--line); }
  .facts div:first-child { border-top: 0; }
  .hb-row, .hb-axis { grid-template-columns: 1fr; gap: 4px; }
  .hb-name { text-align: left; }
  .hb-axis .hb-name { display: none; }
  .hb-track { margin-right: 34px; }
  .hb-ticks { margin-right: 34px; }
  .ftr-in { grid-template-columns: 1fr; gap: 26px; }
  .ftr-base { flex-direction: column; width: calc(100% - 32px); }
  .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; align-items: center; justify-content: center; gap: 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: var(--burg); color: var(--white); text-decoration: none; font: 700 1.1rem/1 var(--head); border-top: 3px solid var(--gold); }
  .callbar .cb-sub { font: 600 .72rem/1 var(--body); text-transform: uppercase; letter-spacing: .08em; background: var(--gold); color: var(--burg-d); padding: 4px 6px; border-radius: 3px; }
  .callbar:hover { color: var(--white); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print { .hdr, .callbar, .closing, .ftr, .counter { display: none; } }

/* Chips inside the article and the side column */
.article ul.chips { padding-left: 0; margin: 0 0 1em; }
.article .chips li { margin-bottom: 0; }
.side-links .chips li a { display: inline; padding: 0; border: 0; color: var(--ink-2); font-weight: 400; }
.side-links .chips li a::after { content: none; }
.side-links .chips li:hover { border-color: var(--burg); }
.side-links .chips li a:hover { color: var(--burg); }
