/* charleylee.ca
   Layout: light hero with a tall portrait, then a situation picker, a dark "whole plan" band, insights, reviews, first meeting, dark closing.
   Palette: porcelain #F4F3EF, stone #E8E5DE (also the portrait backdrop), ink #1A1D1B, bottle green #1F3B33, champagne gold #B8975A
   Type: Jost (logo, English headings), IBM Plex Sans KR (body, Korean headings). Base size 18px for older readers. */

:root {
  --paper: #F4F3EF;
  --stone: #E8E5DE;
  --paper-2: #ECE9E3;
  --white: #FFFFFF;
  --card: #FBFAF7;
  --ink: #1A1D1B;
  --ink-2: #3B413D;
  --muted: #5E655F;
  --rule: #D8D3C9;
  --harbour: #1F3B33;
  --harbour-2: #15291F;
  --gold: #B8975A;
  --gold-ink: #7A5C2B;
  --gold-light: #D4B57A;
  --plan: #A9BFB2;
  --brass: #D4B57A;
  --on-dark: #EDF1EC;
  --on-dark-2: #BCC8C0;
  --photo-bg: #E8E5DE;
  --focus: var(--harbour);
  --sans: "IBM Plex Sans KR", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: "Jost", "IBM Plex Sans KR", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 80px; /* room for the phone call bar */
}
html[lang="ko"] body { line-height: 1.75; word-break: keep-all; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--harbour); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--harbour-2); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1em; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--harbour); color: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
h1 { font: 400 clamp(2.3rem, 1.4rem + 3vw, 3.6rem)/1.1 var(--display); letter-spacing: -0.012em; }
h2 { font: 500 clamp(1.75rem, 1.3rem + 1.9vw, 2.65rem)/1.15 var(--display); letter-spacing: -0.01em; max-width: 24em; }
h3 { font: 600 1.2rem/1.4 var(--sans); }
html[lang="ko"] h1, html[lang="ko"] h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.03em; }
html[lang="ko"] h1 { line-height: 1.26; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); }
html[lang="ko"] h2 { line-height: 1.32; }
.lede { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem); color: var(--ink-2); max-width: 36em; }
.kicker { font-weight: 600; color: var(--gold-ink); margin-bottom: 18px; font-size: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 22px;
  border-radius: 4px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 1.06rem; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: .95rem; }
.btn-solid { background: var(--harbour); color: var(--white); }
.btn-solid:hover { background: var(--harbour-2); color: var(--white); }
.btn-line { border-color: var(--harbour); color: var(--harbour); background: transparent; }
.btn-line:hover { background: var(--harbour); color: var(--white); }
.btn-light { background: var(--white); color: var(--harbour); }
.btn-light:hover { background: var(--on-dark); color: var(--harbour-2); }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--harbour); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.more { font-weight: 600; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(244, 243, 239, .96);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.bar { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.mark { display: block; text-decoration: none; color: var(--ink); margin: 0; flex: none; }
.logo { display: block; width: 214px; height: auto; overflow: visible; }
.logo text { fill: var(--ink); font-family: var(--display); }
.logo-name { font-size: 21px; font-weight: 500; }
.logo-sub { font-size: 8.6px; font-weight: 400; fill: var(--gold-ink) !important; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--harbour); }
.bar-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.tel { font: 600 1rem/1.2 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }
.tel-label { color: var(--muted); font-weight: 400; margin-right: 4px; }
.tel:hover { color: var(--harbour); }
.lang { font-size: .92rem; color: var(--ink-2); text-decoration: none; border: 1px solid var(--rule); border-radius: 4px; padding: 7px 11px; white-space: nowrap; }
.lang:hover { border-color: var(--harbour); color: var(--harbour); }
.menu { display: none; }

@media (max-width: 1099px) {
  .tel { display: none; }
}
@media (max-width: 939px) {
  .bar { gap: 12px; min-height: 66px; }
  .only-wide { display: none; }
  .logo { width: 176px; }
  .menu {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px;
    border: 1px solid var(--rule); border-radius: 4px; background: transparent;
    font: 500 .95rem var(--sans); color: var(--ink);
  }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--rule); font-size: 1.1rem; }
  .nav a:last-child { border-bottom: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--rule); font-weight: 600; }
}
@media (max-width: 370px) { .logo { width: 150px; } }

/* ---------- sections ---------- */
section { padding: clamp(64px, 8vw, 112px) 0; }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--ink-2); margin-top: 16px; max-width: 40em; font-size: 1.06rem; }

