/* Shared look for the three service pages (home-improvements-and-repairs.html, landscaping-hardscaping.html,
   property-maintenance.html). Colors and type match index.html and estimate.html. */
:root {
  /* colors come from the logo: navy #17294A + cannon orange #C8471A */
  --ink: #17294a;
  --ink-2: #4b5670;
  --muted: #6a7489;
  --paper: #ffffff;
  --tint: #f3f5f8;
  --rule: #e0e4eb;
  --serif: 'Libre Caslon Text', Georgia, serif;
  --accent: #c8471a;
  --accent-hover: #b03d15;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scrollbar-color: #b3bccb var(--paper); }
body { background: var(--paper); color: var(--ink); font-family: 'Albert Sans', sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
a[href^="sms:"] { white-space: nowrap; }   /* keep phone numbers on one line */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; line-height: 1.12; text-wrap: balance; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 28px; border-radius: 3px; border: 0;
  font-weight: 600; font-size: 16px; line-height: 1; cursor: pointer; transition: background .2s, color .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); background: none; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.text-link { text-decoration: underline; text-decoration-color: rgba(200,71,26,.5); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-color: var(--accent); }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.arrow-link svg { flex: none; color: var(--accent); transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* ---------- HEADER (solid, same as the estimate page) ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); box-shadow: 0 1px 0 var(--rule); }
.header .wrap { display: flex; align-items: center; gap: 40px; height: 70px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { display: block; height: 18px; width: auto; }
.nav { display: flex; gap: 30px; flex: 1; font-weight: 500; font-size: 15px; }
.nav a { opacity: .85; white-space: nowrap; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.header-right { display: flex; align-items: center; gap: 24px; }
.header-home { display: none; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.header-home svg { color: var(--accent); transition: transform .3s var(--ease); }
.header-home:hover svg { transform: translateX(-3px); }
.header-text { font-weight: 500; font-size: 15px; }
.header-text .short { display: none; }

/* ---------- INTRO ---------- */
.intro { padding: 80px 0 112px; }
.intro .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 88px; align-items: center; }
.intro h1 { font-size: clamp(40px, 4.4vw, 62px); }
.intro .lead { margin-top: 22px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 44ch; }
.includes { list-style: none; margin-top: 36px; border-top: 1px solid var(--ink); columns: 2; column-gap: 32px; }
.includes li { padding: 12px 0; border-bottom: 1px solid var(--rule); break-inside: avoid; font-weight: 500; font-size: 16px; }
.intro .note { margin-top: 20px; font-size: 15px; color: var(--ink-2); max-width: 48ch; }
.intro figure img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 2px; }
.intro figure.tall { justify-self: end; width: 100%; max-width: 460px; }
.intro figure.tall img { aspect-ratio: 4 / 5; }
.intro figcaption { margin-top: 12px; font-size: 13px; color: var(--ink-2); }

/* the photo wipes open once on load, like the homepage services list */
@media (prefers-reduced-motion: no-preference) {
  .intro figure { animation: wipe 1.8s var(--ease) .2s both; }
  .intro figure img { animation: settle 2.8s var(--ease) .2s both; }
  @keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
  @keyframes settle { from { transform: scale(1.12); } }
}

/* ---------- REVIEWS ---------- */
.reviews { padding: 112px 0 120px; background: var(--tint); }
.reviews .wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.reviews h2 { font-size: clamp(32px, 3.2vw, 44px); }
.reviews .side p { margin-top: 18px; color: var(--ink-2); max-width: 32ch; }
.reviews .side .arrow-link { margin-top: 26px; }
/* thick-over-thin double rule, borrowed from the logo */
.quotes { padding-top: 6px; background: linear-gradient(var(--ink) 0 3px, transparent 3px 5px, var(--ink) 5px 6px) top / 100% 6px no-repeat; }
.quote { padding: 34px 0; }
.quote blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.5; letter-spacing: -.005em; }
.quote.big blockquote { font-size: clamp(25px, 2.4vw, 32px); line-height: 1.38; letter-spacing: -.01em; }
.quote cite { display: flex; align-items: center; gap: 14px; margin-top: 20px; font-style: normal; font-size: 15px; color: var(--ink-2); }
.quote cite::before { content: ""; width: 28px; height: 1px; background: var(--ink); }
.quote cite b { color: var(--ink); font-weight: 600; }
.quote-pair { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.quote-pair .quote + .quote { padding-left: 40px; margin-left: 40px; border-left: 1px solid var(--rule); }
.quote-pair .quote blockquote { font-size: 20px; }

/* sample content: obviously not real, so it can't go live by accident */
.is-sample blockquote { color: #6f7a90; }
.sample-flag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border: 1px dashed var(--accent);
  border-radius: 3px; font-size: 13px; font-weight: 600; color: var(--accent); }

/* ---------- ESTIMATE PROMPT ---------- */
.prompt { padding: 120px 0; }
.prompt .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.prompt h2 { font-size: clamp(38px, 4.6vw, 64px); max-width: 13ch; }
.prompt p { color: var(--ink-2); max-width: 46ch; }
.mini-steps { list-style: none; margin-top: 26px; border-top: 1px solid var(--ink); counter-reset: s; }
.mini-steps li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); counter-increment: s; font-weight: 500; }
.mini-steps li::before { content: counter(s, decimal-leading-zero); min-width: 22px; font-size: 14px; font-weight: 600; color: var(--accent);
  font-variant-numeric: tabular-nums; line-height: 1.75; }