/* hero: stone band; the portrait shares the band colour and sits on its bottom edge */
.hero { background: var(--stone); padding-top: clamp(28px, 4vw, 56px); padding-bottom: 0; border-bottom: 1px solid var(--gold); }
.hero-grid { display: grid; gap: 28px; align-items: end; }
.hero-text { padding-bottom: clamp(40px, 6vw, 88px); align-self: center; }
.hero h1 { margin-bottom: 24px; }
.note { color: var(--muted); font-size: .95rem; margin-top: 16px; max-width: 34em; }
.hero-photo { align-self: end; justify-self: end; width: 100%; max-width: 600px; }
.portrait { display: block; width: 100%; height: auto; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 6.3fr) minmax(0, 5.7fr); gap: clamp(24px, 3vw, 48px); }
  .hero-text { padding-top: clamp(24px, 4vw, 56px); }
}
@media (max-width: 899px) {
  .hero-text { padding-bottom: 0; }
  .hero-photo { max-width: 360px; justify-self: center; }
  .portrait { aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 0; }
}
.facts-band { padding: clamp(8px, 2vw, 20px) 0 0; }

.facts { display: grid; margin-top: 0; }
.facts > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: .88rem; color: var(--muted); }
.facts dd { font-weight: 500; margin-top: 2px; }
@media (min-width: 760px) {
  .facts:not(.facts-stack) { grid-template-columns: repeat(2, 1fr); column-gap: 24px; }
}
@media (min-width: 1100px) {
  .facts:not(.facts-stack) { grid-template-columns: repeat(4, 1fr); }
  .facts:not(.facts-stack) > div { border-bottom: 0; }
}
.facts-stack { margin-top: 0; }

/* situations */
.situations { background: var(--card); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.sit { display: grid; gap: 28px; }
@media (min-width: 960px) { .sit { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; } }
.sit-tabs { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.sit-tab {
  text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--rule);
  padding: 16px 14px 16px 16px; font: 500 1.04rem/1.35 var(--sans); color: var(--ink-2);
  cursor: pointer; border-left: 3px solid transparent;
}
.sit-tab:hover { color: var(--ink); background: var(--paper); }
.sit-tab[aria-selected="true"] { color: var(--ink); font-weight: 600; border-left-color: var(--gold); background: var(--paper); }
.sit-panel h3 { font: 500 clamp(1.4rem, 1.2rem + .8vw, 1.9rem)/1.2 var(--display); margin-bottom: 14px; }
html[lang="ko"] .sit-panel h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; }
.sit-intro { color: var(--ink-2); max-width: 40em; }
.sit-cols { display: grid; gap: 28px; margin-top: 24px; }
@media (min-width: 760px) { .sit-cols { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; } }
.sit-h { font-size: .9rem; color: var(--muted); margin-bottom: 10px; }
.sit-cta { margin-top: 24px; }
.no-js .sit-panel[hidden] { display: block !important; }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { border: 1px solid var(--rule); background: var(--white); border-radius: 999px; padding: 6px 14px; font-size: .95rem; color: var(--ink); }

.ticks { list-style: none; margin: 4px 0 22px; }
.ticks li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--rule); }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 1.25em; width: 7px; height: 7px; background: var(--gold); }

/* dark bands */
.dark { background: var(--harbour); color: var(--on-dark); --focus: var(--brass); }
.dark h2 { color: var(--white); }
.dark .sec-head p { color: var(--on-dark-2); }

/* whole plan network */
.whole-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .whole-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.whole-text h2 { margin-bottom: 22px; }
.whole-text p { color: var(--on-dark); max-width: 34em; }
.whole-text .whole-fine { color: var(--on-dark-2); font-size: .9rem; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(212,181,122,.35); }
.whole-text a { color: var(--white); }
.net { position: relative; aspect-ratio: 1 / 0.86; max-width: 640px; width: 100%; justify-self: center; }
.net-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.net-lines line { stroke: var(--plan); stroke-opacity: .55; vector-effect: non-scaling-stroke; }
.net-lines line { stroke-width: 1.4; stroke-dasharray: 4 5; }
.hub {
  position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%);
  width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: var(--harbour-2); border: 2px solid var(--brass);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 6%;
  box-shadow: 0 0 0 10px rgba(212,181,122,.08);
}
.hub b { color: var(--white); font: 500 clamp(1rem, .8rem + .8vw, 1.35rem)/1.25 var(--display); }
html[lang="ko"] .hub b { font-family: var(--sans); font-weight: 600; }
.hub span { color: var(--brass); font-size: .86rem; margin-top: 6px; }
.nodes { list-style: none; }
.node {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  background: var(--harbour); border: 1px solid rgba(212,181,122,.45); color: var(--on-dark);
  border-radius: 999px; padding: 8px 14px; font-size: .92rem; white-space: nowrap;
}
@media (max-width: 640px) {
  .net { aspect-ratio: auto; display: grid; gap: 16px; }
  .net-lines { display: none; }
  .hub { position: static; transform: none; width: 100%; aspect-ratio: auto; border-radius: var(--radius); padding: 20px; box-shadow: none; }
  .nodes { display: flex; flex-wrap: wrap; gap: 8px; }
  .node { position: static; transform: none; }
}

/* insights */
.ins { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--rule); }
.ins li { padding: 24px 0; border-bottom: 1px solid var(--rule); }
.ins h3 { margin-bottom: 8px; }
.ins p { color: var(--ink-2); margin: 0; max-width: 40em; }
@media (min-width: 900px) {
  .ins { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
}

/* reviews */
.reviews { background: var(--paper-2); }
.rev-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .rev-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.q { margin: 0; }
.q p { margin: 0 0 10px; }
.q footer { font-size: .92rem; color: var(--muted); }
.q-lead { border-left: 2px solid var(--gold); padding-left: clamp(18px, 2.5vw, 28px); }
.q-lead p { font: 500 clamp(1.35rem, 1.1rem + 1vw, 1.85rem)/1.38 var(--display); color: var(--ink); }
.q-list .q { padding: 18px 0; border-top: 1px solid var(--rule); }
.q-list .q:first-child { padding-top: 0; border-top: 0; }
.more-link { margin: 32px 0 0; font-weight: 600; }

/* process */
.steps { list-style: none; display: grid; }
.steps li { border-top: 1px solid var(--gold); padding: 22px 0 8px; }
.steps .n { display: block; font: 400 2.3rem/1 var(--display); color: var(--gold-ink); margin-bottom: 14px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 1rem; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* closing */
.closing { background: var(--harbour-2); }
.closing-grid { display: grid; gap: 36px; align-items: end; }
@media (min-width: 900px) { .closing-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; } }
.closing h2 { margin-bottom: 16px; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.closing .lede { color: var(--on-dark); }
.note-dark { color: var(--on-dark-2); font-size: .95rem; margin-top: 16px; }
.closing-tel { border-top: 1px solid var(--gold); padding-top: 20px; }
.closing-tel span { display: block; color: var(--on-dark-2); font-size: .95rem; margin-bottom: 6px; }
.closing-tel a { color: var(--white); text-decoration: none; font: 500 clamp(2rem, 1.5rem + 2vw, 2.9rem)/1.1 var(--display); letter-spacing: .01em; }
.closing-tel a:hover { color: var(--gold-light); }

/* inner pages */
.page-head { padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(32px, 5vw, 64px); }
.page-head h1 { margin-bottom: 20px; max-width: 18em; }
.svc { padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--rule); }
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; } }
.svc-grid > h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
.svc-body { max-width: 42em; min-width: 0; }
.svc-body > p { color: var(--ink-2); }
.more-p { margin-top: 24px; }
.about-head { background: var(--stone); padding-bottom: 0; border-bottom: 1px solid var(--gold); }
.about-top { display: grid; gap: 28px; align-items: end; }
.about-top > div { padding-bottom: clamp(40px, 6vw, 80px); }
.about-portrait { display: block; width: 100%; max-width: 420px; height: auto; justify-self: end; }
@media (min-width: 900px) { .about-top { grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); gap: 56px; } }
@media (max-width: 899px) { .about-top > div { padding-bottom: 0; } .about-portrait { max-width: 320px; justify-self: center; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 0; } }

.people > div { padding: 14px 0; border-top: 1px solid var(--rule); }
.people > div:last-child { border-bottom: 1px solid var(--rule); }
.people dt { font-weight: 600; }
.people dd { color: var(--ink-2); }

.send { padding-top: 0; }
.send-box { border: 1.5px solid var(--harbour); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); max-width: 52rem; }
.send-box h2 { margin-bottom: 12px; }
.send-box > p { color: var(--ink-2); }
.fine { font-size: .88rem; color: var(--muted); margin-top: 24px; margin-bottom: 0; max-width: 46em; }