.mini-steps span { color: var(--ink-2); font-weight: 400; }
.prompt .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ---------- OTHER SERVICES ---------- */
.others { padding: 0 0 112px; }
.others h2 { font-size: 26px; margin-bottom: 22px; }
.others ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--ink); }
.others li { border-bottom: 1px solid var(--rule); }
.others a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 22px 0; }
.others b { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; }
.others small { grid-column: 1; font-size: 15px; color: var(--ink-2); }
.others svg { grid-row: 1 / span 2; grid-column: 2; color: var(--accent); transition: transform .3s var(--ease); }
.others a:hover svg { transform: translateX(5px); }

/* ---------- PROJECTS PAGE (projects.html) ---------- */
.gallery-intro { padding: 80px 0 56px; }
.gallery-intro h1 { font-size: clamp(40px, 4.4vw, 62px); }
.gallery-intro .lead { margin-top: 18px; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
.gallery { padding-bottom: 112px; }
/* photos keep their own shape (most are tall phone shots), stacked in columns */
.shots { columns: 3; column-gap: 28px; padding-top: 34px;
  background: linear-gradient(var(--ink) 0 3px, transparent 3px 5px, var(--ink) 5px 6px) top / 100% 6px no-repeat; }
.shot { break-inside: avoid; margin-bottom: 36px; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: var(--tint); cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.shot img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease), filter .3s; filter: saturate(.95); }
@media (hover: hover) { .shot button:hover img { transform: scale(1.03); filter: saturate(1.05); } }
.shot figcaption { margin-top: 12px; }
/* before-and-after pair in one tile */
.pair button { position: relative; }
.pair button + button { margin-top: 6px; }
.pair .tag { position: absolute; left: 0; bottom: 0; padding: 6px 12px 7px; background: rgba(23,41,74,.86); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .02em; border-top-right-radius: 2px; }
.pair button + button .tag { background: var(--accent); }
.shot figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.3; }
.shot figcaption a { display: inline-block; margin-top: 4px; font-size: 14px; color: var(--ink-2); text-decoration: underline;
  text-decoration-color: rgba(200,71,26,.45); text-underline-offset: 3px; }
.shot figcaption a:hover { color: var(--ink); text-decoration-color: var(--accent); }

/* full-size photo viewer */
.viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(13,24,45,.94); color: #fff; }
.viewer::backdrop { background: rgba(13,24,45,.6); }
.viewer[open] { display: grid; grid-template-rows: 1fr auto; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; } }
.viewer .stage { display: grid; place-items: center; min-height: 0; padding: 64px 72px 0; }
.viewer img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.viewer .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 22px; }
.viewer .bar p { font-family: var(--serif); font-size: 20px; }
.viewer .bar span { display: block; font-family: 'Albert Sans', sans-serif; font-size: 13px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.viewer .ctrl { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  background: none; color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.viewer .ctrl:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.viewer .ctrls { display: flex; gap: 10px; }
.viewer .close { position: absolute; top: 14px; right: 16px; }

/* ---------- OWNER PAGE (owner.html, private) ---------- */
.owner-intro { padding-bottom: 40px; }
.owner-block { padding: 48px 0 72px; border-top: 1px solid var(--rule); }
.owner-block h2 { font-size: clamp(28px, 2.6vw, 36px); }
.owner-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 28px; }
.owner-sub { margin-top: 48px; font-size: 22px; }
.owner-facts { max-width: 820px; margin-top: 18px; border-top: 1px solid var(--ink); }
.owner-facts div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--rule); font-size: 15px; }
.owner-facts dt { color: var(--ink); font-weight: 600; }
.owner-facts dd { font-weight: 400; color: var(--ink-2); }
.owner-note { margin-top: 12px; color: var(--ink-2); max-width: 62ch; }
.owner-note code, .setup code { font-size: .9em; background: var(--tint); padding: 1px 6px; border-radius: 3px; }
.setup { max-width: 760px; padding: 28px 30px 30px; background: var(--tint); border-radius: 3px; }
.setup > p { color: var(--ink-2); }
.setup .setup-flag { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border: 1px dashed var(--accent); border-radius: 3px;
  font-size: 13px; font-weight: 600; color: var(--accent); }
.setup .mini-steps { margin-top: 18px; }
.stats-frame { border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; background: var(--tint); }
.stats-frame iframe { display: block; width: 100%; height: 1500px; border: 0; }
.owner-tools { list-style: none; margin-top: 26px; max-width: 820px; border-top: 1px solid var(--ink); }
.owner-tools li { border-bottom: 1px solid var(--rule); }
.owner-tools a { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; align-items: center; padding: 20px 0; }
.owner-tools b { font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.25; }
.owner-tools small { grid-column: 1; font-size: 15px; color: var(--ink-2); }
.owner-tools svg { grid-row: 1 / span 2; grid-column: 2; color: var(--accent); transition: transform .3s var(--ease); }
.owner-tools a:hover svg { transform: translateX(5px); }
.owner-toggle { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; font-weight: 500; cursor: pointer; }
.owner-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.owner-toggle .switch { position: relative; width: 46px; height: 26px; flex: none; border-radius: 13px; background: #b3bccb; transition: background .25s; }
.owner-toggle .switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(23,41,74,.3); transition: transform .3s var(--ease); }
.owner-toggle input:checked + .switch { background: var(--accent); }
.owner-toggle input:checked + .switch::after { transform: translateX(20px); }
.owner-toggle input:focus-visible + .switch { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* owner page: password screen */
.owner-login { padding-bottom: 96px; }
.login-form { max-width: 520px; margin-top: 22px; }
.login-form label { display: block; font-weight: 600; margin-bottom: 8px; }
.login-row { display: flex; gap: 12px; }
.login-row input { flex: 1; min-width: 0; padding: 14px 16px; font: inherit; font-size: 17px; color: var(--ink);
  border: 1px solid #b3bccb; border-radius: 3px; background: #fff; }
.login-row input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--ink); }
.login-row .btn { flex: none; }
.login-row .btn:disabled { opacity: .6; cursor: wait; }
.login-msg { margin-top: 12px; color: var(--accent); font-weight: 600; }
.owner-login .setup { margin-top: 26px; }