.contact { padding-top: 0; }
.ways { display: grid; border-top: 1px solid var(--rule); max-width: 54rem; }
.ways > div { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.ways dt { color: var(--muted); font-size: .95rem; }
.ways .big { font: 500 clamp(1.35rem, 1.1rem + .9vw, 1.8rem)/1.3 var(--display); text-decoration: none; overflow-wrap: anywhere; }
@media (min-width: 700px) { .ways > div { grid-template-columns: 15rem 1fr; align-items: center; gap: 24px; } }

/* lot drawing (land page) */
.lot-figure { margin: 0 0 clamp(28px, 4vw, 44px); }
.lot { width: 100%; height: auto; display: block; }
.lot-figure figcaption { font-size: .88rem; color: var(--on-dark-2); margin-top: 14px; max-width: 46em; }
.lot .paper { fill: url(#plan-grid); }
.lot .road { fill: rgba(255,255,255,.05); }
.lot .setback { fill: none; stroke: var(--plan); stroke-opacity: .45; stroke-width: 1.2; stroke-dasharray: 5 5; }
.lot .fill { fill: rgba(169,191,178,.14); stroke: var(--plan); stroke-width: 1.5; }
.lot .ln { fill: none; stroke: var(--plan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s ease; }
.lot .lot-line { stroke: #E3E9E4; }
.lot .dim { stroke-width: 1.3; }
.lot .contour { stroke-width: 1.4; stroke-dasharray: 2 6; }
.lot .canopy { stroke-dasharray: 3 4; }
.lot .service { stroke-dasharray: 8 5; }
.lot .trunk { fill: var(--plan); }
.lot text { fill: #D3DDD6; font: 500 17px var(--display); text-anchor: middle; dominant-baseline: central; }
.lot .lbl-v { font-size: 15px; letter-spacing: .08em; fill: var(--on-dark-2); }
html[lang="ko"] .lot text { font-family: var(--sans); font-weight: 500; }
.lot .dimtxt { fill: var(--white); }
@media (max-width: 599px) {
  .lot text { font-size: 23px; }
  .lot .lbl-v { font-size: 18px; }
  .lot .mk text { font-size: 18px; }
}
.lot .mk circle { fill: var(--harbour); stroke: var(--brass); stroke-width: 2; }
.lot .mk text { fill: var(--brass); font: 600 17px var(--display); }
.lot g[data-k] { transition: opacity .2s ease; }
.lot.has-on g[data-k] { opacity: .22; }
.lot.has-on g[data-k].on { opacity: 1; }
.lot g.on .ln { stroke: var(--brass); }
.lot g.on .mk circle { fill: var(--brass); }
.lot g.on .mk text { fill: var(--harbour); }
.factors { list-style: none; border-bottom: 1px solid rgba(255,255,255,.14); }
.factor {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px; width: 100%;
  padding: 16px 10px; text-align: left; cursor: pointer;
  background: transparent; border: 0; border-top: 1px solid rgba(255,255,255,.14);
  color: inherit; font: inherit;
}
.factor:hover { background: rgba(255,255,255,.04); }
.factor[aria-pressed="true"] { background: rgba(255,255,255,.07); }
.badge {
  width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--brass);
  color: var(--brass); display: grid; place-items: center; font: 600 15px/1 var(--display); margin-top: 1px;
}
.factor[aria-pressed="true"] .badge { background: var(--brass); color: var(--harbour); }
@media (min-width: 960px) {
  .factors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; border-bottom: 0; }
  .factors li { display: flex; }
  .factor { grid-template-columns: 1fr; gap: 12px; align-content: start; padding: 20px 4px 20px 0; border-top: 2px solid rgba(255,255,255,.18); }
  .factor:hover { background: transparent; border-top-color: rgba(255,255,255,.45); }
  .factor[aria-pressed="true"] { background: transparent; border-top-color: var(--brass); }
}
.ftxt b { display: block; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.ftxt span { color: var(--on-dark-2); font-size: .97rem; }

/* footer */
.site-footer { background: var(--paper-2); padding: 52px 0 28px; font-size: .95rem; color: var(--ink-2); }
.foot { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } }
.foot-h { font: 600 .95rem/1.4 var(--sans); color: var(--ink); margin-bottom: 8px; letter-spacing: 0; max-width: none; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--harbour); text-decoration: underline; }
.mark-static { margin-bottom: 18px; }
.legal { border-top: 1px solid var(--rule); margin-top: 36px; padding-top: 18px; font-size: .84rem; color: var(--muted); }
.legal p { margin-bottom: 6px; max-width: 62em; }

/* phone call bar */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: auto 1fr; gap: 10px;
  padding: 10px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  background: rgba(244, 243, 239, .97); border-top: 1px solid var(--rule);
}
.mbar .btn { min-height: 52px; }
@media (min-width: 940px) { .mbar { display: none; } body { padding-bottom: 0; } }

.notfound { min-height: 50vh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