/* owner page: unlocked */
.owner-bar { border-top: 1px solid var(--rule); background: var(--tint); }
.owner-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; font-size: 15px; color: var(--ink-2); }
.owner-bar-actions { display: flex; gap: 22px; }
.text-btn { font: inherit; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 4px 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(200,71,26,.5); text-underline-offset: 4px; }
.text-btn:hover { text-decoration-color: var(--accent); }
.owner-sample { padding: 12px 0; background: #fbe9e2; color: var(--accent); font-weight: 600; font-size: 15px; }
.owner-sample .wrap { display: block; }

.owner-nums { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 26px; border-top: 1px solid var(--ink); }
.owner-nums div { padding: 18px 20px 20px 0; border-bottom: 1px solid var(--rule); }
.owner-nums div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.owner-nums dt { font-size: 14px; color: var(--ink-2); }
.owner-nums dd { margin-top: 6px; font-family: var(--serif); font-size: clamp(30px, 3vw, 40px); line-height: 1; font-variant-numeric: tabular-nums; }
.owner-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 1020px) and (min-width: 761px) {
  .owner-nums { grid-template-columns: repeat(3, 1fr); }
  .owner-nums div:nth-child(4) { padding-left: 0; border-left: 0; }
}
.owner-counts div { grid-template-columns: 1fr auto; }
.owner-counts dd { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }

.visits { list-style: none; max-width: 980px; border-top: 1px solid var(--ink); }
.visit { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.visit-when b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.visit-when span { color: var(--accent); font-weight: 600; }
.visit-body h3 { font-size: 21px; }
.visit-meta { margin-top: 4px; color: var(--ink-2); }
.visit-body .text-link { display: inline-block; margin-top: 8px; font-weight: 600; font-size: 15px; }

.req-search input { width: min(360px, 100%); padding: 11px 14px; font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid #b3bccb; border-radius: 3px; background: #fff; }
.req-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.requests { list-style: none; border-top: 1px solid var(--ink); }
.req { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 28px 0 32px; border-bottom: 1px solid var(--rule); scroll-margin-top: 90px; }
.req[hidden] { display: none; }
.req.flash { animation: flash 2s ease; }
@keyframes flash { 0%, 40% { background: #fbe9e2; } 100% { background: transparent; } }
.req-side b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; }
.req-side span { display: block; color: var(--ink-2); font-size: 15px; }
.req-side .req-ref { margin-top: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.req-status { font-size: 14px; font-weight: 600; color: var(--muted); }
.req-status.is-booked { color: var(--accent); }
.req-main h3 { margin-top: 4px; font-size: clamp(24px, 2.2vw, 30px); }
.req-work { margin-top: 6px; font-weight: 500; }
.req-facts { margin-top: 14px; max-width: 720px; }
.req-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 7px 0; border-top: 1px solid var(--rule); font-size: 15px; }
.req-facts dt { color: var(--ink-2); }
.req-facts dd { overflow-wrap: anywhere; }
.req-links { display: inline-flex; flex-wrap: wrap; gap: 4px 18px; }
.req-desc { margin-top: 14px; max-width: 68ch; padding: 14px 18px; background: var(--tint); border-radius: 3px; white-space: pre-line; }
.req-photos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.req-photo { width: 132px; height: 132px; padding: 0; border: 0; border-radius: 3px; overflow: hidden; cursor: zoom-in; background: var(--tint); }
.req-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.req-photo:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .req-photo:hover img { transform: scale(1.05); } }
.req-nophotos { margin-top: 14px; font-size: 14px; color: var(--muted); }
.viewer .viewer-label { font-family: inherit; font-size: inherit; color: #fff; }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: rgba(255,255,255,.72); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; padding-top: 44px; padding-bottom: 44px; }
.footer-logo { display: block; height: 150px; width: auto; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px 28px; max-width: 640px; }
footer a:hover { color: #fff; }
.legal { width: 100%; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px;
  font-size: 13px; color: rgba(255,255,255,.6);
  background: linear-gradient(rgba(255,255,255,.28) 0 2px, transparent 2px 4px, rgba(255,255,255,.28) 4px 5px) top / 100% 5px no-repeat; }

.mobile-bar { display: none; }

/* the one-line logo name is wide, so the links give way to the Home link a little earlier */
@media (max-width: 1240px) {
  .nav { display: none; }
  .header-home { display: inline-flex; }
  .header .wrap { justify-content: space-between; }
}

@media (max-width: 1020px) {
  .intro .wrap, .reviews .wrap, .prompt .wrap { grid-template-columns: 1fr; gap: 48px; }
  .intro figure { max-width: 640px; }
  .intro figure.tall { justify-self: start; max-width: 460px; }
  .reviews .side p { max-width: 52ch; }
  .others ul { grid-template-columns: 1fr; }
  .shots { columns: 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 60px; }
  .wrap { padding: 0 16px; }
  .header .wrap { height: 64px; gap: 8px; }
  .header-right { gap: 12px; }
  .logo img { height: 11px; }
  .header-text .long { display: none; }
  .header-text .short { display: inline; }
  .intro { padding: 40px 0 72px; }
  .intro .wrap { gap: 36px; }
  .intro h1 { font-size: 38px; }
  .intro .lead { font-size: 17px; }
  .includes { columns: 1; }
  .reviews, .prompt { padding: 72px 0; }
  .reviews .wrap, .prompt .wrap { gap: 32px; }
  .quote { padding: 28px 0; }
  .quote.big blockquote { font-size: 23px; }
  .quote-pair { grid-template-columns: 1fr; }
  .quote-pair .quote + .quote { padding-left: 0; margin-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .quote-pair .quote blockquote { font-size: 19px; }
  .prompt h2 { font-size: 36px; }
  .prompt .actions .btn { flex: 1 1 100%; }
  .others { padding-bottom: 72px; }
  .gallery-intro { padding: 40px 0 32px; }
  .gallery-intro h1 { font-size: 38px; }
  .gallery { padding-bottom: 72px; }
  .owner-block { padding: 36px 0 52px; }
  .owner-facts div { grid-template-columns: 1fr; gap: 2px; }
  .owner-counts div { grid-template-columns: 1fr auto; gap: 16px; }
  .owner-nums { grid-template-columns: 1fr 1fr; }
  .owner-nums div, .owner-nums div + div { padding: 14px 12px 16px 0; border-left: 0; }
  .owner-nums div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--rule); }
  .owner-nums div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .owner-split { grid-template-columns: 1fr; gap: 0; }
  .login-row { flex-direction: column; }
  .visit, .req { grid-template-columns: 1fr; gap: 8px; }
  .visit-when b, .req-side b { display: inline; margin-right: 10px; }
  .visit-when span, .req-side span { display: inline; margin-right: 10px; }
  .req-side .req-ref { display: inline; margin-top: 0; }
  .req-facts div { grid-template-columns: 84px 1fr; gap: 10px; }
  .req-photo { width: calc((100% - 20px) / 3); height: auto; aspect-ratio: 1; }
  .owner-bar-actions { gap: 18px; }
  .setup { padding: 22px 18px 24px; }
  .owner-tools b { font-size: 19px; }
  .shots { column-gap: 12px; padding-top: 24px; }
  .shot { margin-bottom: 24px; }
  .shot figcaption { margin-top: 8px; }
  .shot figcaption b { font-size: 17px; }
  .shot figcaption a { font-size: 13px; }
  .viewer .stage { padding: 64px 12px 0; }
  .viewer .bar { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
  .viewer .bar p { font-size: 17px; }
  .others b { font-size: 20px; }
  footer .wrap { padding-top: 36px; padding-bottom: 36px; }
  .footer-logo { height: 132px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: #fff; border-top: 1px solid var(--rule); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; padding: 18px 8px; font-weight: 600; font-size: 15px; }
  .mobile-bar a + a { background: var(--accent); color: #fff; }
}
